硬汉嵌入式论坛

 找回密码
 立即注册
查看: 5950|回复: 2
收起左侧

[有问必答] 创建工程出现警告

[复制链接]

8

主题

13

回帖

8

积分

新手上路

积分
8
发表于 2016-3-24 16:45:07 | 显示全部楼层 |阅读模式
Rebuild target 'Flash'
compiling main.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_it.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_assert.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_key.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_led.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_modbus.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_timer.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_uart_fifo.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling bsp_user_lib.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
assembling startup_stm32f40_41xxx.s...
compiling stm32f4xx_tim.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_usart.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_rcc.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_gpio.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling stm32f4xx_syscfg.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling misc.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
compiling system_stm32f4xx.c...
..\..\Libraries\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h(93): warning:  #47-D: incompatible redefinition of macro "STM32F40_41xxx"
linking...
Program Size: Code=6988 RO-data=472 RW-data=80 ZI-data=9824  
FromELF: creating hex file...
".\Flash\Obj\project.axf" - 0 Errors, 17 Warning(s).
回复

使用道具 举报

1万

主题

7万

回帖

11万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
117546
QQ
发表于 2016-3-24 17:54:34 | 显示全部楼层
这个问以前发过一次帖子说明,你看下
https://forum.anfulai.cn/forum.php?mod=viewthread&tid=2567
回复

使用道具 举报

8

主题

13

回帖

8

积分

新手上路

积分
8
 楼主| 发表于 2016-3-25 08:48:34 | 显示全部楼层
问题解决  谢谢······
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2025-8-14 05:24 , Processed in 0.038096 second(s), 24 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表