From 24d727e15e74904a7e19710cda3a459228c2a3fc Mon Sep 17 00:00:00 2001 From: dequis <dx@dxzone.com.ar> Date: Tue, 16 May 2023 23:34:24 +0200 Subject: [PATCH] Don't freeze python_payload, freeze python_modules instead --- manifest.py | 2 +- python_modules/hello.py | 2 ++ python_payload/boot.py | 6 ++++++ 3 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 python_modules/hello.py create mode 100644 python_payload/boot.py diff --git a/manifest.py b/manifest.py index 2ffcbedb22..db15169636 100644 --- a/manifest.py +++ b/manifest.py @@ -1,2 +1,2 @@ include("micropython/ports/esp32/boards") -freeze("./python_payload") +freeze("./python_modules") diff --git a/python_modules/hello.py b/python_modules/hello.py new file mode 100644 index 0000000000..30c2e89ec0 --- /dev/null +++ b/python_modules/hello.py @@ -0,0 +1,2 @@ +# remove me once we have something meaningful to put here +print("hello world") diff --git a/python_payload/boot.py b/python_payload/boot.py new file mode 100644 index 0000000000..38a85e0666 --- /dev/null +++ b/python_payload/boot.py @@ -0,0 +1,6 @@ +# This file is executed on every boot (including wake-boot from deepsleep) +#import esp +#esp.osdebug(None) +#import webrepl +#webrepl.start() +import main -- GitLab