From 75d472f580b00e9d616b493929e100b6cad8dc9d Mon Sep 17 00:00:00 2001 From: Theodore Ateba Date: Wed, 20 Dec 2017 20:29:56 +0000 Subject: AVR: Update all configuration files of RT demos to avoid the error CH_DBG_TRACE_MASK not defined in chconf.h git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11153 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/RT-ARDUINO-MINI/chconf.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'demos/AVR/RT-ARDUINO-MINI') diff --git a/demos/AVR/RT-ARDUINO-MINI/chconf.h b/demos/AVR/RT-ARDUINO-MINI/chconf.h index 2f9f210f3..141d0d5a6 100644 --- a/demos/AVR/RT-ARDUINO-MINI/chconf.h +++ b/demos/AVR/RT-ARDUINO-MINI/chconf.h @@ -55,13 +55,13 @@ * @brief Time intervals data size. * @note Allowed values are 16, 32 or 64 bits. */ -#define CH_CFG_INTERVALS_SIZE 32 +#define CH_CFG_INTERVALS_SIZE 16 /** * @brief Time types data size. * @note Allowed values are 16 or 32 bits. */ -#define CH_CFG_TIME_TYPES_SIZE 32 +#define CH_CFG_TIME_TYPES_SIZE 16 /** * @brief Time delta constant for the tick-less mode. @@ -346,7 +346,7 @@ * * @note The default is @p FALSE. */ -#define CH_CFG_USE_FACTORY TRUE +#define CH_CFG_USE_FACTORY FALSE /** * @brief Maximum length for object names. @@ -424,6 +424,14 @@ */ #define CH_DBG_ENABLE_ASSERTS FALSE +/** + * @brief Debug option, trace buffer. + * @details If enabled then the trace buffer is activated. + * + * @note The default is @p CH_DBG_TRACE_MASK_DISABLED. + */ +#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLED + /** * @brief Debug option, trace buffer. * @details If enabled then the trace buffer is activated. @@ -506,9 +514,9 @@ /** * @brief Threads initialization hook. - * @details User initialization code added to the @p _thread_init() function. + * @details User initialization code added to the @p chThdInit() API. * - * @note It is invoked from within @p _thread_init() and implicitly from all + * @note It is invoked from within @p chThdInit() and implicitly from all * the threads creation APIs. */ #define CH_CFG_THREAD_INIT_HOOK(tp) { \ -- cgit v1.2.3