aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-25esp8266: Implement software SPI class.Damien George
Supports speeds up to 500k baud, polarity=0/1, phase=0/1, and using any pins. Only supports MSB output at the moment.
2016-03-25extmod/modlwip: lwip_socket_setsockopt: Handle option value properly.Paul Sokolovsky
2016-03-25extmod/modlwip: Add lwip->POSIX error map for lwIP 1.4.0.Paul Sokolovsky
Between 1.4.0 and 1.4.1, lwIP errors were renumbered.
2016-03-25extmod/modlwip: lwip_tcp_send: Handle properly send buffer full condition.Paul Sokolovsky
Per POSIX http://pubs.opengroup.org/onlinepubs/9699919799/functions/send.html : "If space is not available at the sending socket to hold the message to be transmitted, and the socket file descriptor does not have O_NONBLOCK set, send() shall block until space is available. If space is not available at the sending socket to hold the message to be transmitted, and the socket file descriptor does have O_NONBLOCK set, send() shall fail [with EAGAIN]."
2016-03-25extmod/modlwip: Implement setsocketopt(SO_REUSEADDR).Paul Sokolovsky
2016-03-25docs/esp8266/quickref: Add note about GPIO16.Paul Sokolovsky
2016-03-25docs/esp8266/quickref: Note that timers supported are virtual ones.Paul Sokolovsky
2016-03-25docs/esp: Remove getaddrinfo(), now in socket module as expected.Paul Sokolovsky
2016-03-25docs: More standard modules for esp8266.Paul Sokolovsky
2016-03-25docs/network: esp8266: Update docs on WLAN constructor.Paul Sokolovsky
2016-03-25docs: Add standard modules list for esp8266.Paul Sokolovsky
2016-03-25docs/topindex.html: Refer to "pyb" module only for pyboard.Paul Sokolovsky
2016-03-25extmod/modlwip: Add SOL_SOCKET and SO_REUSEADDR constants for setsockopt().Paul Sokolovsky
2016-03-25esp8266/README: Remove outdated reference to initial port heap size.Paul Sokolovsky
2016-03-25tests: Add test for io.BufferedWriter.Paul Sokolovsky
2016-03-25py/modio: io.BufferedWriter: Describe flushing policy.Paul Sokolovsky
2016-03-25py/modio: Implement io.BufferedWriter.flush().Paul Sokolovsky
2016-03-25py/modio: Initial implementation of io.BufferedWriter class.Paul Sokolovsky
Just .write() method implemented currently.
2016-03-25extmod/modwebsocket: Implement read support.Paul Sokolovsky
2016-03-24py/stream: Fix object vs ptr usecase in mp_stream_writeall().Paul Sokolovsky
2016-03-24extmod/modwebsocket: Start module for WebSocket helper functions.Paul Sokolovsky
Currently, only write support is implemented (of limited buffer size).
2016-03-24py/stream: Add mp_stream_writeall() helper function.Paul Sokolovsky
Spools entire output buffer to a blocking stream (chunk by chunk if needed).
2016-03-24esp8266: Add tests/onewire.py as a driver and test code for ds18b20 dev.Damien George
2016-03-24esp8266: Add onewire helper functions as C module.Damien George
Includes functions to read and write bits and bytes.
2016-03-24esp8266: Implement bit-bang I2C read, and add i2c.readfrom method.Damien George
I2C reading tested with TSL2561 luminosity sensor.
2016-03-24esp8266: Clean up bit-bang I2C implementation.Damien George
Changed from using set_sda_scl function to independent set_sda and set_scl functions.
2016-03-24esp8266/modpybi2c: Add missing include.Paul Sokolovsky
2016-03-24esp8266: Add basic I2C driver, with init and writeto methods.Damien George
Tested and working with SSD1306 I2C display.
2016-03-24esp8266: Expose pin object as a public structure for use as C pin API.Damien George
This is an initial attempt at making a simple C pin API for writing things like I2C drivers in C.
2016-03-23esp8266: Enable auto-indent in REPL.Paul Sokolovsky
2016-03-23esp8266: Add "socket" and "usocket" aliases for lwip module.Paul Sokolovsky
2016-03-23esp8266: Enable non-blocking stream support.Paul Sokolovsky
2016-03-23esp8266: Enable more extmod's: uheapq, ure, uzlib.Damien George
2016-03-23esp8266: Add module weak link from json to ujson.Damien George
2016-03-23esp8266: Enable urandom module.Paul Sokolovsky
2016-03-23esp8266: Make mp_hal_delay_us work with new event framework.Damien George
2016-03-23esp8266: Update README with the latest features.Paul Sokolovsky
2016-03-19extmod/uctypes: Change param type from void* to byte*.Damien George
2016-03-19extmod/uctypes: Finish support for FLOAT32 and FLOAT64 types.Damien George
2016-03-19extmod/uctypes: Use mp_binary_get_val helper when extracting value.Damien George
It handles more cases than mp_binary_get_int.
2016-03-19py/parse: When looking up consts, check they exist before checking type.Damien George
2016-03-17docs: Update pyb.UART.any() to mention that it returns character count.Peter Hinch
2016-03-17docs: Mention that pyb.SPI constructor accepts "X" and "Y" arguments.Peter Hinch
2016-03-17docs: Update pyb.I2C constructor to reflect changes in Pyboard Lite.Peter Hinch
2016-03-17docs: Update asm tutorial, maximum number of allowed args is now 4.Peter Hinch
2016-03-17tests/io: Remove "testfile" at end of open_plus test.Damien George
2016-03-17esp8266/ets_alt_task: Make FIRST_PRIO=0 to cover all task priorities.Damien George
FIRST_PRIO=2 works but using 0 is hopefully safer, and can anyway be optimised in the future.
2016-03-17esp8266: Store frozen modules in FlashROM.Paul Sokolovsky
Requires special lexer to access their contents.
2016-03-16docs/esp8266: Update quick reference: i2c.readfrom and neopixel example.Damien George
2016-03-16py: Don't allocate an extra parse node for power exponent.Damien George
Previous to this patch, the "**b" in "a**b" had its own parse node with just one item (the "b"). Now, the "b" is just the last element of the power parse-node. This saves (a tiny bit of) RAM when compiling.