我把MBED上的工程导出为Keil格式的,怎么无法编译通过?谁试过?
转为最新版格式的Keil5,后,编译出了这个问题。
*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'mbed NUCLEO_F411RE'
compiling main.cpp...
mbed/TARGET_NUCLEO_F411RE/TARGET_STM/TARGET_STM32F4/TARGET_NUCLEO_F411RE/PeripheralNames.h(58): error: #20: identifier "SPI5_BASE" is undefined
SPI_5 = (int)SPI5_BASE
main.cpp: 0 warnings, 1 error
".\build\Nucleo_printf.axf" - 1 Error(s), 0 Warning(s).
Target not created.
|