Page 1 of 1

esp32c3的usb–serial-jtag做串口通信改怎么初始化

Posted: Sat Jan 15, 2022 11:26 am
by wanzhilin88
你好,
我想用esp32的自带usb串口和电脑之间收发数据。请问该怎么初始化呢?
比如使能,设置波特率,收发数据等……

Re: esp32c3的usb–serial-jtag做串口通信改怎么初始化

Posted: Mon Jan 17, 2022 3:51 am
by wanzhilin88
The most trivial use case is to use menuconfig to configure the USB-serial-JTAG as your standard input/output. You can then use the standard Unix functions (printf, getc, ...) to use it.