I followed the steps in the PR and tried to build the example "zephyr/server" for STM32 Nucleo H563ZI. First I ran into issues with linking:
...
c:/workspace/zephyr_home/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: unrecognized option '--major-image-version'
c:/workspace/zephyr_home/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.2.0/../../../../arm-zephyr-eabi/bin/ld.bfd.exe: use the --help option for usage information
On my research I found a generell fix of setting:
set(CMAKE_SYSTEM_NAME Generic)
in the zephyr/server/CMakeLists.txt, which seemed odd to me but fixed the issue of the unrecognized option '--major-image-version'.
However this led to more issues also during "[375/381] Linking C executable zephyr\zephyr_pre0.elf" regarding:
- conflicting CPU architectures 2/17
- Multiple undefined references
- RAM overflow errors
I'm curious if anyone has experience running open62541 with Zephyr on STM32 platforms and could offer some guidance. Am I missing crucial configuration files or settings?
Any suggestions would be appreciated.
Regards,
Janek