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