Tornado编译实际上是执行工程底下的makefile,而使用的编译链是gnu的gcc。
经测试,在dos命令行中直接执行make是可以完成编译的(将Tornado中make.exe的路径添加到环境变量中,如C:\Tornado2.2\host\x86-win32\bin即Tornado的可执行程序的路径,这样只要在DOS界面中找到makefile文件所在的路径,然后使用make命令就可以编译了)。
关于其中的gcc编译选项首先可以参考gcc的中文手册,而特殊的可以在Tornado的文档docs中对gnu的支持中找到。
wtxtcl D:\Tornado2.0\host\src\hutils\configGen.tcl D:\Tornado2.0\target\proj\TC1600A\TC1600A.wpj
执行该脚本后,生成文件:linkSyms.c、prjComps.h、prjConfig.c、prjParams.h
问题:为什么建立工程后对config.h和configall.h的修改没有作用?
在Tornado里面建立工程的时候,会把对组件的配置信息记录在xxx.wpj工程文件中,而在Tornado里面执行添加或删除组件时会修改xxx.wpj文件中的组件配置信息;
prjConfig.c文件很重要,它是根据用户配置的组件而生成的工程配置文件,与usrconfig.c的关系:
第1章前言 ............................................................................................................................. 2
第2章通过BSP来生成VxWorks镜像并运行 ....................................................................... 3
2.1 BSP的安装 .................................................................................................................. 3
2.2 生成VxWorks镜像..................................................................................................... 3
2.3 u-boot加载vxworks.bin ............................................................................................ 15
第3章 Nor Flash创建TFFS的实验 ...................................................................................... 20
3.1 TFFS文件系统的初始化 .......................................................................................... 20
3.2 TFFS文件系统的读写测试 ...................................................................................... 21
第4章网络实验 ................................................................................................................... 23
4.1 简单的Ping测试 ...................................................................................................... 23
4.2 简单的http server测试 ............................................................................................. 23
4.3 UDP测试程序 ........................................................................................................... 24
4.4 TCP测试程序 ........................................................................................................... 28
4.5 FTP-SERVER测试 ................................................................................................... 32
第5章 LCD实验 ................................................................................................................... 34
5.1 基本图形测试 .......................................................................................................... 34
5.2 动画测试 .................................................................................................................. 40
下载地址
This file contains board-specific information for the SBC ARM7 target board. This file documents BSP interface changes from previous software or hardware versions, and notifies the user of serious caveats that must be noted before using this BSP. Additionally, the target board's reference entry (i.e. wrSbcArm7/target.nr) provides board-specific information necessary to run VxWorks and should be read fully before this BSP is used.
RELEASE 1.2/18
Better handling of auto-negotiation of the PHY
RELEASE 1.2/17
Tornado 2.2 support
Fix END rx error handling
Fix END polled mode
Fix non-default clock rate serial problems
摘要:以VxWorks嵌入式实时操作系统为例,介绍了改进启动代码(bootrom)功能的四点经验:
关键词:Bootrom 嵌入式实时操作系统 FTP
下载地址
README: wrSbc8641d BSP for Wind River SBC8641D Board
This file contains information on any BSP interface changes from previous software or hardware versions, and contains caveats that the user must be aware of before using this BSP. Additionally, the target board's manual page entry (wrSbc8641d/target.ref) provides board-specific information necessary to run VxWorks, and should be read before this BSP is used.
Version 2.0/1
Released from Wind River for General Purpose Platform 3.6, VxWorks 6.6
Added support for VxBus ETSEC, PCIe, and other drivers.
Added support for assigning ETSEC interfaces to different cores in AMP mode
Version 2.0/0
Released from Wind River for General Purpose Platform 3.5, VxWorks 6. Initial release.
© 2024 VxWorks Club