Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | esp8266/flashbdev: Reserve extra sysparam sector for SDK 2.0.0 compatibility. | Paul Sokolovsky | 2016-08-06 |
| | |||
* | unix: Enable websocket module. | Paul Sokolovsky | 2016-08-06 |
| | |||
* | extmod/modwebsocket: Add readline method. | Paul Sokolovsky | 2016-08-06 |
| | | | | | | This goes bit against websocket nature (message-based communication), as it ignores boundaries bertween messages, but may be very practical to do simple things with websockets. | ||
* | examples/network: Split recv- and read-based HTTP servers. | Paul Sokolovsky | 2016-08-06 |
| | | | | | | | Name recv() based a "simplistic", as it can't work robustly in every environment. All this is to let people concentreate on proper, read()- based one (and to turn recv() based into a "negative showcase", explaining what are the pitfalls of such approach). | ||
* | extmod/modbtree: open(): Add option kwargs. | Paul Sokolovsky | 2016-08-06 |
| | | | | Namely: flags, cachesize, pagesize, minkeypage. | ||
* | extmod/modwebrepl: Make GET_FILE operation non-blocking. | Paul Sokolovsky | 2016-08-05 |
| | | | | | | In the sense that while GET_FILE transfers its data, REPL still works. This is done by requiring client to send 1-byte block before WebREPL server transfers next block of data. | ||
* | extmod/modwebrepl: Factor out "GET" iteration to write_file_chunk(). | Paul Sokolovsky | 2016-08-05 |
| | |||
* | py/mkrules.mk: Allow to add more items for "clean" target using CLEAN_EXTRA. | Paul Sokolovsky | 2016-08-04 |
| | |||
* | stmhal: Fix I2C mappings for STM32F429DISC board. | David Siorpaes | 2016-08-04 |
| | |||
* | 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 |
| | |||
* | logo/1bit-logo A black & white version of the logo | Radomir Dopieralski | 2016-08-02 |
| | | | | | This version of the logo may be useful for displaying on small devices to show that they use MicroPython. | ||
* | docs: Spelling mistakes | Mike Causer | 2016-08-02 |
| | |||
* | extmod/modbtree: Implement __contains__ operation. | Paul Sokolovsky | 2016-08-02 |
| | |||
* | cc3200, teensy: Remove broken malloc/free/realloc macro helpers. | Damien George | 2016-08-02 |
| | | | | | | These macros are broken and are anyway unused on these two ports. If they are ever needed in the future then their implementation can be taken from either stmhal (working macros in mpconfigport.h) or esp8266 (functions). | ||
* | docs: Add DHT to ESP8266 Quick Ref and Tutorial | Mike Causer | 2016-08-01 |
| | |||
* | 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 |
| | |||
* | tests/machine1: Revamp to work with unix port (which has "umachine"). | Paul Sokolovsky | 2016-07-31 |
| | |||
* | tests/machine_mem.py: Too non-portable, rework as an example for unix port. | Paul Sokolovsky | 2016-07-31 |
| | |||
* | 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. | ||
* | tests/extmod/btree1: Tests against in-memory DB (using io.BytesIO). | Paul Sokolovsky | 2016-07-31 |
| | |||
* | unix/Makefile: And note why btree module is disabled for coverage build. | Paul Sokolovsky | 2016-07-31 |
| | |||
* | extmod/modbtree: Switch to accepting stream object instead of filename. | Paul Sokolovsky | 2016-07-31 |
| | | | | Requires "embedded" BerkeleyDB BTree implementation. | ||
* | py/py.mk: Extra switches to build "embedded" BerkeleyDB BTree lib. | Paul Sokolovsky | 2016-07-31 |
| | |||
* | lib/berkeley-db-1.xx: Switch to "embedded" branch. | Paul Sokolovsky | 2016-07-31 |
| | | | | | It allows to access files via a virtual method tables and thus can integrate with MicroPython's stream objects. | ||
* | stmhal: Make SPI NSS pin definition optional. | Dave Hylands | 2016-07-30 |
| | | | | | Some boards (like the GHI Electronics G30 Dev Board) don't use NSS at all and rather just use GPIO chip selects. | ||
* | stmhal: fixing malloc when used with external libraries | Matt Brejza | 2016-07-30 |
| | |||
* | mpy-cross: Fix mingw and msys2 compilation | stijn | 2016-07-30 |
| | | | | | | | When compiling with msys2's gcc there's no need to apply the binary fmode so adjust the Makefile to reflect that. When compiling with mingw we need to include malloc.h since there is no alloca.h, and the 64bit detection in mpconfigport.h needs some adjustment. | ||
* | 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. | ||
* | lib/abort_.c: Add prototype to make coverage build happy. | Paul Sokolovsky | 2016-07-30 |
| | |||
* | 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 |
| | |||
* | lib/embed/abort_: Implementation of abort_() function raising uPy exception. | Paul Sokolovsky | 2016-07-30 |
| | | | | | | | Helpful when porting existing C libraries to MicroPython. abort()ing in embedded environment isn't a good idea, so when compiling such library, -Dabort=abort_ option can be given to redirect standard abort() to this "safe" version. | ||
* | py/stream: Add adapter methods with POSIX-compatible signatures. | Paul Sokolovsky | 2016-07-30 |
| | | | | | Previoussly such read() and write() methods were used by modussl_axtls, move to py/stream for reuse. | ||
* | tests/io/bytesio_ext: Test for .seek()/.flush() on BytesIO. | Paul Sokolovsky | 2016-07-29 |
| | |||
* | py/objstringio: Implement MP_STREAM_SEEK ioctl and add seek() method. | Paul Sokolovsky | 2016-07-28 |
| | |||
* | py/objstringio: Add MP_STREAM_FLUSH ioctl and flush() method. | Paul Sokolovsky | 2016-07-28 |
| | | | | No-op for this object. | ||
* | unix/file: Use generic stream flush() method. | Paul Sokolovsky | 2016-07-28 |
| | |||
* | 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. | ||
* | unix/file: fdfile_ioctl(): Fix argument to check_fd_is_open(). | Paul Sokolovsky | 2016-07-27 |
| | |||
* | py/stream: Implement generic flush() method, in terms of C-level ioctl. | Paul Sokolovsky | 2016-07-27 |
| | |||
* | unix/file: ioctl(): Check that file is open before operations. | Paul Sokolovsky | 2016-07-27 |
| | |||
* | unix/file: Implement MP_STREAM_FLUSH ioctl. | Paul Sokolovsky | 2016-07-27 |
| | |||
* | tests/run-tests: Make "regex'ed .exp" facility available to device tests. | Paul Sokolovsky | 2016-07-26 |
| | | | | Required to pass bytes_compare3.py (opptional warnings) on devices. | ||
* | py/stream: Stream module works with errno's, so should include mperrno.h. | Paul Sokolovsky | 2016-07-26 |
| | |||
* | unix/mpconfigport.h: Include stdio.h by default. | Paul Sokolovsky | 2016-07-26 |
| | | | | | This allows to use printf() in a any source file with unix port, for quick debugging. |