Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266: Select axTLS for SSL implementation, following recent refactor. | Paul Sokolovsky | 2016-07-13 |
| | |||
* | esp8266/esp_mphal: Properly handle dupterm EOF after switching to readinto(). | Paul Sokolovsky | 2016-07-05 |
| | |||
* | esp8266/esp_mphal: call_dupterm_read: Use readinto() method. | Paul Sokolovsky | 2016-07-04 |
| | | | | | It's memory fragmentation hazard to allocate 1-char string each time by calling read() method. | ||
* | esp8266/main: Init recently added dupterm_arr_obj port state var. | Paul Sokolovsky | 2016-07-04 |
| | |||
* | esp8266/README: Promote from "highly experimental" to "experimental". | Paul Sokolovsky | 2016-07-02 |
| | |||
* | esp8266: Switch webrepl to use frozen bytecode. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | esp8266: Switch webrepl_setup to use frozen bytecode. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | esp8266: Explicitly collect garbage in bootstrap scripts. | Paul Sokolovsky | 2016-07-02 |
| | | | | Leads to less fragmentation at teh time user code starts. | ||
* | esp8266/modpybuart: allow setting baudrate and other params | Radomir Dopieralski | 2016-06-30 |
| | |||
* | esp8266/websocket_helper.py: Fix typo in debug output. | Paul Sokolovsky | 2016-06-30 |
| | |||
* | esp8266/websocket_helper.py: Avoid extra string allocations. | Paul Sokolovsky | 2016-06-30 |
| | |||
* | esp8266/README: Describe how to build mpy-cross. | Damien George | 2016-06-29 |
| | |||
* | esp8266: Enable frozen bytecode, with scripts in modules/ subdir. | Damien George | 2016-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/main.c: Clear the command line history when (re)booting. | Robert HH | 2016-06-26 |
| | | | | | Not clearing the command line history sometimes results in strange output when going back after a reset. | ||
* | all: Rename mp_obj_type_t::stream_p to protocol. | Paul Sokolovsky | 2016-06-18 |
| | | | | | It's now used for more than just stream protocol (e.g. pin protocol), so don't use false names. | ||
* | esp8266: Use RTC to set date & time stamps for files. | Robert HH | 2016-06-16 |
| | | | | | | | The time stamp is taken from the RTC for all newly generated or changed files. RTC must be maintained separately. The dummy time stamp of Jan 1, 2000 is set in vfs.stat() for the root directory, avoiding invalid time values. | ||
* | esp8266/Makefile: Enable --verify option for esptool.py write_flash. | Paul Sokolovsky | 2016-06-12 |
| | | | | | | Based on my experience, there's rather non-zero chance to have an image be flashed incorrectly. As --verify option is now works well in teh latest esptool.py, enable it by default. | ||
* | esp8266: Switch floating-point arith routines to BootROM. | Paul Sokolovsky | 2016-06-12 |
| | |||
* | esp8266: Let RTC work correctly after deepsleep. | puuu | 2016-06-06 |
| | | | | | | | | | By design, at wake up from deepsleep, the RTC timer will be reset, but the data stored in RTC memory will not [1]. Therefore, we have to adjust delta in RTC memory before going into deepsleep to get almost correct time after waking up. [1] http://bbs.espressif.com/viewtopic.php?t=1184#p4082 | ||
* | esp8266/modnetwork: Use struct bss_info::ssid_len for ESSID length. | Mark | 2016-06-04 |
| | | | | | | | Instead of calling strlen(), which won't work if there're 32 chars in returned ESSID. struct bss_info::ssid_len is not documented in SDK API Guide, but is present in SDK headers since 1.4.0. Just in case, previous code is left commented. | ||
* | esp8266/modpybrtc: Handle RTC overflow. | puuu | 2016-06-03 |
| | | | | | | | | ESP-SDK system_get_rtc_time() returns uint32 and therefore overflow about every 7:45h. Let's write the last state of system_get_rtc_time() in RTC mem and use it to check for overflow. This commit require running pyb_rtc_get_us_since_2000() at least once within 7 hours to avoid overflow. | ||
* | esp8266: Provide a dedicated variable to disable ets_loop_iter. | Damien George | 2016-06-01 |
| | | | | So ets_loop_iter is now only disabled when using machine.disable_irq. | ||
* | esp8266/rtc: Set RTC user memory length to 0 on first boot. | Damien George | 2016-06-01 |
| | | | | | | So that RTC.memory() returns b'' on power up if it was never set. Fixes issue #2138. | ||
* | esp8266/moduos.c: Add stat() to the module uos of esp8266. | Robert HH | 2016-05-31 |
| | | | | | | | This implementation makes use of vfs.stat() and therefore has the same properties. Known issues for all ports: uos.stat(".") on the top level returns the error code 22, EINVAL. The same happens with uos.stat("dirname/") where dirname IS the name of a directory. | ||
* | esp8266: Enable MICROPY_PY_IO_FILEIO to get compliant text/binary streams. | Paul Sokolovsky | 2016-05-31 |
| | |||
* | extmod/machine: Add MICROPY_PY_MACHINE_PULSE config for time_pulse_us. | Damien George | 2016-05-31 |
| | | | | | Since not all ports that enable the machine module have the pin HAL functions. | ||
* | esp8266/modmachine: Add machine.time_pulse_us function. | Damien George | 2016-05-31 |
| | |||
* | esp8266/scripts/ntptime: Allow to override NTP server. | Paul Sokolovsky | 2016-05-30 |
| | | | | | This is not part of public API, variable name may change, or it can be replaced with a function. | ||
* | esp8266/moduos: Add chdir() and getcwd() functions. | Paul Sokolovsky | 2016-05-29 |
| | |||
* | esp8266/uart: Properly initialise UART0 RXD pin in uart_config. | Damien George | 2016-05-29 |
| | | | | Tested and seems to work. See #1995. | ||
* | esp8266/modnetwork: Allow to press ctrl-C while scan() is running. | Damien George | 2016-05-29 |
| | | | | | | | Ctrl-C will raise a KeyboardInterrupt and stop the scan (although it will continue to run in the background, it won't report anything). If interrupted, and another scan() is started before the old one completes in the background, then the second scan will fail with an OSError. | ||
* | esp8266/modnetwork: Protect scan() callback against memory errors. | Damien George | 2016-05-29 |
| | | | | scan() allocates memory so may cause an exception to be raised. | ||
* | esp8266/modnetwork: scan() is only supported by STA when it's enabled. | Damien George | 2016-05-29 |
| | |||
* | esp8266/Makefile: Document "disable" value for UART_OS. | Paul Sokolovsky | 2016-05-27 |
| | |||
* | esp8266: Add dht.py script for high-level control of DHT11/DHT22 sensor. | Damien George | 2016-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: Enable DHT C-level driver. | Damien George | 2016-05-26 |
| | | | | | Exposed as esp.dht_readinto. Probably should go somewhere less port-specific. | ||
* | extmod/machine_i2c: Redo mp_hal_pin macros to use open_drain and od_low. | Damien George | 2016-05-26 |
| | | | | | mp_hal_pin_config_od is renamed mp_hal_pin_open_drain, and mp_hal_pin_low is mp_hal_pin_od_low. | ||
* | esp8266/modmachine: Add disable_irq and enable_irq functions. | Damien George | 2016-05-26 |
| | |||
* | esp8266/ets_alt_task: Don't run ets_loop_iter if irqs are disabled. | Damien George | 2016-05-26 |
| | | | | | | ets_loop_iter processes pending tasks, and tasks are considered lower priority than interrupts, so tasks shouldn't be processed if interrupts are disabled. | ||
* | esp8266/xtirq: Add xtirq.h for controlling xtensa irqs. | Damien George | 2016-05-26 |
| | |||
* | esp8266/modpybspi: Configure pins when initialising an SPI object. | Damien George | 2016-05-26 |
| | |||
* | esp8266: Add mp_hal_pin_input() and mp_hal_pin_output() functions. | Damien George | 2016-05-26 |
| | |||
* | 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". |