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


You are viewing a reply to Compiler Documentation  

Compiler Documentation

Hi,

what does it mean “rejecting the pragma directive”

For example, with this source code...

int main(void)
{
 #pragma message "Fix it!!!"
	for(;;);
}


... the compiler output is

make all
'Building file: ../src/main.c'
'Invoking: MCU GCC Compiler' ...
../src/main.c:19:9: note: #pragma message: Fix it!!!
 #pragma message "Fix it!!!"
         ^
'Finished building: ../src/main.c'


Is it not what you expect?

Regards,
Stefano