aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/AVR/chcore.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/GCC/AVR/chcore.h')
-rw-r--r--os/ports/GCC/AVR/chcore.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h
index 744502825..282ec5a16 100644
--- a/os/ports/GCC/AVR/chcore.h
+++ b/os/ports/GCC/AVR/chcore.h
@@ -32,6 +32,10 @@
#include <avr/io.h>
#include <avr/interrupt.h>
+#if CH_DBG_ENABLE_STACK_CHECK
+#error "option CH_DBG_ENABLE_STACK_CHECK not supported by this port"
+#endif
+
/**
* @brief If enabled allows the idle thread to enter a low power mode.
*/