forked from xiaozhi/xiaozhi-esp32
Fix yuying compiling
This commit is contained in:
@@ -1,9 +0,0 @@
|
||||
{
|
||||
"target": "esp32c3",
|
||||
"builds": [
|
||||
{
|
||||
"name": "kevin-sp-v3-dev",
|
||||
"sdkconfig_append": []
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"target": "esp32c3",
|
||||
"target": "esp32s3",
|
||||
"builds": [
|
||||
{
|
||||
"name": "kevin-yuying-313lcd",
|
||||
|
||||
@@ -4,16 +4,15 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
#include "driver/gpio.h"
|
||||
#include "freertos/FreeRTOS.h"
|
||||
#include "freertos/task.h"
|
||||
#include "esp_check.h"
|
||||
#include "esp_lcd_panel_commands.h"
|
||||
#include "esp_lcd_panel_interface.h"
|
||||
#include "esp_lcd_panel_io.h"
|
||||
#include "esp_lcd_panel_rgb.h"
|
||||
#include "esp_lcd_panel_vendor.h"
|
||||
#include "esp_log.h"
|
||||
#include <driver/gpio.h>
|
||||
#include <freertos/FreeRTOS.h>
|
||||
#include <freertos/task.h>
|
||||
#include <esp_check.h>
|
||||
#include <esp_lcd_panel_commands.h>
|
||||
#include <esp_lcd_panel_interface.h>
|
||||
#include <esp_lcd_panel_io.h>
|
||||
#include <esp_lcd_panel_vendor.h>
|
||||
#include <esp_log.h>
|
||||
|
||||
#include "esp_lcd_gc9503.h"
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "esp_lcd_panel_vendor.h"
|
||||
#include "esp_lcd_panel_rgb.h"
|
||||
#include <esp_lcd_panel_vendor.h>
|
||||
#include <esp_lcd_panel_rgb.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -32,7 +32,6 @@ private:
|
||||
ESP_LOGI(TAG, "Init GC9503V");
|
||||
|
||||
esp_lcd_panel_io_handle_t panel_io = nullptr;
|
||||
esp_lcd_panel_handle_t panel = nullptr;
|
||||
|
||||
ESP_LOGI(TAG, "Install 3-wire SPI panel IO");
|
||||
spi_line_config_t line_config = {
|
||||
|
||||
Reference in New Issue
Block a user