How to create bin file in Modus Toolbox?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hello,

Please let me know how to create bin file in Modus Toolbox.

Thanks and Regards,
YS

0 Likes
1 Solution
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @YongseokJeon ,

To create the binary file in ModusToolbox, please modify the MakeFile of the project with the below

DEBUG_PATH=./build/$(TARGET)/Debug

# Custom post-build commands to run.
POSTBUILD=arm-none-eabi-objcopy -O binary $(DEBUG_PATH)/$(APPNAME).elf $(DEBUG_PATH)/$(APPNAME).bin

 

Build the project after saving this and you willl observe the binray file under the build/<TARGET>/Debug path. 

Warm Regards
Alen

View solution in original post

0 Likes
3 Replies
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @YongseokJeon ,

To create the binary file in ModusToolbox, please modify the MakeFile of the project with the below

DEBUG_PATH=./build/$(TARGET)/Debug

# Custom post-build commands to run.
POSTBUILD=arm-none-eabi-objcopy -O binary $(DEBUG_PATH)/$(APPNAME).elf $(DEBUG_PATH)/$(APPNAME).bin

 

Build the project after saving this and you willl observe the binray file under the build/<TARGET>/Debug path. 

Warm Regards
Alen

0 Likes
YongseokJeon
Level 4
Level 4
Distributor
50 replies posted 50 questions asked 25 replies posted

Hi, Alen.

Thanks for your help.

Regards,
YS

0 Likes

Hi @YongseokJeon ,

Glad your query is resolved.
Please feel free to post any queries or issues you may have on Infineon products in the community and we will be happy to help.

Warm Regards
Alen

0 Likes