Skip to content

Commit 54a5fc5

Browse files
committed
Set OUTPUT_EXT for ARM_MUSCA_S1 and ARM_MUSCA_B1
By default, Mbed CLI 2 + CMake builds both .bin and .hex images, unless a target specifies OUTPUT_EXT. The post binary hook for ARM_MUSCA_S1 and ARM_MUSCA_B1 is run on .bin images only, so we need to prevent .hex images from being generated and confusing users.
1 parent 96e19af commit 54a5fc5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

targets/targets.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4855,7 +4855,8 @@
48554855
"ARMCLANG",
48564856
"GNUARM"
48574857
],
4858-
"tfm_delivery_dir": "TARGET_ARM_SSG/TARGET_MUSCA_B1"
4858+
"tfm_delivery_dir": "TARGET_ARM_SSG/TARGET_MUSCA_B1",
4859+
"OUTPUT_EXT": "bin"
48594860
},
48604861
"ARM_MUSCA_S1": {
48614862
"inherits": [
@@ -4910,7 +4911,8 @@
49104911
"tfm_delivery_dir": "TARGET_ARM_SSG/TARGET_MUSCA_S1",
49114912
"detect_code": [
49124913
"5009"
4913-
]
4914+
],
4915+
"OUTPUT_EXT": "bin"
49144916
},
49154917
"RZ_A1XX": {
49164918
"inherits": [

0 commit comments

Comments
 (0)