boards/chronos: Makefile cleanup
This commit is contained in:
parent
13aa0ffe12
commit
81bba6bcdc
@ -1,25 +1,11 @@
|
|||||||
export INCLUDES += -I$(RIOTBOARD)/$(BOARD)/include
|
|
||||||
|
|
||||||
## the cpu to build for
|
## the cpu to build for
|
||||||
export CPU = cc430
|
export CPU = cc430
|
||||||
export MCU = cc430f6137
|
export CPU_MODEL = cc430f6137
|
||||||
|
|
||||||
# toolchain config
|
# flasher configuration
|
||||||
export PREFIX = msp430-
|
|
||||||
export CC = $(PREFIX)gcc
|
|
||||||
export AR = $(PREFIX)ar
|
|
||||||
export CFLAGS += -Wstrict-prototypes -gdwarf-2 -Os -Wall -mmcu=$(MCU) -D CC430
|
|
||||||
export ASFLAGS += -mmcu=$(MCU) --defsym $(MCU)=1 --gdwarf-2
|
|
||||||
export AS = $(PREFIX)as
|
|
||||||
export LINK = $(PREFIX)gcc
|
|
||||||
export SIZE = $(PREFIX)size
|
|
||||||
export OBJCOPY = $(PREFIX)objcopy
|
|
||||||
export LINKFLAGS += -mmcu=$(MCU) -lgcc $(BINDIR)msp430_common/startup.o
|
|
||||||
export FLASHER = mspdebug
|
|
||||||
export USEMODULE += msp430_common
|
|
||||||
export FFLAGS = rf2500 "prog $(HEXFILE)"
|
|
||||||
export OFLAGS = -O ihex
|
export OFLAGS = -O ihex
|
||||||
|
export FLASHER = mspdebug
|
||||||
|
export FFLAGS = rf2500 "prog $(HEXFILE)"
|
||||||
|
|
||||||
export UNDEF += $(BINDIR)msp430_common/startup.o
|
# include msp430 base makefile
|
||||||
|
include $(RIOTBOARD)/Makefile.include.msp430_common
|
||||||
include $(RIOTBOARD)/$(BOARD)/Makefile.dep
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user