From 4ae5f1d1818b6c00d49c00393b4b4339b3c72c48 Mon Sep 17 00:00:00 2001 From: Marti Bolivar Date: Tue, 13 Sep 2011 01:23:36 -0400 Subject: Makefile: Improve help --- Makefile | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) (limited to 'Makefile') 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" -- cgit v1.2.3