mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
Add config macro for ISR stack size
This commit is contained in:
parent
ebd7b8a60f
commit
3a02ba19f2
@ -67,6 +67,16 @@
|
|||||||
#include <sta/config.hpp>
|
#include <sta/config.hpp>
|
||||||
#ifdef STA_RTOS_MALLOC_ENABLE
|
#ifdef STA_RTOS_MALLOC_ENABLE
|
||||||
|
|
||||||
|
// Allow setting configISR_STACK_SIZE_WORDS via the STA_RTOS_ISR_STACK_SIZE_WORDS config macro
|
||||||
|
#ifdef STA_RTOS_ISR_STACK_SIZE_WORDS
|
||||||
|
# ifdef configISR_STACK_SIZE_WORDS
|
||||||
|
# warning "STA_RTOS_ISR_STACK_SIZE_WORDS value overriden by configISR_STACK_SIZE_WORDS!"
|
||||||
|
# else // configISR_STACK_SIZE_WORDS
|
||||||
|
# define configISR_STACK_SIZE_WORDS STA_RTOS_ISR_STACK_SIZE_WORDS
|
||||||
|
# endif // configISR_STACK_SIZE_WORDS
|
||||||
|
#endif // STA_RTOS_ISR_STACK_SIZE_WORDS
|
||||||
|
|
||||||
|
|
||||||
// ================================================================================================
|
// ================================================================================================
|
||||||
// ======================================= Configuration ========================================
|
// ======================================= Configuration ========================================
|
||||||
// These configuration symbols could be provided by from build...
|
// These configuration symbols could be provided by from build...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user