own chDbgCheck Topic is solved

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
omcdr
Posts: 89
Joined: Wed Aug 17, 2016 3:25 pm
Has thanked: 7 times
Been thanked: 7 times

own chDbgCheck

Post by omcdr »

What is best way to define own chDbgCheck macro ?
In chdebug.h there is #if !defined(chDbgCheck), but this file doesn't include other files to overide it.
It could be a good idea to include global user.h if exists to override macros like this ?
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: own chDbgCheck

Post by Giovanni »

Hi,

Adding it to chconf.h should work, you can also include another file from chconf.h.

Giovanni
Post Reply