summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc5
-rw-r--r--src/arch/msp430fr5994lp/Makefile.inc2
2 files changed, 4 insertions, 3 deletions
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index d6f4d9f..db68492 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -11,6 +11,7 @@ DEBUG_PORT ?= ttyACM0
SERIAL_PORT ?= ttyACM1
cpu_freq ?= 8000000
+uart_freq ?= 115200
MSP430_FLASHER_DIR ?= /opt/msp430/MSP430Flasher_1.3.15
@@ -142,7 +143,7 @@ arch_clean:
${QUIET}rm -f ${OBJECTS} build/system.hex
monitor:
- ${QUIET}screen /dev/${SERIAL_PORT} 115200
+ ${QUIET}screen /dev/${SERIAL_PORT} ${uart_freq}
arch_help:
@echo "msp430fr5969lp specific flags:"
@@ -159,7 +160,7 @@ arch_info:
@echo "I2C Freq: ${i2c_freq} Hz"
@echo "Counter Overflow: 65536/255"
@echo "sleep_ms Overflow: 250 500"
- @echo "Monitor: /dev/${SERIAL_PORT} 115200"
+ @echo "Monitor: /dev/${SERIAL_PORT} ${uart_freq}"
attributes: build/system.elf
${QUIET}script/size.py ${SIZE} text,data data,bss
diff --git a/src/arch/msp430fr5994lp/Makefile.inc b/src/arch/msp430fr5994lp/Makefile.inc
index cffb395..170b9bc 100644
--- a/src/arch/msp430fr5994lp/Makefile.inc
+++ b/src/arch/msp430fr5994lp/Makefile.inc
@@ -9,9 +9,9 @@ MCU = msp430fr5994
DEBUG_PORT ?= ttyACM0
SERIAL_PORT ?= ttyACM1
-uart_freq ?= 115200
cpu_freq ?= 16000000
+uart_freq ?= 115200
MSP430_FLASHER_DIR ?= /opt/msp430/MSP430Flasher_1.3.15