summaryrefslogtreecommitdiffstatshomepage
path: root/esp8266/scripts
Commit message (Collapse)AuthorAge
* esp8266/scripts: Move initsetup & port_diag tools to modules/.Paul Sokolovsky2017-05-12
|
* esp8266/scripts: Move drivers/modules to modules/ (frozen bytecode).Paul Sokolovsky2017-05-12
|
* esp8266: Change to use new generic VFS sub-system.Damien George2017-01-27
| | | | | | The VFS sub-system supports mounting of an arbitrary number of devices (limited only by available RAM). The internal flash is now mounted at "/flash".
* esp8266/scripts/inisetup: Dump FS starting sector/size on error.Paul Sokolovsky2017-01-02
| | | | Should allow to diagnose/try to recover FS easier.
* esp8266: Move websocket_helper.py from scripts to modules for frozen BC.puuu2016-12-05
| | | | | | websocket_helper.py is used by webrepl. If webrepl is enabled and websocket_helper.py is not frozen bytecode it leads to heap fragmentation.
* esp8266/scripts/port_diag: Add descriptions for esf_buf types.Paul Sokolovsky2016-11-01
|
* esp8266/scripts: Make neopixel/apa102 handle 4bpp LEDs with common code.Radomir Dopieralski2016-10-25
| | | | | | The NeoPixel class now handles 4 bytes-per-pixel LEDs (extra byte is intensity) and arbitrary byte ordering. APA102 class is now derived from NeoPixel to reduce code size and support fill() operation.
* esp8266/modules: Split onewire.py into OneWire and DS18X20 driver.Damien George2016-08-29
| | | | | | | | | | The OneWire class is now in its own onewire.py module, and the temperature sensor class is in its own ds18x20.py module. The latter is renamed to DS18X20 to reflect the fact that it will support both the "S" and "B" variants of the device. These files are moved to the modules/ subdirectory to take advantage of frozen bytecode.
* esp8266/scripts/inisetup: Add commented-out call to esp.osdebug(None).Paul Sokolovsky2016-08-06
| | | | | | | 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).
* esp8266/scripts/port_diag.py: Include esp.check_fw() call.Paul Sokolovsky2016-08-04
|
* esp8266: Switch webrepl to use frozen bytecode.Paul Sokolovsky2016-07-02
|
* esp8266: Switch webrepl_setup to use frozen bytecode.Paul Sokolovsky2016-07-02
|
* esp8266: Explicitly collect garbage in bootstrap scripts.Paul Sokolovsky2016-07-02
| | | | Leads to less fragmentation at teh time user code starts.
* esp8266/websocket_helper.py: Fix typo in debug output.Paul Sokolovsky2016-06-30
|
* esp8266/websocket_helper.py: Avoid extra string allocations.Paul Sokolovsky2016-06-30
|
* esp8266: Enable frozen bytecode, with scripts in modules/ subdir.Damien George2016-06-29
| | | | | | | 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.
* esp8266/scripts/ntptime: Allow to override NTP server.Paul Sokolovsky2016-05-30
| | | | | This is not part of public API, variable name may change, or it can be replaced with a function.
* esp8266: Add dht.py script for high-level control of DHT11/DHT22 sensor.Damien George2016-05-26
| | | | | TODO: should go in a more port-neutral place, like drivers/dht, but at the moment in relies on specific esp module.
* esp8266/scripts/port_diag: Dump network interface IP settings.Paul Sokolovsky2016-05-24
|
* esp8266: Add APA102 serial individually controllable LEDs support.misterdanb2016-05-19
| | | | APA102 is a new "smart LED", similar to WS2812 aka "Neopixel".
* esp8266/scripts/webrepl_setup: Add max password length check.Paul Sokolovsky2016-05-17
| | | | modwebrepl truncates password to 9 chars, and that led people to confusion.
* esp8266/scripts/webrepl_setup: Show password placeholder char.Paul Sokolovsky2016-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 Sokolovsky2016-05-16
|
* esp8266/scripts/webrepl: Add start_foreground() method.Paul Sokolovsky2016-05-08
| | | | Starts WebREPL server in foreground and waits for (single) connection.
* esp8266/scripts/webrepl: Add optional password argument to webrepl.start()Noah Rosamilia2016-05-07
| | | | This commit fixes issue #2045
* esp8266/scripts/: Add fill() to NeoPixelMike Causer2016-05-07
|
* esp8266/scripts/inisetup: Don't start WebREPL on boot in master branch.Paul Sokolovsky2016-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 Sokolovsky2016-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/scripts/ntptime: Add simple NTP client.Paul Sokolovsky2016-05-03
| | | | | .time() returns seconds since MicroPython epoch (2000-01-01 00:00UTC), .settime() sends current system time, assuming UTC timezone.
* esp8266/scripts/neopixel.py: Swap red and green in pixel accessor.Damien George2016-05-03
|
* esp8266/scripts/inisetup: Update for nic.mac() method being gone.Paul Sokolovsky2016-05-03
|
* esp8266/scripts/inisetup: Enable WebREPL auto-start on boot.Paul Sokolovsky2016-05-03
|
* esp8266/scripts/webrepl_setup: Reject too short passwords.Paul Sokolovsky2016-05-02
|
* esp8266/scripts/webrepl: Add "first connection" mode to setup password.Paul Sokolovsky2016-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 Sokolovsky2016-04-30
| | | | Handling of binary protocol is untested on esp8266 so far.
* esp8266/scripts/webrepl: Connection ack prompt is now printed by modwebrepl.Paul Sokolovsky2016-04-30
| | | | After password is checked.
* esp8266/scripts/inisetup: Create default boot.py in filesystem.Paul Sokolovsky2016-04-29
| | | | Currently it pre-imports webrepl, but doesn't start it.
* esp8266/scripts/_boot: builtins is no longer used.Paul Sokolovsky2016-04-29
|
* esp8266/scripts: Move all of initial setup to inisetup module.Paul Sokolovsky2016-04-29
|
* esp8266/scripts/neopixel.py: Remove test function from neopixel driver.Damien George2016-04-28
| | | | It takes up lots of room and isn't needed.
* esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.Damien George2016-04-28
| | | | | | | | | | | Changes are: - added OneWireError exception and used where errors can occur - renamed read/write functions to use same names as C _onewire funcs - read_bytes is now read, write_bytes is now write - add ability to read/write DS18B20 scratch pad - rename start_measure to convert_temp (since that's what it does) - rename get_temp to read_temp (consistency with other read names) - removed test function
* esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/.Damien George2016-04-28
|
* esp8266/scripts/webrepl: Add "ws://" to "daemon started at" message.Paul Sokolovsky2016-04-26
| | | | To remind people it's not HTTP.
* esp8266/scripts/flashbdev: Use all available Flash for filesystem.Paul Sokolovsky2016-04-26
| | | | | | All Flash sans firmware at the beginning and 16K SDK param block at the end is used for filesystem (and that's calculated depending on the Flash size).
* esp8266/scripts/webrepl: Print client address for incoming connections.Paul Sokolovsky2016-04-26
|
* esp8266/scripts/webrepl: Print connection address.Paul Sokolovsky2016-04-26
| | | | Based on active network interfaces.
* esp8266/scripts/webrepl: Allow to override port.Paul Sokolovsky2016-04-25
|
* esp8266/scripts/webrepl: Don't start on import.Paul Sokolovsky2016-04-25
| | | | Explicit .start() is required now.
* esp8266/scripts/webrepl: Convert to persistent daemon.Paul Sokolovsky2016-04-25
|
* esp8266/scripts/webrepl: WebREPL based on C-level websocket object.Paul Sokolovsky2016-04-24
|