礦ision Build Log

Tool Versions:

IDE-Version: μVision V5.36.0.0 Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: a a, a, LIC=JL28G-V3W6S-KPHZY-IYQH5-DRA7F-C9XIE Tool Versions: Toolchain: MDK-ARM Plus Version: 5.36.0.0 Toolchain Path: D:\Keil_v5\ARM\ARMCC\Bin C Compiler: Armcc.exe V5.06 update 7 (build 960) Assembler: Armasm.exe V5.06 update 7 (build 960) Linker/Locator: ArmLink.exe V5.06 update 7 (build 960) Library Manager: ArmAr.exe V5.06 update 7 (build 960) Hex Converter: FromElf.exe V5.06 update 7 (build 960) CPU DLL: SARMCM3.DLL V5.36.0.0 Dialog DLL: DARMCM1.DLL V1.19.4.0 Target DLL: CMSIS_AGDI.dll V1.33.0.0 Dialog DLL: TARMCM1.DLL V1.14.4.0

Project:

G:\资料\2_RW合封资料\可提供给客户的合封资料\RW1616BP\RW1616BP_SDK\rw1616bp_mcu_sdk_rls_V1.0\prj\bl32f003_demo.uvprojx Project File Date: 10/25/2021

Output:

*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'D:\Keil_v5\ARM\ARMCC\Bin' Rebuild target 'Target bl2102' assembling startup_BL2102.s... compiling BL2102_pwmplus.c... ..\src\port\bl210x\soc\BL2101.h(9): error: #2571: invalid redefinition of enum "IRQn" (declared at line 9 of "..\src\port\bl210x\soc\BL2102.h") typedef enum IRQn ..\src\port\bl210x\soc\BL2101.h(12): error: #101: "NonMaskableInt_IRQn" has already been declared in the current scope NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ ..\src\port\bl210x\soc\BL2101.h(13): error: #101: "HardFault_IRQn" has already been declared in the current scope HardFault_IRQn = -13, /*!< 3 Cortex-M0 Hard Fault Interrupt */ ..\src\port\bl210x\soc\BL2101.h(14): error: #101: "SVCall_IRQn" has already been declared in the current scope SVCall_IRQn = -5, /*!< 11 Cortex-M0 SV Call Interrupt */ ..\src\port\bl210x\soc\BL2101.h(15): error: #101: "PendSV_IRQn" has already been declared in the current scope PendSV_IRQn = -2, /*!< 14 Cortex-M0 Pend SV Interrupt */ ..\src\port\bl210x\soc\BL2101.h(16): error: #101: "SysTick_IRQn" has already been declared in the current scope SysTick_IRQn = -1, /*!< 15 Cortex-M0 System Tick Interrupt */ ..\src\port\bl210x\soc\BL2101.h(19): error: #101: "UART0_IRQn" has already been declared in the current scope UART0_IRQn = 0, ..\src\port\bl210x\soc\BL2101.h(24): error: #101: "ADC_IRQn" has already been declared in the current scope ADC_IRQn = 5, ..\src\port\bl210x\soc\BL2101.h(26): error: #101: "IIC0_IRQn" has already been declared in the current scope IIC0_IRQn = 7, ..\src\port\bl210x\soc\BL2101.h(30): error: #101: "GPIOA0_IRQn" has already been declared in the current scope GPIOA0_IRQn = 11, ..\src\port\bl210x\soc\BL2101.h(31): error: #101: "GPIOA1_IRQn" has already been declared in the current scope GPIOA1_IRQn = 12, ..\src\port\bl210x\soc\BL2101.h(32): error: #101: "GPIOA4_IRQn" has already been declared in the current scope GPIOA4_IRQn = 13, ..\src\port\bl210x\soc\BL2101.h(33): error: #101: "GPIOA5_IRQn" has already been declared in the current scope GPIOA5_IRQn = 14, ..\src\port\bl210x\soc\BL2101.h(36): error: #101: "GPIOA14_IRQn" has already been declared in the current scope GPIOA14_IRQn = 17, ..\src\port\bl210x\soc\BL2101.h(37): error: #101: "GPIOA15_IRQn" has already been declared in the current scope GPIOA15_IRQn = 18, ..\src\port\bl210x\soc\BL2101.h(43): error: #101: "IRQ24_IRQn" has already been declared in the current scope IRQ24_IRQn = 24, ..\src\port\bl210x\soc\BL2101.h(44): error: #101: "IRQ25_IRQn" has already been declared in the current scope IRQ25_IRQn = 25, ..\src\port\bl210x\soc\BL2101.h(45): error: #101: "IRQ26_IRQn" has already been declared in the current scope IRQ26_IRQn = 26, ..\src\port\bl210x\soc\BL2101.h(46): error: #101: "IRQ27_IRQn" has already been declared in the current scope IRQ27_IRQn = 27, ..\src\port\bl210x\soc\BL2101.h(47): error: #101: "IRQ28_IRQn" has already been declared in the current scope IRQ28_IRQn = 28, ..\src\port\bl210x\soc\BL2101.h(48): error: #101: "IRQ29_IRQn" has already been declared in the current scope IRQ29_IRQn = 29, ..\src\port\bl210x\soc\BL2101.h(49): error: #101: "IRQ30_IRQn" has already been declared in the current scope IRQ30_IRQn = 30, ..\src\port\bl210x\soc\BL2101.h(50): error: #101: "IRQ31_IRQn" has already been declared in the current scope IRQ31_IRQn = 31, ..\src\port\bl210x\soc\BL2101.h(51): error: #256: invalid redeclaration of type name "IRQn_Type" (declared at line 51 of "..\src\port\bl210x\soc\BL2102.h") } IRQn_Type; ..\src\port\bl210x\soc\BL2101.h(71): error: #101: "RESET" has already been declared in the current scope typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #101: "SET" has already been declared in the current scope typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #256: invalid redeclaration of type name "FlagStatus" (declared at line 71 of "..\src\port\bl210x\soc\BL2102.h") typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #256: invalid redeclaration of type name "ITStatus" (declared at line 71 of "..\src\port\bl210x\soc\BL2102.h") typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(73): error: #101: "DISABLE" has already been declared in the current scope typedef enum {DISABLE = 0, ENABLE = 1} FunctionalState; ..\src\port\bl210x\soc\BL2101.h(73): error: #101: "ENABLE" has already been declared in the current scope typedef enum {DISABLE = 0, ENABLE = 1} FunctionalState; ..\src\port\bl210x\soc\BL2102_pwmplus.c: 0 warnings, 30 errors compiling BL210x_flash.c... ..\src\port\bl210x\soc\BL210x_flash.c(13): error: #20: identifier "FLASH" is undefined FLASH->CFG &= ~(0x03 << FLASH_CFG_READMODE_POS); ..\src\port\bl210x\soc\BL210x_flash.c(13): error: #20: identifier "FLASH_CFG_READMODE_POS" is undefined FLASH->CFG &= ~(0x03 << FLASH_CFG_READMODE_POS); ..\src\port\bl210x\soc\BL210x_flash.c(16): error: #20: identifier "FLASH_CFG_CLKDIV_POS" is undefined FLASH->CFG &= ~(0x03 << FLASH_CFG_CLKDIV_POS); ..\src\port\bl210x\soc\BL210x_flash.c(33): error: #20: identifier "FLASH" is undefined FLASH->CFG &= ~(0x0F << FLASH_CFG_CMD_POS); ..\src\port\bl210x\soc\BL210x_flash.c(33): error: #20: identifier "FLASH_CFG_CMD_POS" is undefined FLASH->CFG &= ~(0x0F << FLASH_CFG_CMD_POS); ..\src\port\bl210x\soc\BL210x_flash.c(48): error: #20: identifier "FLASH" is undefined if(FLASH->STATE & FLASH_STATE_BUSY_MSK) ..\src\port\bl210x\soc\BL210x_flash.c(48): error: #20: identifier "FLASH_STATE_BUSY_MSK" is undefined if(FLASH->STATE & FLASH_STATE_BUSY_MSK) ..\src\port\bl210x\soc\BL210x_flash.c(68): error: #20: identifier "FLASH" is undefined if(FLASH->STATE & FLASH_STATE_PROG_VALID_MSK) ..\src\port\bl210x\soc\BL210x_flash.c(68): error: #20: identifier "FLASH_STATE_PROG_VALID_MSK" is undefined if(FLASH->STATE & FLASH_STATE_PROG_VALID_MSK) ..\src\port\bl210x\soc\BL210x_flash.c(88): error: #20: identifier "FLASH" is undefined FLASH->START |= 0x01 << FLASH_START_PROG_END_POS; ..\src\port\bl210x\soc\BL210x_flash.c(88): error: #20: identifier "FLASH_START_PROG_END_POS" is undefined FLASH->START |= 0x01 << FLASH_START_PROG_END_POS; ..\src\port\bl210x\soc\BL210x_flash.c(101): error: #20: identifier "FLASH" is undefined FLASH->START |= 0x01 << FLASH_START_EN_POS; //启动命令 ..\src\port\bl210x\soc\BL210x_flash.c(101): error: #20: identifier "FLASH_START_EN_POS" is undefined FLASH->START |= 0x01 << FLASH_START_EN_POS; //启动命令 ..\src\port\bl210x\soc\BL210x_flash.c(177): error: #20: identifier "FLASH" is undefined Rec = FLASH->RDATA & 0x01; //读取寄存器数据,当数据为0时,表示操作完成 ..\src\port\bl210x\soc\BL210x_flash.c(194): error: #20: identifier "FLASH" is undefined FLASH->ADDR = addr>>2; //地址转换为以字为单位 ..\src\port\bl210x\soc\BL210x_flash.c(215): error: #20: identifier "FLASH" is undefined FLASH->WDATA = 0x0200; //Quad_Enable ..\src\port\bl210x\soc\BL210x_flash.c(240): error: #20: identifier "FLASH" is undefined FLASH->ADDR = addr>>2; //地址转换为以字为单位 ..\src\port\bl210x\soc\BL210x_flash.c(244): error: #20: identifier "FLASH_START_EN_POS" is undefined FLASH->START |= 0x01 << FLASH_START_EN_POS; //启动命令 ..\src\port\bl210x\soc\BL210x_flash.c(280): error: #20: identifier "FLASH" is undefined FLASH->ADDR = addr>>2; //地址转换为以字为单位 ..\src\port\bl210x\soc\BL210x_flash.c(284): error: #20: identifier "FLASH_START_EN_POS" is undefined FLASH->START |= 0x01 << FLASH_START_EN_POS; //启动命令 ..\src\port\bl210x\soc\BL210x_flash.c(314): error: #20: identifier "FLASH" is undefined FLASH->ADDR = addr>>2; //地址转换为以字为单位 ..\src\port\bl210x\soc\BL210x_flash.c(316): error: #20: identifier "FLASH_CFG_READMODE_POS" is undefined FLASH->CFG &= ~(0x03 << FLASH_CFG_READMODE_POS); ..\src\port\bl210x\soc\BL210x_flash.c: 0 warnings, 22 errors compiling system_BL2102.c... ..\src\port\bl210x\soc\system_BL2102.c(22): error: #136: struct "" has no field "RCCR" if(SYS->RCCR & SYS_RCCR_RCHF_SEL_MSK) ..\src\port\bl210x\soc\system_BL2102.c(22): error: #20: identifier "SYS_RCCR_RCHF_SEL_MSK" is undefined if(SYS->RCCR & SYS_RCCR_RCHF_SEL_MSK) ..\src\port\bl210x\soc\system_BL2102.c(35): error: #136: struct "" has no field "RCCR" if(SYS->RCCR & SYS_RCCR_RCHF_SEL_MSK) ..\src\port\bl210x\soc\system_BL2102.c(35): error: #20: identifier "SYS_RCCR_RCHF_SEL_MSK" is undefined if(SYS->RCCR & SYS_RCCR_RCHF_SEL_MSK) ..\src\port\bl210x\soc\system_BL2102.c(62): error: #136: struct "" has no field "RCCR" SYS->RCCR |= 0x01 << SYS_RCCR_RCHF_EN_POS; //RCHF使能 ..\src\port\bl210x\soc\system_BL2102.c(62): error: #20: identifier "SYS_RCCR_RCHF_EN_POS" is undefined SYS->RCCR |= 0x01 << SYS_RCCR_RCHF_EN_POS; //RCHF使能 ..\src\port\bl210x\soc\system_BL2102.c(63): error: #136: struct "" has no field "RCCR" SYS->RCCR &= ~(0x01 << SYS_RCCR_RCHF_SEL_POS); //RCHF选择48MHZ ..\src\port\bl210x\soc\system_BL2102.c(63): error: #20: identifier "SYS_RCCR_RCHF_SEL_POS" is undefined SYS->RCCR &= ~(0x01 << SYS_RCCR_RCHF_SEL_POS); //RCHF选择48MHZ ..\src\port\bl210x\soc\system_BL2102.c(72): error: #136: struct "" has no field "RCCR" SYS->RCCR |= 0x01 << SYS_RCCR_RCHF_EN_POS; //RCHF使能 ..\src\port\bl210x\soc\system_BL2102.c(72): error: #20: identifier "SYS_RCCR_RCHF_EN_POS" is undefined SYS->RCCR |= 0x01 << SYS_RCCR_RCHF_EN_POS; //RCHF使能 ..\src\port\bl210x\soc\system_BL2102.c(73): error: #136: struct "" has no field "RCCR" SYS->RCCR |= (0x01 << SYS_RCCR_RCHF_SEL_POS); //RCHF选择24MHZ ..\src\port\bl210x\soc\system_BL2102.c(73): error: #20: identifier "SYS_RCCR_RCHF_SEL_POS" is undefined SYS->RCCR |= (0x01 << SYS_RCCR_RCHF_SEL_POS); //RCHF选择24MHZ ..\src\port\bl210x\soc\system_BL2102.c(99): error: #136: struct "" has no field "XTACR" SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(99): error: #20: identifier "SYS_XTACR_XTAH_EN_POS" is undefined SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(120): error: #136: struct "" has no field "XTACR" SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(120): error: #20: identifier "SYS_XTACR_XTAH_EN_POS" is undefined SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(142): error: #136: struct "" has no field "XTACR" SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(142): error: #20: identifier "SYS_XTACR_XTAH_EN_POS" is undefined SYS->XTACR |= 0x01 << SYS_XTACR_XTAH_EN_POS; //XTAH使能 ..\src\port\bl210x\soc\system_BL2102.c(185): warning: #223-D: function "FLASH_Read_Word_2" declared implicitly PMU->TRIM_POW = FLASH_Read_Word_2(TRIM_POW_Addr); ..\src\port\bl210x\soc\system_BL2102.c(245): warning: #223-D: function "FLASH_Init" declared implicitly FLASH_Init(FLASH_QuadReadData,FLASH_CLKDIV_1); ..\src\port\bl210x\soc\system_BL2102.c(245): error: #20: identifier "FLASH_QuadReadData" is undefined FLASH_Init(FLASH_QuadReadData,FLASH_CLKDIV_1); ..\src\port\bl210x\soc\system_BL2102.c(245): error: #20: identifier "FLASH_CLKDIV_1" is undefined FLASH_Init(FLASH_QuadReadData,FLASH_CLKDIV_1); ..\src\port\bl210x\soc\system_BL2102.c: 2 warnings, 20 errors compiling BL2102_timerplus.c... ..\src\port\bl210x\soc\BL2102_timerplus.h(90): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_Common_Init(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,TIMPLUS_CommonInitTypeDef * TIMPLUS_CommonInitStruct); ..\src\port\bl210x\soc\BL2102_timerplus.h(91): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_Hall_Init(TIMPLUS_TypeDef * TIMPLUSx, TIMPLUS_HallInitTypeDef * TIMPLUS_HallInitStruct); ..\src\port\bl210x\soc\BL2102_timerplus.h(92): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_Start(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(93): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_Stop(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(94): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetClkDiv(TIMPLUS_TypeDef * TIMPLUSx,uint8_t Clk_Div); ..\src\port\bl210x\soc\BL2102_timerplus.h(95): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetMode(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,TIMPLUS_ModeTypeDef Mode); ..\src\port\bl210x\soc\BL2102_timerplus.h(96): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetClkSel(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,TIMPLUS_ClkSelTypeDef ClkSel); ..\src\port\bl210x\soc\BL2102_timerplus.h(97): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetExtSel(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,TIMPLUS_ExtSelTypeDef ExtSel); ..\src\port\bl210x\soc\BL2102_timerplus.h(98): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetExtLevel(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,TIMPLUS_ExtLevelTypeDef ExtLevel); ..\src\port\bl210x\soc\BL2102_timerplus.h(99): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetOutEn(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,FunctionalState OutEn); ..\src\port\bl210x\soc\BL2102_timerplus.h(100): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_SetPeriod(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type,uint16_t Period); ..\src\port\bl210x\soc\BL2102_timerplus.h(101): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint16_t TIMPLUS_GetPeriod(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(102): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint16_t TIMPLUS_GetCurrentValue(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(103): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint16_t TIMPLUS_GetCaptureValue(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(104): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint8_t TIMPLUS_GetHallLevel(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_HallTypeDef HallLevel); ..\src\port\bl210x\soc\BL2102_timerplus.h(105): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntOvfEn(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(106): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntOvfDis(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(107): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint8_t TIMPLUS_IntOvfState(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(108): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntOvfClr(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(109): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntRiseEn(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(110): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntRiseDis(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(111): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint8_t TIMPLUS_IntRiseState(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(112): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntRiseClr(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(113): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntFallEn(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(114): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntFallDis(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(115): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint8_t TIMPLUS_IntFallState(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(116): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntFallClr(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_TypeTypeDef type); ..\src\port\bl210x\soc\BL2102_timerplus.h(117): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntHallRiseEn(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_HallTypeDef HallLevel); ..\src\port\bl210x\soc\BL2102_timerplus.h(118): error: #20: identifier "TIMPLUS_TypeDef" is undefined void TIMPLUS_IntHallRiseDis(TIMPLUS_TypeDef * TIMPLUSx,TIMPLUS_HallTypeDef HallLevel); ..\src\port\bl210x\soc\BL2102_timerplus.h(119): error: #20: identifier "TIMPLUS_TypeDef" is undefined uint8_t TIMPLUS_IntHallRiseState(TIMPLUS_TypeDef * TIMPLUSx); ..\src\port\bl210x\soc\BL2102_timerplus.c: 0 warnings, 30 errors compiling BL210x_exti.c... compiling BL210x_iic.c... compiling BL210x_gpio.c... compiling BL210x_port.c... compiling BL210x_spi.c... compiling BL210x_uart.c... compiling BL210x_adc.c... ..\src\port\bl210x\soc\BL210x_adc.c(18): warning: #177-D: variable "delay" was declared but never referenced uint32_t delay = 0; ..\src\port\bl210x\soc\BL210x_adc.c(19): warning: #550-D: variable "ADC_TRIM_Data" was set but never used uint32_t ADC_TRIM_Data = 0; ..\src\port\bl210x\soc\BL210x_adc.c: 2 warnings, 0 errors compiling BL210x_wdt.c... compiling BL210x_pwmbase.c... ..\src\port\bl210x\soc\BL2101.h(9): error: #2571: invalid redefinition of enum "IRQn" (declared at line 9 of "..\src\port\bl210x\soc\BL2102.h") typedef enum IRQn ..\src\port\bl210x\soc\BL2101.h(12): error: #101: "NonMaskableInt_IRQn" has already been declared in the current scope NonMaskableInt_IRQn = -14, /*!< 2 Non Maskable Interrupt */ ..\src\port\bl210x\soc\BL2101.h(13): error: #101: "HardFault_IRQn" has already been declared in the current scope HardFault_IRQn = -13, /*!< 3 Cortex-M0 Hard Fault Interrupt */ ..\src\port\bl210x\soc\BL2101.h(14): error: #101: "SVCall_IRQn" has already been declared in the current scope SVCall_IRQn = -5, /*!< 11 Cortex-M0 SV Call Interrupt */ ..\src\port\bl210x\soc\BL2101.h(15): error: #101: "PendSV_IRQn" has already been declared in the current scope PendSV_IRQn = -2, /*!< 14 Cortex-M0 Pend SV Interrupt */ ..\src\port\bl210x\soc\BL2101.h(16): error: #101: "SysTick_IRQn" has already been declared in the current scope SysTick_IRQn = -1, /*!< 15 Cortex-M0 System Tick Interrupt */ ..\src\port\bl210x\soc\BL2101.h(19): error: #101: "UART0_IRQn" has already been declared in the current scope UART0_IRQn = 0, ..\src\port\bl210x\soc\BL2101.h(24): error: #101: "ADC_IRQn" has already been declared in the current scope ADC_IRQn = 5, ..\src\port\bl210x\soc\BL2101.h(26): error: #101: "IIC0_IRQn" has already been declared in the current scope IIC0_IRQn = 7, ..\src\port\bl210x\soc\BL2101.h(30): error: #101: "GPIOA0_IRQn" has already been declared in the current scope GPIOA0_IRQn = 11, ..\src\port\bl210x\soc\BL2101.h(31): error: #101: "GPIOA1_IRQn" has already been declared in the current scope GPIOA1_IRQn = 12, ..\src\port\bl210x\soc\BL2101.h(32): error: #101: "GPIOA4_IRQn" has already been declared in the current scope GPIOA4_IRQn = 13, ..\src\port\bl210x\soc\BL2101.h(33): error: #101: "GPIOA5_IRQn" has already been declared in the current scope GPIOA5_IRQn = 14, ..\src\port\bl210x\soc\BL2101.h(36): error: #101: "GPIOA14_IRQn" has already been declared in the current scope GPIOA14_IRQn = 17, ..\src\port\bl210x\soc\BL2101.h(37): error: #101: "GPIOA15_IRQn" has already been declared in the current scope GPIOA15_IRQn = 18, ..\src\port\bl210x\soc\BL2101.h(43): error: #101: "IRQ24_IRQn" has already been declared in the current scope IRQ24_IRQn = 24, ..\src\port\bl210x\soc\BL2101.h(44): error: #101: "IRQ25_IRQn" has already been declared in the current scope IRQ25_IRQn = 25, ..\src\port\bl210x\soc\BL2101.h(45): error: #101: "IRQ26_IRQn" has already been declared in the current scope IRQ26_IRQn = 26, ..\src\port\bl210x\soc\BL2101.h(46): error: #101: "IRQ27_IRQn" has already been declared in the current scope IRQ27_IRQn = 27, ..\src\port\bl210x\soc\BL2101.h(47): error: #101: "IRQ28_IRQn" has already been declared in the current scope IRQ28_IRQn = 28, ..\src\port\bl210x\soc\BL2101.h(48): error: #101: "IRQ29_IRQn" has already been declared in the current scope IRQ29_IRQn = 29, ..\src\port\bl210x\soc\BL2101.h(49): error: #101: "IRQ30_IRQn" has already been declared in the current scope IRQ30_IRQn = 30, ..\src\port\bl210x\soc\BL2101.h(50): error: #101: "IRQ31_IRQn" has already been declared in the current scope IRQ31_IRQn = 31, ..\src\port\bl210x\soc\BL2101.h(51): error: #256: invalid redeclaration of type name "IRQn_Type" (declared at line 51 of "..\src\port\bl210x\soc\BL2102.h") } IRQn_Type; ..\src\port\bl210x\soc\BL2101.h(71): error: #101: "RESET" has already been declared in the current scope typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #101: "SET" has already been declared in the current scope typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #256: invalid redeclaration of type name "FlagStatus" (declared at line 71 of "..\src\port\bl210x\soc\BL2102.h") typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(71): error: #256: invalid redeclaration of type name "ITStatus" (declared at line 71 of "..\src\port\bl210x\soc\BL2102.h") typedef enum {RESET = 0, SET = 1} FlagStatus, ITStatus; ..\src\port\bl210x\soc\BL2101.h(73): error: #101: "DISABLE" has already been declared in the current scope typedef enum {DISABLE = 0, ENABLE = 1} FunctionalState; ..\src\port\bl210x\soc\BL2101.h(73): error: #101: "ENABLE" has already been declared in the current scope typedef enum {DISABLE = 0, ENABLE = 1} FunctionalState; ..\src\port\bl210x\soc\BL210x_pwmbase.c: 0 warnings, 30 errors compiling main.c... compiling bl210x_test.c... compiling uti.c... ".\out\BL210x_Demo.axf" - 132 Error(s), 4 Warning(s).

Software Packages used:

Package Vendor: BoLing http://www.bolingic.com/BoLing.BL32F.1.0.0.pack BoLing.BL32F.1.0.0 BL32F Device Support

Collection of Component include folders:

D:\Users\xuxiangli\AppData\Local\Arm\Packs\BoLing\BL32F\1.0.0\CSL\BL2102\CMSIS\DeviceSupport

Collection of Component Files used:

Target not created. Build Time Elapsed: 00:00:02