first implementation of production
This commit is contained in:
@@ -5,15 +5,15 @@ MCU = atmega328p
|
||||
PROGC = m328p
|
||||
CC = avr-gcc
|
||||
#TOOL = stk500 -P /dev/ttyUSB0
|
||||
TOOL = atmelice_isp
|
||||
#TOOL = avrispmkii
|
||||
#TOOL = atmelice_isp
|
||||
TOOL = avrispmkii
|
||||
#TOOL = usbasp-clone
|
||||
|
||||
BUILDDIR = Builds
|
||||
|
||||
DEFINES = -DF_CPU=2000000UL -DLCD_PORT=PORTD -DLCD_DDR=DDRD
|
||||
|
||||
CFLAGS =-mmcu=$(MCU) -O2 -Wall -Wpedantic $(DEFINES) -std=c99 -ffunction-sections -fdata-sections
|
||||
CFLAGS =-mmcu=$(MCU) -O2 -Wall -Wpedantic $(DEFINES) -std=c99 -ffunction-sections -fdata-sections -Ii2c_peter
|
||||
LDFLAGS =-mmcu=$(MCU) -Wl,--gc-sections
|
||||
|
||||
LDFILES = $(foreach FILE,$(FILES),$(BUILDDIR)/$(FILE).o)
|
||||
|
||||
Reference in New Issue
Block a user