X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=support%2Fmake%2Ftosboot.extra;h=ddb928c01f387642c8e30dab41734d31b24a713a;hb=3220edb793307d86724e6c7d4c8622a6eb047576;hp=125972677e9144df9640ad8dcb5c1a84752d1547;hpb=f101cd6ebd9f2a44db10e044478ac8804c5ece99;p=tinyos-2.x.git diff --git a/support/make/tosboot.extra b/support/make/tosboot.extra index 12597267..ddb928c0 100644 --- a/support/make/tosboot.extra +++ b/support/make/tosboot.extra @@ -45,5 +45,14 @@ ifeq ($(BOOTLOADER),tosboot) AVR_FUSE_H ?= 0xda endif + ifeq ($(TARGETS),tinynode) + CFLAGS += -I$(DELUGE_EXTRA)/tinynode + CFLAGS += -I$(DELUGE_EXTRA) -I$(DELUGE_EXTRA)/msp430 -I$(DELUGE_EXTRA)/msp430f1611 + ifeq ($(filter docs,$(GOALS)),) + CFLAGS += -Wl,--section-start=.text=0x4a00,--defsym=_reset_vector__=0x4000 + endif + BOOTLOADER_IMG ?= $(TOSBOOT_DIR)/tinynode/main.ihex + endif + endif