Skip to content
Snippets Groups Projects
Commit 771b62b0 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Add basic help output

parent d7ea6ad1
No related branches found
No related tags found
No related merge requests found
......@@ -33,4 +33,19 @@ include src/arch/${arch}/Makefile.inc
clean: arch_clean
rm -f build/system.elf
.PHONY: clean
help: arch_help
@echo
@echo "Global flags:"
@echo " timer_cycles timer_us timer_s"
@echo " loop"
@echo
@echo "${arch} drivers:"
@echo " $(shell ls src/arch/${arch}/driver | fgrep .c | cut -d . -f 1)"
@echo
@echo "Global drivers:"
@echo " $(shell ls src/driver | fgrep .c | cut -d . -f 1)"
@echo
@echo "Global architectures:"
@echo " $(shell ls src/arch)"
.PHONY: clean help
......@@ -39,4 +39,9 @@ arch_clean:
monitor:
screen ${PORT} 115200
.PHONY: arch_clean monitor program
arch_help:
@echo "arduino-nano specific flags:"
@echo " PORT = ${PORT}"
@echo " BAUD = ${BAUD} (only used for programming)"
.PHONY: arch_clean arch_help monitor program
......@@ -53,4 +53,8 @@ arch_clean:
monitor:
screen /dev/ttyUSB0 115200
.PHONY: arch_clean monitor program
arch_help:
@echo "esp8266 specific flags:"
@echo " - none -"
.PHONY: arch_clean arch_help monitor program
......@@ -42,4 +42,8 @@ arch_clean:
monitor:
screen /dev/ttyACM1 115200
.PHONY: arch_clean monitor program
arch_help:
@echo "msp430fR5969lp specific flags:"
@echo " - none -"
.PHONY: arch_clean arch_help monitor program
......@@ -26,4 +26,8 @@ program: run
arch_clean:
rm -f ${OBJECTS}
.PHONY: arch_clean monitor program run
arch_help:
@echo "posix specific flags:"
@echo " - none -"
.PHONY: arch_clean arch_help monitor program run
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment