diff --git a/micropython/modules/badger2040/assets/boot.py b/micropython/modules/badger2040/assets/boot.py new file mode 100644 index 00000000..76b5ef6d --- /dev/null +++ b/micropython/modules/badger2040/assets/boot.py @@ -0,0 +1,6 @@ +try: + open("main.py", "r") +except OSError: + with open("main.py", "w") as f: + f.write("import _launcher") + f.flush()