jdolinay / avr_debug

Source level debugger for Arduino - GDB stub for Atmega328 microcontroller used in Arduino Uno.
GNU Lesser General Public License v3.0
141 stars 33 forks source link

Fast transition from debug to release build #14

Closed msquirogac closed 4 years ago

msquirogac commented 4 years ago

These macros have the effect of removing, at compiling time, all the calls to the debug related functions when the firmware is built for release. This allows a fast and seamless transition from debug to release and has no negative effect over the system performance of firmware size.