From b7e9d4fad2b1958aaba5506d67e5ee8a6671cfe4 Mon Sep 17 00:00:00 2001 From: Kaspar Schleiser Date: Wed, 8 Dec 2021 13:49:25 +0100 Subject: [PATCH] cpu/atmega_common: also enlarge idle stack for ztimer64 --- cpu/atmega_common/include/cpu_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/atmega_common/include/cpu_conf.h b/cpu/atmega_common/include/cpu_conf.h index d20bea4eb2..43d43afcd4 100644 --- a/cpu/atmega_common/include/cpu_conf.h +++ b/cpu/atmega_common/include/cpu_conf.h @@ -49,7 +49,7 @@ extern "C" { * to avoid not printing of debug in interrupts */ #ifndef THREAD_STACKSIZE_IDLE -#ifdef MODULE_XTIMER +#if MODULE_XTIMER || MODULE_ZTIMER64 /* xtimer's 64 bit arithmetic doesn't perform well on 8 bit archs. In order to * prevent a stack overflow when an timer triggers while the idle thread is * running, we have to increase the stack size then