Skip to content

ESP32

To support the widest range of Espressif SoCs possible, we provide a HAL directly for the Espressif IoT Development Framework (ESP-IDF). The HAL is available in the libtropic/hal/esp-idf/ directory.

ESP-IDF Version

The ESP-IDF version tested with Libtropic is 5.5.1.

Currently tested ESP32 boards are:

See our ESP32 Tutorials to quickly get started.

Initialization

If Libtropic's LT_USE_INT_PIN CMake option is used, the ESP-IDF HAL will use GPIO interrupts. This puts a requirement on your application — in your code, call the gpio_install_isr_service function with parameter 0 before calling lt_init. This function has to be called exactly once in your application. See the ESP32 examples in the examples/esp32/ directory for inspiration.