own chDbgCheck Topic is solved

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

Moderators: RoccoMarco, lbednarz, utzig, tfAteba, barthess

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

own chDbgCheck

Postby omcdr » Fri Apr 06, 2018 8:20 am

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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: own chDbgCheck  Topic is solved

Postby Giovanni » Fri Apr 06, 2018 8:24 am

Hi,

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

Giovanni


Return to “General Support”

Who is online

Users browsing this forum: No registered users and 5 guests