Further updates to chconf.h files
This commit is contained in:
parent
2cc8ba6aa4
commit
f3f4b4f9b9
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -358,6 +378,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -658,16 +688,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -358,6 +378,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -658,16 +688,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -654,16 +674,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -180,6 +180,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -370,6 +390,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -670,16 +700,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -31,6 +31,26 @@
|
||||||
#define _CHIBIOS_RT_CONF_
|
#define _CHIBIOS_RT_CONF_
|
||||||
#define _CHIBIOS_RT_CONF_VER_7_0_
|
#define _CHIBIOS_RT_CONF_VER_7_0_
|
||||||
|
|
||||||
|
/*===========================================================================*/
|
||||||
|
/**
|
||||||
|
* @name System settings
|
||||||
|
* @{
|
||||||
|
*/
|
||||||
|
/*===========================================================================*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Handling of instances.
|
||||||
|
* @note If enabled then threads assigned to various instances can
|
||||||
|
* interact each other using the same synchronization objects.
|
||||||
|
* If disabled then each OS instance is a separate world, no
|
||||||
|
* direct interactions are handled by the OS.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_SMP_MODE)
|
||||||
|
#define CH_CFG_SMP_MODE FALSE
|
||||||
|
#endif
|
||||||
|
|
||||||
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
/**
|
/**
|
||||||
* @name System timers settings
|
* @name System timers settings
|
||||||
|
@ -354,6 +374,16 @@
|
||||||
#define CH_CFG_USE_MAILBOXES TRUE
|
#define CH_CFG_USE_MAILBOXES TRUE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Memory checks APIs.
|
||||||
|
* @details If enabled then the memory checks APIs are included in the kernel.
|
||||||
|
*
|
||||||
|
* @note The default is @p TRUE.
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_USE_MEMCHECKS)
|
||||||
|
#define CH_CFG_USE_MEMCHECKS TRUE
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Core Memory Manager APIs.
|
* @brief Core Memory Manager APIs.
|
||||||
* @details If enabled then the core memory manager APIs are included
|
* @details If enabled then the core memory manager APIs are included
|
||||||
|
@ -654,16 +684,16 @@
|
||||||
* @brief System structure extension.
|
* @brief System structure extension.
|
||||||
* @details User fields added to the end of the @p ch_system_t structure.
|
* @details User fields added to the end of the @p ch_system_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_EXTRA_FIELDS \
|
#define CH_CFG_OS_INSTANCE_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/
|
/* Add OS instance custom fields here.*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief System initialization hook.
|
* @brief System initialization hook.
|
||||||
* @details User initialization code added to the @p chSysInit() function
|
* @details User initialization code added to the @p chSysInit() function
|
||||||
* just before interrupts are enabled globally.
|
* just before interrupts are enabled globally.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_SYSTEM_INIT_HOOK() { \
|
#define CH_CFG_OS_INSTANCE_INIT_HOOK(oip) { \
|
||||||
/* Add threads initialization code here.*/ \
|
/* Add system instance initialization code here.*/ \
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue