Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

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