Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | 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 |
| | |||
* | esp8266/modesp: Allow esp.deepsleep to take 2nd arg for RF wake opt. | Damien George | 2016-04-17 |
| | |||
* | esp8266/README.md: Update feature list for current state of affairs. | Paul Sokolovsky | 2016-04-17 |
| | |||
* | esp8266/README.md: Typo fix. | Paul Sokolovsky | 2016-04-17 |
| | |||
* | esp8266/esp_mphal: Protect dupterm_task_handler() from recursive exec. | Paul Sokolovsky | 2016-04-17 |
| | |||
* | esp8266/moduos: Add dupterm_notify() function. | Paul Sokolovsky | 2016-04-17 |
| | | | | | Should be called to notify that current dupterm object has more input data to read. | ||
* | esp8266: Adapt port to use new auto-qstr generation. | Damien George | 2016-04-16 |
| | |||
* | esp8266/modmachine: Add reset_cause() function. | Paul Sokolovsky | 2016-04-15 |
| | |||
* | esp8266/moduos: Add uos.mkdir function. | Damien George | 2016-04-14 |
| | |||
* | esp8266/scripts/_boot: Mount block device on "" instead of "/". | Damien George | 2016-04-14 |
| | | | | | | "" is the correct name of the root directory when mounting a device there (as opposed to "/"). One can now do os.listdir('/') and open('/abc'), as well as os.listdir() and open('abc'). | ||
* | esp8266/qstrdefsport.h: Mark qstr's for "esp" module. | Paul Sokolovsky | 2016-04-15 |
| | |||
* | esp8266: Enable input() builtin. | Paul Sokolovsky | 2016-04-15 |
| | |||
* | py: Declare help, input, open builtins in core. | Paul Sokolovsky | 2016-04-15 |
| | | | | These are *defined* per-port, but why redeclare them again and again. | ||
* | esp8266/scripts/port_diag.py: Module to collect diagnostic info. | Paul Sokolovsky | 2016-04-14 |
| | | | | | A shortcut for users to provide background diagnostic info for bug reports. | ||
* | esp8266: Switch integer arith routines to BootROM. | Paul Sokolovsky | 2016-04-14 |
| | |||
* | esp8266: Separate 1-wire timing funcs from Python module to save iRAM. | Damien George | 2016-04-14 |
| | | | | | esponewire.c contains low-level timing-critical functions that go in iRAM. modonewire.c contains Python wrapper code. | ||
* | esp8266: Add hard IRQ callbacks for pin change on GPIO0-15. | Damien George | 2016-04-14 |
| | |||
* | esp8266: Add dummy entries for non-existing pins to simplify pin logic. | Damien George | 2016-04-14 |
| | | | | | Now pins can be easily looked up in the table using the pin number as the index and vice versa. | ||
* | esp8266: Remove pin_id field from C pin object. | Damien George | 2016-04-14 |
| | | | | This field is the same as phys_port and not needed. | ||
* | py: Add ability to have frozen persistent bytecode from .mpy files. | Damien George | 2016-04-13 |
| | | | | | | | The config variable MICROPY_MODULE_FROZEN is now made of two separate parts: MICROPY_MODULE_FROZEN_STR and MICROPY_MODULE_FROZEN_MPY. This allows to have none, either or both of frozen strings and frozen mpy files (aka frozen bytecode). | ||
* | esp8266/esp_mphal: call_dupterm_read(): Fix order of deactivating on EOF. | Paul Sokolovsky | 2016-04-13 |
| | | | | First deactivate, then print diagnostic message. |