Re: CM3 code: Enabling debug info

Philipp Burch <[email protected]> Wed, 20 Jun 2018 12:03:40 +0200
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
Hi Uwe!

On 20.06.2018 11:09, Uwe Bonnes wrote:
> 
> at the moment I add "CFLAGS_OPT = -g3 -Og" to UserConf.mk in the application
> directory and also on the library directory when library debug is needed.
> 
> Otherwise you can add cm3-gccdbg entries on conf/tools.nut. All those
> Makedefs.cm3-gccdbg still compile with -O0, while recent compilers allow -Og
> resulting in much smaller, but still debuggable code.
> 

Perfect! Thanks also for the hint with -Og, that's very good to know.

Bye,
Philipp
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion