Kconfig 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. menu "RT-Thread rockchip common drivers"
  2. config RT_USING_RESET
  3. bool "Enable reset support"
  4. config RT_USING_CACHE
  5. bool "Enable cache"
  6. default y
  7. config RT_USING_UNCACHE_HEAP
  8. bool "Enable uncache heap"
  9. select RT_USING_MEMHEAP
  10. default n
  11. if RT_USING_UNCACHE_HEAP && ARCH_ARM_CORTEX_M
  12. config RT_UNCACHE_HEAP_ORDER
  13. hex "For MCU uncache heap size(0x0D=16KB, 0x0E=32KB, 0x0F=64KB)"
  14. range 0x0D 0x10
  15. depends on RT_USING_UNCACHE_HEAP
  16. default 0x0E
  17. help
  18. set uncache heap size, it in tail of sram
  19. Examples:
  20. 0x0D => 16KB
  21. 0x0E => 32KB
  22. 0x0F => 64KB
  23. 0x10 => 128KB
  24. endif
  25. config RT_USING_LARGE_HEAP
  26. bool "Enable large heap"
  27. select RT_USING_MEMHEAP
  28. default n
  29. if RT_USING_LARGE_HEAP
  30. config RT_LARGE_MALLOC_THRRESH
  31. int "large heap malloc threshold"
  32. default 512
  33. depends on RT_USING_LARGE_HEAP
  34. help
  35. the memory will allocate in large heap while the allocated size over this
  36. config RT_LARGE_HEAP_SIZE
  37. int "large heap size"
  38. default 524288
  39. depends on RT_USING_LARGE_HEAP
  40. help
  41. the remaining memory must be able to accommodate this heap
  42. endif
  43. config RT_USING_PM_RUNTIME
  44. bool "Enable pm runtime"
  45. default n
  46. endmenu