Support latest board package

Latest board package does not expose low level GPIO driver. Call up header directly.
This commit is contained in:
Bodmer
2023-11-10 01:10:51 +00:00
committed by GitHub
parent bc9a855e63
commit 968c84fd0a

View File

@@ -11,6 +11,7 @@
// Include processor specific header
#include "soc/spi_reg.h"
#include "driver/spi_master.h"
#include "hal/gpio_ll.h"
#if !defined(CONFIG_IDF_TARGET_ESP32C3) && !defined(CONFIG_IDF_TARGET_ESP32S2) && !defined(CONFIG_IDF_TARGET_ESP32)
#define CONFIG_IDF_TARGET_ESP32