aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-09-13 01:23:36 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-09-13 01:24:37 -0400
commit4ae5f1d1818b6c00d49c00393b4b4339b3c72c48 (patch)
treec1a17aacf8e2a19614a7d50c6dfb07c47badf319
parentcfede8b93422fa48f6240d53380934b4cbcc3d63 (diff)
downloadlibrambutan-4ae5f1d1818b6c00d49c00393b4b4339b3c72c48.tar.gz
librambutan-4ae5f1d1818b6c00d49c00393b4b4339b3c72c48.zip
Makefile: Improve help
-rw-r--r--Makefile22
1 files changed, 13 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index 8723273..25337e9 100644
--- a/Makefile
+++ b/Makefile
@@ -140,20 +140,24 @@ help:
@echo " libmaple Makefile help"
@echo " ----------------------"
@echo " "
- @echo " Be sure to set BOARD if not compiling for Maple (e.g."
- @echo " use BOARD=maple_mini for mini, etc.)"
+ @echo " Programming targets:"
+ @echo " sketch: Compile for BOARD to MEMORY_TARGET (default)."
+ @echo " install: Compile and upload code over USB, using Maple bootloader"
+ @echo " "
+ @echo " You *must* set BOARD if not compiling for Maple (e.g."
+ @echo " use BOARD=maple_mini for mini, etc.), and MEMORY_TARGET"
+ @echo " if not compiling to Flash."
+ @echo " "
+ @echo " Valid BOARDs:"
+ @echo " maple, maple_mini, maple_RET6, maple_native"
@echo " "
- @echo " Compile targets (default MEMORY_TARGET=flash):"
+ @echo " Valid MEMORY_TARGETs (default=flash):"
@echo " ram: Compile sketch code to ram"
@echo " flash: Compile sketch code to flash"
- @echo " jtag: Compile sketch code to jtag"
- @echo " sketch: Compile sketch code to target MEMORY_TARGET"
- @echo " "
- @echo " Programming targets:"
- @echo " install: Upload code to target"
+ @echo " jtag: Compile sketch code for jtag; overwrites bootloader"
@echo " "
@echo " Other targets:"
- @echo " debug: Start an openocd gdb server, port 3333"
+ @echo " debug: Start OpenOCD gdb server on port 3333, telnet on port 4444"
@echo " clean: Remove all build and object files"
@echo " help: Show this message"
@echo " doxygen: Build Doxygen HTML and XML documentation"