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


adding external(.a) library

I tried to add a compiled library to my project as image :

1


The file is liblibmplmpu.a and the others are header
The I opened properties of project and add the path to this .a file


2


so then the error for the lines in my code gone out but after compiling I saw this make error :

text

Description Resource Path Location Type
make: *** emd6final Configuration.elf Error 1 emd6final Configuration C/C++ Problem
and then I checked the console I saw it says this witch is related to the location of .a file …



‘Invoking: MCU GCC Linker’
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -mfloat-abi=soft -L”C:\Users\Sadra\Desktop\proj\emd6final\SW4STM32\emd6final Configuration\Drivers\core\mpl” -specs=nosys.specs -specs=nano.specs -T”../STM32F103RETx_FLASH.ld” -Wl,-Map=output.map -Wl,--gc-sections -lm -o “emd6final Configuration.elf” @”objects.list” -lC:/Users/Sadra/Desktop/proj/emd6final/SW4STM32/emd6final\ Configuration/Drivers/core/mpl
arm-none-eabi-gcc: error: Configuration/Drivers/core/mpl: No such file or directory
make: *** emd6final Configuration.elf Error 1



ANY SOLOUTION???????