Added a new CH_CFG_HARDENING_LEVEL option to RT.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15242 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
a3ef9790c0
commit
c01e5a7c22
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -703,8 +716,7 @@
|
||||||
* @details User fields added to the end of the @p thread_t structure.
|
* @details User fields added to the end of the @p thread_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_THREAD_EXTRA_FIELDS \
|
#define CH_CFG_THREAD_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/ \
|
/* Add threads custom fields here.*/
|
||||||
void *osal_delete_handler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Threads initialization hook.
|
* @brief Threads initialization hook.
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -703,8 +716,7 @@
|
||||||
* @details User fields added to the end of the @p thread_t structure.
|
* @details User fields added to the end of the @p thread_t structure.
|
||||||
*/
|
*/
|
||||||
#define CH_CFG_THREAD_EXTRA_FIELDS \
|
#define CH_CFG_THREAD_EXTRA_FIELDS \
|
||||||
/* Add threads custom fields here.*/ \
|
/* Add threads custom fields here.*/
|
||||||
void *osal_delete_handler;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Threads initialization hook.
|
* @brief Threads initialization hook.
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -822,9 +835,6 @@
|
||||||
/* Port-specific settings (override port settings defaulted in chcore.h). */
|
/* Port-specific settings (override port settings defaulted in chcore.h). */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#define PORT_USE_SYSCALL TRUE
|
|
||||||
#define PORT_SWITCHED_REGIONS_NUMBER 2
|
|
||||||
|
|
||||||
#endif /* CHCONF_H */
|
#endif /* CHCONF_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -26,17 +26,19 @@
|
||||||
|
|
||||||
/* Sandbox 1 configuration.*/
|
/* Sandbox 1 configuration.*/
|
||||||
static const sb_config_t sb_config1 = {
|
static const sb_config_t sb_config1 = {
|
||||||
.code_region = 0U,
|
.code_region = 0U,
|
||||||
.data_region = 1U,
|
.data_region = 1U,
|
||||||
.regions = {
|
.regions = {
|
||||||
[0] = {
|
[0] = {
|
||||||
{STARTUP_FLASH1_BASE, STARTUP_FLASH1_SIZE}, false
|
.area = {STARTUP_FLASH1_BASE, STARTUP_FLASH1_SIZE},
|
||||||
|
.writeable = false
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
{STARTUP_RAM1_BASE, STARTUP_RAM1_SIZE}, true
|
.area = {STARTUP_RAM1_BASE, STARTUP_RAM1_SIZE},
|
||||||
|
.writeable = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.mpuregs = {
|
.mpuregs = {
|
||||||
[0] = {
|
[0] = {
|
||||||
(uint32_t)STARTUP_FLASH1_BASE, MPU_RASR_ATTR_AP_RO_RO |
|
(uint32_t)STARTUP_FLASH1_BASE, MPU_RASR_ATTR_AP_RO_RO |
|
||||||
MPU_RASR_ATTR_CACHEABLE_WT_NWA |
|
MPU_RASR_ATTR_CACHEABLE_WT_NWA |
|
||||||
|
@ -50,24 +52,26 @@ static const sb_config_t sb_config1 = {
|
||||||
MPU_RASR_ENABLE
|
MPU_RASR_ENABLE
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.stdin_stream = (SandboxStream *)&LPSD1,
|
.stdin_stream = (SandboxStream *)&LPSD1,
|
||||||
.stdout_stream = (SandboxStream *)&LPSD1,
|
.stdout_stream = (SandboxStream *)&LPSD1,
|
||||||
.stderr_stream = (SandboxStream *)&LPSD1
|
.stderr_stream = (SandboxStream *)&LPSD1
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Sandbox 2 configuration.*/
|
/* Sandbox 2 configuration.*/
|
||||||
static const sb_config_t sb_config2 = {
|
static const sb_config_t sb_config2 = {
|
||||||
.code_region = 0U,
|
.code_region = 0U,
|
||||||
.data_region = 1U,
|
.data_region = 1U,
|
||||||
.regions = {
|
.regions = {
|
||||||
[0] = {
|
[0] = {
|
||||||
{STARTUP_FLASH2_BASE, STARTUP_FLASH2_SIZE}, false
|
.area = {STARTUP_FLASH2_BASE, STARTUP_FLASH2_SIZE},
|
||||||
|
.writeable = false
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
{STARTUP_RAM2_BASE, STARTUP_RAM2_SIZE}, true
|
.area = {STARTUP_RAM2_BASE, STARTUP_RAM2_SIZE},
|
||||||
|
.writeable = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.mpuregs = {
|
.mpuregs = {
|
||||||
[0] = {
|
[0] = {
|
||||||
(uint32_t)STARTUP_FLASH2_BASE, MPU_RASR_ATTR_AP_RO_RO |
|
(uint32_t)STARTUP_FLASH2_BASE, MPU_RASR_ATTR_AP_RO_RO |
|
||||||
MPU_RASR_ATTR_CACHEABLE_WT_NWA |
|
MPU_RASR_ATTR_CACHEABLE_WT_NWA |
|
||||||
|
@ -81,9 +85,9 @@ static const sb_config_t sb_config2 = {
|
||||||
MPU_RASR_ENABLE
|
MPU_RASR_ENABLE
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.stdin_stream = (SandboxStream *)&LPSD1,
|
.stdin_stream = (SandboxStream *)&LPSD1,
|
||||||
.stdout_stream = (SandboxStream *)&LPSD1,
|
.stdout_stream = (SandboxStream *)&LPSD1,
|
||||||
.stderr_stream = (SandboxStream *)&LPSD1
|
.stderr_stream = (SandboxStream *)&LPSD1
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Sandbox objects.*/
|
/* Sandbox objects.*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
@ -822,8 +835,6 @@
|
||||||
/* Port-specific settings (override port settings defaulted in chcore.h). */
|
/* Port-specific settings (override port settings defaulted in chcore.h). */
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
||||||
#define PORT_USE_SYSCALL TRUE
|
|
||||||
|
|
||||||
#endif /* CHCONF_H */
|
#endif /* CHCONF_H */
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
|
@ -26,36 +26,40 @@
|
||||||
|
|
||||||
/* Sandbox 1 configuration.*/
|
/* Sandbox 1 configuration.*/
|
||||||
static const sb_config_t sb_config1 = {
|
static const sb_config_t sb_config1 = {
|
||||||
.code_region = 0U,
|
.code_region = 0U,
|
||||||
.data_region = 1U,
|
.data_region = 1U,
|
||||||
.regions = {
|
.regions = {
|
||||||
[0] = {
|
[0] = {
|
||||||
{STARTUP_FLASH1_BASE, STARTUP_FLASH1_SIZE}, false
|
.area = {STARTUP_FLASH1_BASE, STARTUP_FLASH1_SIZE},
|
||||||
|
.writeable = false
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
{STARTUP_RAM1_BASE, STARTUP_RAM1_SIZE}, true
|
.area = {STARTUP_RAM1_BASE, STARTUP_RAM1_SIZE},
|
||||||
|
.writeable = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.stdin_stream = (SandboxStream *)&LPSD1,
|
.stdin_stream = (SandboxStream *)&LPSD1,
|
||||||
.stdout_stream = (SandboxStream *)&LPSD1,
|
.stdout_stream = (SandboxStream *)&LPSD1,
|
||||||
.stderr_stream = (SandboxStream *)&LPSD1
|
.stderr_stream = (SandboxStream *)&LPSD1
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Sandbox 2 configuration.*/
|
/* Sandbox 2 configuration.*/
|
||||||
static const sb_config_t sb_config2 = {
|
static const sb_config_t sb_config2 = {
|
||||||
.code_region = 0U,
|
.code_region = 0U,
|
||||||
.data_region = 1U,
|
.data_region = 1U,
|
||||||
.regions = {
|
.regions = {
|
||||||
[0] = {
|
[0] = {
|
||||||
{STARTUP_FLASH2_BASE, STARTUP_FLASH2_SIZE}, false
|
.area = {STARTUP_FLASH2_BASE, STARTUP_FLASH2_SIZE},
|
||||||
|
.writeable = false
|
||||||
},
|
},
|
||||||
[1] = {
|
[1] = {
|
||||||
{STARTUP_RAM2_BASE, STARTUP_RAM2_SIZE}, true
|
.area = {STARTUP_RAM2_BASE, STARTUP_RAM2_SIZE},
|
||||||
|
.writeable = true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
.stdin_stream = (SandboxStream *)&LPSD1,
|
.stdin_stream = (SandboxStream *)&LPSD1,
|
||||||
.stdout_stream = (SandboxStream *)&LPSD1,
|
.stdout_stream = (SandboxStream *)&LPSD1,
|
||||||
.stderr_stream = (SandboxStream *)&LPSD1
|
.stderr_stream = (SandboxStream *)&LPSD1
|
||||||
};
|
};
|
||||||
|
|
||||||
/* Sandbox objects.*/
|
/* Sandbox objects.*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
|
@ -139,6 +139,19 @@
|
||||||
#define CH_CFG_NO_IDLE_THREAD FALSE
|
#define CH_CFG_NO_IDLE_THREAD FALSE
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Kernel hardening level.
|
||||||
|
* @details This option is the level of functional-safety checks enabled
|
||||||
|
* in the kerkel. The meaning is:
|
||||||
|
* - 0: No checks, maximum performance.
|
||||||
|
* - 1: Reasonable checks.
|
||||||
|
* - 2: All checks.
|
||||||
|
* .
|
||||||
|
*/
|
||||||
|
#if !defined(CH_CFG_HARDENING_LEVEL)
|
||||||
|
#define CH_CFG_HARDENING_LEVEL 0
|
||||||
|
#endif
|
||||||
|
|
||||||
/** @} */
|
/** @} */
|
||||||
|
|
||||||
/*===========================================================================*/
|
/*===========================================================================*/
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue