From 3f4d993626c7e8e3bd293b666d9a0cdc739ef678 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Fri, 28 Sep 2018 09:12:24 +0000 Subject: Updated template with SIO switch. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12302 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- tools/ftl/processors/conf/halconf/halconf.h.ftl | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') diff --git a/tools/ftl/processors/conf/halconf/halconf.h.ftl b/tools/ftl/processors/conf/halconf/halconf.h.ftl index 718f1c14e..89061f30c 100644 --- a/tools/ftl/processors/conf/halconf/halconf.h.ftl +++ b/tools/ftl/processors/conf/halconf/halconf.h.ftl @@ -170,6 +170,13 @@ #define HAL_USE_SERIAL_USB ${doc.HAL_USE_SERIAL_USB!"FALSE"} #endif +/** + * @brief Enables the SIO subsystem. + */ +#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) +#define HAL_USE_SIO ${doc.HAL_USE_SIO!"FALSE"} +#endif + /** * @brief Enables the SPI subsystem. */ -- cgit v1.2.3