用STM32cubemxF1生成工程出现 identifier "GPIO_BIT_RESET" is
用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 ,要怎么用??? 出现跟你一样的错误,请教下怎么解决的?
页:
[1]