⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ucosii_demo.txt

📁 含t h r e a d x,u c o s 的b s p
💻 TXT
字号:

/***********************************************************************
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -