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.
 
 
 
 
 

19 lines
495 B

  1. #ifndef APP_CFG_H
  2. #define APP_CFG_H
  3. /*
  4. * uC/OS-II优先级数值越小,任务优先级越高。
  5. * 每个任务必须使用不同的优先级;0通常留给最紧急的系统任务。
  6. */
  7. #define APP_TASK_START_PRIO 5u
  8. #define APP_TASK_TEST_PRIO 6u
  9. /*
  10. * 任务栈大小的单位是OS_STK元素。当前OS_STK为32位,
  11. * 所以每个256元素的任务栈实际占用1024字节RAM。
  12. */
  13. #define APP_TASK_START_STK_SIZE 256u
  14. #define APP_TASK_TEST_STK_SIZE 256u
  15. #endif