-#platform?=goodfet
-#platform?=telosb
-#platform?=z1
-#platform?=nhbadge
-#platform?=nhbadgeb
-#platofrm?=arduino
-#platform?=tilaunchpad
$(MSP430BSL) -P $(app).hex -p info.txt || true #MSP430F2xx targets only, inelegant.
verify:
$(MSP430BSL) -P $(app).hex -v $(app).hex
$(MSP430BSL) -P $(app).hex -p info.txt || true #MSP430F2xx targets only, inelegant.
verify:
$(MSP430BSL) -P $(app).hex -v $(app).hex
+erase:
+ $(MSP430BSL) -e
+
endif
dumpinfo:
$(MSP430BSL) --dumpinfo
endif
dumpinfo:
$(MSP430BSL) --dumpinfo
-erase:
- $(MSP430BSL) -e
$(app).c: config builddate appsfiles err
$(app): $(libs) $(apps)
$(app).c: config builddate appsfiles err
$(app): $(libs) $(apps)
export GOODFET=/dev/cu.usbserial-* #Darwin
export GOODFET=/dev/ttyUSB* #Linux (Default)
export GOODFET=/dev/cu.usbserial-* #Darwin
export GOODFET=/dev/ttyUSB* #Linux (Default)
-The target board must be specified. Export one of the following:
+The target board must be specified. For example,
board=goodfet31 make clean install
board=goodfet41 make clean install
board=goodfet31 make clean install
board=goodfet41 make clean install
+board=telosb make clean install
We require at least msp430-gcc-4.4.5, but older versions should work
if you're lucky.
We require at least msp430-gcc-4.4.5, but older versions should work
if you're lucky.
mcu :=msp430x1612
CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
#CFLAGS+= -Werror
mcu :=msp430x1612
CFLAGS := -DDEBUG_LEVEL=3 -DDEBUG_START=1 -DINBAND_DEBUG
#CFLAGS+= -Werror
+config := monitor spi ccspi
ifeq ($(mcu),undef)
$(error Please define board, as explained in the README)
endif
ifeq ($(mcu),undef)
$(error Please define board, as explained in the README)
endif
AVAILABLE_APPS = monitor spi jtag sbw jtag430 jtag430x2 i2c jtagarm7 ejtag jtagxscale openocd chipcon avr pic adc nrf ccspi glitch smartcard ps2
AVAILABLE_APPS = monitor spi jtag sbw jtag430 jtag430x2 i2c jtagarm7 ejtag jtagxscale openocd chipcon avr pic adc nrf ccspi glitch smartcard ps2
definition file, such as msp430x1612.c or msp430x2618.c.
*/
definition file, such as msp430x1612.c or msp430x2618.c.
*/
+#ifndef __PLATFORM_H
+#define __PLATFORM_H
+
#endif
void msp430_init();
#endif
void msp430_init();
+void led_init(); //deprecated
void led_on();
void led_off();
void led_toggle();
void led_on();
void led_off();
void led_toggle();
//! Called by monitor() when the DCO is correct and communication established.
void msp430_init_dco_done();
//! Called by monitor() when the DCO is correct and communication established.
void msp430_init_dco_done();
void led_on()
{
PLEDOUT |= PLEDPIN;
void led_on()
{
PLEDOUT |= PLEDPIN;
void led_off()
{
PLEDOUT&=~PLEDPIN;
void led_off()
{
PLEDOUT&=~PLEDPIN;