Damien George
ad9a0ec8ab
all: Convert exceptions to use mp_raise_XXX helpers in remaining places.
2020-03-18 17:26:19 +11:00
Damien George
69661f3343
all: Reformat C and Python source code with tools/codeformat.py.
...
This is run with uncrustify 0.70.1, and black 19.10b0.
2020-02-28 10:33:03 +11:00
David Lechner
35f66d38b8
extmod/vfs_posix: Release GIL during system calls.
...
This releases the GIL during syscalls that could block.
2020-01-26 23:26:14 +11:00
Damien George
09376f0e47
py: Introduce MP_ROM_NONE macro for ROM to refer to None object.
...
This helps to prevent mistakes, and allows easily changing the ROM value of
None if needed.
2019-12-27 22:51:17 +11:00
Damien George
c13f9f209d
all: Convert nlr_raise(mp_obj_new_exception_msg(x)) to mp_raise_msg(x).
...
This helper function was added a while ago and these are the remaining
cases to convert, to save a bit of code size.
2019-11-05 11:35:45 +11:00
Damien George
0cc8910bc5
extmod: Give vars/funcs unique names so STATIC can be set to nothing.
...
Fixes issue #5018 .
2019-08-20 15:21:09 +10:00
Damien George
f03601779e
extmod: Convert legacy uppercase macro names to lowercase.
2019-02-12 14:54:51 +11:00
Damien George
8d82b0edbd
extmod: Add VfsPosix filesystem component.
...
This VFS component allows to mount a host POSIX filesystem within the uPy
VFS sub-system. All traditional POSIX file access then goes through the
VFS, allowing to sandbox a uPy process to a certain sub-dir of the host
system, as well as mount other filesystem types alongside the host
filesystem.
2018-06-06 14:28:23 +10:00