aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/cosmic
diff options
context:
space:
mode:
Diffstat (limited to 'os/ports/cosmic')
-rw-r--r--os/ports/cosmic/STM8/chcore.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/os/ports/cosmic/STM8/chcore.h b/os/ports/cosmic/STM8/chcore.h
index 615116736..e154b8914 100644
--- a/os/ports/cosmic/STM8/chcore.h
+++ b/os/ports/cosmic/STM8/chcore.h
@@ -145,10 +145,10 @@ struct stm8_startctx {
* @brief Stack size for the system idle thread.
* @details This size depends on the idle thread implementation, usually
* the idle thread should take no more space than those reserved
- * by @p INT_REQUIRED_STACK.
+ * by @p PORT_INT_REQUIRED_STACK.
*/
-#ifndef IDLE_THREAD_STACK_SIZE
-#define IDLE_THREAD_STACK_SIZE 0
+#ifndef PORT_IDLE_THREAD_STACK_SIZE
+#define PORT_IDLE_THREAD_STACK_SIZE 0
#endif
/**
@@ -156,8 +156,8 @@ struct stm8_startctx {
* @details This is a safe value, you may trim it down after reading the
* right size in the map file.
*/
-#ifndef INT_REQUIRED_STACK
-#define INT_REQUIRED_STACK 48
+#ifndef PORT_INT_REQUIRED_STACK
+#define PORT_INT_REQUIRED_STACK 48
#endif
/**
@@ -171,7 +171,7 @@ struct stm8_startctx {
#define THD_WA_SIZE(n) STACK_ALIGN(sizeof(Thread) + \
(sizeof(struct intctx) - 1) + \
(sizeof(struct extctx) - 1) + \
- (n) + (INT_REQUIRED_STACK))
+ (n) + (PORT_INT_REQUIRED_STACK))
/**
* @brief Static working area allocation.