summaryrefslogtreecommitdiff
path: root/src/arch/stm32f746zg-nucleo/Makefile.inc
diff options
context:
space:
mode:
authorBirte Kristina Friesel <birte.friesel@uos.de>2024-02-15 16:59:42 +0100
committerBirte Kristina Friesel <birte.friesel@uos.de>2024-02-15 16:59:57 +0100
commit4bbe59b24be734e42de76ea59d2e7d68a6c92c94 (patch)
tree7d684d5e39dcaae537ce3dd644cb124a9c439003 /src/arch/stm32f746zg-nucleo/Makefile.inc
parent6b3bfe26de0eace8a39eb7f9fd71c7e40f6ace72 (diff)
stm32f7: Working counter
Diffstat (limited to 'src/arch/stm32f746zg-nucleo/Makefile.inc')
-rw-r--r--src/arch/stm32f746zg-nucleo/Makefile.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/stm32f746zg-nucleo/Makefile.inc b/src/arch/stm32f746zg-nucleo/Makefile.inc
index 17c7e65..fada19d 100644
--- a/src/arch/stm32f746zg-nucleo/Makefile.inc
+++ b/src/arch/stm32f746zg-nucleo/Makefile.inc
@@ -7,6 +7,7 @@
SERIAL_PORT ?= ttyACM0
cpu_freq ?= 216000000
+counter_freq ?= 108000000
INCLUDES += -Iext/libopencm3/include
@@ -114,7 +115,7 @@ arch_clean:
${QUIET}rm -f ${OBJECTS}
cat:
- ${QUIET}script/cat.py /dev/${SERIAL_PORT} 115200 ${cpu_freq} 65536
+ ${QUIET}script/cat.py /dev/${SERIAL_PORT} 115200 ${counter_freq} 4294967296
monitor:
${QUIET}screen /dev/${SERIAL_PORT} 115200
@@ -126,9 +127,8 @@ arch_help:
arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
- @echo "Timer Freq: ${timer_freq} Hz -> $(shell src/arch/stm32f746zg-nucleo/model.py f_timer "${cpu_freq}" "${timer_freq}")"
- @echo "I2C Freq: ${i2c_freq} Hz"
- @echo "Counter Overflow: 4294967296/255"
+ @echo "Count Freq: ${counter_freq} Hz"
+ @echo "Counter Overflow: 4294967296/4294967295"
@echo "Monitor: /dev/${SERIAL_PORT} 115200"
attributes: build/system.elf