[En-Nut-Discussion] Where to declare NUTDEBUG_USE_ASSERT?

Harald Kipp harald.kipp at egnite.de
Tue Jun 5 15:20:17 CEST 2012


Hi Uwe,

On 04.06.2012 18:09, Uwe Bonnes wrote:
> where is NUTDEBUG_USE_ASSERT supposed to be declared? Should it be inserted
> direct in nut/include/sys/nutdebug.h or is there an other preferred way?

In general, all preprocessor macros, which are not yet available in the Configurator, should be declared in UserConf.mk.

As explained in 

http://www.it.hiof.no/datateknikk/ovinger/figurer/enswm29e.pdf

you can add

HWDEF+=-DNUTDEBUG_USE_ASSERT

to nutbld/UserConf.mk. 


Regards,

Harald





More information about the En-Nut-Discussion mailing list