diff --git a/Makefile b/Makefile index 20f878fa..c4e161b0 100644 --- a/Makefile +++ b/Makefile @@ -124,5 +124,7 @@ genlinktests.clean: printf " TEST FAIL : $*\n"; \ fi; +list-targets: + @echo $(TARGETS) -.PHONY: build lib $(LIB_DIRS) doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean +.PHONY: build lib $(LIB_DIRS) doc clean generatedheaders cleanheaders stylecheck genlinktests genlinktests.clean list-targets diff --git a/README.md b/README.md index cbb5c9c3..8d86e7c0 100644 --- a/README.md +++ b/README.md @@ -103,6 +103,14 @@ For a more verbose build you can use $ make V=1 +You can reduce the build time by specifying a particular MCU series + + $ make TARGETS='stm32/f1 stm32/f4' + +Supported targets can be listed using: + + $ make list-targets + Fine-tuning the build ---------------------