You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.6 KiB
44 lines
1.6 KiB
Index: Inc/stm32f1xx_hal_conf.h
|
|
IDEA additional info:
|
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
<+>UTF-8
|
|
===================================================================
|
|
--- Inc/stm32f1xx_hal_conf.h (date 1511203976000)
|
|
+++ Inc/stm32f1xx_hal_conf.h (revision )
|
|
@@ -147,13 +147,6 @@
|
|
#define USE_RTOS 0
|
|
#define PREFETCH_ENABLE 1
|
|
|
|
-/* ########################## Assert Selection ############################## */
|
|
-/**
|
|
- * @brief Uncomment the line below to expanse the "assert_param" macro in the
|
|
- * HAL drivers code
|
|
- */
|
|
- #define USE_FULL_ASSERT 1U
|
|
-
|
|
/* ################## Ethernet peripheral configuration ##################### */
|
|
|
|
/* Section 1 : Ethernet peripheral configuration */
|
|
@@ -341,21 +334,7 @@
|
|
|
|
|
|
/* Exported macro ------------------------------------------------------------*/
|
|
-#ifdef USE_FULL_ASSERT
|
|
-/**
|
|
- * @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((uint8_t *)__FILE__, __LINE__))
|
|
-/* Exported functions ------------------------------------------------------- */
|
|
- void assert_failed(uint8_t* file, uint32_t line);
|
|
-#else
|
|
- #define assert_param(expr) ((void)0U)
|
|
-#endif /* USE_FULL_ASSERT */
|
|
+#include "stm32_assert.h"
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
|