Skip to content

How to include main.py and boot.py #243

@devmare

Description

@devmare

I'm not able to include main.py and boot.py file in the firmware image. I tried several locations and also created scripts folders but no success. I'm only able to include .py files in the modules folder.

According to the code following folders are used:
FROZEN_DIR = $(COMPONENT_PATH)/esp32/scripts
FROZEN_MPY_DIR = $(COMPONENT_PATH)/esp32/modules

Therefore I also tried following path:
MicroPython_ESP32_psRAM_LoBo\MicroPython_BUILD\components\micropython\esp32\scripts\main.py

Is there something else I have to consider?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions