diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt
index fd1ee897892b02f1399c1d0e89bc9c87d6cbc306..69168406234e3cd552592766755654d2c4697192 100644
--- a/main/CMakeLists.txt
+++ b/main/CMakeLists.txt
@@ -138,7 +138,7 @@ set(IDF_COMPONENTS
     xtensa
 )
 
-set(MICROPY_FROZEN_MANIFEST ${MICROPY_PORT_DIR}/boards/manifest.py)
+set(MICROPY_FROZEN_MANIFEST ${PROJECT_DIR}/manifest.py)
 set(MICROPY_CROSS_FLAGS -march=xtensawin)
 
 idf_component_register(
diff --git a/manifest.py b/manifest.py
new file mode 100644
index 0000000000000000000000000000000000000000..2ffcbedb22e9a08f8d6d17a04363780ab0fb0057
--- /dev/null
+++ b/manifest.py
@@ -0,0 +1,2 @@
+include("micropython/ports/esp32/boards")
+freeze("./python_payload")
diff --git a/python_payload/boot.py b/python_payload/boot.py
deleted file mode 100644
index 38a85e0666bfa9f290fd200fd155862668adcd35..0000000000000000000000000000000000000000
--- a/python_payload/boot.py
+++ /dev/null
@@ -1,6 +0,0 @@
-# This file is executed on every boot (including wake-boot from deepsleep)
-#import esp
-#esp.osdebug(None)
-#import webrepl
-#webrepl.start()
-import main