From edd64b6369f934b928c97763a875389df231fc5f Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Tue, 29 Jan 2019 16:04:03 +0100 Subject: add help for common flags --- Makefile | 16 ++++++++++++++-- 1 file 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/^/ /' -- cgit v1.2.3