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!
This commit is contained in:
Uwe Hermann
2011-02-09 02:22:20 +01:00
parent 0a0ce22762
commit 62f3897a2e
22 changed files with 806 additions and 2 deletions

View File

@@ -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