- 26 Mar, 2015 1 commit
-
-
Daniel Campora authored
-
- 17 Mar, 2015 1 commit
-
-
danicampora authored
This prevents duplication of objects in the sleep list. Also helps with reducing the code size by ~100 bytes.
-
- 11 Mar, 2015 2 commits
-
-
danicampora authored
-
danicampora authored
Supports suspend and hibernate modes. Waking is possible throug GPIO and WLAN. The mpcallback class is generic and can be reused by other classes.
-
- 20 Feb, 2015 1 commit
-
-
danicampora authored
I2C objects can be freed by the GC and a __del__ method is provided in order to de-init the peripheral prior to being garbage collected. UART objects are now added to a local list and this list is now part of the VM_STATE.
-
- 06 Feb, 2015 1 commit
-
-
danicampora authored
The port currently implements support for GPIO, RTC, ExtInt and the WiFi subsystem. A small file system is available in the serial flash. A bootloader which makes OTA updates possible, is also part of this initial implementation.
-
- 21 Oct, 2014 1 commit
-
-
Damien George authored
UART object now uses a stream-like interface: read, readall, readline, readinto, readchar, write, writechar. Timeouts are configured when the UART object is initialised, using timeout and timeout_char keyword args. The object includes optional read buffering, using interrupts. You can set the buffer size dynamically using read_buf_len keyword arg. A size of 0 disables buffering.
-
- 20 Jul, 2014 1 commit
-
-
Damien George authored
Recent changes to builtin print meant that print was printing to the mp_sys_stdout_obj, which was sending data raw to the USB CDC device. The data should be cooked so that \n turns into \r\n.
-
- 03 May, 2014 1 commit
-
-
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/.
-
- 21 Apr, 2014 1 commit
-
-
Damien George authored
It's really a UART because there is no external clock line (and hence no synchronous ability, at least in the implementation of this module). USART should be reserved for a module that has "S"ynchronous capabilities. Also, UART is shorter and easier to type :)
-