summaryrefslogtreecommitdiff
path: root/platforms/chibios/common/configs/halconf.h
diff options
context:
space:
mode:
authorNick Brassel <nick@tzarc.org>2021-01-20 00:59:12 +1100
committerGitHub <noreply@github.com>2021-01-20 00:59:12 +1100
commita7c45daeb8022097a0dbb3859bfcd56b73d65d14 (patch)
tree3a09b5356312f01ed17fa1fa8702ab189b08bb2d /platforms/chibios/common/configs/halconf.h
parent19c180ef88168df25a9f6d680143319c79a3cac0 (diff)
ChibiOS 20.3.2 (#11495)
* Update ChibiOS submodule * Update ChibiOS-Contrib submodule * Update ChibiOS config files
Diffstat (limited to 'platforms/chibios/common/configs/halconf.h')
-rw-r--r--platforms/chibios/common/configs/halconf.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/platforms/chibios/common/configs/halconf.h b/platforms/chibios/common/configs/halconf.h
index 880e7f97aa..264ae4e6c1 100644
--- a/platforms/chibios/common/configs/halconf.h
+++ b/platforms/chibios/common/configs/halconf.h
@@ -29,7 +29,7 @@
#define HALCONF_H
#define _CHIBIOS_HAL_CONF_
-#define _CHIBIOS_HAL_CONF_VER_7_0_
+#define _CHIBIOS_HAL_CONF_VER_7_1_
#include <mcuconf.h>
@@ -69,6 +69,13 @@
#endif
/**
+ * @brief Enables the EFlash subsystem.
+ */
+#if !defined(HAL_USE_EFL) || defined(__DOXYGEN__)
+#define HAL_USE_EFL FALSE
+#endif
+
+/**
* @brief Enables the GPT subsystem.
*/
#if !defined(HAL_USE_GPT) || defined(__DOXYGEN__)
@@ -451,7 +458,6 @@
#define SPI_USE_CIRCULAR FALSE
#endif
-
/**
* @brief Enables the @p spiAcquireBus() and @p spiReleaseBus() APIs.
* @note Disabling this option saves both code and data space.