1. 18 Apr, 2015 1 commit
  2. 22 Mar, 2015 1 commit
  3. 16 Mar, 2015 1 commit
  4. 21 Jan, 2015 1 commit
  5. 12 Jan, 2015 1 commit
  6. 07 Jan, 2015 1 commit
  7. 01 Jan, 2015 1 commit
  8. 25 Nov, 2014 1 commit
  9. 23 Oct, 2014 1 commit
  10. 22 Oct, 2014 2 commits
  11. 05 Oct, 2014 1 commit
  12. 25 Sep, 2014 1 commit
  13. 11 Sep, 2014 1 commit
  14. 26 Aug, 2014 3 commits
  15. 24 Aug, 2014 1 commit
  16. 10 Aug, 2014 2 commits
  17. 08 Aug, 2014 2 commits
    • Damien George's avatar
      stmhal/teensy: Use _ instead of - in source file names. · 284efa89
      Damien George authored
      Trying to move towards consistency, let's use _ exclusively in names of
      source files (eg .c, .h, .csv).
      284efa89
    • Dave Hylands's avatar
      Add support for selecting pin alternate functions from python. · 6f418fc1
      Dave Hylands authored
      Converts generted pins to use qstrs instead of string pointers.
      
      This patch also adds the following functions:
      pyb.Pin.names()
      pyb.Pin.af_list()
      pyb.Pin.gpio()
      
      dir(pyb.Pin.board) and dir(pyb.Pin.cpu) also produce useful results.
      
      pyb.Pin now takes kw args.
      
      pyb.Pin.__str__ now prints more useful information about the pin
      configuration.
      
      I found the following functions in my boot.py to be useful:
      ```python
      def pins():
          for pin_name in dir(pyb.Pin.board):
              pin = pyb.Pin(pin_name)
              print('{:10s} {:s}'.format(pin_name, str(pin)))
      
      def af():
          for pin_name in dir(pyb.Pin.board):
              pin = pyb.Pin(pin_name)
              print('{:10s} {:s}'.format(pin_name, str(pin.af_list())))
      ```
      6f418fc1
  18. 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
  19. 02 Aug, 2014 1 commit
  20. 22 Jul, 2014 1 commit
  21. 15 Jul, 2014 1 commit
  22. 28 Jun, 2014 1 commit
  23. 26 Jun, 2014 1 commit
  24. 19 Jun, 2014 1 commit
  25. 03 Jun, 2014 1 commit
  26. 02 Jun, 2014 1 commit
  27. 31 May, 2014 1 commit
  28. 03 May, 2014 1 commit
  29. 02 May, 2014 2 commits
  30. 30 Apr, 2014 1 commit
  31. 20 Apr, 2014 2 commits
  32. 18 Apr, 2014 1 commit
    • Damien George's avatar
      stmhal: Big cleanup; merge gpio into Pin; make names consistent. · c66d86c5
      Damien George authored
      This is an attempt to clean up the Micro Python API on the pyboard.
      Gpio functionality is now in the Pin object, which seems more natural.
      Constants for MODE and PULL are now in pyb.Pin.  Names of some
      classes have been adjusted to conform to CamelCase.  Other
      miscellaneous changes and clean up here and there.
      c66d86c5
  33. 08 Apr, 2014 1 commit