- 13 Mar, 2017 1 commit
-
-
Damien George authored
Some ports may want to compile with generic MICROPY_VFS support but without the VfsFat class. This patch allows such a thing.
-
- 12 Mar, 2017 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Minimal config can be now build with: ./make-minimal BOARD=... This is required because of Makefile.exports magic, which in its turn depends on PROJ_CONF to be set correctly at the beginning of Makefile parsing at all times. Instead of adding more and more workarounds for that, it's better to just move minimal support to a separate wrapper. Also, remove Zephyr 1.5 era cruft from Makefile, and add support for Zephyr's "run" target which supercedes older "qemu" target in upstream.
-
Paul Sokolovsky authored
This is a typical problem with make: we want to trigger rebuilds only if file actually changed, not if its timestamp changed. In this case, it's aggravated by the fact that prj.conf depends on the value of BOARD variable, so we need to do some tricks anyway. We still don't try to detect if just BOARD changed, just try to generate new prj.conf.tmp every time (quick), but do actual replacement of prj.conf only if its content changed.
-
- 11 Mar, 2017 1 commit
-
-
Paul Sokolovsky authored
-
- 10 Mar, 2017 7 commits
-
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
This is so that the filename of the test doesn't clash with the module name itself (being "websocket"), and lead to potential problems executing the test.
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
MICROPY_LONGINT_IMPL_LONGLONG doesn't have overflow detection, so just parsing a large number won't give an error, we need to print it out to check that the whole number was parsed.
-
- 09 Mar, 2017 8 commits
-
-
Paul Sokolovsky authored
This makes int.from_bytes() work for MICROPY_LONGINT_IMPL_LONGLONG.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Alex March authored
These short unit tests test the base uPy methods as well as parts of the websocket protocol, as implemented by uPy. @dpgeorge converted the original socket based tests by @hosaka to ones that only require io.BytesIO.
-
Damien George authored
This test just tests that the basic functions/methods can be called with the appropriate arguments. There is no real test of underlying functionality. Thanks to @hosaka for the initial implementation of this test.
-
- 08 Mar, 2017 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Damien George authored
Two independent fixes: - need to prefix symbols referenced from asm with underscore; - need to undo the C-function prelude.
-
Paul Sokolovsky authored
Mostly intended to ease experimentation, no particular plans for APIs so far (far less their stability), is_preempt_thread() provided is mostly an example.
-
- 07 Mar, 2017 12 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Actually, this removes -fno-omit-frame-pointer workaround for Zephyr.
-
Paul Sokolovsky authored
By adding back monotonically increasing field in addition to time field. As heapsort is not stable, without this, among entried added and readded at the same time instant, some might be always selected, and some might never be selected, leading to scheduling starvation.
-
Paul Sokolovsky authored
-
James Ouyang authored
esptool 1.3 now supports both Python 2.7 and 3.4+. Updated github link to now-official espressif repo.
-
Rami Ali authored
-
Rami Ali authored
-
Paul Sokolovsky authored
-
Krzysztof Blazewicz authored
-
Krzysztof Blazewicz authored
-
Krzysztof Blazewicz authored
-
Krzysztof Blazewicz authored
*a, = b should always make a copy of b, instead, before this patch if b was a list it would copy only a reference to it.
-
- 06 Mar, 2017 4 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
I.e. they don't run successfully with MICROPY_LONGINT_IMPL_NONE and MICROPY_LONGINT_IMPL_LONGLONG (the problem is that they generate different output than CPython, TODO to fix that).
-
Paul Sokolovsky authored
The use of large literal numbers is a big no-no when it comes to writing programs which work with different int representations. Also, some checks are pretty adhoc (e.g using struct module to check for 64-bitness). This change bases entire detection on sys.maxsize and integer operarions, and thus more correct, even if longer. Note that this change doesn't mean that any of these tests can pass with anything but MPZ - even despite checking for various int representations, the tests aren't written to be portable among them.
-