问题:

编译报错: error:  #20: identifier “GPIOJ” is undefined

 

解决:

引用的stm32f4xx.h 位置不对,应该用我们下载的标准外设库中带的stm32f4xx.h

增加define  USE_STDPERIPH_DRIVER (option for target-> c/c++ -> define)

 

参考:

http://www.51hei.com/bbs/dpj-30359-1.html

发表评论

电子邮件地址不会被公开。