aboutsummaryrefslogtreecommitdiff
path: root/stmhal
AgeCommit message (Collapse)Author
2014-05-11py: Rename MICROPY_SYS_EXIT to MICROPY_MOD_SYS_EXIT.Damien George
For consistency with MICROPY_MOD_SYS_STDFILES, etc.
2014-05-11stmhal: Enable frozenset. Takes 292 text bytes in ROM.Damien George
2014-05-11stmhal: Update CC3000 driver to newer version.Damien George
Still not working properly.
2014-05-10stmhal/cc3k: Remove spaces and tabs at end of lines.Damien George
2014-05-10tools: Move gendoc.py to tools, and make it a little more generic.Damien George
2014-05-10stmhal: Fix USB CDC not flushing packets when an exact multiple of 64.Damien George
Need to send a zero-sized packet after sending an exact multiple of 64 bytes (not just after sending 64 bytes exactly). Addresses issue #494, part 2.
2014-05-10stmhal: Improve handling of out-of-memory in REPL.Damien George
Addresses issue #558, but it's likely that other out-of-memory errors could crash the pyboard. Reason is that qstrs use m_new and can raise an exception within the parser.
2014-05-10modsys: Enable sys.exit() per port after all.Paul Sokolovsky
2014-05-10stmhal: Implement draft version of sys.exit().Paul Sokolovsky
2014-05-10stmhal: Fix setting of RTC: was BCD now BIN encoded.Damien George
Addresses issue #592.
2014-05-08Add gc.enable, gc.disable; remove pyb.gc.Damien George
2014-05-08stmhal: Add time.time() and time.localtime().Damien George
time.time: returns seconds since 1/1/2000, as an integer. time.localtime: Returns 8-tuple: (year, month, date, hour, minute, second, weekday, yearday).
2014-05-07Add input command for unixDave Hylands
2014-05-06py: Add keyword arg support to enumerate constructor.Damien George
Need to have a policy as to how far we go adding keyword support to built ins. It's nice to have, and gets better CPython compatibility, but hurts the micro nature of uPy. Addresses issue #577.
2014-05-06stmhal: pyb: Use gc() function as defined by standard module "gc".Paul Sokolovsky
TODO: Get rid of this compatibility define and rely on standard module.
2014-05-05Change references (in comments) of pyb.GPIO to be pyb.PinDave Hylands
The documentation at http://micropython.org/doc/module/pyb/ExtInt should also be updated.
2014-05-04stmhal: Document physical pins for SPI, I2C, UART busses.Damien George
2014-05-03Add license header to (almost) all files.Damien George
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/.
2014-05-03py, stream: Implement readlines for a stream.Damien George
2014-05-03Add device ID to deploy make target for stmhal.Craig Barnes
2014-05-03Don't print git hash as well as git tag in banner.Damien George
2014-05-03py: Print tag/version/git describe in uPy banner.Damien George
2014-05-03Merge pull request #555 from lurch/patch-1Damien George
RTC doc fix
2014-05-03stmhal: Enable cmath module.Damien George
2014-05-03Fix incorrect fix ;)Andrew Scheller
2014-05-03stmhal: Add .gitignore to ignore the new build dir names.Damien George
2014-05-03Updated doc fixAndrew Scheller
2014-05-03stmhal: Change names: flash to firmware, flashboard to deploy.Damien George
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.
2014-05-03stmhal: Default build directory now includes board name.Damien George
BUILD is build-$(BOARD) by default.
2014-05-03RTC doc fixAndrew Scheller
2014-05-03stmhal: Wrap CC3000 driver in MICROPY_HW_ENABLE_CC3K.Damien George
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.
2014-05-03stmhal: Fix typos in class documentation.Damien George
2014-05-03stmhal: Fix bug where negative delay/udelay lead to huge delays.Damien George
A negative ms/us is now treated as a delay of 0 ms/us. This patch also improves the calibration of udelay.
2014-05-03stmhal: Remove #include <stdint.h> from mpconfigport.h.Damien George
Make include dependencies neater, and adheres to the coding convention that headers should not include headers.
2014-05-03stmhal: Add example use to RTC doc; add rtc.c to gendoc.py.Damien George
2014-05-03stmhal: Add documentation for RTC class.Damien George
2014-05-03Merge pull request #548 from dhylands/fix-pin-defnDamien George
Fix PB0 ADC typo.
2014-05-02Add device ID to autoflash script.Craig Barnes
2014-05-02Fix PB0 ADC typo.Dave Hylands
This also adds a bunch of slashes separating pin that have multiple functions.
2014-05-02Merge branch 'master' of github.com:micropython/micropythonDamien George
2014-05-02stmhal: Add documentation for DAC and Timer classes.Damien George
2014-05-02unix,stmhal: Make "mpconfig.h" be first included, as other headers depend on it.Paul Sokolovsky
2014-05-02Add shell script to automatically build stmhal/ for all pyboards.Damien George
2014-05-01Merge pull request #542 from dhylands/fix-pinDamien George
Fix pin initialization when a mode argument is provided
2014-05-01Fix pin initialization when a mode argument is providedDave Hylands
2014-05-01Add flashboard target to the stmhal Makefile to run dfu-utilAndrew Scheller
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
2014-04-30stmhal, docs: Small changes to URL links; adds list of files if none given.Damien George
This documentation is now available at micropython.org/doc/
2014-04-30stmhal: Reinstate CC3000 driver from old stm/ port.Damien George
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.
2014-04-30stmhal: Make LED.intensity return the same value it was set to.Damien George
Also give proper error message when trying to construct a non-existent LED. Addresses issue #530.
2014-04-29stmhal: Oops, typo.Damien George