1. 10 Mar, 2014 1 commit
  2. 09 Mar, 2014 1 commit
  3. 08 Mar, 2014 5 commits
  4. 01 Mar, 2014 1 commit
  5. 27 Feb, 2014 1 commit
  6. 26 Feb, 2014 4 commits
  7. 25 Feb, 2014 1 commit
  8. 24 Feb, 2014 1 commit
  9. 23 Feb, 2014 3 commits
  10. 22 Feb, 2014 2 commits
  11. 19 Feb, 2014 2 commits
  12. 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
  13. 17 Feb, 2014 4 commits
  14. 16 Feb, 2014 5 commits
  15. 15 Feb, 2014 2 commits
    • Damien George's avatar
      Implement proper exception type hierarchy. · c5966128
      Damien George authored
      Each built-in exception is now a type, with base type BaseException.
      C exceptions are created by passing a pointer to the exception type to
      make an instance of.  When raising an exception from the VM, an
      instance is created automatically if an exception type is raised (as
      opposed to an exception instance).
      
      Exception matching (RT_BINARY_OP_EXCEPTION_MATCH) is now proper.
      
      Handling of parse error changed to match new exceptions.
      
      mp_const_type renamed to mp_type_type for consistency.
      c5966128
    • Damien George's avatar
      Change mp_obj_type_t.name from const char * to qstr. · a71c83a1
      Damien George authored
      Ultimately all static strings should be qstr.  This entry in the type
      structure is only used for printing error messages (to tell the type of
      the bad argument), and printing objects that don't supply a .print method.
      a71c83a1
  16. 13 Feb, 2014 1 commit
  17. 12 Feb, 2014 2 commits
  18. 11 Feb, 2014 3 commits