PLATFORM = eyesIFXv1
-MSP_MCU = msp430x149
+MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
# PFLAGS += -mdisable-hwmul
PLATFORM = eyesIFXv2
-MSP_MCU = msp430x1611
+MSP_MCU = msp430f1611
#Flash Config
VOLUME_FILE = volumes-at45db.xml
#MSP_NESC_TARGET ?= msp430
#MSP_GCC ?= msp430-gcc
-#MSP_MCU ?= msp430x149
+#MSP_MCU ?= msp430f149
#PFLAGS += -fnesc-target=$(MSP_NESC_TARGET) -gcc=$(MSP_GCC) -mmcu=$(MSP_MCU)
OBJCOPY = msp430-objcopy
PLATFORM ?= olimexp169
-#MSP_MCU = msp430x169
+#MSP_MCU = msp430f169
# Disable MSP430 hardware multiply because it makes MSPGCC die
PFLAGS += -mdisable-hwmul
PLATFORM ?= telosa
-MSP_MCU = msp430x149
+MSP_MCU = msp430f149
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
# PFLAGS += -mdisable-hwmul
PLATFORM ?= telosb
-#MSP_MCU = msp430x1611
+#MSP_MCU = msp430f1611
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
# PFLAGS += -mdisable-hwmul
PLATFORM ?= tmicore
-#MSP_MCU = msp430x2417
+#MSP_MCU = msp430f2417
# Remove MSP430 hardware multiply disable: new msp430-gcc fixes
# PFLAGS += -mdisable-hwmul
PLATFORM ?= tmirws
-#MSP_MCU = msp430x2417
+#MSP_MCU = msp430f2417
# Disable MSP430 hardware multiply because it makes MSPGCC die
# PFLAGS += -mdisable-hwmul
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
-CFLAGS="-c -gcc=$GCC -mmcu=msp430x1611 -Os -mdisable-hwmul -Wall -Wshadow"
+CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mdisable-hwmul -Wall -Wshadow"
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin
GCC="msp430-gcc"
OBJCOPY="msp430-objcopy"
NESCFLAGS="-target=telosb -x nesc -fnesc-target=msp430"
-CFLAGS="-c -gcc=$GCC -mmcu=msp430x1611 -Os -mdisable-hwmul -Wall -Wshadow"
+CFLAGS="-c -gcc=$GCC -mmcu=msp430f1611 -Os -mdisable-hwmul -Wall -Wshadow"
OBJFILE=`basename $CFILE .c`.o
BINFILE=`basename $CFILE .c`.bin
//
// Until the ADC driver is updated our temporary workaround is to re-define
// the old structures -- this may may result in faulty ADC code and should be
- // checked carefully for your specific device (note: msp430x1611 is safe)!
+ // checked carefully for your specific device (note: msp430f1611 is safe)!
#warning "Accessing Adc12 registers via bitfield structures: this is discouraged mspgcc version >= 4 as it may result in faulty code!"
# The @opts list contains parameters that are passed to ncc.
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
-fnesc-target=msp430
-fnesc-no-debug
);
push ( @opts, qw(
- -mmcu=msp430x149
+ -mmcu=msp430f149
) );
push ( @opts, qw(
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
) );
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x169
+ -mmcu=msp430f169
-fnesc-target=msp430
-fnesc-no-debug
);
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
-fnesc-target=msp430
-fnesc-no-debug
);
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
-fnesc-target=msp430
-fnesc-no-debug
);
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x149
+ -mmcu=msp430f149
-fnesc-target=msp430
-fnesc-no-debug
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
-fnesc-target=msp430
-fnesc-no-debug
);
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x1611
+ -mmcu=msp430f1611
-fnesc-target=msp430
-fnesc-no-debug);
@opts = qw(
-gcc=msp430-gcc
- -mmcu=msp430x2417
+ -mmcu=msp430f2417
-fnesc-target=msp430
-fnesc-no-debug
);