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.
Settings between Arduino-Esp32 and esp-idf
-
- Posts: 9739
- Joined: Thu Nov 26, 2015 4:08 am
Re: Settings between Arduino-Esp32 and esp-idf
Component config → ESP System Settings → Channel for console output: USB Serial/JTAG Controller
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'.USB CDC On Boot: "Disabled"
USB Firmware MSC On Boot: "Disabled"
USB DFU On Boot: "Disabled"
Not sure what this does in Arduino... you'd simply point ESP-IDF at the right 'serial' port I think.Upload Mode: "UART0/Hardware CDC"
Who is online
Users browsing this forum: No registered users and 99 guests