stm32: Add support for STM32F0 MCUs.

This commit is contained in:
Damien George
2018-05-28 18:10:53 +10:00
parent 4a7d157a5b
commit ea7e747979
18 changed files with 478 additions and 48 deletions

View File

@@ -539,6 +539,10 @@ mp_obj_t pyb_rtc_datetime(size_t n_args, const mp_obj_t *args) {
}
MP_DEFINE_CONST_FUN_OBJ_VAR_BETWEEN(pyb_rtc_datetime_obj, 1, 2, pyb_rtc_datetime);
#if defined(STM32F0)
#define RTC_WKUP_IRQn RTC_IRQn
#endif
// wakeup(None)
// wakeup(ms, callback=None)
// wakeup(wucksel, wut, callback)