diff options
author | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-02 21:02:34 -0400 |
---|---|---|
committer | Marti Bolivar <mbolivar@leaflabs.com> | 2012-06-02 21:04:13 -0400 |
commit | 1637300f8f751ccc17ff1a2f383c7fca902c0f8f (patch) | |
tree | 79c3a4ec21ed55d352ef2d7730182c1821e3b437 /wirish/stm32f2 | |
parent | daa792f486ea7ce848c37eee636c73824efec396 (diff) | |
download | librambutan-1637300f8f751ccc17ff1a2f383c7fca902c0f8f.tar.gz librambutan-1637300f8f751ccc17ff1a2f383c7fca902c0f8f.zip |
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.cpp | 6 |
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. } } |