.\usb\USB\usb_pwr.h(54): error: #20: identifier "bool" is undefined
usb\USB\usb_pwr.h(54): error: #20: identifier "bool" is undefined
usb-driver\STM32_USB-FS-Device_DriverV3.1.1\src\usb_core.c(511): error: #20: identifier "TRUE" is undefined
usb-driver\STM32_USB-FS-Device_DriverV3.1.1\src\usb_core.c(45): error: #20: identifier "FALSE" is undefined
在stm32f103.h中添加 typedef enum {FALSE = 0, TRUE = !FALSE} bool; 就没有错误了 |
images/loading.gif' data-original="http://www.openedv.com/data/attachment/forum/2015/11/11/a21643e757ad62227411f21898be3d6a_34783.png_" />
http://www.cnblogs.com/xiaobo-Linux/
原标题:stm32 usb error : identifier bool is undefined
关键词:ie