From c1f13fa38c52edc52a32dbd9189eae8bcc1823cd Mon Sep 17 00:00:00 2001 From: Asklv Date: Mon, 9 Mar 2026 00:23:03 +0800 Subject: [PATCH] feat: allow lcd and rgb pins --- main/tools/gpio_policy.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main/tools/gpio_policy.h b/main/tools/gpio_policy.h index 1b70674..dc7d690 100644 --- a/main/tools/gpio_policy.h +++ b/main/tools/gpio_policy.h @@ -3,10 +3,10 @@ #include #include -/* 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.