rtconfig.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. #ifndef RT_CONFIG_H__
  2. #define RT_CONFIG_H__
  3. /* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */
  4. /* RT-Thread Kernel */
  5. #define RT_NAME_MAX 32
  6. #define RT_ALIGN_SIZE 4
  7. #define RT_THREAD_PRIORITY_32
  8. #define RT_THREAD_PRIORITY_MAX 32
  9. #define RT_TICK_PER_SECOND 1000
  10. #define RT_USING_OVERFLOW_CHECK
  11. #define IDLE_THREAD_STACK_SIZE 256
  12. #define RT_DEBUG
  13. #define RT_DEBUG_COLOR
  14. /* Inter-Thread communication */
  15. #define RT_USING_SEMAPHORE
  16. //#define RT_USING_MUTEX
  17. //#define RT_USING_MAILBOX
  18. /* end of Inter-Thread communication */
  19. /* Memory Management */
  20. #define RT_USING_MEMPOOL
  21. #define RT_USING_SMALL_MEM
  22. #define RT_USING_HEAP
  23. /* end of Memory Management */
  24. #define RT_USING_CONSOLE
  25. #define RT_CONSOLEBUF_SIZE 256
  26. #define RT_VER_NUM 0x30104
  27. /* end of RT-Thread Kernel */
  28. #define ARCH_ARM
  29. #define ARCH_ARM_CORTEX_M
  30. #define ARCH_ARM_CORTEX_M0
  31. /* RT-Thread Components */
  32. #define RT_USING_COMPONENTS_INIT
  33. #define RT_USING_USER_MAIN
  34. #define RT_MAIN_THREAD_STACK_SIZE 4096
  35. #define RT_MAIN_THREAD_PRIORITY 10
  36. /* Command shell */
  37. /* end of Command shell */
  38. /* end of RT-Thread Components */
  39. #define RT_STUDIO_BUILT_IN
  40. #endif