gel
所属分类:嵌入式/单片机/硬件编程
开发工具:C/C++
文件大小:765KB
下载次数:40
上传日期:2009-06-17 08:18:44
上 传 者:
angelkiss
说明: 给广大电子爱好者:飞思卡尔智能车竞赛 范例程序库
(To the vast number of electronic enthusiasts: the smart car competition Freescale sample library)
文件列表:
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\ANNOUNCE (719, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\AUTHORS (158, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\ChangeLog (19821, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\board.def (191, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\board.def.bak (189, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\bootstrap\make.defs (238, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\bootstrap\memory.x (1316, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\eeprom-512\make.defs (281, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\eeprom-512\memory.x (1210, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\flags.defs (3164, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\flags.defs.bak (3164, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\gel.defs (1731, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-32k\make.defs (51, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-32k\memory.x (422, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-6270\make.defs (167, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-6270\memory.x (458, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-cme11\make.defs (68, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-cme11\memory.x (333, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-ebcs\make.defs (107, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-ebcs\memory.x (507, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-ebcs32k\make.defs (89, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc11-ebcs32k\memory.x (431, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc12-axcmd12\make.defs (76, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\m68hc12-axcmd12\memory.x (481, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\make.defs (963, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\rules.defs (1333, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\config\var.defs (1392, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\COPYING.LIB (25283, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\analyzer\analyzer.c (4051, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\analyzer\analyzer.h (1801, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\analyzer\build.bat (307, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\analyzer\Makefile (1606, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-basic.c (8173, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-basic.res (1638, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-float.c (3623, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-float.res (757, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-misc.c (3847, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-misc.res (401, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-string.c (5650, 2003-04-20)
飞思卡尔智能车竞赛 范例程序库\gel_1.4.2提供给用户的一些范例程序库\examples\benchs\bench-string.res (741, 2003-04-20)
... ...
General Embedded Libraries
for
Motorola 68HC11/68HC12
This is a collection of embedded libraries and examples of 68HC11/68HC12
programs in C, assembly to show how to use the GNU development chain.
The top level directories contain the following:
config Configuration files to build everything.
bin Binaries (HC11/HC12) after build
lib Libraries after build
include Public includes of the libraries
examples Repository of examples
src Embedded libraries (sources)
test Collection of tests
Libraries:
----------
Several libraries are integrated. After they are built, the libraries
are located in 'lib' and their associated includes are in 'include' top
level directories.
libc Simple library with some basic/limited STDC functions
(board independent; sprintf, ...)
libbot Robots library (MIT 6.270 board) by Duane Gustavus
(IR dectector, PWM motor controller, interrupt driven SCI,
analog ports, ...)
libbsp Board Support Package
Provides low level SIO, eeprom and other functions (polling).
libebsp Event Board Support Package
Event and timer runtime; event driver board support.
libutil Utility library
Persistent C++ class
Examples:
---------
Most of the examples require one or several libraries. It is therefore
necessary to build the libraries before building the examples.
Bootstrap Examples:
-------------------
These example fit in very low memory configuration. They are intended
to be uploaded with the 68HC11 bootstrap mode.
booter C Simple loader that allows loading another program in
memory
checker C Check and return the memory configuration
dumper C Dumps the memory on the serial line (in hex)
blink C Blink program
burner C Allows to program the eeprom
Small examples:
---------------
These examples require some memory on the board (< 4K).
simple C Simple hello bootstrap program
trap C Simple trap example
timer C Timer example (68HC11 only; not yet ported to 68HC12)
stack_depth C,ASM Computes the stack size used by a program
primes C Prime Numbers computation
analyzer C Simple logical analyzer
freqmeter C Simple frequency meter
Larger examples:
---------------
These examples require more memory than the others (> 4K).
calculator C Calculator example (16, 32 or *** bit)
benchs C Benchmark programs (basic types, misc, floats)
persist C++ Persistent storage example using eeprom
Configuration:
--------------
The examples can be built for the following boards:
bootstrap Generic 68HC11 bootstrap (256 bytes)
eeprom-512 Generic 68HC11 eeprom (512 bytes)
m68hc11-cme11 Axiom Manufacturing CME11 EVBU
(32K ram with Buffalo)
m68hc11-6270 MIT 6.270 board
m68hc11-32k Generic board with 32K ram, 32K rom
m68hc11-ebcs SCz board, 8K ram
m68hc12-axcmd12 Axiom Manufacturing CMD12 board
(32K ram with Dbug monitor)
The board is configured either by specifying it to the command line
or by updating the file config/board.def. For the first method,
type the following command:
make TARGET_BOARD=m68hc11-cme11
Otherwise, in config/board.def change the line:
TARGET_BOARD=
to put the board you selected.
To build everything, make sure the compiler is in your path and just type:
make
or
make TARGET_BOARD=
This produces several programs and executables:
*.elf represent the 68HC11 program in ELF format. These file
contain symbolic debug information. These are the file that
GDB requires for debugging and executing the program.
*.s19 represent the same program in S19 format (without debug info).
*.b represent the program in binary (raw data).
To execute the program, .... you have some choice:
Simulator: m6811-elf-run .elf
or
m6811-elf-run -v .elf
Gdb Sim: m6811-elf-gdb .elf
(gdb) target sim
(gdb) load .elf
(gdb) run
Gdb Buffalo: m6811-elf-gdb .elf
(CME11) (gdb) set remotebaud 9600
(gdb) target buffalo /dev/ttyS2
(gdb) load .elf
(gdb) run
Gdb Dbug: m6811-elf-gdb .elf
(CMD12) (gdb) set remotebaud 9600
(gdb) target dbug /dev/ttyS2
(gdb) load .elf
(gdb) run
Bootstrap: Upload the program (either .elf, or .s19)
with your favorite target manager.
Prom: Burn the .b in some prom.
Adapting to a new board:
------------------------
See README.PORT
近期下载者:
相关文件:
收藏者: