summaryrefslogtreecommitdiff
path: root/esp8266
AgeCommit message (Collapse)Author
2016-05-03esp8266/modesp: Add malloc() and free() functions.Paul Sokolovsky
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.
2016-05-03esp8266/modesp: Add esf_free_bufs() debugging function.Paul Sokolovsky
Return number of free inernal WiFi buffers.
2016-05-03esp8266/esp_mphal: Add ets_esf_free_bufs(), etc. functions.Paul Sokolovsky
Returning free number of various WiFi driver packet buffers.
2016-05-03esp8266/modnetwork: Remove deprecated wifi_mode().Paul Sokolovsky
Network interfaces are now controlled individually using .active() method.
2016-05-02esp8266: Change platform name from ESP8266 to esp8266.Damien George
The port name is lowercase, and this change is made for consistency with the docs and other ports.
2016-05-02esp8266/scripts/webrepl_setup: Reject too short passwords.Paul Sokolovsky
2016-05-02esp8266/Makefile: Be sure to pass cross-compiling AR when building axtls.Paul Sokolovsky
Fixes build under MacOSX.
2016-04-30esp8266/README: Mention WebREPL.Paul Sokolovsky
2016-04-30esp8266/scripts/webrepl: Add "first connection" mode to setup password.Paul Sokolovsky
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.
2016-04-30esp8266/scripts/webrepl: Switch to using _webrepl object wrapper.Paul Sokolovsky
Handling of binary protocol is untested on esp8266 so far.
2016-04-30esp8266/scripts/webrepl: Connection ack prompt is now printed by modwebrepl.Paul Sokolovsky
After password is checked.
2016-04-29esp8266/scripts/inisetup: Create default boot.py in filesystem.Paul Sokolovsky
Currently it pre-imports webrepl, but doesn't start it.
2016-04-29esp8266/scripts/_boot: builtins is no longer used.Paul Sokolovsky
2016-04-29esp8266/scripts: Move all of initial setup to inisetup module.Paul Sokolovsky
2016-04-29esp8266: Enable webrepl module.Paul Sokolovsky
2016-04-29esp8266: Enable WebREPL file transfer rate limiting.Paul Sokolovsky
2016-04-29esp8266/help: Add cheatsheet for basic WiFi configuration.Paul Sokolovsky
2016-04-29esp8266/help: Implement help() builtin.Paul Sokolovsky
2016-04-28esp8266/modnetwork: Make WLAN.ifconfig() read/write.Aex Aey
Allow setting ip, netmask, gw and dns server (also, allows getting dns). For docs see: https://github.com/micropython/micropython/commit/06deec9
2016-04-28esp8266/README: Add recently required step of 'make axtls'.bsdfox
2016-04-28esp8266: Set suitable values for axtls's RT_MAX_PLAIN_LENGTH & RT_EXTRA.Paul Sokolovsky
2016-04-28esp8266/scripts/neopixel.py: Remove test function from neopixel driver.Damien George
It takes up lots of room and isn't needed.
2016-04-28esp8266/scripts/onewire.py: Simplify and improve 1-wire driver.Damien George
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
2016-04-28esp8266: Move onewire.py, neopixel.py drivers from tests/ to scripts/.Damien George
2016-04-28esp8266: Move pyb.info() function to esp module and remove pyb module.Damien George
All functionality of the pyb module is available in other modules, like time, machine and os. The only outstanding function, info(), is (temporarily) moved to the esp module and the pyb module is removed.
2016-04-28esp8266/Makefile: Enable "ussl" module.Paul Sokolovsky
axTLS should be built first using "make axtls".
2016-04-28esp8266/Makefile: Support linking with axTLS built from source.Paul Sokolovsky
2016-04-27esp8266/tests/onewire.py: Don't run test on import.Damien George
2016-04-27esp8266/axtls_helpers: Helper/wrapper functions for axTLS.Paul Sokolovsky
2016-04-27esp8266/Makefile: Override abort() when building axtls.Paul Sokolovsky
abort() is a special function known to compiler as no-return.
2016-04-27esp8266/esp8266.ld: Put axTLS to FlashROM.Paul Sokolovsky
2016-04-27esp8266/Makefile: Add target to build axTLS.Paul Sokolovsky
2016-04-26esp8266/scripts/webrepl: Add "ws://" to "daemon started at" message.Paul Sokolovsky
To remind people it's not HTTP.
2016-04-26esp8266/scripts/flashbdev: Use all available Flash for filesystem.Paul Sokolovsky
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).
2016-04-26esp8266/scripts/webrepl: Print client address for incoming connections.Paul Sokolovsky
2016-04-26esp8266/scripts/webrepl: Print connection address.Paul Sokolovsky
Based on active network interfaces.
2016-04-25py: Move call_function_*_protected() functions to py/ for reuse.Paul Sokolovsky
They almost certainly needed by any C code which calls Python callbacks.
2016-04-25esp8266/scripts/webrepl: Allow to override port.Paul Sokolovsky
2016-04-25esp8266/scripts/webrepl: Don't start on import.Paul Sokolovsky
Explicit .start() is required now.
2016-04-25esp8266/scripts/webrepl: Convert to persistent daemon.Paul Sokolovsky
2016-04-24esp8266/scripts/webrepl: WebREPL based on C-level websocket object.Paul Sokolovsky
2016-04-22esp8266/scripts/websocket_helper: Disable debug output.Paul Sokolovsky
2016-04-22esp8266/scripts/websocket_helper: Module encapsulating handshake sequences.Paul Sokolovsky
2016-04-22esp8266: Change software SPI driver to use general pin HAL.Damien George
2016-04-22esp8266: Allow GPIO16 to be used as a pin in the uPy pin HAL.Damien George
Now I2C works with GPIO16 as the SCL or SDA pin.
2016-04-22esp8266: Convert mp_hal_pin_obj_t from pin ptr to simple integer.Damien George
Most pin I/O can be done just knowing the pin number as a simple integer, and it's more efficient this way (code size, speed) because it doesn't require a memory lookup to get the pin id from the pin object. If the full pin object is needed then it can be easily looked up in the pin table.
2016-04-22extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr.Damien George
2016-04-21esp8266/esp_mphal: Remove mp_hal_feed_watchdog.Damien George
It doesn't do anything and is not needed. ets_loop_iter/ets_event_poll now take care of feeding the WDT.
2016-04-21esp8266/uart: Remove obsolete UART rx buffering code.Damien George
It's now completely replaced by the ringbuf implementation.
2016-04-21esp8266: Implement UART.read functionality.Damien George