aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32/Makefile
diff options
context:
space:
mode:
authorUwe Hermann2011-02-09 02:22:20 +0100
committerUwe Hermann2011-02-09 02:48:51 +0100
commit62f3897a2e03a4b935b2ef4b1a694c8923d8e802 (patch)
treea6371ac1529249b687f238cf5487efe85d72297e /examples/stm32/Makefile
parent0a0ce22762136f0a65af13ea2e160913c6af8767 (diff)
Add some examples for the STM32-Discovery board.
This adds a directory of examples, tested on the STM32-Discovery, just modifications of: button, miniblink, fancyblink, usart, and rtc. Thanks Marko Kraljevic <krasnaya.zvezda@gmail.com> for the patch!
Diffstat (limited to 'examples/stm32/Makefile')
-rw-r--r--examples/stm32/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/examples/stm32/Makefile b/examples/stm32/Makefile
index da49aa8..6a218fc 100644
--- a/examples/stm32/Makefile
+++ b/examples/stm32/Makefile
@@ -24,7 +24,11 @@ Q := @
MAKEFLAGS += --no-print-directory
endif
-all: stm32-h103 stm32-h107 mb525 lisa-m obldc other
+all: stm32-discovery stm32-h103 stm32-h107 mb525 lisa-m obldc other
+
+stm32-discovery:
+ @printf " BUILD examples/stm32/stm32-discovery\n"
+ $(Q)$(MAKE) -C stm32-discovery
stm32-h103:
@printf " BUILD examples/stm32/stm32-h103\n"
@@ -51,6 +55,8 @@ obldc:
$(Q)$(MAKE) -C obldc
clean:
+ @printf " CLEAN examples/stm32/stm32-discovery\n"
+ $(Q)$(MAKE) -C stm32-discovery clean
@printf " CLEAN examples/stm32/stm32-h103\n"
$(Q)$(MAKE) -C stm32-h103 clean
@printf " CLEAN examples/stm32/stm32-h107\n"
@@ -64,5 +70,5 @@ clean:
@printf " CLEAN examples/stm32/obldc\n"
$(Q)$(MAKE) -C obldc clean
-.PHONY: stm32-h103 stm32-h107 mb525 lisa-m other obldc clean
+.PHONY: stm32-discovery stm32-h103 stm32-h107 mb525 lisa-m other obldc clean