From afe8d1ee875e5c933efa1494d2dc8fda55e4ed65 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 22 Oct 2017 13:34:38 +0000 Subject: Re-alignment of all halconf.h files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10875 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- .../STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'demos/STM32/RT-STM32F103-OLIMEX_STM32_P103') diff --git a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h index 82602b403..d7793e22c 100644 --- a/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h +++ b/demos/STM32/RT-STM32F103-OLIMEX_STM32_P103/halconf.h @@ -51,6 +51,13 @@ #define HAL_USE_CAN FALSE #endif +/** + * @brief Enables the cryptographic subsystem. + */ +#if !defined(HAL_USE_CRY) || defined(__DOXYGEN__) +#define HAL_USE_CRY FALSE +#endif + /** * @brief Enables the DAC subsystem. */ @@ -208,6 +215,28 @@ #define CAN_USE_SLEEP_MODE TRUE #endif +/*===========================================================================*/ +/* CRY driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables the SW fall-back of the cryptographic driver. + * @details When enabled, this option, activates a fall-back software + * implementation for algorithms not supported by the underlying + * hardware. + * @note Fall-back implementations may not be present for all algorithms. + */ +#if !defined(HAL_CRY_USE_FALLBACK) || defined(__DOXYGEN__) +#define HAL_CRY_USE_FALLBACK FALSE +#endif + +/** + * @brief Makes the driver forcibly use the fall-back implementations. + */ +#if !defined(HAL_CRY_ENFORCE_FALLBACK) || defined(__DOXYGEN__) +#define HAL_CRY_ENFORCE_FALLBACK FALSE +#endif + /*===========================================================================*/ /* I2C driver related settings. */ /*===========================================================================*/ -- cgit v1.2.3