makefiles: cleanup indentation
This commit is contained in:
parent
2097f6810f
commit
e5fc70ae57
@ -7,20 +7,20 @@ export HEXFILE = $(ELFFILE:.elf=.bin)
|
|||||||
# some arduino boards need to toggle the serial interface a little bit to get
|
# some arduino boards need to toggle the serial interface a little bit to get
|
||||||
# them ready for flashing...
|
# them ready for flashing...
|
||||||
ifneq (,$(BOSSA_ARDUINO_PREFLASH))
|
ifneq (,$(BOSSA_ARDUINO_PREFLASH))
|
||||||
OS := $(shell uname)
|
OS := $(shell uname)
|
||||||
ifeq ($(OS),Linux)
|
ifeq ($(OS),Linux)
|
||||||
STTY_FLAG = -F
|
STTY_FLAG = -F
|
||||||
else ifeq ($(OS),Darwin)
|
else ifeq ($(OS),Darwin)
|
||||||
STTY_FLAG = -f
|
STTY_FLAG = -f
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PREFLASHER ?= stty
|
PREFLASHER ?= stty
|
||||||
PREFFLAGS ?= $(STTY_FLAG) $(PORT) raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
PREFFLAGS ?= $(STTY_FLAG) $(PORT) raw ispeed 1200 ospeed 1200 cs8 -cstopb ignpar eol 255 eof 255
|
||||||
FLASHDEPS += preflash
|
FLASHDEPS += preflash
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# if we go with the default (BOSSA shipped with RIOT), we download and build
|
# if we go with the default (BOSSA shipped with RIOT), we download and build
|
||||||
# the tool if not already done
|
# the tool if not already done
|
||||||
ifeq ($(RIOTBASE)/dist/tools/bossa/bossac,$(FLASHER))
|
ifeq ($(RIOTBASE)/dist/tools/bossa/bossac,$(FLASHER))
|
||||||
FLASHDEPS += $(RIOTBASE)/dist/tools/bossa/bossac
|
FLASHDEPS += $(RIOTBASE)/dist/tools/bossa/bossac
|
||||||
endif
|
endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user