summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-05-13zephyr/modusocket: Wrap pkt_get_info() call.Paul Sokolovsky
The most important info it returns are numbers of free buffers in different pools (rx/tx packet headers, data fragments).
2017-05-13tests/extmod/vfs_fat_more: Make skippable is uos is not available.Paul Sokolovsky
Fixes Zephyr tests.
2017-05-13tests/extmod/vfs_fat: Add test for ilistdir of a non-existent directory.Damien George
2017-05-13extmod/vfs_fat_misc: Remove dot-dirs filter since FatFS already does it.Damien George
2017-05-13esp8266/ets_alt_task.c: Prevent spurious large increment of ticks_ms()Robert HH
This happened when the overflow counter for ticks_ms() was interrupted by an external hard interrupt (issue #3076).
2017-05-13tools/mpy-tool.py: Use MP_ROM_xxx macros to support nanbox builds.Damien George
2017-05-12zephyr/README: Update to require Zephyr 1.8.Paul Sokolovsky
There're a lot of changes and fixes in 1.8 regarding IP stack, incompatible with previous Zephyr versions, so supporting them doesn't make sense. This is the last commit which should build with Zephyr 1.7.
2017-05-12zephyr/prj_qemu_x86.conf: Bump RAM size to 320K.Paul Sokolovsky
2017-05-12zephyr/modusocket: Add SOL_SOCKET and SO_REUSEADDR constants.Paul Sokolovsky
2017-05-12zephyr/modusocket: Add dummy setsockopt() implementation.Paul Sokolovsky
2017-05-12unix: Move upip to frozen bytecode dir.Paul Sokolovsky
For x86_64 build, this saves only 128 bytes on the final executable size, but still an improvement.
2017-05-12unix/Makefile: Enable frozen bytecode modules dir.Paul Sokolovsky
2017-05-12esp8266/scripts: Move initsetup & port_diag tools to modules/.Paul Sokolovsky
2017-05-12esp8266/scripts: Move drivers/modules to modules/ (frozen bytecode).Paul Sokolovsky
2017-05-12esp8266/modules/flashbdev: Reserve one sector for native code storage.Paul Sokolovsky
2017-05-12esp8266/modesp: flash_user_start: Use value from linker script.Paul Sokolovsky
Make esp8266_common.ld export size reserved to all code segments, and use that in esp.flash_user_start() implementation.
2017-05-12esp8266/esp8266.ld, esp8266_ota.ld: Grow main firmware size by 32KB.Paul Sokolovsky
To accommodate both system and user frozen modules.
2017-05-12tests/basics/lexer: Add line continuation tests for lexer.Tom Collins
Tests for an issue with line continuation failing in paste mode due to the lexer only checking for \n in the "following" character position, before next_char() has had a chance to convert \r and \r\n to \n.
2017-05-12py/lexer: Process CR earlier to allow newlines checks on chr1.Tom Collins
Resolves an issue where lexer failed to accept CR after line continuation character. It also simplifies the code.
2017-05-12examples/hwapi/hwconfig*: Use inline Signal() args where possible.Paul Sokolovsky
2017-05-11mpy-cross/Makefile: Override undefine any inherited variables.Damien George
This is a temporary hack to allow othe Makefiles to build mpy-cross recursively.
2017-05-11py/mkrules.mk: Add dependency of .mpy files upon mpy-cross.Damien George
This ensures that mpy-cross is automatically built (and is up-to-date) for ports that use frozen bytecode. It also makes sure that .mpy files are re-built if mpy-cross is changed.
2017-05-10docs/library/uos: Add description of uos.ilistdir() function.Damien George
2017-05-10extmod/vfs: Use MP_S_IFDIR, MP_S_IFREG consts instead of magic numbers.Damien George
2017-05-10ports: Add ilistdir in uos module.Damien George
2017-05-10tests/extmod/vfs: Update tests to reflect new ilistdir() method.Damien George
2017-05-10extmod/vfs_fat: Replace listdir() with implementation of ilistdir().Damien George
VfsFat no longer has the listdir() method. Rather, if listdir() functionality is needed then one should use uos.listdir() which will call VfsFat.ilistdir().
2017-05-10extmod/vfs: Implement mp_vfs_ilistdir().Damien George
uos.ilistdir() is the core function, returning an iterator that yields 3-tuples. uos.listdir() is implemented in terms of ilistdir().
2017-05-09unix/main: Implement -m option for packages.Paul Sokolovsky
2017-05-09tests/extmod: Make some vfs tests fully unmount FSs before running.Damien George
Otherwise the existing FSs can interfere with the tests, and in some cases the tests can write to the real FS on the device.
2017-05-09tests/basics/lexer: Add lexer tests for input starting with newlines.Tom Collins
2017-05-09py/lexer: Simplify lexer startup by using dummy bytes and next_char().Tom Collins
Now consistently uses the EOL processing ("\r" and "\r\n" convert to "\n") and EOF processing (ensure "\n" before EOF) provided by next_char(). In particular the lexer can now correctly handle input that starts with CR.
2017-05-09tests/basics: Add memoryview test for big ints.Damien George
2017-05-09tests/basics: Update array test for big-int with lL typecodes.Damien George
2017-05-09py/binary: Handle storing big-ints to all arrays types.Damien George
Prior to this patch only 'q' and 'Q' type arrays could store big-int values. With this patch any big int that is stored to an array is handled by the big-int implementation, regardless of the typecode of the array. This allows arrays to work with all type sizes on all architectures.
2017-05-06py/modio: resource_stream: Implement "package" param handling.Paul Sokolovsky
2017-05-06unix/main: Don't allow to specify too small heap size.Paul Sokolovsky
This will lead to crash like: FATAL: uncaught NLR 80a5420 On x86_32, the minimum heap size is smaller, but not 2 times, so just use value which works for x86_64.
2017-05-06stmhal: Convert all module and method tables to use MP_ROM macros.Damien George
2017-05-06tests: Move super-as-local test from cpydiff to basic tests.Damien George
It's now possible to use the name "super" as a local variable.
2017-05-06tests/micropython: Add test for int.from_bytes with many zero bytes.Damien George
2017-05-06py/objint: In int.from_bytes, only create big-int if really needed.Damien George
This patch ensures that int.from_bytes only creates a big-int if necessary, by checking the value for a small-int overflow as it's being parsed.
2017-05-05lib/utils/pyexec: Update event-driven REPL to match non-event REPL.Tom Collins
Don't print dupe ">>> " prompt when starting event-driven REPL. Clear incomplete line in transition from raw to friendly REPL.
2017-05-05esp8266: Change default settings to mount flash at root dir.Damien George
2017-05-05tests/extmod: Add some more VFS tests.Damien George
2017-05-05tests/extmod: Add more tests for VFS FAT.Damien George
2017-05-05extmod/vfs: Allow a VFS to be mounted at the root dir.Damien George
This patch allows mounting of VFS objects right at the root directory, eg os.mount(vfs, '/'). It still allows VFS's to be mounted at a path within the root, eg os.mount(vfs, '/flash'), and such mount points will override any paths within a VFS that is mounted at the root.
2017-05-05tools/upip: Upgrade to 1.2.Paul Sokolovsky
Memory optimizations and error handling improvements.
2017-05-04tests/cpydiff/core_function_unpacking: Fill in workaround.Paul Sokolovsky
2017-05-03tests/cpydiff/core_import_split_ns_pkgs: Test for split namespace packages.Paul Sokolovsky
2017-05-03tests/cpydiff/core_import_path: Test showing difference in package.__path__.Paul Sokolovsky