feat: allow lcd and rgb pins

This commit is contained in:
Asklv
2026-03-09 00:23:03 +08:00
parent 37c0b0d6ee
commit c1f13fa38c

View File

@@ -3,10 +3,10 @@
#include <stdbool.h>
#include <stddef.h>
/* GPIO pin range defaults for ESP32-S3 (safe user-accessible pins) */
/* GPIO defaults for ESP32-S3-LCD-1.47B safe user-accessible pins */
#define MIMI_GPIO_MIN_PIN 1
#define MIMI_GPIO_MAX_PIN 21
#define MIMI_GPIO_ALLOWED_CSV "" /* empty = use min/max range */
#define MIMI_GPIO_ALLOWED_CSV "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,21,38,46"
/**
* Check if a pin is allowed for user GPIO operations.