fix imports
Some checks failed
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Successful in 3m36s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Successful in 3m42s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 3m9s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 2m59s
Some checks failed
ESP-IDF Build / build (esp32c6, release-v5.4) (push) Successful in 3m36s
ESP-IDF Build / build (esp32c6, release-v5.5) (push) Successful in 3m42s
ESP-IDF Build / build (esp32s3, release-v5.4) (push) Failing after 3m9s
ESP-IDF Build / build (esp32s3, release-v5.5) (push) Failing after 2m59s
Signed-off-by: Peter Siegmund <developer@mars3142.org>
This commit is contained in:
@@ -13,6 +13,7 @@ idf_component_register(SRCS
|
|||||||
persistence-manager
|
persistence-manager
|
||||||
simulator
|
simulator
|
||||||
u8g2
|
u8g2
|
||||||
|
hal
|
||||||
nvs_flash
|
nvs_flash
|
||||||
esp_timer
|
esp_timer
|
||||||
esp_event
|
esp_event
|
||||||
|
|||||||
@@ -9,19 +9,17 @@
|
|||||||
|
|
||||||
#ifndef U8G2_ESP32_HAL_H_
|
#ifndef U8G2_ESP32_HAL_H_
|
||||||
#define U8G2_ESP32_HAL_H_
|
#define U8G2_ESP32_HAL_H_
|
||||||
|
|
||||||
#include "u8g2.h"
|
#include "u8g2.h"
|
||||||
|
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
#include "driver/i2c.h"
|
#include "driver/i2c.h"
|
||||||
#include "driver/spi_master.h"
|
#include "driver/spi_master.h"
|
||||||
|
#include "hal/i2c_types.h"
|
||||||
|
|
||||||
#define U8G2_ESP32_HAL_UNDEFINED GPIO_NUM_NC
|
#define U8G2_ESP32_HAL_UNDEFINED GPIO_NUM_NC
|
||||||
|
|
||||||
#if SOC_I2C_NUM > 1
|
|
||||||
#define I2C_MASTER_NUM I2C_NUM_1 // I2C port number for master dev
|
|
||||||
#else
|
|
||||||
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev
|
#define I2C_MASTER_NUM I2C_NUM_0 // I2C port number for master dev
|
||||||
#endif
|
|
||||||
|
|
||||||
#define I2C_MASTER_TX_BUF_DISABLE 0 // I2C master do not need buffer
|
#define I2C_MASTER_TX_BUF_DISABLE 0 // I2C master do not need buffer
|
||||||
#define I2C_MASTER_RX_BUF_DISABLE 0 // I2C master do not need buffer
|
#define I2C_MASTER_RX_BUF_DISABLE 0 // I2C master do not need buffer
|
||||||
|
|||||||
Reference in New Issue
Block a user