Skip to main content
hw.1
Associate
February 26, 2020
Question

How to correct the waring of __set_FAULTMASK(1)?

  • February 26, 2020
  • 4 replies
  • 2963 views

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.
Super User
February 26, 2020

Which compiler? Keil?

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

hw.1
hw.1Author
Associate
February 27, 2020

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
February 27, 2020

0690X00000DXPAJQA5.png

hw.1
hw.1Author
Associate
February 29, 2020

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