cancel
Showing results for 
Search instead for 
Did you mean: 

LoRaWAN End Node DualCore on Linux

bgoedel
Visitor

Hello,

 

I'm having troubles building the two projects of the STM32 Nucleo WL55JC1 belonging to the LoRaWAN End Node DualCore Example under Linux (Ubuntu 24.04). It works on Windows 11, though.

Until now I have all projects developed on Linux, this is my preferred OS. The single core version of the LoRaWAN End Node works perfectly under Linux.

When I try to compile the project for the CM0PLUS, I get this error:

arm-none-eabi-gcc -z max-page-size=1 -o "LoRaWAN_End_Node_DualCore_CM0PLUS.elf" @"objects.list"   -mcpu=cortex-m0plus -T"/home/bgoedel/STM32Cube/Repository/STM32Cube_FW_WL_V1.3.1/Projects/NUCLEO-WL55JC/Applications/LoRaWAN_FUOTA_DualCore/LoRaWAN_End_Node_DualCore/STM32CubeIDE/CM0PLUS/STM32WL55JCIX_FLASH.ld" --specs=nosys.specs -Wl,-Map="LoRaWAN_End_Node_DualCore_CM0PLUS.map" -Wl,--gc-sections -static -L../../../../Linker_Common/STM32CubeIDE -L../../../../2_Images_SBSFU/STM32CubeIDE/CM0PLUS/Debug --specs=nano.specs -mfloat-abi=soft -mthumb -Wl,--start-group -lc -lm -Wl,--end-group
/home/bgoedel/st/stm32cubeide_1.19.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.linux64_1.0.100.202509120712/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file se_interface_app.ld: No such file or directory

I cannot find the file se_interface_app.ld either.

When I try to compile the project for CM4, I get this error:

Finished building: LoRaWAN_End_Node_DualCore_CM4.list
 
"../../../../2_Images_SECoreBin/STM32CubeIDE/postbuild.sh" ".." "./LoRaWAN_End_Node_DualCore_CM4.elf" "./LoRaWAN_End_Node_DualCore_CM4.bin" "2" "1"
/bin/sh: 1: ../../../../2_Images_SECoreBin/STM32CubeIDE/postbuild.sh: not found
make[1]: *** [makefile:99: post-build] Error 127

However, I get at least the .elf file for the CM4. Anyway, without the one for the CM0PLUS, I cannot use it.

 

On Windows, the projects can be compiled error-free (yet, not warning-free).

On Windows, the CM0PLUS project apparently does not reference a se_interface_app.ld file and thus there is no error.

On Windows, the CM4 project apparently does not need to call a batch file (like postbuild.bat) after the elf file has been created, thus there is no error.

 

 How can I achieve to get the projects being built on Linux?

 

(I'm using STM32CubeIDE 2.0.0 and STM32Cude_FW_EL_V1.3.1.)

 

Kind regards,
Bernhard

1 REPLY 1
bgoedel
Visitor

Hi again,

sorry, my bad. I loaded the LoRaWAN_FUOTA_DualCore projects in Linux and compared them to the (non-FUOTA) End Node project in Windows.

In fact, the normal LoRaWAN_End_Node_DualCore can be built in both, Linux and Windows.

And the LoRaWAN_FUOTA_DualCore shows the same errors in both, Linux and Windows (apparently, I'm doing something wrong here). However, I've not yet progressed so far to do a FUOTA.

 

Sorry for the confusion,
Bernhard