diff --git a/cpu/esp_common/include/xtensa_conf.h b/cpu/esp_common/include/xtensa_conf.h index ad4cdd287f..454de5b81b 100644 --- a/cpu/esp_common/include/xtensa_conf.h +++ b/cpu/esp_common/include/xtensa_conf.h @@ -23,7 +23,9 @@ extern "C" { * @brief Xtensa ASM code specific default stack sizes * @{ */ -#define ISR_STACKSIZE (2048) +#ifndef ISR_STACKSIZE +# define ISR_STACKSIZE (2048) +#endif /** @} */ #ifdef __cplusplus