Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | stmhal: L4: Modify rtc.c to support L4 MCU. | Tobias Badertscher | 2016-04-17 |
| | |||
* | py: Change first arg of type.make_new from mp_obj_t to mp_obj_type_t*. | Damien George | 2016-01-11 |
| | | | | | | | | The first argument to the type.make_new method is naturally a uPy type, and all uses of this argument cast it directly to a pointer to a type structure. So it makes sense to just have it a pointer to a type from the very beginning (and a const pointer at that). This patch makes such a change, and removes all unnecessary casting to/from mp_obj_t. | ||
* | stmhal: Add rtc.init() method to force RTC to re-initialise. | Damien George | 2015-12-04 |
| | |||
* | stmhal: Implement delayed RTC initialization with LSI fallback. | T S | 2015-11-23 |
| | | | | | | | | | | | | | | | | | If RTC is already running at boot then it's left alone. Otherwise, RTC is started at boot but startup function returns straight away. RTC startup is then finished the first time it is used. Fallback to LSI if LSE fails to start in a certain time. Also included: MICROPY_HW_CLK_LAST_FREQ hold pyb.freq() parameters in RTC backup reg MICROPY_HW_RTC_USE_US option to present datetime sub-seconds in microseconds MICROPY_HW_RTC_USE_CALOUT option to enable RTC calibration output CLK_LAST_FREQ and RTC_USE_CALOUT are enabled for PYBv1.0. | ||
* | stmhal: Fix RTC code to work on the F7 | Dave Hylands | 2015-11-07 |
| | |||
* | stmhal/rtc: LSx oscillator is only initialized upon initial power up. | T S | 2015-11-06 |
| | | | | | | | Initial power up also includes VBAT. If LSE is configured but fails to start, LSI is used until next full power cycle. Also handles STM32F7xx variant. | ||
* | stmhal: Add symbolic #defines for interrupt levels in irq.h. | Dave Curtis | 2015-11-01 |
| | |||
* | stmhal: f7: Fix recent RTC change to build on F7. | Dave Hylands | 2015-10-30 |
| | |||
* | stmhal: Make RTC init skip startup if LTE is already enabled and ready. | Peter Hinch | 2015-10-30 |
| | | | | | | | This prevents the loss of RTC time when exiting from standby mode, since the RTC is paused while it is being re-inited and this loses about 120ms. Thanks to @chuckbook for the patch. | ||
* | stmhal/rtc: Fix indentation to use spaces rather than tabs. | Damien George | 2015-10-20 |
| | |||
* | stmhal/rtc: Init uses YMD rather than backup register to detect powerup. | Peter Hinch | 2015-10-20 |
| | |||
* | stmhal: Fix RTC.wakeup so it correctly calculates WUT for large periods. | Damien George | 2015-10-08 |
| | | | | Thanks to Peter Hinch. Addresses issue #1488. | ||
* | stmhal: In RTC.wakeup, fix setting of wucksel to get correct period. | Damien George | 2015-10-06 |
| | | | | Thanks to Peter Hinch. See issue #1490. | ||
* | stmhal: Replace #include "stm32f4xx_hal.h" with #include STM32_HAL_H. | Dave Hylands | 2015-07-30 |
| | |||
* | sthmal/rtc.c: Add calibration() method to get/set RTC fine-tuning value. | blmorris | 2015-05-11 |
| | |||
* | stmhal: Add config option to use LSE/LSI for RTC. | Damien George | 2015-03-16 |
| | | | | | Most boards (except the pyboard) don't have a 32kHz crystal so they should use the LSI for the RTC. | ||
* | stmhal: Add rtc.wakeup method, to set wakeup timer. | Damien George | 2015-03-15 |
| | | | | | | This allows to wake from low-power modes at a regular interval. This method is preliminary, pending testing and API overhaul. | ||
* | stmhal: Prefix includes with py/; remove need for -I../py. | Damien George | 2015-01-01 |
| | |||
* | stmhal: Move RTC HAL init functions to rtc.c, where they belong. | Damien George | 2014-12-02 |
| | | | | So can remove unnecessary stm32f4xx_hal_msp.c file. | ||
* | Change some parts of the core API to use mp_uint_t instead of uint/int. | Damien George | 2014-08-30 |
| | | | | Addressing issue #50, still some way to go yet. | ||
* | Rename machine_(u)int_t to mp_(u)int_t. | Damien George | 2014-07-03 |
| | | | | See discussion in issue #50. | ||
* | stmhal: Include mpconfig.h before all other includes. | Paul Sokolovsky | 2014-06-28 |
| | | | | | | It defines types used by all other headers. Fixes #691. | ||
* | stmhal: Fix setting of RTC: was BCD now BIN encoded. | Damien George | 2014-05-10 |
| | | | | Addresses issue #592. | ||
* | Add license header to (almost) all files. | Damien George | 2014-05-03 |
| | | | | | | | Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/. | ||
* | Fix incorrect fix ;) | Andrew Scheller | 2014-05-03 |
| | |||
* | Updated doc fix | Andrew Scheller | 2014-05-03 |
| | |||
* | RTC doc fix | Andrew Scheller | 2014-05-03 |
| | |||
* | stmhal: Add example use to RTC doc; add rtc.c to gendoc.py. | Damien George | 2014-05-03 |
| | |||
* | stmhal: Add documentation for RTC class. | Damien George | 2014-05-03 |
| | |||
* | stmhal: Clean up rtc.c a bit. | Damien George | 2014-04-21 |
| | |||
* | stmhal: Add SPI class. | Damien George | 2014-04-20 |
| | | | | Also some updates to compile with latest changes to core py. | ||
* | stmhal: Improve RTC class; make fatfs use RTC for time stamping files. | Damien George | 2014-04-19 |
| | |||
* | stmhal: Get RTC working. | Damien George | 2014-03-15 |