endchoice
config FREERTOS_HZ
- int "Tick rate (Hz)"
- range 1 10000
- default 100
- help
- Select the tick rate at which FreeRTOS does pre-emptive context switching.
+ int "Tick rate (Hz)"
+ range 1 10000
+ default 100
+ help
+ Select the tick rate at which FreeRTOS does pre-emptive context switching.
+config FREERTOS_ASSERT_ON_UNTESTED_FUNCTION
+ bool "Halt when an SMP-untested function is called"
+ default y
+ help
+ Some functions in FreeRTOS have not been thoroughly tested yet when moving to
+ the SMP implementation of FreeRTOS. When this option is enabled, these fuctions
+ will throw an assert().
+
choice FREERTOS_CHECK_STACKOVERFLOW
- prompt "Check for stack overflow"
- default FREERTOS_CHECK_STACKOVERFLOW_QUICK
- help
- FreeRTOS can check for stack overflows in threads and trigger an user function
- called vApplicationStackOverflowHook when this happens.
+ prompt "Check for stack overflow"
+ default FREERTOS_CHECK_STACKOVERFLOW_QUICK
+ help
+ FreeRTOS can check for stack overflows in threads and trigger an user function
+ called vApplicationStackOverflowHook when this happens.
config FREERTOS_CHECK_STACKOVERFLOW_NONE
- bool "No checking"
- help
- Do not check for stack overflows (configCHECK_FOR_STACK_OVERFLOW=0)
+ bool "No checking"
+ help
+ Do not check for stack overflows (configCHECK_FOR_STACK_OVERFLOW=0)
config FREERTOS_CHECK_STACKOVERFLOW_PTRVAL
- bool "Check by stack pointer value"
- help
- Check for stack overflows on each context switch by checking if
- the stack pointer is in a valid range. Quick but does not detect
- stack overflows that happened between context switches
- (configCHECK_FOR_STACK_OVERFLOW=1)
+ bool "Check by stack pointer value"
+ help
+ Check for stack overflows on each context switch by checking if
+ the stack pointer is in a valid range. Quick but does not detect
+ stack overflows that happened between context switches
+ (configCHECK_FOR_STACK_OVERFLOW=1)
config FREERTOS_CHECK_STACKOVERFLOW_CANARY
- bool "Check using canary bytes"
- help
- Places some magic bytes at the end of the stack area and on each
- context switch, check if these bytes are still intact. More thorough
- than just checking the pointer, but also slightly slower.
- (configCHECK_FOR_STACK_OVERFLOW=2)
+ bool "Check using canary bytes"
+ help
+ Places some magic bytes at the end of the stack area and on each
+ context switch, check if these bytes are still intact. More thorough
+ than just checking the pointer, but also slightly slower.
+ (configCHECK_FOR_STACK_OVERFLOW=2)
endchoice
config FREERTOS_THREAD_LOCAL_STORAGE_POINTERS