1. 03 Jul, 2017 1 commit
  2. 07 Dec, 2016 1 commit
  3. 05 May, 2016 1 commit
  4. 23 Nov, 2015 1 commit
    • T S's avatar
      stmhal: Implement delayed RTC initialization with LSI fallback. · 86aa16be
      T S authored
      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.
      86aa16be
  5. 15 Aug, 2015 1 commit
  6. 07 Aug, 2015 1 commit
  7. 02 Aug, 2015 1 commit
  8. 29 Jul, 2015 3 commits
  9. 18 Apr, 2015 1 commit
  10. 04 Oct, 2014 1 commit
    • Damien George's avatar
      stmhal: Allow pyb.freq() function to change SYSCLK frequency. · 24119176
      Damien George authored
      Eg pyb.freq(120000000) sets the CPU to 120MHz.  The frequency can be set
      at any point in the code, and can be changed as many times as you like.
      Note that any active timers will need to be reconfigured after a freq
      change.
      
      Valid range is 24MHz to 168MHz (but not all freqs are supported).  The
      code maintains a 48MHz clock for the USB at all times and it's possible
      to change the frequency at a USB REPL and keep the REPL alive (well,
      most of the time it stays, sometimes it resets the USB for some reason).
      Note that USB does not work with pyb.freq of 24MHz.
      24119176
  11. 25 Sep, 2014 1 commit
  12. 06 Aug, 2014 1 commit
    • Damien George's avatar
      stmhal: Update STM32Cube F4 HAL driver to V1.3.0. · 3ef91134
      Damien George authored
      This patch updates ST's HAL to the latest version, V1.3.0, dated 19 June
      2014.  Files were copied verbatim from the ST package.  Only change was
      to suppress compiler warning of unused variables in 4 places.
      
      A lot of the changes from ST are cosmetic: comments and white space.
      Some small code changes here and there, and addition of F411 header.
      
      Main code change is how SysTick interrupt is set: it now has a
      configuration variable to set the priority, so we no longer need to work
      around this (originall in system_stm32f4xx.c).
      3ef91134
  13. 03 May, 2014 1 commit
    • Damien George's avatar
      Add license header to (almost) all files. · 04b9147e
      Damien George authored
      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/.
      04b9147e
  14. 15 Mar, 2014 1 commit
  15. 14 Mar, 2014 1 commit
  16. 13 Mar, 2014 2 commits
  17. 12 Mar, 2014 1 commit
    • Dave Hylands's avatar
      Initial checkin with STM HAL · dd38d907
      Dave Hylands authored
      This compiles and links, but hasn't been tested on a board
      yet and even if it was run, it doesn't currently do anything.
      dd38d907