compiling usb_main.c...
..\..\..\src\cpu\arm_cm0.h(19): error: #147-D: declaration is incompatible with "void NVIC_EnableIRQ(IRQn_Type)" (declared at line 626 of "C:\Keil\ARM\PACK\ARM\CMSIS\3.20.3\CMSIS\Include\core_cm0plus.h")
void enable_irq (int);
..\..\..\src\cpu\arm_cm0.h(20): error: #147-D: declaration is incompatible with "void NVIC_DisableIRQ(IRQn_Type)" (declared at line 638 of "C:\Keil\ARM\PACK\ARM\CMSIS\3.20.3\CMSIS\Include\core_cm0plus.h")
void disable_irq (int);
我下载编译下载都很好。
按照链接的方法,做了一遍,却有点问题。
出现如下错误:
Error[Li005]: no definition for "USBD_ReqGetStatus" [referenced from D:\kl25z\
kl25_sc_rev10\klxx-sc-baremetal\build\iar\platinum\FLASH_128KB\Obj\usbd_core.o]