CMake: Image format based on MBED_OUTPUT_EXT
Requires: https://github.com/ARMmbed/mbed-tools/pull/242 The optional `OUTPUT_EXT` field in Mbed OS `targets.json` specifies the format of the output image. This is important because * some targets only support one image format * each post-binary hook outputs one image only This avoids confusion of having both .hex and .bin images generated while only one of them is usable. |
---|
|
CMakeLists.txt |
---|