📄 threadx_demo.txt
字号:
/***********************************************************************
* Example purpose
***********************************************************************
This is a simple demo that demonstrates the use and function of the
SDK7A400 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 LQ035 ADTFT display.
***********************************************************************
* Using the makefile
***********************************************************************
Prior to building an image, the ABL package, LH7A400 CSP, and SDK7A400
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.
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 SDK7A400.
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
***********************************************************************
Presently, this build only works with the ARM ADS toolset.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -