From 9ec8976bb097e730137ece3e8f1e9ad850e4a056 Mon Sep 17 00:00:00 2001 From: wink <fa@art-core.org> Date: Fri, 19 Jul 2019 23:00:38 +0000 Subject: [PATCH] feat(pycardium): Add micropython-lib, enable string --- .gitmodules | 3 +++ lib/micropython/micropython-lib | 1 + pycardium/modules/py/meson.build | 1 + pycardium/modules/py/string.py | 1 + 4 files changed, 6 insertions(+) create mode 160000 lib/micropython/micropython-lib create mode 120000 pycardium/modules/py/string.py diff --git a/.gitmodules b/.gitmodules index 430906d7..a7360232 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "lib/micropython/micropython"] path = lib/micropython/micropython url = https://github.com/micropython/micropython.git +[submodule "lib/micropython/micropython-lib"] + path = lib/micropython/micropython-lib + url = https://github.com/micropython/micropython-lib.git diff --git a/lib/micropython/micropython-lib b/lib/micropython/micropython-lib new file mode 160000 index 00000000..b89114c8 --- /dev/null +++ b/lib/micropython/micropython-lib @@ -0,0 +1 @@ +Subproject commit b89114c8345e15d360c3707493450805c114bc8c diff --git a/pycardium/modules/py/meson.build b/pycardium/modules/py/meson.build index 4184cb5f..9b382db0 100644 --- a/pycardium/modules/py/meson.build +++ b/pycardium/modules/py/meson.build @@ -1,6 +1,7 @@ python_modules = files( 'color.py', 'htmlcolor.py', + 'string.py', ) frozen_modules = mpy_cross.process(python_modules) diff --git a/pycardium/modules/py/string.py b/pycardium/modules/py/string.py new file mode 120000 index 00000000..6148e21f --- /dev/null +++ b/pycardium/modules/py/string.py @@ -0,0 +1 @@ +../../../lib/micropython/micropython-lib/string/string.py \ No newline at end of file -- GitLab