Changing line ending to LF
This commit is contained in:
parent
1ca7f7f940
commit
753cd22d56
|
@ -1,55 +1,55 @@
|
||||||
CONTIKI_TARGET_DIRS = . dev dev/sensors
|
CONTIKI_TARGET_DIRS = . dev dev/sensors
|
||||||
CONTIKI_CORE=contiki-micaz
|
CONTIKI_CORE=contiki-micaz
|
||||||
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
CONTIKI_TARGET_MAIN = ${CONTIKI_CORE}.o
|
||||||
|
|
||||||
SENSOR_BOARD_SOURCEFILES = mts300.c
|
SENSOR_BOARD_SOURCEFILES = mts300.c
|
||||||
|
|
||||||
CONTIKI_TARGET_SOURCEFILES += adc.c rs232.c cfs-eeprom.c contiki-micaz-main.c \
|
CONTIKI_TARGET_SOURCEFILES += adc.c rs232.c cfs-eeprom.c contiki-micaz-main.c \
|
||||||
leds-arch.c cc2420.c init-net.c node-id.c \
|
leds-arch.c cc2420.c init-net.c node-id.c \
|
||||||
clock.c spi.c cc2420-arch.c rtimer-arch.c ds2401.c \
|
clock.c spi.c cc2420-arch.c rtimer-arch.c ds2401.c \
|
||||||
battery-sensor.c slip.c slip_uart0.c
|
battery-sensor.c slip.c slip_uart0.c
|
||||||
|
|
||||||
CONTIKI_TARGET_SOURCEFILES += $(SENSOR_BOARD_SOURCEFILES)
|
CONTIKI_TARGET_SOURCEFILES += $(SENSOR_BOARD_SOURCEFILES)
|
||||||
|
|
||||||
CONTIKIAVR=$(CONTIKI)/cpu/avr
|
CONTIKIAVR=$(CONTIKI)/cpu/avr
|
||||||
CONTIKIBOARD=.
|
CONTIKIBOARD=.
|
||||||
|
|
||||||
# MicaZ runs on Clock rate 7.3728 MHz
|
# MicaZ runs on Clock rate 7.3728 MHz
|
||||||
CONTIKI_PLAT_DEFS = -DF_CPU=7372800UL -DAUTO_CRC_PADDING=2
|
CONTIKI_PLAT_DEFS = -DF_CPU=7372800UL -DAUTO_CRC_PADDING=2
|
||||||
|
|
||||||
MCU=atmega128
|
MCU=atmega128
|
||||||
|
|
||||||
include $(CONTIKIAVR)/Makefile.avr
|
include $(CONTIKIAVR)/Makefile.avr
|
||||||
|
|
||||||
|
|
||||||
%.od: %.$(TARGET)
|
%.od: %.$(TARGET)
|
||||||
avr-objdump -zhD $< > $@
|
avr-objdump -zhD $< > $@
|
||||||
|
|
||||||
|
|
||||||
ifndef WINDIR
|
ifndef WINDIR
|
||||||
ifdef OS
|
ifdef OS
|
||||||
ifneq (,$(findstring Windows,$(OS)))
|
ifneq (,$(findstring Windows,$(OS)))
|
||||||
WINDIR := Windows
|
WINDIR := Windows
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PRGBOARD), )
|
ifeq ($(PRGBOARD), )
|
||||||
PRGBOARD = mib510
|
PRGBOARD = mib510
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PORT), )
|
ifeq ($(PORT), )
|
||||||
ifndef WINDIR
|
ifndef WINDIR
|
||||||
PORT = /dev/ttyS0
|
PORT = /dev/ttyS0
|
||||||
else
|
else
|
||||||
PORT = COM1
|
PORT = COM1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
PRGBOARD_FILE = $(CONTIKI)/platform/$(TARGET)/buildscripts/Makefile.$(PRGBOARD)
|
PRGBOARD_FILE = $(CONTIKI)/platform/$(TARGET)/buildscripts/Makefile.$(PRGBOARD)
|
||||||
HAVE_PRGBOARD_FILE = $(wildcard $(PRGBOARD_FILE))
|
HAVE_PRGBOARD_FILE = $(wildcard $(PRGBOARD_FILE))
|
||||||
|
|
||||||
ifneq ($(strip $(HAVE_PRGBOARD_FILE)), )
|
ifneq ($(strip $(HAVE_PRGBOARD_FILE)), )
|
||||||
include $(PRGBOARD_FILE)
|
include $(PRGBOARD_FILE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue