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 --- test/nil/testbuild/chconf.h | 14 ++++++++++++++ test/rt/testbuild/chconf.h | 20 +++++++++++++++++++- test/rt/testbuild/halconf.h | 7 +++++++ 3 files changed, 40 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/nil/testbuild/chconf.h b/test/nil/testbuild/chconf.h index 5f6a4d59e..9ec3017cb 100644 --- a/test/nil/testbuild/chconf.h +++ b/test/nil/testbuild/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/test/rt/testbuild/chconf.h b/test/rt/testbuild/chconf.h index fc94065f5..3b89bc642 100644 --- a/test/rt/testbuild/chconf.h +++ b/test/rt/testbuild/chconf.h @@ -360,7 +360,7 @@ #endif /** - * @brief Objects FIFOs APIs. + * @brief Objects FIFOs APIs. * @details If enabled then the objects FIFOs APIs are included * in the kernel. * @@ -370,6 +370,17 @@ #define CH_CFG_USE_OBJ_FIFOS TRUE #endif +/** + * @brief Pipes APIs. + * @details If enabled then the pipes APIs are included + * in the kernel. + * + * @note The default is @p TRUE. + */ +#if !defined(CH_CFG_USE_PIPES) +#define CH_CFG_USE_PIPES TRUE +#endif + /** * @brief Dynamic Threads APIs. * @details If enabled then the dynamic threads creation APIs are included @@ -447,6 +458,13 @@ #define CH_CFG_FACTORY_OBJ_FIFOS TRUE #endif +/** + * @brief Enables factory for Pipes. + */ +#if !defined(CH_CFG_FACTORY_PIPES) || defined(__DOXYGEN__) +#define CH_CFG_FACTORY_PIPES TRUE +#endif + /** @} */ /*===========================================================================*/ diff --git a/test/rt/testbuild/halconf.h b/test/rt/testbuild/halconf.h index c65521edf..f7910c9ea 100644 --- a/test/rt/testbuild/halconf.h +++ b/test/rt/testbuild/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