Settings between Arduino-Esp32 and esp-idf

bpuppabt
Posts: 1
Joined: Thu Jun 22, 2023 4:36 pm

Settings between Arduino-Esp32 and esp-idf

Postby bpuppabt » Fri Jun 23, 2023 4:34 pm

How can I map the various settings from the Arduino-esp32 environment to the esp-idf? Specific settings I'd like to translate are from the Arduino Tools menu to the idf.py menuconfig are:

USB Mode: "Hardware CDC and JTAG"
USB CDC On Boot: "Disabled"
USB Firmware MSC On Boot: "Disabled"
USB DFU On Boot: "Disabled"
Upload Mode: "UART0/Hardware CDC"

It seems like it should be pretty straight forward, but I've been able to get the Arduino IDE to work but not on the esp-idf side.

ESP_Sprite
Posts: 9739
Joined: Thu Nov 26, 2015 4:08 am

Re: Settings between Arduino-Esp32 and esp-idf

Postby ESP_Sprite » Sat Jun 24, 2023 2:17 am

bpuppabt wrote:
Fri Jun 23, 2023 4:34 pm
USB Mode: "Hardware CDC and JTAG"
Component config → ESP System Settings → Channel for console output: USB Serial/JTAG Controller
USB CDC On Boot: "Disabled"
USB Firmware MSC On Boot: "Disabled"
USB DFU On Boot: "Disabled"
There's no direct equivalent as in ESP-IDF you'd have to initialize the USB-OTG peripheral stack yourself; unless you do that these options are disabled 'by default'.
Upload Mode: "UART0/Hardware CDC"
Not sure what this does in Arduino... you'd simply point ESP-IDF at the right 'serial' port I think.

Who is online

Users browsing this forum: No registered users and 98 guests