Shut Down REPL Console

jmadsenee
Posts: 30
Joined: Tue Apr 19, 2022 1:16 am

Shut Down REPL Console

Postby jmadsenee » Wed Jan 25, 2023 3:44 pm

I've started a console using:

Code: Select all

esp_console_new_repl_usb_serial_jtag();
esp_console_start_repl(();
I want to shut it down (destroy it). The programming guide says
Once the REPL gets started, it won’t be stopped until the user calls repl->del(repl) to destroy the REPL environment.

I'm sure this is a dumb question, but how do I call repl->del(repl)?

Is this all I have to do to be able to use usb_serial_jtag_read_bytes() in my function?

Thanks!

Who is online

Users browsing this forum: No registered users and 115 guests