embedded
所属分类:处理器开发
开发工具:C/C++
文件大小:86KB
下载次数:34
上传日期:2008-01-12 12:07:31
上 传 者:
huronghua666
说明: ARM 嵌入式系统软件开发 入门的最好例子,
供参考设计,有很大的借鉴哦
(ARM embedded system software development best example of entry for the reference design, there are a lot of reference Oh)
文件列表:
embedded\rps_irq\heap.s (224, 2001-04-20)
embedded\rps_irq\build_a.bat (141, 2001-05-18)
embedded\rps_irq\init.s (4312, 2001-09-11)
embedded\rps_irq\build_b.bat (771, 2001-08-17)
embedded\rps_irq\main.c (4842, 2001-08-02)
embedded\rps_irq\build_c.bat (842, 2001-08-17)
embedded\rps_irq\serial.c (1787, 2001-08-20)
embedded\rps_irq\stack.s (226, 2001-04-20)
embedded\rps_irq\uart.c (216, 2001-04-19)
embedded\rps_irq\int_handler.c (1770, 2001-08-02)
embedded\rps_irq\retarget.c (2937, 2001-08-20)
embedded\rps_irq\rps_irq.mcp (158815, 2001-11-01)
embedded\rps_irq\scat_b.scf (1584, 2001-09-14)
embedded\rps_irq\scat_c.scf (2235, 2001-09-14)
embedded\rps_irq\vectors.s (1932, 2001-04-20)
embedded\rps_irq (0, 2008-01-12)
embedded\ledflash\heap.s (224, 2001-04-20)
embedded\ledflash\build.bat (456, 2001-09-18)
embedded\ledflash\init.s (4312, 2001-09-11)
embedded\ledflash\main.c (6775, 2001-08-02)
embedded\ledflash\scat.scf (2114, 2001-09-14)
embedded\ledflash\int_handler.c (1768, 2001-08-02)
embedded\ledflash\stack.s (226, 2001-04-20)
embedded\ledflash\ledflash.mcp (147548, 2001-11-01)
embedded\ledflash\retarget.c (2897, 2001-07-19)
embedded\ledflash\vectors.s (1932, 2001-04-20)
embedded\ledflash (0, 2008-01-12)
embedded\include\uart.h (5415, 2001-04-23)
embedded\include\intgrt.h (7113, 2001-04-23)
embedded\include\rpsarmul.h (5851, 2001-08-02)
embedded\include\stand_i.h (1618, 2001-08-02)
embedded\include (0, 2008-01-12)
embedded\embed_cpp\heap.s (224, 2001-04-20)
embedded\embed_cpp\build_a.bat (111, 2001-05-18)
embedded\embed_cpp\init.s (4310, 2001-09-11)
embedded\embed_cpp\build_b.bat (727, 2001-08-17)
embedded\embed_cpp\serial.c (1787, 2001-08-20)
... ...
Writing Code for ROM Examples
=============================
This directory contains three embeddable examples, configured to run on an
ARM Integrator Board. These compliment the material in the
"Writing Code for ROM" chapter 6 of the ADS Developer Guide:
1) The "embed" directory illustrates a simple C program, suitable for embedded
applications. It calls subroutines to show the use of printf(), sprintf(),
floating point printf() and malloc().
2) The "embed_cpp" directory presents a basic C++ program with a simple class
and shows how it can be made into an embedded application. The default
constructor for the class illustrates dynamic memory allocation.
3) The "rps_irq" directory illustrates a RPS-based interrupt-driven timer,
suitable for embedded applications. It initializes and starts two RPS timers.
When a timer expires, an interrupt is generated. When an interrupt is
detected, a message is displayed.
4) The "ledflash" directory shows a simple interrupt-driven LED flasher.
These examples can be built using the CodeWarrior project (.mcp) files or
the batch files provided. Alternatively, create your own make files.
The "embed", "embed_cpp" and "rps_irq" projects can be built in three different
ways, in increasing order of complexity:
a. Non-embedded (build_a.bat)
b. Embedded, with ROM fixed at 0x0, scatterloaded (build_b.bat)
c. Embedded, ROM/RAM remapped, scatterloaded (build_c.bat)
The non-embedded ('hosted') versions of these examples can be compiled/linked
on their own and executed in the semihosting environment under ARMulator,
Angel or Multi-ICE.
The embedded versions of these examples are built with no semihosting, but can
still be executed under ARMulator, Angel or Multi-ICE, either by
loading the ARM Executable (.axf) file into a debugger, or downloading a plain
binary (.bin) 'ROMmable' image into the FLASH memory of an ARM Integrator Board.
To ensure that no semihosting-SWI-using function is linked in from the C
library, the embedded versions use __use_no_semihosting_swi.
近期下载者:
相关文件:
收藏者: