diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-31 17:17:06 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-05-31 17:24:41 -0400 |
commit | 014f9a0545556f2e0d4fb3faba5607e59e1e97ad (patch) | |
tree | af63cbb2d5c744f107094dd98f3e07ad2c80ae5c /wirish/rules.mk | |
parent | 40c13f67e21215639b5de3bcf58955abb8f0c6ce (diff) | |
download | librambutan-014f9a0545556f2e0d4fb3faba5607e59e1e97ad.tar.gz librambutan-014f9a0545556f2e0d4fb3faba5607e59e1e97ad.zip |
examples/blinky.cpp works on F2.
Only OUTPUT mode is tested; any other modes might work, but no
guarantees.
Bring back:
- wirish/wirish_digital.cpp
- wirish/cxxabi-compat.cpp
- wirish/wirish_time.cpp
Add new:
- wirish/stm32f1/wirish_digital.cpp
- wirish/stm32f2/wirish_digital.cpp
Move pinMode() from wirish/wirish_digital.cpp into the file by the
same basename in wirish/stm32f1. This implementation is tied to
F1. Add an F2 implementation in wirish/stm32f2/wirish_digital.cpp.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/rules.mk')
-rw-r--r-- | wirish/rules.mk | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/wirish/rules.mk b/wirish/rules.mk index afd78e2..5e00a5f 100644 --- a/wirish/rules.mk +++ b/wirish/rules.mk @@ -21,6 +21,12 @@ CFLAGS_$(d) := $(LIBMAPLE_INCLUDES) $(WIRISH_INCLUDES) -I$(d) sSRCS_$(d) := start.S cSRCS_$(d) := start_c.c cppSRCS_$(d) := boards.cpp +cppSRCS_$(d) += cxxabi-compat.cpp +cppSRCS_$(d) += wirish_digital.cpp +cppSRCS_$(d) += wirish_time.cpp +cppSRCS_$(d) += $(MCU_SERIES)/boards_setup.cpp +cppSRCS_$(d) += $(MCU_SERIES)/wirish_digital.cpp +cppSRCS_$(d) += $(WIRISH_BOARD_PATH)/board.cpp # TODO: test these on F2 and put them back in: # cppSRCS_$(d) := wirish_math.cpp \ # Print.cpp \ @@ -28,16 +34,10 @@ cppSRCS_$(d) := boards.cpp # HardwareSPI.cpp \ # HardwareTimer.cpp \ # usb_serial.cpp \ -# cxxabi-compat.cpp \ # wirish_shift.cpp \ # wirish_analog.cpp \ -# wirish_time.cpp \ # pwm.cpp \ -# ext_interrupts.cpp \ -# wirish_digital.cpp -# TODO: Put this back in once we've got the necessary libmaple support back. -cppSRCS_$(d) += $(WIRISH_BOARD_PATH)/board.cpp -cppSRCS_$(d) += $(MCU_SERIES)/boards_setup.cpp +# ext_interrupts.cpp sFILES_$(d) := $(sSRCS_$(d):%=$(d)/%) cFILES_$(d) := $(cSRCS_$(d):%=$(d)/%) |