diff --git a/install.sh b/install.sh index 92e32dc4..1670c951 100755 --- a/install.sh +++ b/install.sh @@ -1,5 +1,7 @@ pkill -f "python.*mpremote" +pushd internal_filesystem/ + ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp boot.py :/boot.py ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp main.py :/main.py ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp autostart.py :/autostart.py @@ -8,4 +10,6 @@ pkill -f "python.*mpremote" ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp -r lib :/ ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py fs cp -r resources :/ +popd + ~/sources/lvgl_micropython/lib/micropython/tools/mpremote/mpremote.py reset diff --git a/apps/com.example.app1/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.app1/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.app1/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.app1/META-INF/MANIFEST.MF diff --git a/apps/com.example.app1/assets/app1.py b/internal_filesystem/apps/com.example.app1/assets/app1.py similarity index 100% rename from apps/com.example.app1/assets/app1.py rename to internal_filesystem/apps/com.example.app1/assets/app1.py diff --git a/apps/com.example.app1/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.app1/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.app1/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.app1/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.app2/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.app2/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.app2/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.app2/META-INF/MANIFEST.MF diff --git a/apps/com.example.app2/assets/app2.py b/internal_filesystem/apps/com.example.app2/assets/app2.py similarity index 100% rename from apps/com.example.app2/assets/app2.py rename to internal_filesystem/apps/com.example.app2/assets/app2.py diff --git a/apps/com.example.app2/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.app2/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.app2/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.app2/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.camtest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.camtest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.camtest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.camtest/META-INF/MANIFEST.MF diff --git a/apps/com.example.camtest/assets/camtest.py b/internal_filesystem/apps/com.example.camtest/assets/camtest.py similarity index 100% rename from apps/com.example.camtest/assets/camtest.py rename to internal_filesystem/apps/com.example.camtest/assets/camtest.py diff --git a/apps/com.example.cputest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.cputest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.cputest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.cputest/META-INF/MANIFEST.MF diff --git a/apps/com.example.cputest/assets/cputest.py b/internal_filesystem/apps/com.example.cputest/assets/cputest.py similarity index 100% rename from apps/com.example.cputest/assets/cputest.py rename to internal_filesystem/apps/com.example.cputest/assets/cputest.py diff --git a/apps/com.example.cputest/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.cputest/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.cputest/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.cputest/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.imutest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.imutest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.imutest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.imutest/META-INF/MANIFEST.MF diff --git a/apps/com.example.imutest/assets/imutest.py b/internal_filesystem/apps/com.example.imutest/assets/imutest.py similarity index 100% rename from apps/com.example.imutest/assets/imutest.py rename to internal_filesystem/apps/com.example.imutest/assets/imutest.py diff --git a/apps/com.example.imutest/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.imutest/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.imutest/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.imutest/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.launcher/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.launcher/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.launcher/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.launcher/META-INF/MANIFEST.MF diff --git a/apps/com.example.launcher/assets/launcher.py b/internal_filesystem/apps/com.example.launcher/assets/launcher.py similarity index 100% rename from apps/com.example.launcher/assets/launcher.py rename to internal_filesystem/apps/com.example.launcher/assets/launcher.py diff --git a/apps/com.example.launcher/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.launcher/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.launcher/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.launcher/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.lvgltest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.lvgltest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.lvgltest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.lvgltest/META-INF/MANIFEST.MF diff --git a/apps/com.example.lvgltest/assets/lvgltest.py b/internal_filesystem/apps/com.example.lvgltest/assets/lvgltest.py similarity index 100% rename from apps/com.example.lvgltest/assets/lvgltest.py rename to internal_filesystem/apps/com.example.lvgltest/assets/lvgltest.py diff --git a/apps/com.example.lvgltest/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.lvgltest/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.lvgltest/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.lvgltest/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.memtest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.memtest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.memtest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.memtest/META-INF/MANIFEST.MF diff --git a/apps/com.example.memtest/assets/memtest.py b/internal_filesystem/apps/com.example.memtest/assets/memtest.py similarity index 100% rename from apps/com.example.memtest/assets/memtest.py rename to internal_filesystem/apps/com.example.memtest/assets/memtest.py diff --git a/apps/com.example.memtest/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.memtest/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.memtest/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.memtest/res/mipmap-mdpi/launcher_icon.png diff --git a/apps/com.example.wstest/META-INF/MANIFEST.MF b/internal_filesystem/apps/com.example.wstest/META-INF/MANIFEST.MF similarity index 100% rename from apps/com.example.wstest/META-INF/MANIFEST.MF rename to internal_filesystem/apps/com.example.wstest/META-INF/MANIFEST.MF diff --git a/apps/com.example.wstest/assets/bitcoin_price.py b/internal_filesystem/apps/com.example.wstest/assets/bitcoin_price.py similarity index 100% rename from apps/com.example.wstest/assets/bitcoin_price.py rename to internal_filesystem/apps/com.example.wstest/assets/bitcoin_price.py diff --git a/apps/com.example.wstest/assets/bitcoin_transactions.py b/internal_filesystem/apps/com.example.wstest/assets/bitcoin_transactions.py similarity index 100% rename from apps/com.example.wstest/assets/bitcoin_transactions.py rename to internal_filesystem/apps/com.example.wstest/assets/bitcoin_transactions.py diff --git a/apps/com.example.wstest/assets/echo.py b/internal_filesystem/apps/com.example.wstest/assets/echo.py similarity index 100% rename from apps/com.example.wstest/assets/echo.py rename to internal_filesystem/apps/com.example.wstest/assets/echo.py diff --git a/apps/com.example.wstest/res/mipmap-mdpi/launcher_icon.png b/internal_filesystem/apps/com.example.wstest/res/mipmap-mdpi/launcher_icon.png similarity index 100% rename from apps/com.example.wstest/res/mipmap-mdpi/launcher_icon.png rename to internal_filesystem/apps/com.example.wstest/res/mipmap-mdpi/launcher_icon.png diff --git a/boot.py b/internal_filesystem/boot.py similarity index 100% rename from boot.py rename to internal_filesystem/boot.py diff --git a/main.py b/internal_filesystem/main.py similarity index 100% rename from main.py rename to internal_filesystem/main.py