Since last weekend, when trying to compile one of the AVR test or demo applications in the trunk branch, I get an error similar to the one below;
Code: Select all
Compiling chsys.c
In file included from ../../../../os/rt/include/ch.h:91:0,
from ../../../../os/rt/src/chsys.c:36:
../../../../os/rt/include/chchecks.h:212:2: error: #error "CH_DBG_TRACE_MASK not defined in chconf.h"
#error "CH_DBG_TRACE_MASK not defined in chconf.h"
Aṕparently, this is caused by a change in os/rt/include/chchecks.h, which no longer defines CH_DBG_TRACE_MASK, but throws an error instead if CH_DBG_TRACE_MASK isn't defined.
Checking the chconf.h file in the AVR apps' chconf.h file I see the line
Code: Select all
#define CH_DBG_ENABLE_TRACE CH_DBG_TRACE_MASK_DISABLED
but no line defining CH_DBG_TRACE_MASK, whereas in some STM32 chconf.h file I see
Code: Select all
#define CH_DBG_TRACE_MASK CH_DBG_TRACE_MASK_DISABLE
Does this means the AVR files need to be updated? Is the update just the insertion of the line above?
Thanks.