mbed-os/tools/export
Volodymyr Medvid a48ee113ea PSOC6: refactor M0 image merging, enable export to makefile
Rename the existing PSoC-specific m0_core_img key in targets.json
as a more generic hex_filename key. Update makefile exporter to select
the subset of resources.hex_files matching the hex_filename value.
Without this fix, multiple prebuilt CM0+ hex files are found in the
target resources and erroneously passed to the srec_cat tool.

The fix is generic so other targets that need post-build hex merging
can use this key to pass the correct image to srecord tool.

The fix also removes sub_target key: instead, rely hex_filename json
key to detect if the hex image merging needs to be done.
The sub_target is not used in mbed-os codebase for anything else.

It is possible to override the hex file name in mbed_app.json:
{
  "target_overrides": {
    "*": {
      "target.hex_filename": "my_custom_m0_image.hex"
    }
}
2019-01-22 15:40:22 -08:00
..
atmelstudio Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
cces Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
cdt Add clean methods to many more exporters 2018-02-22 14:46:21 -06:00
cmake Add combined hex target to CMake 2018-08-11 10:56:29 -07:00
cmsis Enable uvision export for NS cores 2018-08-08 09:07:45 -05:00
codeblocks Added required changes outside of TARGET_Cypress tree: 2018-11-01 20:19:21 +01:00
coide Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
e2studio Updated to include user defined static lib files in the Linker object files path. 2018-08-13 09:19:47 +01:00
embitz SImplify linkerscirpt usage 2018-08-30 08:41:15 -05:00
gnuarmeclipse Added required changes outside of TARGET_Cypress tree: 2018-11-01 20:19:21 +01:00
iar STM32H743ZI: iar removal as not supported in v7.x 2019-01-18 12:09:42 +00:00
kds Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
lpcxpresso Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
makefile PSOC6: refactor M0 image merging, enable export to makefile 2019-01-22 15:40:22 -08:00
mcuxpresso Merge pull request #7937 from theotherjimmy/fix-mcuxpresso-lib-use 2018-10-10 08:45:25 -05:00
nb Export, nb: Use same path for cpp as the rest of the tools 2018-09-27 10:55:36 -05:00
qtcreator Add clean methods to many more exporters 2018-02-22 14:46:21 -06:00
simplicity Filter libraries by extension in exporters 2018-07-16 14:11:09 -05:00
sw4stm32 NUCLEO_L4R5ZI: update iar and sw4stm32 exporters 2018-09-27 12:03:07 +02:00
uvision Escape quotes in uvision project file defines 2018-08-24 14:00:52 -05:00
vscode Correct syntax for mbed export in Py3 2018-03-16 13:08:20 -05:00
zip Move zip into its own dir 2017-01-17 12:39:39 -06:00
.gitignore Export folder needs to not ignore .mbed files. 2018-05-14 12:25:07 -05:00
.hgignore Renamed workspace_tools folder to tools 2016-06-09 21:34:53 +01:00
.mbed Add `mbed new .` output to export 2017-04-26 09:52:07 -05:00
GettingStarted.html Export: fix link in gettingstarted 2017-12-12 08:46:06 +00:00
__init__.py Removed "ALL" from PrettyTable import 2018-12-06 14:42:41 -06:00
exporters.py Simplified M0/M4 binary merging functionality. Now, M0 binary image to be used has to be explicitely named in a json file (can be ovverriden in mbed_app.json). 2018-11-01 22:14:06 +01:00