Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266/modpybrtc: Use 64-bit arithmetic when computing alarm expiry. | Damien George | 2016-08-25 |
| | |||
* | esp8266/esp_mphal: No longer disable watchdog on startup. | Paul Sokolovsky | 2016-08-20 |
| | | | | Disabling it was an omission from early development stages. | ||
* | esp8266/modmachinespi: Add a factory method for SoftSPI/HSPI | Radomir Dopieralski | 2016-08-19 |
| | |||
* | esp8266/modpybhspi: Add a HSPI module for hardware SPI support | Radomir Dopieralski | 2016-08-19 |
| | | | | | | This module uses ESP8266's SPI hardware, which allows much higher speeds. It uses a library from https://github.com/MetalPhreak/ESP8266_SPI_Driver | ||
* | ports: Remove typedef of machine_ptr_t, it's no longer needed. | Damien George | 2016-08-15 |
| | | | | | | This type was used only for the typedef of mp_obj_t, which is now defined by the object representation. So we can now remove this unused typedef, to simplify the mpconfigport.h file. | ||
* | esp8266/mpconfigport.h: Enable support for all special methods. | Paul Sokolovsky | 2016-08-14 |
| | |||
* | esp8266: PULL_UP is not supported on Pin(16), so raise an exception. | Damien George | 2016-08-10 |
| | |||
* | esp8266: Fix reading of pin object for GPIO16. | Damien George | 2016-08-10 |
| | | | | Pin(16) now works as an input. | ||
* | esp8266/modules/flashbdev: Start filesystem at 0x90000. | Paul Sokolovsky | 2016-08-09 |
| | | | | To accommodate growing firmware. | ||
* | esp8266/esp8266.ld: Increase firmware image size to 0x90000 (576K). | Paul Sokolovsky | 2016-08-09 |
| | | | | | | | Of them, 0x87000 is irom0 segment. This is required to ship increasing number of modules and examples developed in teh course of ESP8266 port project. | ||
* | esp8266/modmachine: Implement dummy sleep() function. | Paul Sokolovsky | 2016-08-07 |
| | |||
* | esp8266/modutime: Actually implement ticks_cpu(). | Paul Sokolovsky | 2016-08-07 |
| | |||
* | esp8266/esp_mphal.h: Add mp_hal_ticks_cpu() for reuse. | Paul Sokolovsky | 2016-08-07 |
| | |||
* | esp8266/modmachine: Implement idle() function. | Paul Sokolovsky | 2016-08-07 |
| | |||
* | esp8266/scripts/inisetup: Add commented-out call to esp.osdebug(None). | Paul Sokolovsky | 2016-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/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility. | Paul Sokolovsky | 2016-08-06 |
| | |||
* | esp8266/scripts/port_diag.py: Include esp.check_fw() call. | Paul Sokolovsky | 2016-08-04 |
| | |||
* | esp8266/modesp: Add check_fw() function to check integrity of the firmware. | Paul Sokolovsky | 2016-08-04 |
| | | | | | Requires firmware generated by the latest makeimg.py (which stores size and md5 of the firmware together with the firmware itself). | ||
* | esp8266/makeimg.py: Append md5 hash to the generated binary. | Paul Sokolovsky | 2016-08-04 |
| | | | | | | md5 is calculated over the entire file, except first 4 bytes, which contain flash parameters and may be changed by flashing tool or MicroPython flash auto-config. | ||
* | esp8266/makeimg.py: Store firmware size as last 4 bytes of padding area. | Paul Sokolovsky | 2016-08-04 |
| | |||
* | esp8266: Make APA102 driver inclusion configurable. | Paul Sokolovsky | 2016-08-01 |
| | |||
* | esp8266/eagle.rom.addr.v6.ld: Add Enable_QMode symbol from SDK 2.0.0. | Paul Sokolovsky | 2016-08-01 |
| | |||
* | esp8266: Enable btree module. | Paul Sokolovsky | 2016-07-31 |
| | |||
* | esp8266/esp_mphal: Implement libc's errno. | Paul Sokolovsky | 2016-07-31 |
| | | | | | | Using __errno() function, and redirect it to use mp_stream_errno from stream module. This is pre-requisite for integrating with 3rd-party libs, like BerkeleyDB. | ||
* | py/mpconfig.h: Add MICROPY_STREAMS_POSIX_API setting. | Paul Sokolovsky | 2016-07-30 |
| | | | | | | To filter out even prototypes of mp_stream_posix_*() functions, which require POSIX types like ssize_t & off_t, which may be not available in some ports. | ||
* | esp8266/mpconfigport.h: Include sys/types.h for POSIX types definitions. | Paul Sokolovsky | 2016-07-30 |
| | | | | As required for related functions in stream.h. | ||
* | esp8266/axtls_helpers: Remove abort_(), now in lib/embed/. | Paul Sokolovsky | 2016-07-30 |
| | |||
* | esp8266/modpybuart: Fix UART parity setting. | daniel-k | 2016-07-27 |
| | | | | | | | | | The configuration bits for the UART register were wrong and the parity couldn't be enabled, because the exist_parity member hasn't been updated. I took this ESP8266 register description (http://esp8266.ru/esp8266-uart-reg/) as reference. Verification has been done with a logic analyzer. | ||
* | esp8266/_boot.py: Decrease GC alloc threshold to quarter of heap size. | Paul Sokolovsky | 2016-07-23 |
| | | | | | | | | The idea behind decrease is: bytecode and other static data is also kept on heap, and can easily become half of heap, then setting threshold to half of heap will have null effect - GC will happen on complete heap exhaustion like before. But exactly in such config maintaining heap defragmented is very important, so lower threshold to accommodate that. | ||
* | esp8266/_boot.py: Set GC alloc threshold to half of heap size. | Paul Sokolovsky | 2016-07-23 |
| | | | | | Should keep good chunk of heap unfragmented, if a user application allows that at all. | ||
* | esp8266: dupterm_task_init() should be called before running _boot.py, etc. | Paul Sokolovsky | 2016-07-23 |
| | | | | Because they may use dupterm functionality (e.g. WebREPL running on boot). | ||
* | esp8266: Enable MICROPY_PY_STR_BYTES_CMP_WARN. | Paul Sokolovsky | 2016-07-22 |
| | |||
* | esp8266: Cache Xtensa-built libaxtls.a in local build dir. | Paul Sokolovsky | 2016-07-16 |
| | | | | Allows to build the library variant for other archs in parallel. | ||
* | esp8266/moduos: Add rmdir() function. | Paul Sokolovsky | 2016-07-16 |
| | |||
* | 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. |