added support fo guition board

This commit is contained in:
2026-03-13 16:39:27 +00:00
parent 0203682200
commit c5233cf15c
16 changed files with 1293 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
idf_component_register( SRC_DIRS . muse
idf_component_register( SRC_DIRS . muse guition
INCLUDE_DIRS .
PRIV_REQUIRES services
)
@@ -0,0 +1,5 @@
idf_component_register(
SRCS "guition.c"
INCLUDE_DIRS "."
REQUIRES driver esp_common
)
+43
View File
@@ -0,0 +1,43 @@
/*
* Guition JC4827W543C board support for squeezelite-esp32
*
* (c) Guition Board Support 2026
* Based on squeezelite-esp32 architecture
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#include <string.h>
#include <esp_log.h>
#include <esp_types.h>
#include <esp_system.h>
#include <freertos/FreeRTOS.h>
#include <freertos/task.h>
#include "globdefs.h"
#include "monitor.h"
#include "targets.h"
static const char TAG[] = "guition";
static bool init(void);
const struct target_s target_guition = {
.model = "guition",
.init = init
};
static bool init(void) {
ESP_LOGI(TAG, "Initializing Guition JC4827W543C board");
ESP_LOGI(TAG, "Board features:");
ESP_LOGI(TAG, " - ESP32-S3-WROOM-1 processor");
ESP_LOGI(TAG, " - 4.3\" ILI9488 display (480x272)");
ESP_LOGI(TAG, " - GT911 capacitive touch");
ESP_LOGI(TAG, " - QSPI display interface");
ESP_LOGI(TAG, " - I2C touch interface (GPIO8/4)");
// No board-specific hardware initialization required
// All configuration is handled through NVS parameters
return true;
}
+1 -1
View File
@@ -1,7 +1,7 @@
#include "string.h"
#include "targets.h"
const struct target_s *target_set[] = { &target_muse, NULL };
const struct target_s *target_set[] = { &target_muse, &target_guition, NULL };
void target_init(char *target) {
for (int i = 0; *target && target_set[i]; i++) if (strcasestr(target_set[i]->model, target)) {
+1
View File
@@ -20,3 +20,4 @@ struct target_s {
};
extern const struct target_s target_muse;
extern const struct target_s target_guition;