Failed to flash and run test progran on ESP32 board

After I flashed the hello-world program into my ESP32 board, I then typed make term BOARD=esp32-wroom-32, instead of displaying “hello, world” it showed

# Connect to serial port /dev/ttyUSB0
Welcome to pyterm!
Type '/exit' to exit.

I wonder where this pyterm come from and how can I successfully run the program from the board. Thanks for anyone who knows the answer to my thread!

After flashing the board, the program just starts running, even if you do not have a terminal connected. You want, after all, run the program without any human interaction. So to see the message, you need to reset the board, either by hitting the reset button (RST) on your ESP32 board, or by running make reset BOARD=esp32-wroom-32 in a separate terminal, while make term is running.

Pyterm is the serial terminal program RIOT uses by default. You can find it in /dist/tools/pyterm/. If you have one installed, you can pick other serial terminals, such as picocom, miniterm, or socat by setting RIOT_TERMINAL in your environment variables, e.g.

make -C examples/hello-world/ term RIOT_TERMINAL=picocom BOARD=esp32-wroom-32