2021-07-06 07:11 AM
arm-none-eabi-gcc -o "LoRaWAN_End_Node_DualCore_CM0PLUS.elf" @"objects.list" -mcpu=cortex-m0plus -T"/Users/ben.blouin/dev/LoRaWAN_End_Node_DualCore/STM32CubeIDE/CM0PLUS/STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="LoRaWAN_End_Node_DualCore_CM0PLUS.map" -Wl,--gc-sections -static --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: LoRaWAN_End_Node_DualCore_CM0PLUS.elf section `.text' will not fit in region `ROM'
/Applications/STM32CubeIDE.app/Contents/Eclipse/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.9-2020-q2-update.macos64_1.5.0.202011040924/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld: region `ROM' overflowed by 7240 bytes
collect2: error: ld returned 1 exit status
make: *** [makefile:76: LoRaWAN_End_Node_DualCore_CM0PLUS.elf] Error 1
"make -j11 all" terminated with exit code 2. Build might be incomplete.
This happens on new project.
Solved! Go to Solution.
2021-07-06 11:03 AM
Hello @bblouin ,
As indicated by your ld's output, the issue is that the code won't fit into the available memory. Try recompiling the project with the -Os (optimize for size) flag.
Best regards,
@SBEN .2
2021-07-06 11:03 AM
Hello @bblouin ,
As indicated by your ld's output, the issue is that the code won't fit into the available memory. Try recompiling the project with the -Os (optimize for size) flag.
Best regards,
@SBEN .2
2021-07-07 07:04 AM
Fixed, thanks.
2022-04-25 11:11 AM
is there any tutorial on how to implement this dual core example?