1. 02 Apr, 2014 1 commit
  2. 30 Mar, 2014 2 commits
    • Damien George's avatar
      stmhal: Unify naming of HW config; make SD detect configurable. · 09d20778
      Damien George authored
      All board config macros now begin with MICROPY_HW_.
      
      Renamed PYBv10 to PYBV10, since macros should be all uppercase.
      
      Made SDCARD_DETECT configurable in mpconfigport.h, so that the SD
      detect pin can be easily configured.
      09d20778
    • Damien George's avatar
      stmhal: Implement selector for USB device mode; improve boot up. · 038df431
      Damien George authored
      Can now choose at boot up whether the USB device is CDC+MSC or CDC+HID.
      Choice is made by an option in boot.py, with default being CDC+MSC.
      HID+MSC is not currently supported, but should be easy to implement.
      
      Boot up now has ability to change the reset mode: hold down USR switch
      while booting and LEDs will count from 1 to 7 to indicate the boot mode.
      Release USR when correct mode is selected.  Current modes are 1 (normal
      boot), 2 (safe mode), 3 (reset FS mode).
      038df431
  3. 29 Mar, 2014 1 commit
  4. 25 Mar, 2014 2 commits
  5. 24 Mar, 2014 3 commits
  6. 22 Mar, 2014 6 commits
  7. 21 Mar, 2014 1 commit
  8. 20 Mar, 2014 1 commit
  9. 19 Mar, 2014 1 commit
  10. 17 Mar, 2014 3 commits
  11. 15 Mar, 2014 3 commits
  12. 14 Mar, 2014 1 commit
  13. 13 Mar, 2014 2 commits
  14. 12 Mar, 2014 2 commits
  15. 08 Mar, 2014 2 commits
  16. 26 Feb, 2014 1 commit
  17. 23 Feb, 2014 2 commits
  18. 22 Feb, 2014 1 commit
  19. 18 Feb, 2014 1 commit
    • Dave Hylands's avatar
      Add pin mapping code. · 51dabac0
      Dave Hylands authored
      This commit also introduces board directories and moves board
      specific config into the appropriate board directory.
      
      boards/stm32f4xx-af.csv was extracted from the STM32F4xx datasheet
      and hand-tweaked.
      
      make-pins.py takes boards/stm32f4xx-af.csv, boards/stm32f4xx-prefix.c,
      and boards/BOARD-NAME/pins.csv as input and generates the file
      build/pins_BOARD_NAME.c
      
      The generated pin file for PYBOARD4 looks like this:
      https://gist.github.com/dhylands/9063231
      
      The generated pins file includes all of the supported alternate
      functions, and includes upsupported alternate functions as comments.
      
      See the commnet block at the top of stm/pin_map.c for details on
      how to use the pin mapper.
      
      I also went ahead and modified stm/gpio.c to use the pin mapper.
      51dabac0
  20. 17 Feb, 2014 1 commit
  21. 16 Feb, 2014 3 commits