Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | esp8266/help: Add cheatsheet for basic WiFi configuration. | Paul Sokolovsky | 2016-04-29 |
| | |||
* | esp8266/help: Implement help() builtin. | Paul Sokolovsky | 2016-04-29 |
| | |||
* | esp8266/modnetwork: Make WLAN.ifconfig() read/write. | Aex Aey | 2016-04-28 |
| | | | | | Allow setting ip, netmask, gw and dns server (also, allows getting dns). For docs see: https://github.com/micropython/micropython/commit/06deec9 | ||
* | esp8266/README: Add recently required step of 'make axtls'. | bsdfox | 2016-04-28 |
| | |||
* | esp8266: Set suitable values for axtls's RT_MAX_PLAIN_LENGTH & RT_EXTRA. | Paul Sokolovsky | 2016-04-28 |
| | |||
* | esp8266/scripts/neopixel.py: Remove test function from neopixel driver. | Damien George | 2016-04-28 |
| | | | | It takes up lots of room and isn't needed. | ||
* | esp8266/scripts/onewire.py: Simplify and improve 1-wire driver. | Damien George | 2016-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 George | 2016-04-28 |
| | |||
* | esp8266: Move pyb.info() function to esp module and remove pyb module. | Damien George | 2016-04-28 |
| | | | | | | 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. | ||
* | esp8266/Makefile: Enable "ussl" module. | Paul Sokolovsky | 2016-04-28 |
| | | | | axTLS should be built first using "make axtls". | ||
* | esp8266/Makefile: Support linking with axTLS built from source. | Paul Sokolovsky | 2016-04-28 |
| | |||
* | esp8266/tests/onewire.py: Don't run test on import. | Damien George | 2016-04-27 |
| | |||
* | esp8266/axtls_helpers: Helper/wrapper functions for axTLS. | Paul Sokolovsky | 2016-04-27 |
| | |||
* | esp8266/Makefile: Override abort() when building axtls. | Paul Sokolovsky | 2016-04-27 |
| | | | | abort() is a special function known to compiler as no-return. | ||
* | esp8266/esp8266.ld: Put axTLS to FlashROM. | Paul Sokolovsky | 2016-04-27 |
| | |||
* | esp8266/Makefile: Add target to build axTLS. | Paul Sokolovsky | 2016-04-27 |
| | |||
* | esp8266/scripts/webrepl: Add "ws://" to "daemon started at" message. | Paul Sokolovsky | 2016-04-26 |
| | | | | To remind people it's not HTTP. | ||
* | esp8266/scripts/flashbdev: Use all available Flash for filesystem. | Paul Sokolovsky | 2016-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 Sokolovsky | 2016-04-26 |
| | |||
* | esp8266/scripts/webrepl: Print connection address. | Paul Sokolovsky | 2016-04-26 |
| | | | | Based on active network interfaces. | ||
* | py: Move call_function_*_protected() functions to py/ for reuse. | Paul Sokolovsky | 2016-04-25 |
| | | | | They almost certainly needed by any C code which calls Python callbacks. | ||
* | esp8266/scripts/webrepl: Allow to override port. | Paul Sokolovsky | 2016-04-25 |
| | |||
* | esp8266/scripts/webrepl: Don't start on import. | Paul Sokolovsky | 2016-04-25 |
| | | | | Explicit .start() is required now. | ||
* | esp8266/scripts/webrepl: Convert to persistent daemon. | Paul Sokolovsky | 2016-04-25 |
| | |||
* | esp8266/scripts/webrepl: WebREPL based on C-level websocket object. | Paul Sokolovsky | 2016-04-24 |
| | |||
* | esp8266/scripts/websocket_helper: Disable debug output. | Paul Sokolovsky | 2016-04-22 |
| | |||
* | esp8266/scripts/websocket_helper: Module encapsulating handshake sequences. | Paul Sokolovsky | 2016-04-22 |
| | |||
* | esp8266: Change software SPI driver to use general pin HAL. | Damien George | 2016-04-22 |
| | |||
* | esp8266: Allow GPIO16 to be used as a pin in the uPy pin HAL. | Damien George | 2016-04-22 |
| | | | | Now I2C works with GPIO16 as the SCL or SDA pin. | ||
* | esp8266: Convert mp_hal_pin_obj_t from pin ptr to simple integer. | Damien George | 2016-04-22 |
| | | | | | | | | | 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. | ||
* | extmod/machine_i2c: Allow mp_hal_pin_obj_t to be any type, not a ptr. | Damien George | 2016-04-22 |
| | |||
* | esp8266/esp_mphal: Remove mp_hal_feed_watchdog. | Damien George | 2016-04-21 |
| | | | | | It doesn't do anything and is not needed. ets_loop_iter/ets_event_poll now take care of feeding the WDT. | ||
* | esp8266/uart: Remove obsolete UART rx buffering code. | Damien George | 2016-04-21 |
| | | | | It's now completely replaced by the ringbuf implementation. | ||
* | esp8266: Implement UART.read functionality. | Damien George | 2016-04-21 |
| | |||
* | esp8266: Add uart_rx_wait and uart_rx_char functions. | Damien George | 2016-04-21 |
| | |||
* | esp8266: Implement basic deep-sleep capabilities. | Damien George | 2016-04-21 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Use the machine.deepsleep() function to enter the sleep mode. Use the RTC to configure the alarm to wake the device. Basic use is the following: import machine # configure RTC's ALARM0 to wake device from deep sleep rtc = machine.RTC() rtc.irq(trigger=rtc.ALARM0, wake=machine.DEEPSLEEP) # do other things # ... # set ALARM0's alarm to wake after 10 seconds rtc.alarm(rtc.ALARM0, 10000) # enter deep-sleep state (system is reset upon waking) machine.deepsleep() To detect if the system woke from a deep sleep use: if machine.reset_cause() == machine.DEEPSLEEP_RESET: print('woke from deep sleep') | ||
* | esp8266/modnetwork: .config(): Add "hidden ESSID" param. | Paul Sokolovsky | 2016-04-21 |
| | |||
* | esp8266/scripts/flashbdev: Correct bootloader flash size to match real size. | Paul Sokolovsky | 2016-04-20 |
| | | | | | | | | | Flash size as seen by vendor SDK doesn't depend on real size, but rather on a particular value in firmware header, as put there by flash tool. That means it's user responsibility to know what flash size a particular device has, and specify correct parameters during flashing. That's not end user friendly however, so we try to make it "flash and play" by detecting real size vs from-header size mismatch, and correct the header accordingly. | ||
* | esp8266/scripts/_boot: Print notice when initial setup is executed. | Paul Sokolovsky | 2016-04-20 |
| | |||
* | esp8266/scripts/flashbdev: Disable debug output/checks. | Paul Sokolovsky | 2016-04-20 |
| | |||
* | esp8266/modnetwork: .config(): Add "channel" param. | Paul Sokolovsky | 2016-04-20 |
| | |||
* | esp8266/scripts: Don't try to create filesystem on 512KB devices or less. | Paul Sokolovsky | 2016-04-18 |
| | | | | There's no space for it. | ||
* | esp8266/modesp: Add flash_size() function. | Paul Sokolovsky | 2016-04-18 |
| | | | | | Returns FlashROM size in bytes from vendor SDK's point of view, not physical size. | ||
* | esp8266/scripts/flashbdev: Use all available space in 1MB FlashROM for FS. | Paul Sokolovsky | 2016-04-18 |
| |