1. 02 May, 2014 1 commit
  2. 29 Apr, 2014 2 commits
    • Damien George's avatar
      stmhal: Oops, typo. · da9f2710
      Damien George authored
      da9f2710
    • Damien George's avatar
      stmhal: Add documentation in comments, and script to generate HTML. · 8d09640b
      Damien George authored
      Decided to write own script to pull documentation from comments in C code.
      Style for writing auto generated documentation is: start line with ///
      and then use standard markdown to write the comment.  Keywords
      recognised by the scraper begin with backslash.  See code for examples.
      
      Running: python gendoc.py modpyb.c accel.c adc.c dac.c extint.c i2c.c
      led.c pin.c rng.c servo.c spi.c uart.c usrsw.c, will generate a HTML
      structure in gendoc-out/.
      
      gendoc.py is crude but functional.  Needed something quick, and this was
      it.
      8d09640b
  3. 26 Apr, 2014 2 commits
  4. 20 Apr, 2014 1 commit
  5. 19 Apr, 2014 2 commits
  6. 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
  7. 08 Apr, 2014 2 commits
  8. 05 Apr, 2014 1 commit
  9. 30 Mar, 2014 2 commits
    • Damien George's avatar
      Merge map.h into obj.h. · df6567e6
      Damien George authored
      Pretty much everyone needs to include map.h, since it's such an integral
      part of the Micro Python object implementation.  Thus, the definitions
      are now in obj.h instead.  map.h is removed.
      df6567e6
    • Damien George's avatar
      Rename rt_* to mp_*. · d17926db
      Damien George authored
      Mostly just a global search and replace.  Except rt_is_true which
      becomes mp_obj_is_true.
      
      Still would like to tidy up some of the names, but this will do for now.
      d17926db
  10. 29 Mar, 2014 1 commit
  11. 26 Mar, 2014 4 commits
  12. 24 Mar, 2014 1 commit
    • 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
  13. 15 Mar, 2014 1 commit
  14. 08 Mar, 2014 1 commit
  15. 27 Feb, 2014 1 commit
  16. 26 Feb, 2014 1 commit
  17. 23 Feb, 2014 1 commit
    • Dave Hylands's avatar
      Add EXTI support · ee31f71d
      Dave Hylands authored
      Revamp usrsw to use new exti code.
      Add user switch callback function.
      ee31f71d