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


syntax errors on statements starting with __weak

Code compiles without error but when files created by Cube MX are opened the editor indicates the lines starting with __weak as containing a syntax error. In a previous post it was related that the Properties>C++ Build>>Settings>>Dialect needs to have Language set to Standard. I find no such setting, however I do see that the choices are blank, and three other ISO... selections. In my case it is blank. I find that changing to the other standards has no effect on the syntax error. An example of the error:
__weak uint32_t HAL_GetTick(void)
{
return uwTick;
}

The error is shown by a question mark at the far left of the first line beginning with __weak. However no further information is displayed regarding the nature of the error.

I think the error is not really an error. Any ideas how to make it right or make it go away?