初级会员

- 积分
- 75
- 金钱
- 75
- 注册时间
- 2016-10-6
- 在线时间
- 10 小时
|
1金钱
出现了点小问题:
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'C:\Keil5_MDK\ARM\ARMCC\Bin'
Build target '流水灯程序'
compiling stm32f10x_it.c...
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(568): error: #20: identifier "RCC_APB2Periph_ADC1" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(575): error: #20: identifier "RCC_APB2Periph_ADC2" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(584): error: #20: identifier "RCC_APB2Periph_ADC3" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC3, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(724): error: #20: identifier "RCC_APB1Periph_CAN1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(731): error: #20: identifier "RCC_APB1Periph_CAN2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_cec.h(250): error: #20: identifier "RCC_APB1Periph_CEC" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CEC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1561): error: #159: declaration is incompatible with previous "FLASH_GetReadOutProtectionStatus" (declared at line 944)
FlagStatus FLASH_GetReadOutProtectionStatus(void)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1916): error: #159: declaration is incompatible with previous "FLASH_WaitForLastOperation" (declared at line 785)
FLASH_Status FLASH_WaitForLastOperation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1944): error: #159: declaration is incompatible with previous "FLASH_WaitForLastBank1Operation" (declared at line 880)
FLASH_Status FLASH_WaitForLastBank1Operation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(417): error: #20: identifier "RCC_APB2Periph_GPIOA" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOA, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(422): error: #20: identifier "RCC_APB2Periph_GPIOB" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOB, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(427): error: #20: identifier "RCC_APB2Periph_GPIOC" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(432): error: #20: identifier "RCC_APB2Periph_GPIOD" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOD, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(437): error: #20: identifier "RCC_APB2Periph_GPIOE" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOE, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(442): error: #20: identifier "RCC_APB2Periph_GPIOF" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOF, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(449): error: #20: identifier "RCC_APB2Periph_GPIOG" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOG, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(463): error: #20: identifier "RCC_APB2Periph_AFIO" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_AFIO, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(656): error: #20: identifier "RCC_APB1Periph_I2C1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(663): error: #20: identifier "RCC_APB1Periph_I2C2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(682): error: #20: identifier "RCC_ClocksTypeDef" is undefined
RCC_ClocksTypeDef rcc_clocks;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_pwr.h(195): error: #20: identifier "RCC_APB1Periph_PWR" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_PWR, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1508): error: #159: declaration is incompatible with previous "RCC_GetClocksFreq" (declared at line 698 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h")
void RCC_GetClocksFreq(RCC_ClocksTypeDef* RCC_Clocks)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1785): error: #159: declaration is incompatible with previous "RCC_APB2PeriphResetCmd" (declared at line 568 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h")
void RCC_APB2PeriphResetCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1816): error: #159: declaration is incompatible with previous "RCC_APB1PeriphResetCmd" (declared at line 724 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h")
void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1837): error: #159: declaration is incompatible with previous "RCC_BackupResetCmd" (declared at line 240 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_bkp.h")
void RCC_BackupResetCmd(FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1926): error: #159: declaration is incompatible with previous "RCC_GetFlagStatus" (declared at line 913)
FlagStatus RCC_GetFlagStatus(uint8_t RCC_FLAG)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(164): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->CNTL = (CounterValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(180): error: #20: identifier "PRLH_MSB_MASK" is undefined
TC->PRLH = (PrescalerValue & PRLH_MSB_MASK) >> 16;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(182): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->PRLL = (PrescalerValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(197): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->ALRL = (AlarmValue & RTC_LSB_MASK);
stm32f10x_it.c: 0 warnings, 30 errors
compiling system_stm32f10x.c...
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(568): error: #20: identifier "RCC_APB2Periph_ADC1" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(575): error: #20: identifier "RCC_APB2Periph_ADC2" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(584): error: #20: identifier "RCC_APB2Periph_ADC3" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC3, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(724): error: #20: identifier "RCC_APB1Periph_CAN1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(731): error: #20: identifier "RCC_APB1Periph_CAN2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_cec.h(250): error: #20: identifier "RCC_APB1Periph_CEC" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CEC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1561): error: #159: declaration is incompatible with previous "FLASH_GetReadOutProtectionStatus" (declared at line 944)
FlagStatus FLASH_GetReadOutProtectionStatus(void)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1916): error: #159: declaration is incompatible with previous "FLASH_WaitForLastOperation" (declared at line 785)
FLASH_Status FLASH_WaitForLastOperation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1944): error: #159: declaration is incompatible with previous "FLASH_WaitForLastBank1Operation" (declared at line 880)
FLASH_Status FLASH_WaitForLastBank1Operation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(417): error: #20: identifier "RCC_APB2Periph_GPIOA" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOA, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(422): error: #20: identifier "RCC_APB2Periph_GPIOB" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOB, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(427): error: #20: identifier "RCC_APB2Periph_GPIOC" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(432): error: #20: identifier "RCC_APB2Periph_GPIOD" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOD, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(437): error: #20: identifier "RCC_APB2Periph_GPIOE" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOE, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(442): error: #20: identifier "RCC_APB2Periph_GPIOF" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOF, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(449): error: #20: identifier "RCC_APB2Periph_GPIOG" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOG, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(463): error: #20: identifier "RCC_APB2Periph_AFIO" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_AFIO, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(656): error: #20: identifier "RCC_APB1Periph_I2C1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(663): error: #20: identifier "RCC_APB1Periph_I2C2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(682): error: #20: identifier "RCC_ClocksTypeDef" is undefined
RCC_ClocksTypeDef rcc_clocks;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_pwr.h(195): error: #20: identifier "RCC_APB1Periph_PWR" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_PWR, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1508): error: #159: declaration is incompatible with previous "RCC_GetClocksFreq" (declared at line 698 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h")
void RCC_GetClocksFreq(RCC_ClocksTypeDef* RCC_Clocks)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1785): error: #159: declaration is incompatible with previous "RCC_APB2PeriphResetCmd" (declared at line 568 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h")
void RCC_APB2PeriphResetCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1816): error: #159: declaration is incompatible with previous "RCC_APB1PeriphResetCmd" (declared at line 724 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h")
void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1837): error: #159: declaration is incompatible with previous "RCC_BackupResetCmd" (declared at line 240 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_bkp.h")
void RCC_BackupResetCmd(FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1926): error: #159: declaration is incompatible with previous "RCC_GetFlagStatus" (declared at line 913)
FlagStatus RCC_GetFlagStatus(uint8_t RCC_FLAG)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(164): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->CNTL = (CounterValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(180): error: #20: identifier "PRLH_MSB_MASK" is undefined
TC->PRLH = (PrescalerValue & PRLH_MSB_MASK) >> 16;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(182): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->PRLL = (PrescalerValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(197): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->ALRL = (AlarmValue & RTC_LSB_MASK);
system_stm32f10x.c: 0 warnings, 30 errors
compiling led.c...
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(568): error: #20: identifier "RCC_APB2Periph_ADC1" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(575): error: #20: identifier "RCC_APB2Periph_ADC2" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h(584): error: #20: identifier "RCC_APB2Periph_ADC3" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_ADC3, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(724): error: #20: identifier "RCC_APB1Periph_CAN1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h(731): error: #20: identifier "RCC_APB1Periph_CAN2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CAN2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_cec.h(250): error: #20: identifier "RCC_APB1Periph_CEC" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_CEC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1561): error: #159: declaration is incompatible with previous "FLASH_GetReadOutProtectionStatus" (declared at line 944)
FlagStatus FLASH_GetReadOutProtectionStatus(void)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1916): error: #159: declaration is incompatible with previous "FLASH_WaitForLastOperation" (declared at line 785)
FLASH_Status FLASH_WaitForLastOperation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_flash.h(1944): error: #159: declaration is incompatible with previous "FLASH_WaitForLastBank1Operation" (declared at line 880)
FLASH_Status FLASH_WaitForLastBank1Operation(uint32_t Timeout)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(417): error: #20: identifier "RCC_APB2Periph_GPIOA" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOA, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(422): error: #20: identifier "RCC_APB2Periph_GPIOB" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOB, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(427): error: #20: identifier "RCC_APB2Periph_GPIOC" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOC, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(432): error: #20: identifier "RCC_APB2Periph_GPIOD" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOD, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(437): error: #20: identifier "RCC_APB2Periph_GPIOE" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOE, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(442): error: #20: identifier "RCC_APB2Periph_GPIOF" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOF, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(449): error: #20: identifier "RCC_APB2Periph_GPIOG" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_GPIOG, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_gpio.h(463): error: #20: identifier "RCC_APB2Periph_AFIO" is undefined
RCC_APB2PeriphResetCmd(RCC_APB2Periph_AFIO, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(656): error: #20: identifier "RCC_APB1Periph_I2C1" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C1, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(663): error: #20: identifier "RCC_APB1Periph_I2C2" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_I2C2, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h(682): error: #20: identifier "RCC_ClocksTypeDef" is undefined
RCC_ClocksTypeDef rcc_clocks;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_pwr.h(195): error: #20: identifier "RCC_APB1Periph_PWR" is undefined
RCC_APB1PeriphResetCmd(RCC_APB1Periph_PWR, ENABLE);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1508): error: #159: declaration is incompatible with previous "RCC_GetClocksFreq" (declared at line 698 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_i2c.h")
void RCC_GetClocksFreq(RCC_ClocksTypeDef* RCC_Clocks)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1785): error: #159: declaration is incompatible with previous "RCC_APB2PeriphResetCmd" (declared at line 568 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_adc.h")
void RCC_APB2PeriphResetCmd(uint32_t RCC_APB2Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1816): error: #159: declaration is incompatible with previous "RCC_APB1PeriphResetCmd" (declared at line 724 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_can.h")
void RCC_APB1PeriphResetCmd(uint32_t RCC_APB1Periph, FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1837): error: #159: declaration is incompatible with previous "RCC_BackupResetCmd" (declared at line 240 of "C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_bkp.h")
void RCC_BackupResetCmd(FunctionalState NewState)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rcc.h(1926): error: #159: declaration is incompatible with previous "RCC_GetFlagStatus" (declared at line 913)
FlagStatus RCC_GetFlagStatus(uint8_t RCC_FLAG)
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(164): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->CNTL = (CounterValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(180): error: #20: identifier "PRLH_MSB_MASK" is undefined
TC->PRLH = (PrescalerValue & PRLH_MSB_MASK) >> 16;
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(182): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->PRLL = (PrescalerValue & RTC_LSB_MASK);
C:\Keil5_MDK\ARM\ARMCC\Bin\..\include\stm32f10x_rtc.h(197): error: #20: identifier "RTC_LSB_MASK" is undefined
TC->ALRL = (AlarmValue & RTC_LSB_MASK);
led.c: 0 warnings, 30 errors
"..\OBJ\LED.axf" - 90 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01
|
|