Skip to main content
hw.1
Associate
Feb 26, 2020 1:51 PM UTC
Question

How to correct the waring of __set_FAULTMASK(1)?

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!

This topic has been closed for replies.

4 replies

Pavel A.
Feb 26, 2020 8:58 PM UTC

Which compiler? Keil?

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

hw.1
hw.1Author
Associate
Feb 27, 2020 6:01 AM UTC

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
hw.1Author
Associate
Feb 27, 2020 6:14 AM UTC

0690X00000DXPAJQA5.png

hw.1
hw.1Author
Associate
Feb 29, 2020 12:16 PM UTC

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