移植错误如下:
*** Using Compiler 'V5.06 update 1 (build 61)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'UCOSIII-LED'
assembling startup_stm32l1xx_hd.s...
compiling os_app_hooks.c...
compiling stm32l1xx_it.c...
compiling app.c...
..\APP\app.c(92): warning: #223-D: function "CPU_IntDisMeasMaxCurReset" declared implicitly
CPU_IntDisMeasMaxCurReset();
..\APP\app.c(53): warning: #177-D: variable "AppTaskStartTCB" was declared but never referenced
static OS_TCB AppTaskStartTCB;
..\APP\app.c(54): warning: #177-D: variable "AppTaskStartStk" was declared but never referenced
static CPU_STK AppTaskStartStk[APP_CFG_TASK_START_STK_SIZE];
..\APP\app.c(156): warning: #177-D: function "AppTaskStart" was declared but never referenced
static void AppTaskStart (void *p_arg)
..\APP\app.c: 4 warnings, 0 errors
compiling bsp.c...
compiling misc.c...
compiling stm32l1xx_aes.c...
compiling stm32l1xx_adc.c...
compiling stm32l1xx_comp.c...
compiling stm32l1xx_aes_util.c...
compiling stm32l1xx_crc.c...
compiling stm32l1xx_dma.c...
compiling stm32l1xx_dac.c...
compiling stm32l1xx_dbgmcu.c...
compiling stm32l1xx_flash.c...
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1246): error: #136: struct "<unnamed>" has no field "WRP1213"
WRP1213_Data = (uint16_t)(((OB_WRP3 &
RP1213_MASK) |
B->WRP1213));
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1247): error: #136: struct "<unnamed>" has no field "WRP1415"
WRP1415_Data = (uint16_t)((((OB_WRP3 &
RP1415_MASK)>>16 |
B->WRP1415)));
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1249): error: #136: struct "<unnamed>" has no field "WRP1213"
B->WRP1213 = tmp1;
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1252): error: #136: struct "<unnamed>" has no field "WRP1415"
B->WRP1415 = tmp2;
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1257): error: #136: struct "<unnamed>" has no field "WRP1213"
WRP1213_Data = (uint16_t)(~OB_WRP3 & (
RP1213_MASK &
B->WRP1213));
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1258): error: #136: struct "<unnamed>" has no field "WRP1415"
WRP1415_Data = (uint16_t)((((~OB_WRP3 &
RP1415_MASK)>>16 &
B->WRP1415)));
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1261): error: #136: struct "<unnamed>" has no field "WRP1213"
B->WRP1213 = tmp1;
..\Libraries\STM32L1xx_StdPeriph_Driver\src\stm32l1xx_flash.c(1264): error: #136: struct "<unnamed>" has no field "WRP1415"