nkjnm

Dependencies:   MAX44000 nexpaq_mdk

Fork of LED_Demo by Maxim nexpaq

Committer:
nitsshukla
Date:
Fri Nov 04 12:06:04 2016 +0000
Revision:
7:3a65ef12ba31
Parent:
1:55a6170b404f
kghj;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
nexpaq 1:55a6170b404f 1 === Tasks ===
nexpaq 1:55a6170b404f 2
nexpaq 1:55a6170b404f 3 ^ os_tsk.new->task_id ^ Tasks ^ Stack Size ^
nexpaq 1:55a6170b404f 4 | 0x01 | Main | 4*OS_MAINSTKSIZE |
nexpaq 1:55a6170b404f 5 | 0x02 | Timer | 4*OS_TIMERSTKSZ |
nexpaq 1:55a6170b404f 6 | 0xFF | Idle | 4*OS_STKSIZE |
nexpaq 1:55a6170b404f 7
nexpaq 1:55a6170b404f 8 ----------
nexpaq 1:55a6170b404f 9 |
nexpaq 1:55a6170b404f 10 V os_tsk.run->tsk_stack
nexpaq 1:55a6170b404f 11
nexpaq 1:55a6170b404f 12
nexpaq 1:55a6170b404f 13 MAGIC_WORD os_tsk.run->stack[0]
nexpaq 1:55a6170b404f 14 ----------
nexpaq 1:55a6170b404f 15
nexpaq 1:55a6170b404f 16 The current task structure is always pointed by:
nexpaq 1:55a6170b404f 17 struct OS_TSK os_tsk;
nexpaq 1:55a6170b404f 18
nexpaq 1:55a6170b404f 19 === Init Sequence ===
nexpaq 1:55a6170b404f 20 OS:
nexpaq 1:55a6170b404f 21 * osKernelInitialize
nexpaq 1:55a6170b404f 22 * rt_sys_init
nexpaq 1:55a6170b404f 23 * rt_init_context
nexpaq 1:55a6170b404f 24 * rt_init_stack
nexpaq 1:55a6170b404f 25 * rt_set_PSP
nexpaq 1:55a6170b404f 26 * rt_init_robin
nexpaq 1:55a6170b404f 27 * rt_svc_init
nexpaq 1:55a6170b404f 28
nexpaq 1:55a6170b404f 29 * set_main_stack
nexpaq 1:55a6170b404f 30
nexpaq 1:55a6170b404f 31 * osThreadCreate(os_thread_def_main)
nexpaq 1:55a6170b404f 32 * rt_tsk_create
nexpaq 1:55a6170b404f 33 * rt_init_context
nexpaq 1:55a6170b404f 34 * rt_init_stack
nexpaq 1:55a6170b404f 35 * rt_dispatch
nexpaq 1:55a6170b404f 36
nexpaq 1:55a6170b404f 37 * osKernelStart