cancel
Showing results for 
Search instead for 
Did you mean: 

How to correct the waring of __set_FAULTMASK(1)?

hw.1
Associate II

0690X00000DXMNtQAP.pngThere is a warning of __set_FAULTMASK(1) when using the STM32CubeMX5.5/5.6 to generate the code for the STM32F334, how to correct it. Thanks!

4 REPLIES 4
Pavel A.
Evangelist III

Which compiler? Keil?

Then it should be in .... /Drivers/CMSIS/Include/cmsis_armcc.h

hw.1
Associate II

yes,the compiler is Keil 5.29. cmsis_armcc.h have the definion of it.

Migrate the project from STM32CubeMX4.27 to STM32CubeMX5.6 and regenerate the code, have the warning in the Keil.

0690X00000DXP83QAH.png

hw.1
Associate II

0690X00000DXPAJQA5.png

hw.1
Associate II

thanks, in the kEIL   Edit→configuretion→Text Completion→Dynamic Syntax Checking ( cancel it )0690X00000DYLpAQAX.png