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


Symbol 'SysTick_IRQn' could not be resolved

Have look at “Forums » System Workbench for STM32» importing a CubeMX project”. The problem is raised by the indexer. Exclude unused header files from the index solved all my problems!
Germany

Hello @all

I´ve got here the same problem!

If under Project settings, you uncheck “Generate Under Root” before generating your project files it resolves the issue.
France

The proper solution, as explained In this FAQ entryQuestion is to uncheck “Index unused headers” from the project properties (or workspace preferences) on the C/C++ Build >> Indexer page.

Unchecking “Renerate under root” just accidentally solve this problem but creates other problems (difficulty to manage your project under SVN or GIT or to add your own source and header files for example) that made it a less-than-optimal solution.

Bernard (Ac6)

I agree with dautrevaux. Unchecking “Generate under root” is just hiding the problem, not really solving it. Source code management in this becomes extemely inconvenient as well as directory structure in the project.
Thank you, that was the solution.

Seems like the solution with keeping “Generate under root” in place found.

My current project uses L151CCT , but definitely it should work with any other.
So, in my directory ../Drivers/CMSIS/Device/ST/STM32L1xx/Include
only three working files left:

stm32l1xx.h
stm32l151xc.h
system_stm32l1xx.h

All the other headers I moved to archive just in case.
Actually it’s been said above about deleting all the other headers from this directory. I’m not so radical :-)

Definitely this is a bug (not huge, but...), that should be fixed in the next releases.

Happy STMting :-)

France

The proper solution, as explained In this FAQ entryQuestion is to uncheck “Index unused headers” from the project properties (or workspace preferences) on the C/C++ Build >> Indexer page. This will automatically do exactly what you have done, but in a lot cleaner way as, as soon as you need one of th eexcluded files it will again be indexed.

Bernard (Ac6)

Bernard,
Hmm... I’m still not too familiar with Eclipse. And, if read how many threads were created about this problem, not too many people know Eclipse in details :-)

And, BTW,
‘’To solve this error, you should request that System Workbench do not parse files that are not used by your project, by opening th eindexer properties dialog (project >> Properties >> C/C++ General >> Indexer) then check the Enable project specific settings checkbox and uncheck the Index unused headers checkbox.

You may also suppress indexing of unused headers for all projects that do not have project-specific indexer settings by modifying the workspace settings at Window >> Preferences >> C/C++ >> Indexer.’’

I could not find anything about indexer at these paths...

Nevertheless, seems like this option set be default now.


 

Newest Forum Posts

  1. Монтаж камина с грилем в Москве - установка и барбекю by KpddomErorb, 2025-05-10 18:28
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-05-04 20:13
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  4. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  5. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  6. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  7. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  9. Build a project in "release" mode by tang, 2025-02-20 10:36
  10. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35

Last-Modified Blogs