1. 06 Feb, 2017 1 commit
    • Damien George's avatar
      stmhal: Add pyb.fault_debug() function, to control hard-fault behaviour. · 27c149ef
      Damien George authored
      This new function controls what happens on a hard-fault:
      - debugging disabled: board will do a reset
      - debugging enabled: board will print registers and stack and flash LEDs
      The default is disabled, ie to do a reset.  This is different to previous
      behaviour which flashed the LEDs and waited indefinitely.
  2. 09 Dec, 2015 1 commit
    • neilh10's avatar
      stmhal: Enable two USB phys to be supported together. · 1be0fde4
      neilh10 authored
      This is refactoring to enable support for the two USB PHYs available on
      some STM32F4 processors to be used at the same time. The F405/7 & F429
      have two USB PHYs, others such as the F411 only have one PHY.
      This has been tested separately on a pyb10 (USB_FS PHY) and F429DISC
      (USB_HS PHY) to be able to invoke a REPL/USB.  I have modified a PYBV10
      to support two PHYs.
      The long term objective is to support a 2nd USB PHY to be brought up as a
      USB HOST, and possibly a single USB PHY to be OTG.
  3. 26 Nov, 2015 1 commit
  4. 25 Nov, 2015 1 commit
  5. 29 Jul, 2015 1 commit
  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/.
  7. 14 Mar, 2014 1 commit
  8. 12 Mar, 2014 2 commits