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 Source Folder - Changes to Static Library and creates VFP error

Dear Shreeyak
Here is the way I am using to add folders/files into my project’s folder :

  • Using Windows Explorer, I copied a folder containing several files;
  • I pasted it in my project’s folder (in the Project Explorer window of SW4STM32);
  • Right-click to open the build properties dialog for this new folder (folder >> Properties >> C/C++ Build) and uncheck the Exclude resource from build checkbox;


Using these steps, the new files are properly compiled.
Note : the new files are part of the project. The new folder is not seen as a library.
The new code will be included in the final object code, as the linked does not know how to choose what is really needed.

I made trials but I cannot reproduce the issue you faced, so feel free to give more details :

  • How do you copy the files into your project’s folder?
  • How do you add it as a source folder?