Skip to content

Disable REPL on RP2 #17508

Jun 16, 2025 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

Just put these two lines at line 175:

        pyexec_frozen_module("app.py", false);
        goto soft_reset_exit;

before:

        // Execute user scripts.
        int ret = pyexec_file_if_exists("boot.py");
        if (ret & PYEXEC_FORCED_EXIT) {
            goto soft_reset_exit;
        }

in your main.c

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@shariltumin
Comment options

@ZacharyInDallas
Comment options

@ZacharyInDallas
Comment options

@shariltumin
Comment options

Answer selected by ZacharyInDallas
@ZacharyInDallas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy