summaryrefslogtreecommitdiff
path: root/ports/esp8266
AgeCommit message (Collapse)Author
2019-10-13remove ports/esp8266Dan Halbert
2019-07-05updated samd and esp8266 portsiot49
2019-02-15WIP: atmel-samd trinket build worksDan Halbert
2019-01-22Merge remote-tracking branch 'adafruit/master' into HEADScott Shawcroft
2019-01-22tell people that esp8266 is no longer supportedLars Kellogg-Stedman
Closes #1483
2019-01-13Fresh combined checkin of _pixelbuf library.Roy Hooper
2018-12-06Use the stub for ESP8266 as well.Scott Shawcroft
2018-12-03UART changes: timeout in secs, write bytes, etc.Dan Halbert
2018-11-30Add support for adding release info into adafruit/circuitpython-orgScott Shawcroft
This also changes the build script to python with better output.
2018-11-15merge 3.x swap of /lib and .frozen; update frozen libsDan Halbert
2018-11-08Move atmel-samd to tinyusb and support nRF flash.Scott Shawcroft
This started while adding USB MIDI support (and descriptor support is in this change.) When seeing that I'd have to implement the MIDI class logic twice, once for atmel-samd and once for nrf, I decided to refactor the USB stack so its shared across ports. This has led to a number of changes that remove items from the ports folder and move them into supervisor. Furthermore, we had external SPI flash support for nrf pending so I factored out the connection between the usb stack and the flash API as well. This PR also includes the QSPI support for nRF.
2018-11-01put .frozen before /lib in sys.path; update frozen librariesDan Halbert
2018-10-09esp8266/README: comment on the specific binary SDK usedJeff Epler
2018-09-18merge 3.0.2 to masterDan Halbert
2018-09-12UART fixes and enhancements; default board object fixDan Halbert
2018-08-16Fix esp and samdScott Shawcroft
2018-08-09Merge pull request #1104 from tannewt/more_stringsDan Halbert
Fixes and translate more strings.
2018-08-09Rework escaping and fix ESP build.Scott Shawcroft
2018-08-09Initial SAMR board revision.Scott Shawcroft
2018-08-07Support internationalisation.Scott Shawcroft
2018-07-28merge finishedDan Halbert
2018-07-23WIP: complete manual inspection of all significant changesDan Halbert
2018-07-11WIP: after merge; before testingDan Halbert
2018-06-15fixes #642; spi_init_gpio() is now bypassed for both construct and configuresommersoft
2018-06-12ports: Enable IOBase on unix, stm32, esp8266 and esp32.Damien George
It's a core feature, in particular required for user-streams with uasyncio.
2018-06-12ports: Call gc_sweep_all() when doing a soft reset.Damien George
This calls finalisers of things like files and sockets to cleanly close them.
2018-06-10Fixes #918 (PulseIn.get_paused) ...Nick Moore
2018-06-10Merge commit '2129bbe160278f7cd2cece939f81900a41f8aa86' into ↵Nick Moore
circuitpython-nickzoic-716-pulseio-esp8266
2018-06-10Update PulseIn.cjerryneedell
2018-06-10fix #918jerryneedell
Add stub for common_hal_pulseio_pulsein_get_paused to make ESP8266 build compatible with PR #901
2018-06-08Work on pulseio.PulseOut for #716 ESP8266Nick Moore
Switch to ets_delay_us but the PWM is still way too slow to be useful.
2018-06-08Clean up interrupt handling for pulseio.PulseIn implementation for #716 ESP8266Nick Moore
2018-06-08Initial pulseio.PulseOut implementation for #716 ESP8266Nick Moore
2018-06-08Initial pulseio.PulseIn implmentation for #716 ESP8266Nick Moore
2018-06-08ports: Enable descriptors on stm32, esp8266, esp32 ports.Damien George
They are now efficient (in runtime performance) and provide a useful feature that's hard to obtain without them enabled. See issue #3644 and PR #3826 for background.
2018-06-06extmod/vfs_fat: Rename FileIO/TextIO types to mp_type_vfs_fat_XXX.Damien George
So they don't clash with other VFS implementations.
2018-06-05esp8266/modules/ntptime.py: Remove print of newly-set time.Damien George
It should be up to the user if they want to print the new time out or not. Fixes issue #3766.
2018-05-22ports: Enable MICROPY_PY_BUILTINS_ROUND_INT on selected ports.Damien George
2018-05-21esp8266: Change UART(0) to attach to REPL via uos.dupterm interface.Damien George
This patch makes it so that UART(0) can by dynamically attached to and detached from the REPL by using the uos.dupterm function. Since WebREPL uses dupterm slot 0 the UART uses dupterm slot 1 (a slot which is newly introduced by this patch). UART(0) must now be attached manually in boot.py (or otherwise) and inisetup.py is changed to provide code to do this. For example, to attach use: import uos, machine uart = machine.UART(0, 115200) uos.dupterm(uart, 1) and to detach use: uos.dupterm(None, 1) When attached, all incoming chars on UART(0) go straight to stdin so uart.read() will always return None. Use sys.stdin.read() if it's needed to read characters from the UART(0) while it's also used for the REPL (or detach, read, then reattach). When detached the UART(0) can be used for other purposes. If there are no objects in any of the dupterm slots when the REPL is started (on hard or soft reset) then UART(0) is automatically attached. Without this, the only way to recover a board without a REPL would be to completely erase and reflash (which would install the default boot.py which attaches the REPL).
2018-05-17esp8266/modmachine: Allow I2C and SPI to be configured out of the build.Damien George
I2C costs about 3000 bytes of code, and SPI costs about 4400 bytes.
2018-05-17esp8266/modnetwork: Raise ValueError when getting invalid WLAN id.Damien George
Instead of crashing due to out-of-bounds array access. Fixes #3348.
2018-05-17esp8266/modnetwork: Return empty str for hostname if STA is inactive.Damien George
Instead of crashing due to NULL pointer dereference. Fixes issue #3341.
2018-05-17esp8266/mpconfigport.h: Add some weak links to common Python modules.Damien George
To make it easier/simpler to write code that can run under both CPython and on an ESP8266 board.
2018-05-16 set #define MICROPY_USE_INTERNAL_ERRNO (0) in mpconfigport for ESP8266 to ↵Jerry Needell
fix compile error
2018-05-07esp8266/modutime.c: remove symbol conflicts between time and utime modulesLars Kellogg-Stedman
this renames symbols in modutime.c so that it no longer conflicts with the time module. This commit does not enable the utime module; it simply makes it easier for a local developer to do so.
2018-05-03Merge pull request #799 from larsks/feature/circuitpython/station-ssidScott Shawcroft
esp8266/modnetwork: Allow to get ESSID of AP that STA is connected to.
2018-05-03esp8266/modnetwork: Allow to get ESSID of AP that STA is connected to.Lars Kellogg-Stedman
This patch enables iface.config('essid') to work for both AP and STA interfaces. (cherry picked from commit d8fdb77ac91b578d851b873a004b530b42313cf1)
2018-05-03ports/esp8266: try both binascii and ubinascii in inisetup.pyLars Kellogg-Stedman
in recent circuitpython builds, `ubinascii` is available as `binascii`. This modifies `modules/inisetup.py` to use the same import semantics as `modules/websocket_helper.py`: first try importing `ubinascii`, and if that fails, fall back to importing `binascii`. Closes adafruit/circuitpython#795
2018-05-02allow esptool.py invocation to be set via make varsLars Kellogg-Stedman
This commit replaces the literal calls to `esptool.py` with the `$(ESPTOOL)` Makefile variable. This allows one to set the esptool invocation on the Make command line: make ESPTOOL="python2 $(which esptool.py)" (or via the environment, an include file, etc) Closes #793
2018-05-02esp8266: Disable DEBUG_PRINTERS for 512k build.Damien George
Disabling this saves around 6000 bytes of code space and gets the 512k build fitting in the available flash again (it increased lately due to an increase in the size of the ESP8266 SDK).