ESP32-C6 - usable GPIOs?

Hello

I wanted to know which of the ESP32-C6 GPIOs are freely usable.

Like the S3, I can imagine that some pin are connected to the internal flash spi chip.


GPIO12/13 are for USB purposes.
GPIO4/5/6/7 are for JTAG debugging
GPIO8/9 are for boot settings

And the internal SPI Flash? Is it connected to some GPIOs?

I have used GPIO0/1/2/21 and the I2C bus on GPIO22/23, for my project, is that ok?

Thank you

There you find all connections in the scematics:

ESP32-C6-DevKitM-1 schematic

hardware-reference

From: ESP32-C6-DevKitM-1 - ESP32-C6 - — esp-dev-kits latest documentation

These pins require special care in that these have to be in a specific state at boot time. That does not, however, mean you can't use them. For example, even if a pin must be high at boot time, you can still wire a button switch between that pin and ground and use it normally. Just don't have that button pressed during boot.