Loading...
 
Skip to main content

System Workbench for STM32


error: '__ASM' undeclared (first use in this function)

I am getting this error in a file that compiled without errors under a cubemx makefile generated project "error: '__ASM' undeclared (first use in this function)"

Is there a setting I can change to get rid of this error and other errors (caused buy this error ?) such as "warning: implicit declaration of function '__set_BASEPRI' -Wimplicit-function-declaration"

Renamed file from .c to .s and it then compiled fine.

 
Collapse/expand modules below