Skip to content
Snippets Groups Projects
Verified Commit 7e436cb0 authored by rahix's avatar rahix
Browse files

feat(pycardium): Add more standard-library functions


This commit imports a few modules from micropython-lib.

Signed-off-by: default avatarRahix <rahix@rahix.de>
parent 465649c6
No related branches found
No related tags found
No related merge requests found
../../../lib/micropython/micropython-lib/collections.defaultdict/collections/defaultdict.py
\ No newline at end of file
../../../lib/micropython/micropython-lib/collections.deque/collections/deque.py
\ No newline at end of file
# Adapted so we don't need relative import support
from ucollections import *
from col_defaultdict import defaultdict
from col_deque import deque
class MutableMapping:
pass
../../../lib/micropython/micropython-lib/contextlib/contextlib.py
\ No newline at end of file
../../../lib/micropython/micropython-lib/functools/functools.py
\ No newline at end of file
../../../lib/micropython/micropython-lib/itertools/itertools.py
\ No newline at end of file
......@@ -5,6 +5,17 @@ python_modules = files(
'leds.py',
'pride.py',
'ledfx.py',
# MicroPython Standard-Library
'col_defaultdict.py',
'col_deque.py',
'collections.py',
'contextlib.py',
'functools.py',
'itertools.py',
'string.py',
'struct.py',
'ucontextlib.py',
)
frozen_modules = mpy_cross.process(python_modules)
../../../lib/micropython/micropython-lib/string/string.py
\ No newline at end of file
../../../lib/micropython/micropython-lib/struct/struct.py
\ No newline at end of file
../../../lib/micropython/micropython-lib/ucontextlib/ucontextlib.py
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment