基本内核工程说明: [attachment=-2]
基本内核应用程序代码:[attach]0[/attach]
基本内核在 黑金 开发板上面的目标代码,可以烧入FLASH用于验证:
[attachment=-1]
---------- board info ----------
ALT_DEVICE_FAMILY: CYCLONEII
ALT_CPU_ARCHITECTURE: altera_nios2
ALT_CPU_CPU_FREQ: 100000000Hz
memory size: at 0x01000000 0x00800000 byte
| /
- RT - Thread Operating System
/ | 0.4.0 build Mar 4 2011
2006 - 2009 Copyright by rt-thread team
led1 on,count : 0
led2 on,count : 0
led1 off
led1 on,count : 1
led2 off
led1 off
led1 on,count : 2
led2 on,count : 1
kernel + finsh 工程说明:[attachment=-2]
finsh工程应用程序代码:[attachment=-1]
finsh工程在黑金开发板上面的目标代码,可以烧入FLASH用于验证:[attach]0[/attach]
| /
- RT - Thread Operating System
/ | 0.4.0 build Mar 4 2011
2006 - 2009 Copyright by rt-thread team
finsh>>
--function:
hello -- say hello world
version -- show RT-Thread version information
list_thread -- list thread
list_sem -- list semaphone in system
list_event -- list event in system
list_mutex -- list mutex in system
list_mailbox -- list mail box in system
list_msgqueue -- list message queue in system
list_mempool -- list memory pool in system
list_timer -- list timer in system
list_device -- list device in system
list -- list all symbol in system
list_mem -- list memory usage information
--variable:
dummy -- dummy variable for finsh
finsh>>list_thre
--function:
list_thread -- list thread
finsh>>list_thread()
thread pri status sp stack size max used left tick error
-------- ---- ------- ---------- ---------- ---------- ---------- ---
tidle 0x1f ready 0x00000120 0x00000400 0x00000128 0x00000017 000
tshell 0x14 ready 0x00000098 0x00000800 0x00000260 0x00000003 000
led2 0x0c suspend 0x00000098 0x00000400 0x00000098 0x00000005 000
led1 0x0b suspend 0x00000098 0x00000400 0x000000a4 0x00000004 000
0, 0x00000000
finsh>>