summaryrefslogtreecommitdiff
path: root/src/arch/msp430fr5994lp
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-29 15:50:09 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-29 15:50:09 +0100
commitb92d32fd2622cb575e8d80e06447a30a4c8da4bb (patch)
tree67d60d872feb505a3bd671f8810469dcc4e33b1c /src/arch/msp430fr5994lp
parent05c4a7af8fadf4be8bdb794fc0335e113c134d14 (diff)
update architecture-specific help
Diffstat (limited to 'src/arch/msp430fr5994lp')
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index 2dd0ff4..6dcddf1 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -5,6 +5,8 @@ MCU = msp430fr5994
cpu_freq ?= 16000000
+MSP430_FLASHER_DIR ?= /home/derf/var/projects/msp430/MSP430Flasher_1.3.15
+
INCLUDES += -I/opt/msp430/ti/msp430-gcc-full-linux-5.0.0.36/include
COMMON_FLAGS += -mcpu=${CPU} -mmcu=${MCU} -DMULTIPASS_ARCH_msp430fr5994lp
COMMON_FLAGS += -DMULTIPASS_ARCH_HAS_I2C
@@ -87,8 +89,8 @@ build/system.hex: build/system.elf
${QUIET}${OBJCOPY} -O ihex ${@:.hex=.elf} $@
program: build/system.hex
- ${QUIET}LD_LIBRARY_PATH=/home/derf/var/projects/msp430/MSP430Flasher_1.3.15 \
- /home/derf/var/projects/msp430/MSP430Flasher_1.3.15/MSP430Flasher \
+ ${QUIET}LD_LIBRARY_PATH=${MSP430_FLASHER_DIR} \
+ ${MSP430_FLASHER_DIR}/MSP430Flasher \
-w build/system.hex -v -g -z '[VCC]'
arch_clean:
@@ -99,8 +101,10 @@ monitor:
${QUIET}screen /dev/ttyACM1 115200
arch_help:
- @echo "msp430fR5994lp specific flags:"
- @echo " - none -"
+ @echo "msp430fr5994lp specific flags:"
+ @echo " cpu_freq = 16000000 (desired CPU frequency in Hz, not all values are supported)"
+ @echo " MSP430_FLASHER_DIR = /home/derf/var/projects/msp430/MSP430Flasher_1.3.15"
+ @echo " (required for flashing, must contain libmsp430.so and MSP430Flasher)"
arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"