Compare commits

...

3 Commits

Author SHA1 Message Date
527ec7353d pointing to 1.8.3 now 2020-10-12 23:24:15 +02:00
01aab1559f readability update 2020-10-12 22:32:47 +02:00
12822f737d windows support added 2020-10-12 22:02:52 +02:00
2 changed files with 27 additions and 7 deletions

View File

@ -37,11 +37,16 @@ CORE_LIB = $(ARDDIR)/arduino_core.a
#
# Exemplia gratia:
#
# TARGET = foo # the name of your main file, with no extension
# SRC = foo.c bar.c # the C source files
# PSRC = baz.cpp qux.cpp # the C++ source files
# ARDLIBS = SoftwareSerial # extra Arduino libraries
# include /d/dev/avr/Makefile.base # this line includes the Makefile.base
# the name of your main file, with no extension
# TARGET = foo
# the C source files
# SRC = foo.c bar.c
# the C++ source files
# PSRC = baz.cpp qux.cpp
# extra Arduino libraries
# ARDLIBS = SoftwareSerial
# this line includes the Makefile.base
# include /d/dev/avr/Makefile.base
# A number of necessary variables are set to defaults below, but you can override them
# in your own Makefile:
@ -233,12 +238,27 @@ DIRLIB = $(DIRAVR)/avr/lib
# Define programs and commands.
SHELL = sh
ifdef WINDOWS
CC = avr-gcc.exe
OBJCOPY = avr-objcopy.exe
OBJDUMP = avr-objdump.exe
SIZE = avr-size.exe
AVR_NM = avr-nm.exe
else
CC = avr-gcc
OBJCOPY = avr-objcopy
OBJDUMP = avr-objdump
SIZE = avr-size
AVR_NM = avr-nm
endif
# Programming support using avrdude.
AVRDUDE = avrdude
@ -376,7 +396,7 @@ program: $(TARGET).hex $(TARGET).eep
%.sym: %.elf
@echo
@echo $(MSG_SYMBOL_TABLE) $@
avr-nm -n $< > $@
$(AVR_NM) -n $< > $@
# Archive Arduino core library