summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/arduino-nano-168/Makefile.inc1
-rw-r--r--src/arch/arduino-nano/Makefile.inc1
-rw-r--r--src/arch/blinkenrocket/Makefile.inc1
-rw-r--r--src/arch/esp8266/Makefile.inc1
-rw-r--r--src/arch/msp430fr5969lp/Makefile.inc1
-rw-r--r--src/arch/posix/Makefile.inc5
6 files changed, 10 insertions, 0 deletions
diff --git a/src/arch/arduino-nano-168/Makefile.inc b/src/arch/arduino-nano-168/Makefile.inc
index d89bf6d..6ef50c6 100644
--- a/src/arch/arduino-nano-168/Makefile.inc
+++ b/src/arch/arduino-nano-168/Makefile.inc
@@ -102,5 +102,6 @@ arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
@echo "Timer Freq: ${timer_freq} Hz"
@echo "I2C Freq: ${i2c_freq} Hz"
+ @echo "Monitor: ${PORT} ${uart_baud}"
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/arduino-nano/Makefile.inc b/src/arch/arduino-nano/Makefile.inc
index 50109eb..b057680 100644
--- a/src/arch/arduino-nano/Makefile.inc
+++ b/src/arch/arduino-nano/Makefile.inc
@@ -102,5 +102,6 @@ arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
@echo "Timer Freq: ${timer_freq} Hz"
@echo "I2C Freq: ${i2c_freq} Hz"
+ @echo "Monitor: ${PORT} ${uart_baud}"
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/blinkenrocket/Makefile.inc b/src/arch/blinkenrocket/Makefile.inc
index 277ab33..b48b9ef 100644
--- a/src/arch/blinkenrocket/Makefile.inc
+++ b/src/arch/blinkenrocket/Makefile.inc
@@ -59,5 +59,6 @@ arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
@echo "Timer Freq: ${timer_freq} Hz"
@echo "I2C Freq: ${i2c_freq} Hz"
+ @echo "Monitor: ${PORT} 115200"
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/esp8266/Makefile.inc b/src/arch/esp8266/Makefile.inc
index 6c55060..f9b6d85 100644
--- a/src/arch/esp8266/Makefile.inc
+++ b/src/arch/esp8266/Makefile.inc
@@ -75,5 +75,6 @@ arch_help:
@echo " - none -"
arch_info:
+ @echo "Monitor: /dev/ttyUSB0 115200"
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/msp430fr5969lp/Makefile.inc b/src/arch/msp430fr5969lp/Makefile.inc
index 89956d6..ea84130 100644
--- a/src/arch/msp430fr5969lp/Makefile.inc
+++ b/src/arch/msp430fr5969lp/Makefile.inc
@@ -99,5 +99,6 @@ arch_info:
@echo "CPU Freq: ${cpu_freq} Hz"
@echo "Timer Freq: ${timer_freq} Hz -> $(shell src/arch/msp430fr5969lp/model.py f_timer "${cpu_freq}" "${timer_freq}")"
@echo "I2C Freq: ${i2c_freq} Hz"
+ @echo "Monitor: /dev/ttyACM1 115200"
.PHONY: arch_clean arch_help arch_info monitor program
diff --git a/src/arch/posix/Makefile.inc b/src/arch/posix/Makefile.inc
index 619b385..1300012 100644
--- a/src/arch/posix/Makefile.inc
+++ b/src/arch/posix/Makefile.inc
@@ -12,6 +12,10 @@ endif
CXX_TARGETS += src/arch/posix/arch.cc src/arch/posix/driver/gpio.cc
CXX_TARGETS += src/arch/posix/driver/stdout.cc src/arch/posix/driver/uptime.cc
+ifneq ($(findstring counter,${arch_drivers}), )
+ CXX_TARGETS += src/arch/posix/driver/counter.cc
+endif
+
OBJECTS = ${CXX_TARGETS:.cc=.o} ${C_TARGETS:.c=.o}
ifneq (${gpio_trace}, )
@@ -43,5 +47,6 @@ arch_help:
@echo " - none -"
arch_info:
+ @echo "Monitor: run build/system.elf"
.PHONY: arch_clean arch_help arch_info monitor program run