Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266/esp_mphal: mp_uos_dupterm_deactivate() may raise exception. | Paul Sokolovsky | 2016-05-24 |
| | | | | So, keep call to it protected via NLR still. | ||
* | esp8266/esp_mphal: Handle Ctrl+C from dupterm (e.g. WebREPL). | Paul Sokolovsky | 2016-05-24 |
| | |||
* | esp8266/esp_mphal: Fix NLR buffer leak in call_dupterm_read(). | Paul Sokolovsky | 2016-05-24 |
| | |||
* | esp8266/scripts/port_diag: Dump network interface IP settings. | Paul Sokolovsky | 2016-05-24 |
| | |||
* | esp8266/main: Update _boot module loading for recent frozen modules refactors. | Paul Sokolovsky | 2016-05-22 |
| | |||
* | esp8266: Enable collections.OrderedDict. | Paul Sokolovsky | 2016-05-22 |
| | |||
* | extmod/moduos_dupterm: Dumpterm subsystem is responsible for closing stream. | Paul Sokolovsky | 2016-05-20 |
| | | | | | | | | Make dupterm subsystem close a term stream object when EOF or error occurs. There's no other party than dupterm itself in a better position to do this, and this is required to properly reclaim stream resources, especially if multiple dupterm sessions may be established (e.g. as networking connections). | ||
* | esp8266: Add APA102 serial individually controllable LEDs support. | misterdanb | 2016-05-19 |
| | | | | APA102 is a new "smart LED", similar to WS2812 aka "Neopixel". | ||
* | esp8266/README: Add a very first start section. | Torwag | 2016-05-19 |
| | | | | | | Adding a very first start section to get people going after flashing. I tried to condense it to a minimum to avoid as much as possible redundancy and bloating. | ||
* | esp8266/scripts/webrepl_setup: Add max password length check. | Paul Sokolovsky | 2016-05-17 |
| | | | | modwebrepl truncates password to 9 chars, and that led people to confusion. | ||
* | esp8266/scripts/webrepl_setup: Show password placeholder char. | Paul Sokolovsky | 2016-05-17 |
| | | | | | That was the intent for the initial user setup, but didn't work before due to lwIP issues. Enable now that they're fixed. | ||
* | esp8266/scripts/port_diag: Add network diagnostic output. | Paul Sokolovsky | 2016-05-16 |
| | |||
* | esp8266/moduos.c: Addition of the rename method to module uos. | Robert HH | 2016-05-16 |
| | | | | | | | | | | | | | | That one was missing in the module, even if it was available in the vfs object. The change consist of adding the name and preparing the call to the underlying vfs module, similar to what was already implemented e.g. for remove. Rename is useful by itself, or for instance for a safe file replace, consisting of the sequence: write to a temp file delete the original file rename the temp file to the original file's name | ||
* | esp8266: Change to use internal errno's. | Damien George | 2016-05-12 |
| | |||
* | esp8266: Enable uerrno module, weak linked also as errno. | Damien George | 2016-05-10 |
| | |||
* | esp8266: Convert to use new MP_Exxx errno symbols. | Damien George | 2016-05-10 |
| | | | | | | | These symbols are still defined in terms of the system Exxx symbols, and can be switched to internal numeric definitions at a later stage. Note that extmod/modlwip still uses many system Exxx symbols. | ||
* | esp8266/help: Add "sta_if.active(True)" command. | Paul Sokolovsky | 2016-05-10 |
| | | | | As reported on the forum by Roberthh. | ||
* | esp8266/mpconfigport: Reduce various parser-related allocation params. | Paul Sokolovsky | 2016-05-10 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This gives noticeable result for parsing simple input (modelled on 32-bit unix port): Before: >>> micropython.mem_total() 3360 >>> micropython.mem_total() 4472 After: >>> micropython.mem_total() 3072 >>> micropython.mem_total() 4052 However, effect on parsing large input is much less conclusive, e.g.: Before: >>> micropython.mem_total() 3376 >>> import pystone_lowmem >>> micropython.mem_total() 33006 delta=29630 After: >>> micropython.mem_total() 3091 >>> import pystone_lowmem >>> micropython.mem_total() 32509 delta=29418 | ||
* | esp8266/main: Bump heap size to 28K. | Paul Sokolovsky | 2016-05-09 |
| | | | | | | This is kind of compensation for 4K FatFs buffer size which is eaten away from it on FS mount. This should still leave enough of networking ("OS") heap. | ||
* | esp8266/scripts/webrepl: Add start_foreground() method. | Paul Sokolovsky | 2016-05-08 |
| | | | | Starts WebREPL server in foreground and waits for (single) connection. | ||
* | esp8266/scripts/webrepl: Add optional password argument to webrepl.start() | Noah Rosamilia | 2016-05-07 |
| | | | | This commit fixes issue #2045 | ||
* | esp8266/scripts/: Add fill() to NeoPixel | Mike Causer | 2016-05-07 |
| | |||
* | esp8266/scripts/inisetup: Don't start WebREPL on boot in master branch. | Paul Sokolovsky | 2016-05-07 |
| | | | | | | It interferes with running testsuite. master branch should be optimized for development, so any features which interfere with that, would need to be disabled by default. | ||
* | esp8266/scripts/: Remove use of pin.PULL_NONE. | Paul Sokolovsky | 2016-05-05 |
| | | | | | This constant is no longer part of hardware API (replaced with just None), and is a default, so not needed in calls. | ||
* | esp8266/main: Set sys.path to ["", "/", "/lib"]. | Paul Sokolovsky | 2016-05-03 |
| | |||
* | esp8266: Shrink help text by a few lines, to fit in smaller windows. | Damien George | 2016-05-03 |
| | |||
* | esp8266/scripts/ntptime: Add simple NTP client. | Paul Sokolovsky | 2016-05-03 |
| | | | | | .time() returns seconds since MicroPython epoch (2000-01-01 00:00UTC), .settime() sends current system time, assuming UTC timezone. | ||
* | esp8266/modpybpin: Make pin.irq() methods take keyword args. | Damien George | 2016-05-03 |
| | |||
* | esp8266/modpybpin: Use None instead of PULL_NONE for no-pull config. | Damien George | 2016-05-03 |
| | |||
* | esp8266/modpybpin: Use enum+array instead of struct for parsing args. | Damien George | 2016-05-03 |
| | |||
* | esp8266/scripts/neopixel.py: Swap red and green in pixel accessor. | Damien George | 2016-05-03 |
| | |||
* | esp8266/scripts/inisetup: Update for nic.mac() method being gone. | Paul Sokolovsky | 2016-05-03 |
| | |||
* | esp8266/modnetwork: Remove .mac() method, move to .config("mac"). | Paul Sokolovsky | 2016-05-03 |
| | | | | | Querying/setting MAC address is pretty adhoc operation to belong to .config() instead of taking a whole method on its own. | ||
* | esp8266/scripts/inisetup: Enable WebREPL auto-start on boot. | Paul Sokolovsky | 2016-05-03 |
| | |||
* | esp8266/modesp: Add malloc() and free() functions. | Paul Sokolovsky | 2016-05-03 |
| | | | | | | Useful for testing fragmentation issues in OS heap. E.g. freemem() may report large amount, but is it possible to actually allocate block of a given size? Issue malloc() (followed by free()) to find out. | ||
* | esp8266/modesp: Add esf_free_bufs() debugging function. | Paul Sokolovsky | 2016-05-03 |
| | | | | Return number of free inernal WiFi buffers. | ||
* | esp8266/esp_mphal: Add ets_esf_free_bufs(), etc. functions. | Paul Sokolovsky | 2016-05-03 |
| | | | | Returning free number of various WiFi driver packet buffers. | ||
* | esp8266/modnetwork: Remove deprecated wifi_mode(). | Paul Sokolovsky | 2016-05-03 |
| | | | | Network interfaces are now controlled individually using .active() method. | ||
* | esp8266: Change platform name from ESP8266 to esp8266. | Damien George | 2016-05-02 |
| | | | | | The port name is lowercase, and this change is made for consistency with the docs and other ports. | ||
* | esp8266/scripts/webrepl_setup: Reject too short passwords. | Paul Sokolovsky | 2016-05-02 |
| | |||
* | esp8266/Makefile: Be sure to pass cross-compiling AR when building axtls. | Paul Sokolovsky | 2016-05-02 |
| | | | | Fixes build under MacOSX. | ||
* | esp8266/README: Mention WebREPL. | Paul Sokolovsky | 2016-04-30 |
| | |||
* | esp8266/scripts/webrepl: Add "first connection" mode to setup password. | Paul Sokolovsky | 2016-04-30 |
| | | | | | | | | If there's no port_config.py file, or it lacks WEBREPL_PASS variable, "initial setup mode" will be entered on first WebREPLconnection. User will be asked for password, which will be written to port_config.WEBREPL_PASS, and system restarted to work in normal mode with password active. | ||
* | esp8266/scripts/webrepl: Switch to using _webrepl object wrapper. | Paul Sokolovsky | 2016-04-30 |
| | | | | Handling of binary protocol is untested on esp8266 so far. | ||
* | esp8266/scripts/webrepl: Connection ack prompt is now printed by modwebrepl. | Paul Sokolovsky | 2016-04-30 |
| | | | | After password is checked. | ||
* | esp8266/scripts/inisetup: Create default boot.py in filesystem. | Paul Sokolovsky | 2016-04-29 |
| | | | | Currently it pre-imports webrepl, but doesn't start it. | ||
* | esp8266/scripts/_boot: builtins is no longer used. | Paul Sokolovsky | 2016-04-29 |
| | |||
* | esp8266/scripts: Move all of initial setup to inisetup module. | Paul Sokolovsky | 2016-04-29 |
| | |||
* | esp8266: Enable webrepl module. | Paul Sokolovsky | 2016-04-29 |
| | |||
* | esp8266: Enable WebREPL file transfer rate limiting. | Paul Sokolovsky | 2016-04-29 |
| |