From 4cc070944fa10085c5fd3c4e7505689eca0b3414 Mon Sep 17 00:00:00 2001 From: Antonio Lignan Date: Mon, 3 Nov 2014 22:40:51 +0100 Subject: [PATCH] Changed code region to any --- cpu/msp430/Makefile.msp430 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/msp430/Makefile.msp430 b/cpu/msp430/Makefile.msp430 index 182cd19dd..264538611 100644 --- a/cpu/msp430/Makefile.msp430 +++ b/cpu/msp430/Makefile.msp430 @@ -151,7 +151,7 @@ ifneq (,$(findstring 4.7.,$(shell msp430-gcc -dumpversion))) ifdef CPU_HAS_MSP430X TARGET_MEMORY_MODEL ?= medium CFLAGS += -mmemory-model=$(TARGET_MEMORY_MODEL) - CFLAGS += -ffunction-sections -fdata-sections -mcode-region=far + CFLAGS += -ffunction-sections -fdata-sections -mcode-region=any LDFLAGS += -mmemory-model=$(TARGET_MEMORY_MODEL) -Wl,-gc-sections endif endif