1menu "Memory protection" 2 3config RT_USING_MEM_PROTECTION 4 bool "Enable memory protection" 5 default n 6 select RT_USING_HEAP 7 8config RT_USING_HW_STACK_GUARD 9 bool "Enable hardware stack guard" 10 default n 11 select RT_USING_MEM_PROTECTION 12 13if RT_USING_MEM_PROTECTION 14 config USE_MEM_PROTECTION_EXAMPLES 15 bool "Use memory protection examples" 16 default y 17 18 config NUM_MEM_REGIONS 19 int "Total number of memory protection regions supported by hardware" 20 21 config NUM_EXCLUSIVE_REGIONS 22 int "Total number of exclusive memory regions added using rt_mprotect_add_exclusive_region API" 23 24 config NUM_CONFIGURABLE_REGIONS 25 int "Maximum number of configurable memory regions for each thread, excluding stack guard and exclusive regions added using rt_mprotect_add_exclusive_region API" 26endif 27 28endmenu 29