Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
求助用scons生成不了mdk工程 mdk版本是5.15
发布于 2015-09-12 18:37:38 浏览:6926
订阅该版
mdk版本:5.15 使用scons生成mdk工程时出现 F: tos\RT-Thread\source t-thread-1.2.2\bsp\stm32f10x>scons --target = mdk4 -s scons: warning: host, target = ('amd64', 'amd64') not supported for MSVC version 6.0 File "F: tos\RT-Thread\source t-thread-1.2.2\bsp\stm32f10x\SConstruct", line 2 7, in
usage: scons [OPTION] [TARGET] ... SCons Error: --target option requires an argument F: tos\RT-Thread\source t-thread-1.2.2\bsp\stm32f10x> 使用scons在编译过程中也出现了警告 scons: warning: host, target = ('amd64', 'amd64') not supported for MSVC version 6.0 File "F: tos\RT-Thread\source t-thread-1.2.2\bsp\stm32f10x\SConstruct", line 2 7, in
scons: done reading SConscript files. scons: Building targets ... scons: building associated VariantDir targets: build CC build\applications\application.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\applications\startup.o Warning: C3912W: Option 'device' is deprecated. "applications\startup.c", line 60: Warning: #223-D: function "rt_hw_board_init" declared implicitly rt_hw_board_init(); ^ applications\startup.c: 1 warning, 0 errors Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\components\drivers\serial\serial.o Warning: C3912W: Option 'device' is deprecated. CC build\components\drivers\src\completion.o Warning: C3912W: Option 'device' is deprecated. CC build\components\drivers\src\dataqueue.o Warning: C3912W: Option 'device' is deprecated. CC build\components\drivers\src\pipe.o Warning: C3912W: Option 'device' is deprecated. CC build\components\drivers\src\portal.o Warning: C3912W: Option 'device' is deprecated. CC build\components\drivers\src ingbuffer.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\cmd.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_compiler.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_error.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_heap.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_init.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_node.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_ops.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_parser.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_token.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_var.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\finsh_vm.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\shell.o Warning: C3912W: Option 'device' is deprecated. CC build\components\finsh\symbol.o Warning: C3912W: Option 'device' is deprecated. CC build\components\init\components.o Warning: C3912W: Option 'device' is deprecated. CC build\drivers\board.o Warning: C3912W: Option 'device' is deprecated. "drivers\board.c", line 187: Warning: #223-D: function "rt_hw_usart_init" decla red implicitly rt_hw_usart_init(); ^ drivers\board.c: 1 warning, 0 errors Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\drivers\led.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\drivers\stm32f10x_it.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\drivers\usart.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\libcpu\arm\common\backtrace.o Warning: C3912W: Option 'device' is deprecated. CC build\libcpu\arm\common\div0.o Warning: C3912W: Option 'device' is deprecated. CC build\libcpu\arm\common\showmem.o Warning: C3912W: Option 'device' is deprecated. AS build\libcpu\arm\cortex-m3\context_rvds.o Warning: A3912W: Option 'device' is deprecated. "F: tos\RT-Thread\source t-thread-1.2.2\libcpu\arm\cortex-m3\context_rvds.S", line 206: Warning: A1581W: Added 2 bytes of padding at address 0xd6 206 000000d8 END 0 Errors, 2 Warnings CC build\libcpu\arm\cortex-m3\cpuport.o Warning: C3912W: Option 'device' is deprecated. AS build\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm3 2f10x_hd.o Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning CC build\Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\system_stm32f10x.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\misc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_adc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_bkp.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_can.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_cec.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_crc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dac.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dbgmcu.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_dma.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_exti.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_flash.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_fsmc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_gpio.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_i2c.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_iwdg.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_pwr.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rcc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_rtc.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_sdio.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_spi.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_tim.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_usart.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\Libraries\STM32F10x_StdPeriph_Driver\src\stm32f10x_wwdg.o Warning: C3912W: Option 'device' is deprecated. Warning: A3912W: Option 'device' is deprecated. 0 Errors, 1 Warning Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. CC build\src\clock.o Warning: C3912W: Option 'device' is deprecated. CC build\src\device.o Warning: C3912W: Option 'device' is deprecated. CC build\src\idle.o Warning: C3912W: Option 'device' is deprecated. CC build\src\ipc.o Warning: C3912W: Option 'device' is deprecated. CC build\src\irq.o Warning: C3912W: Option 'device' is deprecated. CC build\src\kservice.o Warning: C3912W: Option 'device' is deprecated. CC build\src\mem.o Warning: C3912W: Option 'device' is deprecated. CC build\src\mempool.o Warning: C3912W: Option 'device' is deprecated. CC build\src\object.o Warning: C3912W: Option 'device' is deprecated. CC build\src\scheduler.o Warning: C3912W: Option 'device' is deprecated. CC build\src\thread.o Warning: C3912W: Option 'device' is deprecated. CC build\src\timer.o Warning: C3912W: Option 'device' is deprecated. LINK rtthread-stm32.axf Warning: L3912W: Option 'device' is deprecated. Finished: 0 information, 1 warning and 0 error messages. fromelf --bin rtthread-stm32.axf --output rtthread.bin fromelf -z rtthread-stm32.axf ======================================================================== ** Object/Image Component Sizes Code (inc. data) RO Data RW Data ZI Data Debug Object Name 55744 6190 4480 464 6848 509186 rtthread-stm 32.axf (uncompressed) 55744 6190 4480 168 6848 509186 rtthread-stm 32.axf (compressed) 55744 6190 4480 168 0 0 ROM Totals f or rtthread-stm32.axf scons: done building targets. 编译的是rt-thread 1.22版本过程是照配置 rt-thread开发环境里面配的
查看更多
13
个回答
默认排序
按发布时间排序
aozima
2015-09-12
调网络不抓包,调I2C等时序不上逻辑分析仪,就像电工不用万用表!多用整理的好的文字,比截图更省流量,还能在整理过程中思考。
从末碰到楼主的问题,帮顶。
bernard
2015-09-12
这家伙很懒,什么也没写!
lz的生成工程应该是空格的问题, scons --target = mdk4 -s 应该是 scons --target=mdk4 -s 等号两边都不应该有空格。scons编译的问题应该和MDK5相关,MDK5还没怎么用
筱l灬夏初eri
2015-09-13
这家伙很懒,什么也没写!
已经解决了我将rt-thread升级到2.01版本就好了2.01版支持scons --target=mdk5 -s
lujun723
2015-09-19
这家伙很懒,什么也没写!
Warning: C3912W: Option 'device' is deprecated.
bernard
2015-09-20
这家伙很懒,什么也没写!
>Warning: C3912W: Option 'device' is deprecated. --- 新版本编译器参数更改了,可以自己修改下rtconfig.py。
tanek
2017-07-28
这家伙很懒,什么也没写!
>Warning: C3912W: Option 'device' is deprecated. --- 改rtconfig.py的 DEVICE。例如原来是 DEVICE = ' --device DARMSTM', 改成这种形式 DEVICE = ' --cpu Cortex-M0+'就好了
坠々辰
2017-12-21
这家伙很懒,什么也没写!
>lz的生成工程应该是空格的问题, >scons --target = mdk4 -s --- -是减号还是_啊
bernard
2017-12-21
这家伙很懒,什么也没写!
>-是减号还是_啊 --- 减号
坠々辰
2017-12-21
这家伙很懒,什么也没写!
>减号 --- 话说下载好的不是有源代码么 还要scons创建干嘛
坠々辰
2017-12-21
这家伙很懒,什么也没写!
>减号 --- 哦 不对 是有工程了 发错了
撰写答案
登录
注册新账号
关注者
0
被浏览
6.9k
关于作者
筱l灬夏初eri
这家伙很懒,什么也没写!
提问
4
回答
10
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
RT-Thread项目助手v0.2.0 - 支持Env Windows
2
RttreadV5.10上,GD32F450Z RTC时间显示问题
3
rt-smart启动流程分析
4
EtherKit快速上手PROFINET
5
RTThread USB转串口无法接收数据
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
UART
WIZnet_W5500
ota在线升级
PWM
cubemx
flash
freemodbus
BSP
packages_软件包
潘多拉开发板_Pandora
定时器
ADC
flashDB
GD32
socket
编译报错
中断
Debug
rt_mq_消息队列_msg_queue
SFUD
msh
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
出出啊
1517
个答案
342
次被采纳
小小李sunny
1444
个答案
290
次被采纳
张世争
813
个答案
177
次被采纳
crystal266
547
个答案
161
次被采纳
whj467467222
1222
个答案
149
次被采纳
本月文章贡献
出出啊
1
篇文章
2
次点赞
小小李sunny
1
篇文章
1
次点赞
张世争
1
篇文章
3
次点赞
crystal266
2
篇文章
2
次点赞
whj467467222
2
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部