Go to the documentation of this file.
51#if !defined(PORT_COMPILER_NAME)
52#error "PORT_COMPILER_NAME not defined in chcore.h"
55#if !defined(PORT_IDLE_THREAD_STACK_SIZE)
56#error "PORT_IDLE_THREAD_STACK_SIZE not defined in chcore.h"
59#if !defined(PORT_INT_REQUIRED_STACK)
60#error "PORT_INT_REQUIRED_STACK not defined in chcore.h"
63#if !defined(PORT_SUPPORTS_RT)
64#error "PORT_SUPPORTS_RT not defined in chcore.h"
67#if !defined(PORT_NATURAL_ALIGN)
68#error "PORT_NATURAL_ALIGN not defined in chcore.h"
71#if !defined(PORT_STACK_ALIGN)
72#error "PORT_STACK_ALIGN not defined in chcore.h"
75#if !defined(PORT_WORKING_AREA_ALIGN)
76#error "PORT_WORKING_AREA_ALIGN not defined in chcore.h"
79#if !defined(PORT_ARCHITECTURE_NAME)
80#error "PORT_ARCHITECTURE_NAME not defined in chcore.h"
83#if !defined(PORT_CORE_VARIANT_NAME)
84#error "PORT_CORE_VARIANT_NAME not defined in chcore.h"
87#if !defined(PORT_INFO)
88#error "PORT_INFO not defined in chcore.h"
91#if !defined(PORT_IRQ_IS_VALID_PRIORITY)
92#error "PORT_IRQ_IS_VALID_PRIORITY not defined in chcore.h"
95#if !defined(PORT_IRQ_IS_VALID_KERNEL_PRIORITY)
96#error "PORT_IRQ_IS_VALID_KERNEL_PRIORITY not defined in chcore.h"
99#if !defined(PORT_SETUP_CONTEXT)
100#error "PORT_SETUP_CONTEXT not defined in chcore.h"
103#if !defined(PORT_WA_SIZE)
104#error "PORT_WA_SIZE not defined in chcore.h"
107#if !defined(PORT_IRQ_PROLOGUE)
108#error "PORT_IRQ_PROLOGUE not defined in chcore.h"
111#if !defined(PORT_IRQ_EPILOGUE)
112#error "PORT_IRQ_EPILOGUE not defined in chcore.h"
115#if !defined(PORT_IRQ_HANDLER)
116#error "PORT_IRQ_HANDLER not defined in chcore.h"
119#if !defined(PORT_FAST_IRQ_HANDLER)
120#error "PORT_FAST_IRQ_HANDLER not defined in chcore.h"
124#if !defined(PORT_CORES_NUMBER)
125#define PORT_CORES_NUMBER 1
128#if (PORT_CORES_NUMBER < 1) || (PORT_CORES_NUMBER > 64)
129#error "invalid PORT_CORES_NUMBER value"
132#if PORT_CORES_NUMBER == 1
133#if CH_CFG_SMP_MODE != FALSE
134#error "this port does not support SMP"
139#if defined(port_get_lock_status) && defined(port_is_locked)
140#define CH_PORT_SUPPORTS_RECURSIVE_LOCKS TRUE
142#define CH_PORT_SUPPORTS_RECURSIVE_LOCKS FALSE