aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-03-27esp8266: Set up UART handling task soon into init process.Paul Sokolovsky
Otherwise, events may be posted to non-initialized task, which leads to segfaults.
2016-03-27extmod/vfs_fat_diskio: Actually support sectors != 512 with Python blockdevs.Paul Sokolovsky
2016-03-27unix/unix_mphal: Hack to make uos.dupterm() actually work.Paul Sokolovsky
See https://github.com/micropython/micropython/issues/1736 for the list of complications. This workaround instead of duplicating REPL to another stream, switches to it, because read(STDIN) we use otherwise is blocking call, so it and custom REPL stream can't be used together.
2016-03-27py/stream: Fix stupid thinko with variable naming/shadowing.Paul Sokolovsky
2016-03-27docs/esp8266: esp.mac() replaced with network.WLAN.mac().Paul Sokolovsky
2016-03-27docs/esp8266: esp.wifi_mode() replaced with network.WLAN.active().Paul Sokolovsky
2016-03-27docs/esp8266: phy_mode() moved to network module.Paul Sokolovsky
2016-03-26esp8266: Put modpybi2c.o to FlashROM.Paul Sokolovsky
2016-03-26esp8266/tests: Add neopixel.py test.Damien George
2016-03-26esp8266: Add esp.neopixel_write function to bit-bang WS2812 data.Damien George
2016-03-26esp8266: Link ADC class into machine module.Damien George
2016-03-26esp8266: Put utils.o to FlashROM.Paul Sokolovsky
2016-03-26esp8266: Put lexerstr32.o into FlashROM.Paul Sokolovsky
2016-03-26esp8266/esppwm.c: Fix IRQ handler prototype.Paul Sokolovsky
2016-03-26esp8266: Add PWM support.Damien George
PWM implementation uses a timer and interrupts (FRC1), taken from Espressif's/NodeMCU's implementation and adapted for our use. 8 channels are supported, on pins 0, 2, 4, 5, 12, 13, 14, 15. Usage: import machine pwm0 = machine.PWM(machine.Pin(0)) pwm0.freq(1000) pwm0.duty(500) Frequency is shared (ie the same) for all channels. Frequency is between 1 and 1000. Duty is between 0 and 1023.
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