-
Notifications
You must be signed in to change notification settings - Fork 2
/
avr.mk
26 lines (22 loc) · 956 Bytes
/
avr.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
SERIAL_PORT ?= /dev/ttyUSB0
UPLOAD_VERIFY ?= verify
UPLOAD_VERBOSE ?= quiet
PROGRAM_VERBOSE ?= $(UPLOAD_VERBOSE)
PROGRAM_VERIFY ?= $(UPLOAD_VERIFY)
ERASE_VERBOSE ?= $(UPLOAD_VERBOSE)
BOOTLOADER_VERBOSE ?= $(UPLOAD_VERBOSE)
PROGRAMMER ?= arduinoasisp
VENDOR := arduino
PROCESSOR_FAMILY := avr
-include hardware.mk
serial.port := $(SERIAL_PORT)
upload.verbose := $(tools.$(upload.tool).upload.params.$(UPLOAD_VERBOSE))
upload.verify := $(tools.$(upload.tool).upload.params.$(UPLOAD_VERIFY))
program.verbose := $(tools.$(program.tool).program.params.$(PROGRAM_VERBOSE))
program.verify := $(tools.$(program.tool).program.params.$(PROGRAM_VERIFY))
program.extra_params := $(tools.$(program.tool).program.extra_params)
erase.verbose := $(tools.$(program.tool).erase.params.$(ERASE_VERBOSE))
bootloader.verbose := $(tools.$(bootloader.tool).bootloader.params.$(BOOTLOADER_VERBOSE))
-include build-targets.mk
-include programmers.mk
-include $(upload.tool).mk