1. 29 Jul, 2015 2 commits
  2. 18 Apr, 2015 1 commit
  3. 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
  4. 25 Sep, 2014 1 commit
  5. 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
  6. 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
  7. 15 Mar, 2014 1 commit
  8. 14 Mar, 2014 1 commit
  9. 13 Mar, 2014 2 commits
  10. 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