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


System Workbench jumps over commands?!

Hi,
i’m trying to fix a problem I have, but don’t know how.
Somehow when working on a code, a function-call is not executed in the while loop, when I set there a breakpoint, executions stops a line after!
When I use the step-by-step button, every command in my code is executed, but not this one I have problems with. Compiling and so brings no errors. And I was able to execute this command a few days back.

I noticed that the function is with grey underlay, the other functions dont have this.

How can I fix this? I think this might be some accidental configuration...

Thank you

What do you mean by “grey underlay” ?
Is it the background color that is grey ?
If yes, it means it is not compiled and so won’t be executed.
You have changed something like a #define.
Is the function around “#ifdef SOMETHING” and you changed the preprocessor #define removing or renaming SOMETHING ?

Rgds,
Laurent


Hi Laurent,

thank you very much for your reply. You are right, the function has a grey background colour.

But there is no #ifdef and #define is ok. This Function I want to execute again is: Read_raw_Data, and where this function is defined, there are a lot of other functions which work correctly.

Hi,

Can you check the optimizations ?
In prj properties, c compiler optim, set them to -0 (None) if not already the case.

Then, i don’t know, is there a header file not included.
Is there a warning when compiling ?
Or is it a function not used anymore because you renamed it ?

Without seeing the code, we can’t investigate more.
You have to find why it is greyed out.

Rgds,
Laurent


Hi laurent,
thank you very much, I got the error! The *.h file was not fully included!
Thank you


 

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