aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
Diffstat (limited to 'os')
-rw-r--r--os/ports/cosmic/STM8/chcore.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/ports/cosmic/STM8/chcore.h b/os/ports/cosmic/STM8/chcore.h
index 895dc717e..ffbac228b 100644
--- a/os/ports/cosmic/STM8/chcore.h
+++ b/os/ports/cosmic/STM8/chcore.h
@@ -218,7 +218,7 @@ struct stm8_startctx {
* @note @p id can be a function name or a vector number depending on the
* port implementation.
*/
-#define PORT_IRQ_HANDLER(id) @far @interrupt void vector##id(void)
+#define PORT_IRQ_HANDLER(id) @far @interrupt @svlreg void vector##id(void)
/**
* @brief Port-related initialization code.