boot2.py 392 B

1234567891011121314
  1. # WizIO 2021 Georgi Angelov
  2. # http://www.wizio.eu/
  3. # https://github.com/Wiz-IO/wizio-pico
  4. from __future__ import print_function
  5. from SCons.Script import DefaultEnvironment
  6. env = DefaultEnvironment()
  7. platform = "boot2"
  8. module = platform + "-" + env.BoardConfig().get("build.core")
  9. m = __import__(module)
  10. globals()[module] = m
  11. m.dev_init(env, platform)
  12. #print( env.Dump() )