Open g0mb4 opened 8 months ago
This allows the user to add extra CFLAGS without modifying the Makefile.
For example:
ATMEGA_SUPPORT_PACK="$HOME/src/Atmel.ATmega_DFP.2.1.506" EXTRA_CFLAGS="-B $ATMEGA_SUPPORT_PACK/gcc/dev/atmega328pb" EXTRA_CFLAGS+=" -I$ATMEGA_SUPPORT_PACK/include" make EXTRA_CFLAGS="$EXTRA_CFLAGS" atmega328pb AVR_FREQ=16000000L BAUD_RATE=115200 LED=B5 LED_START_FLASHES=0 UART=0
This allows the user to add extra CFLAGS without modifying the Makefile.
For example: