1. 25 Sep, 2014 1 commit
  2. 11 Sep, 2014 1 commit
  3. 26 Aug, 2014 3 commits
  4. 24 Aug, 2014 1 commit
  5. 10 Aug, 2014 2 commits
  6. 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
  7. 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
  8. 02 Aug, 2014 1 commit
  9. 22 Jul, 2014 1 commit
  10. 15 Jul, 2014 1 commit
  11. 28 Jun, 2014 1 commit
  12. 26 Jun, 2014 1 commit
  13. 19 Jun, 2014 1 commit
  14. 03 Jun, 2014 1 commit
  15. 02 Jun, 2014 1 commit
  16. 31 May, 2014 1 commit
  17. 03 May, 2014 1 commit
  18. 02 May, 2014 2 commits
  19. 30 Apr, 2014 1 commit
  20. 20 Apr, 2014 2 commits
  21. 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
  22. 08 Apr, 2014 1 commit
  23. 30 Mar, 2014 1 commit
  24. 24 Mar, 2014 2 commits
    • Dave Hylands's avatar
      stmhal - fixed up adc stuff · 1403298a
      Dave Hylands authored
      Added support for the ADC channels and mappings to make_pins.py
      
      I'm not sure if the hal properly deals with the channel 16/18 differences
      between the 40x and 42x. It seems to deal with it partially. This particular
      aspect will need testing on a 42x or 43x.
      1403298a
    • Damien George's avatar
      stmhal: Add DAC driver. · b13492f8
      Damien George authored
      b13492f8
  25. 23 Mar, 2014 1 commit
  26. 22 Mar, 2014 1 commit
  27. 15 Mar, 2014 1 commit
  28. 14 Mar, 2014 2 commits
  29. 13 Mar, 2014 1 commit
  30. 12 Mar, 2014 2 commits