Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


Semihosting NUCLEO-F441RE (solved)

Hello.
I’m just starting out and i am currently trying to get semihosting to work.
I run into the problem below (copied straight from IDE so pardon the weird formatting/strikethrough):

arm-none-eabi-gcc -o “001HelloWorld_semihosting.elf” @”objects.list” -mcpu=cortex-m4 -T”/..../STM32F411RETX_FLASH.ld” specs=nosys.specs -Wl,-Map=”001HelloWorld_semihosting.map” -Wl,gc-sections -static -specs=rdimon.specs -lc -lrdimon specs=nano.specs -mfloat-abi=soft -mthumb -Wl,start-group -lc -lm -Wl,--end-group

/opt/st/stm32cubeide_1.16.0/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.12.3.rel1.linux64_1.0.200.202406132123/tools/bin/../lib/gcc/arm-none-eabi/12.3.1/../../../../arm-none-eabi/bin/ld: ./Src/main.o: in function `main’:
/.....Debug/../Src/main.c:30: undefined reference to `initialize_monitor_handles’

collect2: error: ld returned 1 exit status


I have found annother thread related to this issue hereQuestion and i’ve followed the steps there, but with no success.
As seen above the -specs=nosys.specs and -specs=rdimon.specs -lc -lrdimon are present.


Code:
Screenshot From 2024 09 17 17 12 31

Any ideas?


Edit:
I simply cannot spell
initialise_monitor_handles is the propper spelling