- 29 Jan, 2017 6 commits
-
-
Paul Sokolovsky authored
A signal is like a pin, but ca also be inverted (active low). As such, it abstracts properties of various physical devices, like LEDs, buttons, relays, buzzers, etc. To instantiate a Signal: pin = machine.Pin(...) signal = machine.Signal(pin, inverted=True) signal has the same .value() and __call__() methods as a pin.
-
Paul Sokolovsky authored
For polymorphic interfacing on C level.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Based on the following statistics: $ git log docs |grep Author | sort | uniq -c | sort -n -r 175 Author: Paul Sokolovsky 135 Author: Damien George 31 Author: Daniel Campora 26 Author: danicampora 14 Author: Peter Hinch git blame stats script from http://stackoverflow.com/a/13687302/496009: $ sh git-authors docs 9977 author Damien George 2679 author Paul Sokolovsky 1699 author Daniel Campora 1580 author danicampora 1286 author Peter Hinch 282 author Shuning Bian 249 author Dave Hylands Total lines per this script: 18417, my contribution is 14.5%.
-
Damien George authored
-
Damien George authored
-
- 28 Jan, 2017 8 commits
-
-
Paul Sokolovsky authored
socket.error is deprecated even in upstream: https://docs.python.org/3/library/socket.html#socket.error, and never was a part of MicroPython socket API.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
This was apparently of an ::only directive which was later removed.
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
It's very low, hardware level, with associated constraints on operations and callbacks.
-
Paul Sokolovsky authored
-
- 27 Jan, 2017 26 commits
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
To enable options which may be incompatible with other boards, etc.
-
Paul Sokolovsky authored
Overriding CONF_FILE in "minimal" target itself is too late due to include- pinned $(Z_EXPORTS) target.
-
Damien George authored
From https://github.com/micropython/oofatfs, branch work-R0.12b, commit 1e295b40550664bbaac18d95a4b6a58154464d31.
-
Damien George authored
-
Damien George authored
They disappeared when stmhal changed to use new MICROPY_VFS code.
-
Damien George authored
This patch makes the following configuration changes: - MICROPY_FSUSERMOUNT is disabled, removing old mounting infrastructure - MICROPY_VFS is enabled, giving new VFS sub-system - MICROPY_VFS_FAT is enabled, giving uos.VfsFat type - MICROPY_FATFS_OO is enabled, to use new ooFatFs lib, R0.12b User facing API should be almost unchanged. Most notable changes are removal of os.mkfs (use os.VfsFat.mkfs instead) and pyb.mount doesn't allow unmounting by passing None as the device.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
It should only be used for low-level things and with caution, for example putting mounted VFS data in ROM or the static data section.
-
Damien George authored
-
Damien George authored
The vfs_fat_fsusermount test is no longer relevant so has been removed.
-
Damien George authored
The VFS sub-system supports mounting of an arbitrary number of devices (limited only by available RAM). The internal flash is now mounted at "/flash".
-
Damien George authored
This patch includes a new module "uos_vfs" which can be used for testing the VFS syb-system.
-
Damien George authored
-
Damien George authored
The VfsFat object can now be mounted by the generic VFS sub-system.
-
Damien George authored
This provides mp_vfs_XXX functions (eg mount, open, listdir) which are agnostic to the underlying filesystem type, and just require an object with the relevant filesystem-like methods (eg .mount, .open, .listidr) which can then be mounted. These mp_vfs_XXX functions would typically be used by a port to implement the "uos" module, and mp_vfs_open would be the builtin open function. This feature is controlled by MICROPY_VFS, disabled by default.
-
Damien George authored
And move declaration of mp_fat_vfs_type to this file.
-
Damien George authored
-
Damien George authored
-
Damien George authored
The new version of FatFs requires a minimum of 50 blocks on the device. Also, some tests no longer make sense with an OO vfs.
-
Damien George authored
-
Damien George authored
If MICROPY_VFS_FAT is enabled by a port then the port must switch to using MICROPY_FATFS_OO. Otherwise a port can continue to use the FatFs code without any changes.
-
Damien George authored
-