Define baudrate per default
This commit is contained in:
parent
18768ccd63
commit
3f284654ea
3 changed files with 7 additions and 3 deletions
|
@ -3,6 +3,8 @@ MCU_FREQ = 16000000UL
|
|||
|
||||
CPPFLAGS += -DLED_DDR=DDRB -DLED_PORT=PORTB -DLED_PIN=5
|
||||
|
||||
BAUDRATE = 56700
|
||||
|
||||
AVRDUDE_TYPE = arduino
|
||||
AVRDUDE_TTY = /dev/ttyUSB0
|
||||
AVRDUDE_BAUD = 57600
|
||||
AVRDUDE_BAUD = 56700
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
include boards/nano.mk
|
||||
|
||||
CPPFLAGS += -DBAUDRATE=$(AVRDUDE_BAUD)
|
||||
|
||||
ifndef PROG
|
||||
PROG = relaycard
|
||||
endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue