* -mmcu option now uses different strings to reference specific msp430
parts. For example, where the string msp430x1611 was valid before,
the new equivalent string is msp430f1611.
* The option -mdisable-hwmul has been changed to -mmpy=none
13 files changed:
PLATFORM ?= epic
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
PLATFORM ?= epic
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
# OPTFLAGS += -O
# Default BSL assumes telosb-like programming interface
# OPTFLAGS += -O
# Default BSL assumes telosb-like programming interface
MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
OPTFLAGS += -O
ifndef DEFAULT_PROGRAM
OPTFLAGS += -O
ifndef DEFAULT_PROGRAM
VOLUME_ALLOCATOR ?= tos-storage-at45db
# Disable MSP430 hardware multiply because it makes MSPGCC die
VOLUME_ALLOCATOR ?= tos-storage-at45db
# Disable MSP430 hardware multiply because it makes MSPGCC die
-PFLAGS += -mdisable-hwmul
OPTFLAGS += -O
ifndef DEFAULT_PROGRAM
OPTFLAGS += -O
ifndef DEFAULT_PROGRAM
-NESC_FLAGS:=-Wnesc-all -mdisable-hwmul
+NESC_FLAGS:=-Wnesc-all -mmpy=none
$(call TOSMake_include_platform,msp)
$(call TOSMake_include_platform,msp)
#MSP_MCU = msp430f169
# Disable MSP430 hardware multiply because it makes MSPGCC die
#MSP_MCU = msp430f169
# Disable MSP430 hardware multiply because it makes MSPGCC die
-PFLAGS += -mdisable-hwmul
OPTFLAGS += -O
# Olimex P169 doesn't support bsl
OPTFLAGS += -O
# Olimex P169 doesn't support bsl
PLATFORM = shimmer
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
PLATFORM = shimmer
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
PLATFORM = shimmer2
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
PLATFORM = shimmer2
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
#MSP_MCU = msp430f1611
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
#MSP_MCU = msp430f1611
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
#OPTFLAGS =
# Disable MSP430 hardware multiply because it makes MSPGCC die
#OPTFLAGS =
# Disable MSP430 hardware multiply because it makes MSPGCC die
-PFLAGS += -mdisable-hwmul
PFLAGS += -mstrict-align
$(call TOSMake_include_platform,tinynode)
PFLAGS += -mstrict-align
$(call TOSMake_include_platform,tinynode)
#MSP_MCU = msp430f2417
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
#MSP_MCU = msp430f2417
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
-# PFLAGS += -mdisable-hwmul
OPTFLAGS += -O
MSP_BSL ?= tos-bsl
OPTFLAGS += -O
MSP_BSL ?= tos-bsl
#MSP_MCU = msp430f2417
# Disable MSP430 hardware multiply because it makes MSPGCC die
#MSP_MCU = msp430f2417
# Disable MSP430 hardware multiply because it makes MSPGCC die
-# PFLAGS += -mdisable-hwmul
OPTFLAGS += -O
MSP_BSL ?= tos-bsl
OPTFLAGS += -O
MSP_BSL ?= tos-bsl
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
-CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mdisable-hwmul -Wall -Wshadow"
+CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mmpy=none -Wall -Wshadow"
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
-CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mdisable-hwmul -Wall -Wshadow"
+CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mmpy=none -Wall -Wshadow"
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin