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


Mbed-OS 5 com linke error

hi,everyone
I have a question, when I export a example about mbed - OS from mbed web ide, and Sw4stm32 Settings as follows:
Sw4stm32 Setting1
i got compile error:
HAL_CM4.S: Assembler messages:
HAL_CM4.S:225: Error: selected processor does not support `vstmdbeq R12!,{S16-S31}’ in Thumb mode
HAL_CM4.S:230: Error: incorrect condition in IT block `movne R0,#0x00’
HAL_CM4.S:231: Error: instruction not allowed in IT block `strb R0,R1,#TCB_STACKF
HAL_CM4.S:254: Error: selected processor does not support `vldmiane R12!,{S16-S31}’ in Thumb mode
HAL_CM4.S:256: Error: instruction not allowed in IT block `msr PSP,R12’
HAL_CM4.S:328: Error: selected processor does not support `vstmdbeq R12!,{S16-S31}’ in Thumb mode
HAL_CM4.S:333: Error: incorrect condition in IT block `movne R0,#0x00’
HAL_CM4.S:334: Error: instruction not allowed in IT block `strb R0,R1,#TCB_STACKF
HAL_CM4.S:356: Error: selected processor does not support `vldmiane R12!,{S16-S31}’ in Thumb mode
HAL_CM4.S:358: Error: instruction not allowed in IT block `msr PSP,R12’
make: *** mbed-rtos/rtx/TARGET_CORTEX_M/TARGET_RTOS_M4_M7/TOOLCHAIN_GCC/HAL_CM4.o Error
When I modify the Settings as following
Sw4stm32 Setting2
then i got a link error

‘Building target: Nucleo_rtos_basic.elf’
‘Invoking: MCU G++ Linker’

d:/programfiles/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/softfp\libc_nano.a(lib_a-signalr.o): In function `_kill_r’:
signalr.c:(.text._kill_r+0xe): undefined reference to `_kill’
d:/programfiles/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/lib/armv7e-m/softfp\libc_nano.a(lib_a-signalr.o): In function `_getpid_r’:
signalr.c:(.text._getpid_r+0x0): undefined reference to `_getpid’
collect2.exe: error: ld returned 1 exit status
make: *** Nucleo_rtos_basic.elf Error 1

for help

Tunisia
try adding “-specs=nosys.specs” in your linker miscellaneous flags
thanks ,it’s work.smile

Can Anyone help me to use the project in eclipse
i have done these :
1. what you have told up here
2.change arm compiler to latest update because of thisQuestion.
after these there was some error about serial buadrate definition isolved them
after that the problem was about some header file addressing and ... i solved them
finally problem got here :
ret = volumeManager.initialize(cfstore_svm_storage_drv, cfstore_svm_volume_manager_initialize_callback);

for cfstore_svm_storage_drv

couldn’t solve

as the project is exported from MBED compiler it shouldn’t have problems such these
can any one help me solve it?

thanks.


 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by royjamil, 20:13
  2. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  3. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  4. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  5. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  8. Build a project in "release" mode by tang, 2025-02-20 10:36
  9. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27

Last-Modified Blogs