summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-01-29 16:04:03 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-01-29 16:04:03 +0100
commitedd64b6369f934b928c97763a875389df231fc5f (patch)
treef888c81e5a2adc190b3416d0a19597e539ad8f41 /Makefile
parentb92d32fd2622cb575e8d80e06447a30a4c8da4bb (diff)
add help for common flags
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile16
1 files changed, 14 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5a7e216..201820c 100644
--- a/Makefile
+++ b/Makefile
@@ -152,8 +152,20 @@ clean: arch_clean
help: arch_help
@echo
@echo "common flags:"
- @echo " timer_cycles timer_us timer_s"
- @echo " loop"
+ @echo " timer_cycles timer_us timer_s -- enable specific timers. May be mutually exclusive"
+ @echo " loop -- enable loop() function"
+ @echo " i2c_freq -- I2C Frequency in Hz"
+ @echo " timer_freq -- Timer frequency in Hz"
+ @echo " softi2c_pullup -- When using softi2c driver: configure SDA/SCL pull-ups"
+ @echo " internal: Use internal pull-ups. Pull-ups are disabled when transmitting a LOW signal"
+ @echo " external: Use external pull-ups connected to two separate CPU pins. Pull-Ups are disabled when transmitting a LOW signal"
+ @echo " gpio: Use external pull-ups connected to two separate CPU pins. Pull-Ups are always enabled"
+ @echo " softi2c_timer -- Use hardware timer instead of busy waiting for I2C timing"
+ @echo " i2c_pullup -- When using arch i2c driver: configure SDA/SCL pull-ups"
+ @echo " gpio: Use external pull-ups connected to two separate CPU pins. Pull-Ups are always enabled"
+ @echo " kout_nop -- Do not write output to stdout / serial console"
+ @echo " ostream -- include C++ ostream standard library"
+ @echo " trace_malloc -- trace mpmalloc/mpcalloc/mprealloc calls on stdout"
@echo
@echo "${arch} drivers:"
@ls -1 src/arch/${arch}/driver | fgrep .c | cut -d . -f 1 | sed 's/^/ /'