ucosii_demo.txt

来自「含t h r e a d x,u c o s 的b s p」· 文本 代码 · 共 47 行

TXT
47
字号

/***********************************************************************
 * Example purpose
 ***********************************************************************
 This is a simple demo that demonstrates the use and function of the
 SDK7A404 startup code and the MicroCos-II ARM port. The startup code
 sets up the board into an initial known state and then branches to the
 user application code at c_entry().

 c_entry() will setup the MicroCos-II environment and start the
 MicroCos-II kernel with a few tasks and the selected display.

 ***********************************************************************
 * Using the makefile
 ***********************************************************************
 Prior to building an image, the ABL package, LH7A404 CSP, and SDK7A404
 BSP, must of been prebuilt. If the libraries do not exist yet, a link
 error will occur.

 Copy all the necessary MicroCos-II files into this directory before
 running the makefile. (It may be best not to use the ucos_ii.c file
 if all the files are located in this directory). Also copy the port
 specific files to this directory from the ./ports directory.

 Build an executable image by typing:
     make (or make release)

 For ARM targets, an axf file and a bin file will be created.
 FOR GHS and GNU targets, an elf file and a bin file will be created.

 The generated bin file can be FLASHed into FLASH and is linked to be
 executed at address 0x00000000 on reset of the SDK7A404.

 A 'test' release can be built by typing:
     make test
 A test image is linked to execute at address 0xB0000000 in internal
 memory. For small images (of a total size less than 80Kbytes), this
 image can be built and loaded prior to building the release image
 and FLASHing it.

 ***********************************************************************
 * Toolset issues
 ***********************************************************************
 This build only works with the ARM ADS, GHS Multi2000, and GNU
 toolsets. The code was tested with version 2.7 of the uCos-II source
 code.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?