diff options
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/hal.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h index 5b9f7e889..8b1becf6f 100644 --- a/os/hal/include/hal.h +++ b/os/hal/include/hal.h @@ -50,10 +50,6 @@ #define HAL_USE_DAC FALSE
#endif
-#if !defined(HAL_USE_EXT)
-#define HAL_USE_ETX FALSE
-#endif
-
#if !defined(HAL_USE_GPT)
#define HAL_USE_GPT FALSE
#endif
@@ -231,6 +227,15 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+/* Configuration file checks.*/
+#if !defined(_CHIBIOS_HAL_CONF_)
+#error "invalid configuration file"
+#endif
+
+#if !defined(_CHIBIOS_HAL_CONF_VER_7_0_)
+#error "obsolete or unknown configuration file"
+#endif
+
/*===========================================================================*/
/* Driver data structures and types. */
/*===========================================================================*/
|