mirror of
https://github.com/micropython/micropython.git
synced 2026-01-05 19:50:30 +01:00
stm32: Add support for STM32F0 MCUs.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user