13 Commits (be4e5b1f872c29b5a3a64397e5ec50d2b0880382)

Author SHA1 Message Date
Damien George c2886868b9 stm32/rtc: Check RTCEN=1 when testing if RTC is already running on boot. 6 years ago
Damien George 9dfbb6cc16 stm32/rtc: Get rtc.wakeup working on F0 MCUs. 6 years ago
Damien George e1ae9939ac stm32: Support compiling with object representation D. 6 years ago
Damien George ea7e747979 stm32: Add support for STM32F0 MCUs. 7 years ago
Damien George 6c955932f3 stm32/rtc: Don't try to set SubSeconds value on RTC. 7 years ago
Damien George a03e6c1e05 stm32/irq: Define IRQ priorities directly as encoded hardware values. 7 years ago
Damien George e37b8ba5a5 stm32: Use STM32xx macros instead of MCU_SERIES_xx to select MCU type. 7 years ago
iabdalkader 711f817c2a stm32/rtc: Add RTC support for H7 MCUs. 7 years ago
Damien George 3eb0694b97 stm32: Update HAL macro and constant names to use newer versions. 7 years ago
Damien George 12464f1bd2 stm32/rtc: Add compile-time option to set RTC source as LSE bypass. 7 years ago
Damien George 011d1555cb stm32/rtc: Fix RTC init to use LSI if LSI is already selected on boot. 7 years ago
Damien George 5a62f0faa6 stm32/rtc: Fix rtc_info flags when LSE fails and falls back to LSI. 7 years ago
Damien George 01dd7804b8 ports: Make new ports/ sub-directory and move all ports there. 7 years ago
Damien George 71c9cfb028 all: Convert remaining "mp_uint_t n_args" to "size_t n_args". 7 years ago
Javier Candeira 35a1fea90b all: Raise exceptions via mp_raise_XXX 7 years ago
Alexander Steffen 55f33240f3 all: Use the name MicroPython consistently in comments 7 years ago
Damien George 80b31dc097 stmhal: Clean up some header includes. 7 years ago
Damien George 0986675451 stmhal: Convert all module and method tables to use MP_ROM macros. 8 years ago
Paul Sokolovsky eac22e29a5 all: Consistently update signatures of .make_new and .call methods. 8 years ago
Tobias Badertscher 432465b167 stmhal: L4: Modify rtc.c to support L4 MCU. 9 years ago
Damien George 5b3f0b7f39 py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. 9 years ago
Damien George f7697ff393 stmhal: Add rtc.init() method to force RTC to re-initialise. 9 years ago
T S 86aa16bea6 stmhal: Implement delayed RTC initialization with LSI fallback. 9 years ago
Dave Hylands 57e00ef262 stmhal: Fix RTC code to work on the F7 9 years ago
T S 8f7ff854b0 stmhal/rtc: LSx oscillator is only initialized upon initial power up. 9 years ago
Dave Curtis 32b3549cce stmhal: Add symbolic #defines for interrupt levels in irq.h. 9 years ago
Dave Hylands 165734522e stmhal: f7: Fix recent RTC change to build on F7. 9 years ago
Peter Hinch 3819634469 stmhal: Make RTC init skip startup if LTE is already enabled and ready. 9 years ago
Damien George 60401d461a stmhal/rtc: Fix indentation to use spaces rather than tabs. 9 years ago
Peter Hinch b106532b32 stmhal/rtc: Init uses YMD rather than backup register to detect powerup. 9 years ago
Damien George 2a8d7ee0f8 stmhal: Fix RTC.wakeup so it correctly calculates WUT for large periods. 9 years ago
Damien George fa391eed9d stmhal: In RTC.wakeup, fix setting of wucksel to get correct period. 9 years ago
Dave Hylands ea8bf81058 stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. 9 years ago
blmorris 5df81de7af sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. 10 years ago
Damien George 49fe6dc89a stmhal: Add config option to use LSE/LSI for RTC. 10 years ago
Damien George dac79324b5 stmhal: Add rtc.wakeup method, to set wakeup timer. 10 years ago
Damien George 2cf6dfa280 stmhal: Prefix includes with py/; remove need for -I../py. 10 years ago
Damien George 57c70d6073 stmhal: Move RTC HAL init functions to rtc.c, where they belong. 10 years ago
Damien George ecc88e949c Change some parts of the core API to use mp_uint_t instead of uint/int. 10 years ago
Damien George 40f3c02682 Rename machine_(u)int_t to mp_(u)int_t. 11 years ago
Paul Sokolovsky 8139494e54 stmhal: Include mpconfig.h before all other includes. 11 years ago
Damien George 04b7cc4df0 stmhal: Fix setting of RTC: was BCD now BIN encoded. 11 years ago
Damien George 04b9147e15 Add license header to (almost) all files. 11 years ago
Andrew Scheller 86a9a88632 Fix incorrect fix ;) 11 years ago
Andrew Scheller e9ff5570c3 Updated doc fix 11 years ago
Andrew Scheller b569d690f5 RTC doc fix 11 years ago
Damien George ffaf8be1c6 stmhal: Add example use to RTC doc; add rtc.c to gendoc.py. 11 years ago
Damien George 451f78d156 stmhal: Add documentation for RTC class. 11 years ago
Damien George 83407ad082 stmhal: Clean up rtc.c a bit. 11 years ago
Damien George d689430e79 stmhal: Add SPI class. 11 years ago