Export extra flash images for IDE

This commit is contained in:
Ivan Kravets
2018-07-06 15:25:51 +03:00
parent 1c8ac97073
commit c1f4b729ea

View File

@ -152,6 +152,10 @@ def DumpIDEData(env):
util.where_is_program(env.subst("$GDB"), env.subst("${ENV['PATH']}")), util.where_is_program(env.subst("$GDB"), env.subst("${ENV['PATH']}")),
"prog_path": "prog_path":
env.subst("$PROG_PATH"), env.subst("$PROG_PATH"),
"flash_extra_images": [{
"offset": item[0],
"path": env.subst(item[1])
} for item in env.get("FLASH_EXTRA_IMAGES", [])],
"svd_path": "svd_path":
_get_svd_path(env), _get_svd_path(env),
"compiler_type": "compiler_type":