diff options
author | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-14 14:16:45 +0200 |
---|---|---|
committer | Daniel Friesel <daniel.friesel@uos.de> | 2021-04-14 14:16:45 +0200 |
commit | 055c0473f61ec61860f77e6420a0478ca43f4456 (patch) | |
tree | cd78cc2376a349887a6ec6622bebbe404fc743b7 | |
parent | 95b8c90f3e9b857877373376074728f041a6c8f2 (diff) |
msp430fr5994: fix uart output. wat.
-rw-r--r-- | src/arch/msp430fr5969lp/Makefile.inc | 5 | ||||
-rw-r--r-- | src/arch/msp430fr5994lp/Makefile.inc | 2 |
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 |