Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_DISCO_F334C8/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_hal_conf.h
- Revision:
- 168:b9e159c1930a
- Parent:
- 156:ff21514d8981
--- a/TARGET_DISCO_F334C8/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_hal_conf.h Fri May 11 16:51:14 2018 +0100 +++ b/TARGET_DISCO_F334C8/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_hal_conf.h Thu May 24 15:35:55 2018 +0100 @@ -2,8 +2,6 @@ ****************************************************************************** * @file stm32f3xx_hal_conf.h * @author MCD Application Team - * @version V1.4.0 - * @date 16-December-2016 * @brief HAL configuration file. ****************************************************************************** * @attention @@ -162,10 +160,11 @@ */ #define VDD_VALUE (3300U) /*!< Value of VDD in mv */ #define TICK_INT_PRIORITY ((uint32_t)(1U<<__NVIC_PRIO_BITS) - 1U) /*!< tick interrupt priority (lowest by default) */ -#define USE_RTOS 0 -#define PREFETCH_ENABLE 1 -#define INSTRUCTION_CACHE_ENABLE 0 -#define DATA_CACHE_ENABLE 0 +#define USE_RTOS 0U +#define PREFETCH_ENABLE 1U +#define INSTRUCTION_CACHE_ENABLE 0U +#define DATA_CACHE_ENABLE 0U +#define USE_SPI_CRC 1U /* ########################## Assert Selection ############################## */ /** @@ -313,7 +312,18 @@ /* Exported macro ------------------------------------------------------------*/ #ifdef USE_FULL_ASSERT -/* ALL MBED targets use same stm32_assert.h */ +/** + * @brief The assert_param macro is used for function's parameters check. + * @param expr If expr is false, it calls assert_failed function + * which reports the name of the source file and the source + * line number of the call that failed. + * If expr is true, it returns no value. + * @retval None + */ + //#define assert_param(expr) ((expr) ? (void)0U : assert_failed((char *)__FILE__, __LINE__)) +/* Exported functions ------------------------------------------------------- */ + //void assert_failed(char* file, uint32_t line); +// MBED patch. All targets use same stm32_assert.h #include "stm32_assert.h" #else #define assert_param(expr) ((void)0U)


