Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

rtos.txt 770B

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