I received my ESP32-PICO-KIT today, and just to test that it was good i downloaded the same code to it.
When it booted it panic'ed. I started commenting out lines of code to narrow it down and discovered that this line is the culprit.
Code: Select all
uart_set_pin(UART_NUM_2, 17, 16, UART_PIN_NO_CHANGE, UART_PIN_NO_CHANGE);
According to the ESP32-PICO-D4 data sheet GPIO 17 & 16 are free for GPIO, so why does it work ok on the ESP-WROOM-32 module but panic on the ESP32-PICO-KIT v4.1 ?
I am using ESP-IDF v3.2-rc