Building without the REPL

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
cduran
Posts: 80
Joined: Thu Mar 17, 2016 4:52 pm

Building without the REPL

Post by cduran » Wed May 18, 2022 7:07 pm

Is it possible to build MP without the REPL? I'm using MP embedded in another application. Currently I just disabled the UART code, but I would feel more comfortable if I could just eliminate the REPL. I want to do this for security reasons, NOT for memory savings.

User avatar
Roberthh
Posts: 3667
Joined: Sat May 09, 2015 4:13 pm
Location: Rhineland, Europe

Re: Building without the REPL

Post by Roberthh » Thu May 19, 2022 11:16 am

Look into main.c of the board in question. There, REPL is called after executing main.c. You should be able to change the code accordingly.

cduran
Posts: 80
Joined: Thu Mar 17, 2016 4:52 pm

Re: Building without the REPL

Post by cduran » Mon May 23, 2022 12:43 pm

Thank you, this was a lot of help.

Post Reply