打印

我建了个F407的库工程大量报错,重头建了几次还是错,求支援

[复制链接]
320|0
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
哈金|  楼主 | 2018-7-5 18:06 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
*** Using Compiler 'V5.06 update 5 (build 528)', folder: 'E:\KEIL5\install files\ARM\ARMCC\Bin'
Build target 'Target 1'
compiling stm32f4xx_flash_ramfunc.c...
..\FWLIB\src\stm32f4xx_flash_ramfunc.c(110): error:  #20: identifier "PWR_CR_FISSR" is undefined

LEAR_BIT(PWR->CR, PWR_CR_FISSR);
..\FWLIB\src\stm32f4xx_flash_ramfunc.c(115): error:  #20: identifier "PWR_CR_FISSR" is undefined

ET_BIT(PWR->CR, PWR_CR_FISSR);
..\FWLIB\src\stm32f4xx_flash_ramfunc.c(133): error:  #20: identifier "PWR_CR_FMSSR" is undefined

ET_BIT(PWR->CR, PWR_CR_FMSSR);
..\FWLIB\src\stm32f4xx_flash_ramfunc.c(138): error:  #20: identifier "PWR_CR_FMSSR" is undefined

LEAR_BIT(PWR->CR, PWR_CR_FMSSR);
..\FWLIB\src\stm32f4xx_flash_ramfunc.c: 0 warnings, 4 errors
compiling usart.c...
..\SYSTEM\usart\usart.c(47): error:  #260-D: explicit type is missing ("int" assumed)
  _sys_exit(int x)
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling stm32f4xx_rcc.c...
..\FWLIB\src\stm32f4xx_rcc.c(2106): error:  #20: identifier "RCC_BDCR_LSEMOD" is undefined

ET_BIT(RCC->BDCR, RCC_BDCR_LSEMOD);
..\FWLIB\src\stm32f4xx_rcc.c(2110): error:  #20: identifier "RCC_BDCR_LSEMOD" is undefined

LEAR_BIT(RCC->BDCR, RCC_BDCR_LSEMOD);
..\FWLIB\src\stm32f4xx_rcc.c: 0 warnings, 2 errors
".\Objects\mo.axf" - 7 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:04

使用特权

评论回复

相关帖子

发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

432

主题

433

帖子

1

粉丝