
用STM32cubemx生成的工程文件,出现以下错误和警告,求大神帮助!!! 1. error: #20: identifier "GPIO_BIT_RESET" is undefined 2: warning: #223-D: function "__set_PRIMASK" declared implicitly 做过以下尝试把以下三个全部加入工程,问题没有解决,加入core_cm3.c问题也没有解决 #include "stm32f1xx_hal.h" #include "stm32f1xx_hal_def.h" #include "stm32f1xx_hal_gpio.h" |
第二个警告,总中断的管理 __set_PRIMASK ,要怎么用???