aboutsummaryrefslogtreecommitdiff
path: root/wirish/stm32f2
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2012-06-02 21:02:34 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2012-06-02 21:04:13 -0400
commit6c52b7e870ddb4308341cacf8c1cd60d47fa123a (patch)
tree79c3a4ec21ed55d352ef2d7730182c1821e3b437 /wirish/stm32f2
parent49794bbbee1c3b321f6017a6e9d4cc59774d4ebd (diff)
Bring timer initialization back to init().
Turns out the F1 code was pretty portable after all, so take it from the F1 boards_setup.cpp and stick it back into boards.cpp. The only change needed was to add a call to the newly-minted timer_has_cc_channel() (and this is necessary on F103 XL-density, anyway). Also assert LeafLabs copyright in boards.cpp. We really need to do this throughout the library; it's basically been rewritten since Perry. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'wirish/stm32f2')
-rw-r--r--wirish/stm32f2/boards_setup.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/wirish/stm32f2/boards_setup.cpp b/wirish/stm32f2/boards_setup.cpp
index e1bf1fd..9832bb7 100644
--- a/wirish/stm32f2/boards_setup.cpp
+++ b/wirish/stm32f2/boards_setup.cpp
@@ -81,12 +81,8 @@ namespace wirish {
gpio_init_all();
}
- void board_setup_timers(void) {
- // TODO
- }
-
void board_setup_usb(void) {
- // TODO
+ // Nothing to do.
}
}