Honw to control REPL

RP2040 based microcontroller boards running MicroPython.
Target audience: MicroPython users with an RP2040 boards.
This does not include conventional Linux-based Raspberry Pi boards.
Post Reply
LAurent_B
Posts: 5
Joined: Sun Apr 03, 2016 3:15 pm

Honw to control REPL

Post by LAurent_B » Mon Nov 08, 2021 12:38 pm

Hello,

I'm looking for a solution to control the repl on a RPi pico board.
My goal is to have :
- a quiet usb for communication with a PC
- an uart with repl for debug (by adding an usb/rs232 converter)

I'm able to turn on repl on uart0 with the following configuration in
the rp2/mpconfigport.h file

- MICROPY_HW_ENABLE_UART_REPL (1)
- MICROPY_HW_ENABLE_USBDEV (1)

But i'm not able to turn off it on USB. Is there a way to do it ?

After reading several configurartion files, I found in CMakeLists.tx,
PICO_NO_BI_STDIO_UART=1 # we call it UART REPL

if someone could provides information on this previous line.

Post Reply