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


Importing new files into an existing project

How does one import new files into an existing project without copying them into the project, such that they are linked to instead? I attempted to do it by going to:

File => Import => General => File System

But this copied the files into a new location on the drive, Eclipse did all subsequent edits to those copies, and while debugging I get the error message the debugger could not find the files for stepping through the program. I did not see a “Copy files into workspace” checkbox to leave unchecked there.

The rest of the files that were generated by STMCubeMX were imported properly with the “Copy files into workspace” checkbox unchecked.

I have found an answer. From Microsoft’s Windows Explorer drag the file into the desired directory in Eclipse’s Project Explorer. A dialog window will open that has the option to copy or link the file.

France

The best way to go would be in File >> Import >> General >> File System... the click the Advanced button, that will show you a Link File into Workspace checkbox

The option using Windows has laways existed with NTFS, but was not accessible, at least on my Windows 7 PC...

Bernard (Ac6)