Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Project doesn't generate .bin file

In System WorkBench
Update. To produce .bin file, I need to change the project by the following way:
Project - Properties - C++ Build - Settings - Buidl Steps - Post-build steps. Replace:
arm-none-eabi-objcopy -O ihex “${BuildArtifactFileBaseName}.elf” “${BuildArtifactFileBaseName}.hex” && arm-none-eabi-size “${BuildArtifactFileName}”
with:
arm-none-eabi-objcopy -O ihex “${BuildArtifactFileBaseName}.elf” “${BuildArtifactFileBaseName}.hex” && arm-none-eabi-size “${BuildArtifactFileName}” && arm-none-eabi-objcopy -O binary “${BuildArtifactFileBaseName}.elf” “${BuildArtifactFileBaseName}.bin”

I am getting following errors :

make --no-print-directory post-build
Generating BIN and Printing size information:
arm-none-eabi-objcopy -O ihex “STM_Fork_Module.elf” “STM_Fork_Module.hex”
arm-none-eabi-objcopy: ‘“STM_Fork_Module.elf”’: No such file
make1: *** post-build Error 1
make: *** STM_Fork_Module.elf Error 2
make: Target `all’ not remade because of errors.

Hi,

Try removing the quotes in the command:

arm-none-eabi-objcopy -O ihex ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.hex && arm-none-eabi-size ${BuildArtifactFileName} && arm-none-eabi-objcopy -O binary ${BuildArtifactFileBaseName}.elf ${BuildArtifactFileBaseName}.bin


Regards,
Kevin.