Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | extmod/modussl: Rename to modussl_axtls.c, to allow impl using other SSL libs. | Paul Sokolovsky | 2016-07-13 |
| | |||
* | drivers/wiznet5k: Fix indentation so it's not misleading. | Damien George | 2016-07-11 |
| | | | | Otherwise gcc 6.1.1 raises a misleading-indentation error. | ||
* | unix/mpthreadport: Adjust minimum thread stack, and stack limit check. | Damien George | 2016-07-11 |
| | | | | | | The minimum thread stack size is set by pthreads (16k bytes) so we must use that value for our minimum. The stack limit check is also adjusted to work correctly for 32-bit builds. | ||
* | lib/axtls: Update, fixes esp8266 build. | Paul Sokolovsky | 2016-07-11 |
| | |||
* | py/nlrx64.S: Prefix mp_thread_get_state with an underscore on Mac. | Damien George | 2016-07-11 |
| | |||
* | mpy-cross: Fix Makefile to handle gc-sections linker flags on OS X. | Anton Sokolchenko | 2016-07-11 |
| | |||
* | qemu-arm: Enable gcc LTO option for nlrthumb.c | Daniel Tralamazza | 2016-07-11 |
| | | | | LTO can't "see" inside naked functions, but we can mark `nlr_push_tail` as used. | ||
* | lib/axtls: Upgrade to axTLS 1.5.4 + MicroPython patchset. | Paul Sokolovsky | 2016-07-10 |
| | |||
* | examples/http_server*: Update for buffered-like streams (read line by line). | Paul Sokolovsky | 2016-07-10 |
| | | | | | | | | Since "read-exactly" stream refactor, where stream.read(N) will read exactly N bytes (unless EOF), http_server* examples can't any longer do client_socket.read(4096) and expect to get full request (it will block on HTTP/1.1 client). Instead, read request line by line, as the HTTP protocol requires. | ||
* | docs: Bump version to 1.8.2.v1.8.2 | Damien George | 2016-07-10 |
| | |||
* | travis: Run unix thread tests. | Damien George | 2016-07-09 |
| | |||
* | tests/run-tests: If running thread tests on unix, don't run mutate ones. | Damien George | 2016-07-09 |
| | | | | They will fail because the GIL is disabled on the unix build. | ||
* | unix: Disable the GIL to improve performance of non-thread code. | Damien George | 2016-07-09 |
| | | | | | | | | | | | | | Threading support is still very new so stay conservative at this point and enable threading without the GIL. This requires users to protect concurrent access of mutatable Python objects (eg lists) with locks at the Python level (something you should probably do anyway). The advantage is that there is less of a performance hit for non-threaded code, because the VM does not need to constantly release/acquire the GIL. In the future the GIL will be made more efficient. There is also room to improve the efficiency of non-GIL code by not using mutex's if there is only one thread active. | ||
* | unix/main: When preparing sys.path, allocate exact strings on uPy heap. | Paul Sokolovsky | 2016-07-09 |
| | | | | | | | Due to the way modern compilers work (allocating space for stack vars once at tha start of function, and deallocating once on exit from), using intermediate stack buffer of big size caused blockage of 4K (PATH_MAX) on stack for the entire duration of MicroPython execution. | ||
* | unix/main: Improve help for -X options a bit. | Paul Sokolovsky | 2016-07-08 |
| | |||
* | unix/main: Error out on unknown value of suffix in -X heapsize= option. | Paul Sokolovsky | 2016-07-08 |
| | | | | E.g. -X heapsize=16Kfoo, -X heapsize=1G will lead to error. | ||
* | extmod/moduos_dupterm: Reuse dupterm_arr_obj for write operations. | Paul Sokolovsky | 2016-07-07 |
| | | | | | Instead of allocating new array object header again and again, causing memory fragmentation. | ||
* | py/objarray: Split out header to allow direct access to object. | Paul Sokolovsky | 2016-07-06 |
| | | | | | | This follows source code/header file organization similar to few other objects, and intended to be used only is special cases, where efficiency/ simplicity matters. | ||
* | 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 |
| | |||
* | extmod/moduos_dupterm: Reserve buffer bytearray object for dupterm. | Paul Sokolovsky | 2016-07-04 |
| | | | | | Allocating it for each read/write operation is a memory fragmentation hazard. | ||
* | unix/mpconfigport_minimal.h: Allow to print a string within 1KB of heap. | Paul Sokolovsky | 2016-07-03 |
| | | | | By adjusting parser allocation policy. | ||
* | unix/Makefile: Make "minimal" build be minimal again. | Paul Sokolovsky | 2016-07-03 |
| | |||
* | 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. | ||
* | extmod/modbtree: Fixes for nanbox build. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | unix: Enable btree module. | Paul Sokolovsky | 2016-07-02 |
| | | | | | But disable it for coverage build, as its extra warninsg aren't compatible with K&R C BerkeleyDB uses. | ||
* | extmod/modbtree: Fix unused argument warning. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | py/mpconfig.h: Mention MICROPY_PY_BTREE config option. | Paul Sokolovsky | 2016-07-02 |
| | | | | | However, as it requires linking with external libraries, it actually should be ste on Makefile level. | ||
* | py/builtinimport: Disable "imported as namespace package" warning. | Paul Sokolovsky | 2016-07-02 |
| | | | | | Namespace packages are natural part of Python3, CPython3 doesn't have such warning, it made sense only from point of view of Python2 legacy. | ||
* | extmod/modwebrepl: Add readinto() method. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | extmod/modwebsocket: Add readinto() method. | Paul Sokolovsky | 2016-07-02 |
| | |||
* | tests/meminfo: Update for addition of "max free sz" output. | Paul Sokolovsky | 2016-07-01 |
| | |||
* | py/gc: Calculate (and report) maximum contiguous free block size. | Paul Sokolovsky | 2016-07-01 |
| | | | | | Just as maximum allocated block size, it's reported in allocation units (not bytes). | ||
* | 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 |
| | |||
* | py/gc: Be sure to count last allocated block at heap end in stats. | Paul Sokolovsky | 2016-06-30 |
| | | | | | | Previously, if there was chain of allocated blocks ending with the last block of heap, it wasn't included in number of 1/2-block or max block size stats. | ||
* | esp8266/websocket_helper.py: Avoid extra string allocations. | Paul Sokolovsky | 2016-06-30 |
| | |||
* | stmhal: Enable SD card on L4 MCUs. | dpslwk | 2016-06-29 |
| | |||
* | stmhal: Correct DMA to allow SD card on L4 MCUs. | dpslwk | 2016-06-29 |
| | |||
* | stmhal: Update HALCOMMITS due to change to hal | dpslwk | 2016-06-29 |
| | |||
* | stmhal: Port of f4 hal commit 1d7fb82 to l4 hal | dpslwk | 2016-06-29 |
| | |||
* | 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. | ||
* | qemu-arm: Disable gcc LTO option for nlrthumb.c. | Damien George | 2016-06-28 |
| | | | | | If LTO is enabled for nlrthumb.c then gcc optimises away the nlr_push_tail function when in fact it is needed. So disable this option for this file. | ||
* | cc3200: Remove obsolete singleton heart-beat object. | Damien George | 2016-06-28 |
| | |||
* | cc3200: Allow to compile bootloader with threading enabled. | Damien George | 2016-06-28 |
| | | | | | Threading is not used in the bootloader but the config optios are still enabled so we must exclude including FreeRTOS.h. |