- 19 Oct, 2015 20 commits
-
-
Damien George authored
-
Damien George authored
Looks like we can use the same Pin class for legacy pyb module and new machine module.
-
Paul Sokolovsky authored
Instead of return 0, which means EOF. There's no good way to detect EOF on continuously active bus like UART, and treat timeout as just temporary unvailability of data. .read() method of UART object will return None in this case (instead of 0, which again measn EOF). This is fully compliant with unix port.
-
Damien George authored
pyb.repl_uart still exists but points to os.dupterm.
-
Damien George authored
pyb module still has pyb.delay and pyb.udelay, but these now point to time.sleep_ms and time.sleep_us respectively.
-
Dave Hylands authored
-
Paul Sokolovsky authored
This requires makeinfo installed and wastes time (especially in CI).
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
-
danicampora authored
The heartbeat is now controllable via a single function within the wipy module.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Generally, ports should inherit INC from py.mk, append to it, not overwrite it. TODO: Likely should do the same for other vars too.
-
Paul Sokolovsky authored
All of these functions return positive small int, thus range is 2 bits less than word size (30 bit on 32-bit systems, 62 bit on 64-bit systems).
-
Paul Sokolovsky authored
-
Damien George authored
-
- 18 Oct, 2015 3 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
- 17 Oct, 2015 11 commits
-
-
Paul Sokolovsky authored
E.g. Windows lacks this header.
-
danicampora authored
-
Paul Sokolovsky authored
Another function (like stat) which is problematic to deal with on ABI level (FFI), as struct statvfs layout may differ unpredictably between OSes and even different versions of a same OS. So, implement it in C, returning a 10-element tuple of f_bsize, f_frsize, f_blocks, f_bfree, f_bavail, f_files, f_ffree, f_favail, f_flag, f_namemax. This is exactly the order described in Python3 docs, https://docs.python.org/3/library/os.html#os.statvfs (but note that os.statvfs() should make these values available as attributes).
-
Paul Sokolovsky authored
To avoid "-dirty" version previous and spurious "modified" output from git status, etc.
-
danicampora authored
-
danicampora authored
-
danicampora authored
As defined by the new API, since 'auth' is actually a tuple composed by the security type and the key.
-
Dave Hylands authored
-
Paul Sokolovsky authored
MICROPYPATH environment variable is now honored, package are installed to first path specified in it.
-
Paul Sokolovsky authored
This allows to build libffi from source together with micropython, and is useful for cross-compilation. Support for this was already merged previously, to use: make libffi make MICROPY_STANDALONE=1 (To both commands appropriate cross-compilition flags can be added).
-
Damien George authored
Only available when MICROPY_CAN_OVERRIDE_BUILTINS is enabled.
-
- 16 Oct, 2015 1 commit
-
-
Damien George authored
Cortex-M0, M0+ and M1 only have ARMv6-M Thumb/Thumb2 instructions. M3, M4 and M7 have a superset of these, named ARMv7-M. This patch adds a config option to enable support of the superset of instructions.
-
- 15 Oct, 2015 1 commit
-
-
Damien George authored
Addresses issue #1182.
-
- 14 Oct, 2015 4 commits
-
-
Damien George authored
-
Damien George authored
See issue #1500.
-
Paul Sokolovsky authored
Bionic libc in Android 1.5 missed log2() and nan() functions.
-
Damien George authored
-