Wed, 26 Jun 2024 21:48:49 +0200
Reverted gpio_pad_select_gpio() calls, added the correct include. Starting the unit works better now. Reverted some other small changes. In some parts the controller is very slow, possible spiffs issue?
if (NOT IDF_VERSION_MAJOR) set(IDF_VERSION_MAJOR 3) endif() if (IDF_VERSION_MAJOR LESS 5) message(FATAL_ERROR "Can't build: requires ESP-IDF version 5.0 or above.") endif() set(COMPONENT_ADD_INCLUDEDIRS .) set(COMPONENT_SRCS "spi_master_lobo.c") set(COMPONENT_REQUIRES "soc" "driver" "esp_rom") register_component() #idf_component_register(SRCS spi_master_lobo.c INCLUDE_DIRS .)