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

📄 threadx_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 Threadx interrupt handler when used with
 the ThreadX kernel. 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 ThreadX environment and start the ThreadX
 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 ThreadX files into this directory before running
 the makefile. (This includes the tx_ill.s file from the ./ports area).

 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.

 ***********************************************************************
 * Prebuilt projects
 ***********************************************************************
 Several prebuilt project files for ARM ADS v1.2 toolset are included
 in the ./arm_ads12 directory. If you have the ARM ADS (v1.2) installed
 on your PC, you can you the projects instead by clicking on
 the appropriate .mcp file.

 sdk7a404_threadx_demo.mcp
     This is the Threadx demo project compiled and linked to execute
     from address 0x00000000. This can be used as a starting point to
     replace the code in FLASH to do something else when it starts up.
 sdk7a404_threadx_demo_test.mcp
     This is the Threadx demo project compiled and linked to execute
     from address 0xB0000000. If the code and data size is less than
     80KBytes in size, this can be used to generate an image that will
     load and execute out of internal SRAM. For smaller images, this
     can be used to test an executable that would be burned into
     FLASH.

 ***********************************************************************
 * Toolset issues
 ***********************************************************************
Presently, this build only works with the ARM ADS toolset.

⌨️ 快捷键说明

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