diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-03-15 12:54:48 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-03-15 12:54:48 +0000 |
| commit | 8b96af69077d2c9b4e523e78497e639fde1efc68 (patch) | |
| tree | 42cc0edc2f17f5385e8872c3ae8f0cc1c99c1493 /stmhal/main.c | |
| parent | 07174c6fca67147c120b1a102b7cc40ad3ce4d69 (diff) | |
stmhal: Get RTC working.
Diffstat (limited to 'stmhal/main.c')
| -rw-r--r-- | stmhal/main.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/stmhal/main.c b/stmhal/main.c index fc5689c4a..8f9a9af1d 100644 --- a/stmhal/main.c +++ b/stmhal/main.c @@ -3,19 +3,6 @@ #include <stm32f4xx_hal.h> #include <stm32f4xx_hal_gpio.h> -#if 0 -#include <stm32f4xx.h> -#include <stm32f4xx_rcc.h> -#include <stm32f4xx_syscfg.h> -#include <stm32f4xx_gpio.h> -#include <stm32f4xx_exti.h> -#include <stm32f4xx_tim.h> -#include <stm32f4xx_pwr.h> -#include <stm32f4xx_rtc.h> -#include <stm32f4xx_usart.h> -#include <stm32f4xx_rng.h> -#include <usbd_storage_msd.h> -#endif #include "std.h" #include "misc.h" @@ -41,6 +28,7 @@ #include "exti.h" #include "usrsw.h" #include "usb.h" +#include "rtc.h" #if 0 #include "ff.h" #include "lexerfatfs.h" @@ -51,7 +39,6 @@ #include "accel.h" #include "timer.h" #include "pybwlan.h" -#include "rtc.h" #include "file.h" #include "pin.h" #endif @@ -254,11 +241,9 @@ int main(void) { // turn on LED to indicate bootup led_state(PYB_LED_GREEN, 1); -#if 0 #if MICROPY_HW_ENABLE_RTC rtc_init(); #endif -#endif #if 0 // more sub-system init |
