diff options
author | Daniel Friesel <derf@finalrewind.org> | 2019-01-29 16:04:03 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2019-01-29 16:04:03 +0100 |
commit | edd64b6369f934b928c97763a875389df231fc5f (patch) | |
tree | f888c81e5a2adc190b3416d0a19597e539ad8f41 /Makefile | |
parent | b92d32fd2622cb575e8d80e06447a30a4c8da4bb (diff) |
add help for common flags
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 16 |
1 files changed, 14 insertions, 2 deletions
@@ -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/^/ /' |