Could someone please guide me through how to disable REPL on UART0.
My thoughts: this could be a security vulnerability on your system when deployed as someone can easily plug in a USB cable and see everything in your system
Kindly assist.
Disabling REPL on esp32 UART0
-
- Posts: 35
- Joined: Sat Oct 26, 2019 8:38 pm
Re: Disabling REPL on esp32 UART0
Write in boot.py:
But not ideal, if a hacker breaks the boot.py before this code, he can catch the REPR.
Code: Select all
from uos import dupterm
dupterm(None, 1) # Disable REPL on UART(0)