From f562ee4948dd1e2b9175dfa3f2a2c071023c6167 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 29 Sep 2018 16:14:19 +0000 Subject: Mass update of configuration files. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12306 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h | 14 ++++++++++++++ demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h | 7 +++++++ 2 files changed, 21 insertions(+) (limited to 'demos/STM32/NIL-STM32F051-DISCOVERY') diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h index 70ccdd375..7d71078aa 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/chconf.h @@ -158,6 +158,15 @@ */ #define CH_CFG_USE_OBJ_FIFOS TRUE +/** + * @brief Pipes APIs. + * @details If enabled then the pipes APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#define CH_CFG_USE_PIPES TRUE + /** * @brief Managed RAM size. * @details Size of the RAM area to be managed by the OS. If set to zero @@ -221,6 +230,11 @@ */ #define CH_CFG_FACTORY_OBJ_FIFOS TRUE +/** + * @brief Enables factory for Pipes. + */ +#define CH_CFG_FACTORY_PIPES TRUE + /** @} */ /*===========================================================================*/ diff --git a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h index f33a080b9..b92351f24 100644 --- a/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h +++ b/demos/STM32/NIL-STM32F051-DISCOVERY/halconf.h @@ -159,6 +159,13 @@ #define HAL_USE_SERIAL_USB FALSE #endif +/** + * @brief Enables the SIO subsystem. + */ +#if !defined(HAL_USE_SIO) || defined(__DOXYGEN__) +#define HAL_USE_SIO FALSE +#endif + /** * @brief Enables the SPI subsystem. */ -- cgit v1.2.3