summaryrefslogtreecommitdiffstatshomepage
Commit message (Collapse)AuthorAge
* extmod/vfs_fat: Add file and directory checks for remove and rmdir.Alex March2016-10-11
|
* extmod/machine_i2c: Use writes not reads in i2c.scan().Radomir Dopieralski2016-10-11
| | | | | | | As per discussion in #2449, using write requests instead of read requests for I2C.scan() seems to support a larger number of devices, especially ones that are write-only. Even a read-only I2C device has to implement writes in order to be able to receive the address of the register to read.
* docs/reference: Add constrained.rst doc.Peter Hinch2016-10-11
| | | | | It contains detailed information about writing scripts to run efficiently on microcontrollers (and other constrained systems).
* extmod/uzlib: Update to upstream v2.1.Paul Sokolovsky2016-10-11
| | | | | | | | Adds check that LZ offsets fall into the sliding dictionary used. This catches a case when uzlib.DecompIO with a smaller dictionary is used to decompress data which was compressed with a larger dictionary. Previously, this would lead to producing invalid data or crash, now an exception will be thrown.
* py/objint: Use size_t for arguments that measure bytes/sizes.Damien George2016-10-11
|
* py: Factor duplicated function to calculate size of formatted int.Damien George2016-10-11
|
* py/mpz: Use assert to verify mpz does not have a fixed digit buffer.Damien George2016-10-11
|
* py/mpz: In divmod, replace check for rhs!=0 with assert.Damien George2016-10-11
| | | | The check for division by zero is made by the caller of this function.
* tests: Improve test coverage of py/compile.c.Damien George2016-10-11
|
* py/compile: Remove unreachable code.Damien George2016-10-11
|
* tests/micropython: Add test for micropython.opt_level() function.Damien George2016-10-11
|
* py/modmicropython: Add micropython.opt_level([value]) function.Damien George2016-10-11
| | | | This allows to get/set at runtime the optimisation level of the compiler.
* zephyr: Add Ctrl+C handling.Paul Sokolovsky2016-10-10
|
* zephyr/zephyr_getchar: Add support for Ctrl+C handling.Paul Sokolovsky2016-10-10
| | | | Patch on top of upstream Zephyr console helpers.
* zephyr/main: Execute main.py frozen module on boot, if available.Paul Sokolovsky2016-10-10
|
* zephyr: Enable frozen modules support.Paul Sokolovsky2016-10-10
|
* zephyr: Enable stack checking and micropython.mem_info().Paul Sokolovsky2016-10-10
|
* zephyr: Add README.Paul Sokolovsky2016-10-10
|
* docs/wipy: Correct deep sleep current figure.daniel2016-10-10
|
* zephyr: Use recently added "make outputexports" Zephyr target.Daniel Thompson2016-10-10
| | | | | | | | The outputexpors target, which exports Zephyr environment variables, was recently added to Zephyr. By exploiting this feature we can hugely simplify the build system, improving robustness at the same time. Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
* zephyr/Makefile: Automatically derive target-specific CFLAGS.Paul Sokolovsky2016-10-10
| | | | | By tricking Zephyt arch Makefiles compute them for us (not just for Zephyr). This make potentially break as Zephyr evolves.
* zephyr: Support extra make targetsDaniel Thompson2016-10-10
| | | | | | | The two variables, GENERIC_TARGETS and CONFIG_TARGETS come, respectively, from the the lists shown during "make help" and "make kconfig-help". Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
* zephyr: Automatically derive ARCH.Daniel Thompson2016-10-10
| | | | | | | | Currently to compile for anything that except ARCH=x86 we have to provide ARCH via the environment or make arguments. We can do better than that! Signed-off-by: Daniel Thompson <daniel.thompson@linaro.org>
* zephyr: Switch to microkernel, required for network to work in background.Paul Sokolovsky2016-10-10
|
* zephyr: Add zephyr_getchar module to handle console input.Paul Sokolovsky2016-10-10
| | | | From https://github.com/pfalcon/zephyr_getchar .
* zephyr: Initial Zephyr RTOS port, Zephyr part.Paul Sokolovsky2016-10-10
|
* zephyr: Initial Zephyr RTOS port, MicroPython part.Paul Sokolovsky2016-10-10
|
* examples/network/http_client*: Use \r\n line-endings in request.Paul Sokolovsky2016-10-09
|
* tests/io/bytesio_ext: Add test for readinto().Paul Sokolovsky2016-10-09
|
* py/objstringio: Add readinto() method.Paul Sokolovsky2016-10-09
| | | | Also, drop deprecated (as for MicroPython) readall() method.
* tests/io/write_ext: Add description comment.Paul Sokolovsky2016-10-09
|
* esp8266: Make neopixel support configurable.Paul Sokolovsky2016-10-09
| | | | To save iRAM.
* extmod/vfs_fat_file: Use MP_Exxx errno constants.Damien George2016-10-07
|
* unix: Use common RAISE_ERRNO macro from mphalport.h.Damien George2016-10-07
|
* unix: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* esp8266: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* stmhal: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* driver/dht: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* extmod: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* extmod/modlwip: Use mp_raise_OSError helper function.Damien George2016-10-07
| | | | Reduces esp8266 code size by about 230 bytes.
* extmod/vfs_fat: Use mp_raise_OSError helper function.Damien George2016-10-07
|
* py: Add mp_raise_OSError(errno) helper function.Damien George2016-10-07
| | | | | This is an often used code pattern, and its use reduces code size of the core by about 100 bytes.
* esp8266: Add FLASH_MODE,FLASH_SIZE options for make deploy target.dmanso2016-10-07
| | | | | | | Added options to make deploy so it can be used for ESP8266 boards with other flash configurations. For example NodeMCU DEVKIT V1.0 can now use: $ make FLASH_MODE=dio FLASH_SIZE=32m deploy
* docs/uos: Add uos.statvfs() documentation.Alex March2016-10-07
|
* tests: Improve coverage of struct with test for non-compliant behaviour.Damien George2016-10-07
|
* py/modstruct: Remove unreachable code, and add comment about CPy diff.Damien George2016-10-07
| | | | | The deleted code is unreachable because calcsize_items guarantees that num_items corresponds to how many items there are in fmt to unpack.
* tests/extmod/uzlib: Test adaptive huffman tree for tinflate coverage.Alex March2016-10-07
|
* esp8266: Make PY_UHASHLIB_SHA1 config depend on PY_USSL and SSL_AXTLS.Damien George2016-10-06
| | | | | SHA1 can only be supported if ussl module is compiled in, and it uses axtls.
* stmhal: Enable machine.time_pulse_us() function.Damien George2016-10-06
|
* stmhal: Disable network and usocket for ESPRUINO_PICODave Hylands2016-10-06
|