- 03 May, 2014 18 commits
-
-
Damien George authored
Blanket wide to all .c and .h files. Some files originating from ST are difficult to deal with (license wise) so it was left out of those. Also merged modpyb.h, modos.h, modstm.h and modtime.h in stmhal/.
-
Damien George authored
-
Craig Barnes authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Andrew Scheller authored
-
Damien George authored
-
Andrew Scheller authored
-
Damien George authored
Since firmware lives in a build directory which already specifies the board name, no real reason to also have the firmware have the board name.
-
Damien George authored
BUILD is build-$(BOARD) by default.
-
Andrew Scheller authored
-
Damien George authored
This renames MICROPY_HW_HAS_WLAN to MICROPY_HW_ENABLE_CC3K (since it's a driver, not a board feature) and wraps all CC3000 code in this #if. It's disabled for all boards.
-
Damien George authored
-
Damien George authored
A negative ms/us is now treated as a delay of 0 ms/us. This patch also improves the calibration of udelay.
-
Damien George authored
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
-
Damien George authored
-
Damien George authored
-
- 02 May, 2014 5 commits
-
-
Craig Barnes authored
-
Dave Hylands authored
This also adds a bunch of slashes separating pin that have multiple functions.
-
Damien George authored
-
Paul Sokolovsky authored
-
Damien George authored
-
- 01 May, 2014 2 commits
-
-
Dave Hylands authored
-
Andrew Scheller authored
Which allows you to run "make -C stmhal flashboard" from the top-level directory. Also ties in nicely with my configurable BUILD directory from #506
-
- 30 Apr, 2014 3 commits
-
-
Damien George authored
This documentation is now available at micropython.org/doc/
-
Damien George authored
It's not enabled by default because it doesn't fully work. It can connect to an AP, get an IP address and do a host-lookup, but not yet do send or recv on a socket.
-
Damien George authored
Also give proper error message when trying to construct a non-existent LED. Addresses issue #530.
-
- 29 Apr, 2014 2 commits
-
-
Damien George authored
-
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.
-
- 26 Apr, 2014 2 commits
-
-
Damien George authored
-
Damien George authored
-
- 21 Apr, 2014 8 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Instead of pyb.switch() as a function, it's more consistent (with respect to all the other modules and peripherals) to have pyb.Switch() create a switch object. This then generalises to having multiple switches. Call the object to get its state. Use sw.callback to set the callback function for when the switch is pressed.
-
Damien George authored
It should be a noun, since it supports getting and setting depending on the number of arguments given.
-
Damien George authored
-