aboutsummaryrefslogtreecommitdiff
path: root/esp8266
AgeCommit message (Collapse)Author
2016-08-09esp8266/scripts/: Symlink umqtt.robust from micropython-lib.esp-extra-scriptsPaul Sokolovsky
2016-08-09esp8266/scripts: Link uqmtt publish button/subscribe led examples.Paul Sokolovsky
2016-08-09esp8266/scripts/: Symlink umqtt.simple from micropython-lib.Paul Sokolovsky
2016-08-09esp8266/scripts/upysh: Symlink from micropython-lib.Paul Sokolovsky
2016-08-09esp8266/scripts/pystone_lowmem: Symlink from micropython-lib.Paul Sokolovsky
2016-08-09esp8266/scripts/: Symlink ssd1306.py driver.Paul Sokolovsky
2016-08-09esp8266/scripts/: Symlink urrlib.urequest and urequests from micropython-lib.Paul Sokolovsky
The symlinks assume that micropython-lib is checked out in the same parent dir as micropython.
2016-08-09esp8266/scripts/: Symlink HTTP examples.Paul Sokolovsky
2016-08-09esp8266/scripts/inisetup: Start WebREPL daemon on boot.Paul Sokolovsky
2016-08-09esp8266: Disable "OS" debug output.Paul Sokolovsky
2016-08-09esp8266/modules/flashbdev: Start filesystem at 0x90000.Paul Sokolovsky
To accommodate growing firmware.
2016-08-09esp8266/esp8266.ld: Increase firmware image size to 0x90000 (576K).Paul Sokolovsky
Of them, 0x87000 is irom0 segment. This is required to ship increasing number of modules and examples developed in teh course of ESP8266 port project.
2016-08-07esp8266/modmachine: Implement dummy sleep() function.Paul Sokolovsky
2016-08-07esp8266/modutime: Actually implement ticks_cpu().Paul Sokolovsky
2016-08-07esp8266/esp_mphal.h: Add mp_hal_ticks_cpu() for reuse.Paul Sokolovsky
2016-08-07esp8266/modmachine: Implement idle() function.Paul Sokolovsky
2016-08-06esp8266/scripts/inisetup: Add commented-out call to esp.osdebug(None).Paul Sokolovsky
That apparently will only help folks who read the docs on how to disable, but could use a quick reminder straight in boot.py. For the developers, it's important to have debug logging enabled in development branch (master).
2016-08-06esp8266/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility.Paul Sokolovsky
2016-08-04esp8266/scripts/port_diag.py: Include esp.check_fw() call.Paul Sokolovsky
2016-08-04esp8266/modesp: Add check_fw() function to check integrity of the firmware.Paul Sokolovsky
Requires firmware generated by the latest makeimg.py (which stores size and md5 of the firmware together with the firmware itself).
2016-08-04esp8266/makeimg.py: Append md5 hash to the generated binary.Paul Sokolovsky
md5 is calculated over the entire file, except first 4 bytes, which contain flash parameters and may be changed by flashing tool or MicroPython flash auto-config.
2016-08-04esp8266/makeimg.py: Store firmware size as last 4 bytes of padding area.Paul Sokolovsky
2016-08-01esp8266: Make APA102 driver inclusion configurable.Paul Sokolovsky
2016-08-01esp8266/eagle.rom.addr.v6.ld: Add Enable_QMode symbol from SDK 2.0.0.Paul Sokolovsky
2016-07-31esp8266: Enable btree module.Paul Sokolovsky
2016-07-31esp8266/esp_mphal: Implement libc's errno.Paul Sokolovsky
Using __errno() function, and redirect it to use mp_stream_errno from stream module. This is pre-requisite for integrating with 3rd-party libs, like BerkeleyDB.
2016-07-30py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting.Paul Sokolovsky
To filter out even prototypes of mp_stream_posix_*() functions, which require POSIX types like ssize_t & off_t, which may be not available in some ports.
2016-07-30esp8266/mpconfigport.h: Include sys/types.h for POSIX types definitions.Paul Sokolovsky
As required for related functions in stream.h.
2016-07-30esp8266/axtls_helpers: Remove abort_(), now in lib/embed/.Paul Sokolovsky
2016-07-27esp8266/modpybuart: Fix UART parity setting.daniel-k
The configuration bits for the UART register were wrong and the parity couldn't be enabled, because the exist_parity member hasn't been updated. I took this ESP8266 register description (http://esp8266.ru/esp8266-uart-reg/) as reference. Verification has been done with a logic analyzer.
2016-07-23esp8266/_boot.py: Decrease GC alloc threshold to quarter of heap size.Paul Sokolovsky
The idea behind decrease is: bytecode and other static data is also kept on heap, and can easily become half of heap, then setting threshold to half of heap will have null effect - GC will happen on complete heap exhaustion like before. But exactly in such config maintaining heap defragmented is very important, so lower threshold to accommodate that.
2016-07-23esp8266/_boot.py: Set GC alloc threshold to half of heap size.Paul Sokolovsky
Should keep good chunk of heap unfragmented, if a user application allows that at all.
2016-07-23esp8266: dupterm_task_init() should be called before running _boot.py, etc.Paul Sokolovsky
Because they may use dupterm functionality (e.g. WebREPL running on boot).
2016-07-22esp8266: Enable MICROPY_PY_STR_BYTES_CMP_WARN.Paul Sokolovsky
2016-07-16esp8266: Cache Xtensa-built libaxtls.a in local build dir.Paul Sokolovsky
Allows to build the library variant for other archs in parallel.
2016-07-16esp8266/moduos: Add rmdir() function.Paul Sokolovsky
2016-07-13esp8266: Select axTLS for SSL implementation, following recent refactor.Paul Sokolovsky
2016-07-05esp8266/esp_mphal: Properly handle dupterm EOF after switching to readinto().Paul Sokolovsky
2016-07-04esp8266/esp_mphal: call_dupterm_read: Use readinto() method.Paul Sokolovsky
It's memory fragmentation hazard to allocate 1-char string each time by calling read() method.
2016-07-04esp8266/main: Init recently added dupterm_arr_obj port state var.Paul Sokolovsky
2016-07-02esp8266/README: Promote from "highly experimental" to "experimental".Paul Sokolovsky
2016-07-02esp8266: Switch webrepl to use frozen bytecode.Paul Sokolovsky
2016-07-02esp8266: Switch webrepl_setup to use frozen bytecode.Paul Sokolovsky
2016-07-02esp8266: Explicitly collect garbage in bootstrap scripts.Paul Sokolovsky
Leads to less fragmentation at teh time user code starts.
2016-06-30esp8266/modpybuart: allow setting baudrate and other paramsRadomir Dopieralski
2016-06-30esp8266/websocket_helper.py: Fix typo in debug output.Paul Sokolovsky
2016-06-30esp8266/websocket_helper.py: Avoid extra string allocations.Paul Sokolovsky
2016-06-29esp8266/README: Describe how to build mpy-cross.Damien George
2016-06-29esp8266: Enable frozen bytecode, with scripts in modules/ subdir.Damien George
To start with, the critical scripts _boot.py and flashbdev.py are frozen to improve performance and reduce RAM consumption. Saves about 1000 bytes of heap RAM for a bare boot with filesystem.
2016-06-26esp8266/main.c: Clear the command line history when (re)booting.Robert HH
Not clearing the command line history sometimes results in strange output when going back after a reset.