- Jan 31, 2017
-
-
Damien George authored
This patch brings the _thread module to stmhal/pyboard. There is a very simple round-robin thread scheduler, which is disabled if there is only one thread (for efficiency when threading is not used). The scheduler currently switches threads at a rate of 250Hz using the systick timer and the pend-SV interrupt. The GIL is disabled so one must be careful to use lock objects to prevent concurrent access of objects. The threading is disabled by default, one can enabled it with the config option MICROPY_PY_THREAD to test it out.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
Using MICROPY_FATFS_EXFAT. Enabling this has licensing implications; see https://www.microsoft.com/en-us/legal/intellectualproperty/mtl/exfat-licensing.aspx
-
Damien George authored
If the SD card is mounted then its libraries (ie those that are imported) should override any in /flash.
-
Damien George authored
The first partition is mounted as "/sd" and subsequent partitions are mounted as "/sd<part_num>". This is backwards compatible with the previous behaviour, which just mounted the first partition on "/sd". At this point, only FatFs filesystems are mounted.
-
- Jan 30, 2017
-
-
Damien George authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
Also works for non-networked builds (like minimal).
-
Andrew Gatt authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
The stack pointer should start pointing 1 byte past the top of the end of RAM.
-
Damien George authored
stmhal has MULTI_PARTITION enabled for FatFs and so these values need to be initialised.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
vfs.h is for generic VFS declarations, and vfs_fat.h is for VfsFat specific things.
-
Damien George authored
-
Damien George authored
Everyone should now be using the new ooFatFs library. The old one is no longer supported and will be removed.
-
Damien George authored
-
Damien George authored
-
Damien George authored
Replaced by MICROPY_VFS and the VFS sub-system.
-
Damien George authored
-
Damien George authored
-
Damien George authored
-
Damien George authored
It can be useful for low-level lookup of paths by ports.
-
Damien George authored
-
Damien George authored
From https://github.com/micropython/oofatfs, branch work-R0.12b, commit 46fb53331e7a583c29a41d37ce4b53f2718597e5.
-
- Jan 29, 2017
-
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
Paul Sokolovsky authored
-
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
-