From f47b7f57239621b5047923b749ebf69142aee261 Mon Sep 17 00:00:00 2001 From: mrfaptastic <12006953+mrfaptastic@users.noreply.github.com> Date: Fri, 11 Nov 2022 10:03:32 +0000 Subject: [PATCH] Update platform_detect.hpp --- src/platforms/platform_detect.hpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/platforms/platform_detect.hpp b/src/platforms/platform_detect.hpp index 8046601..0adb2be 100644 --- a/src/platforms/platform_detect.hpp +++ b/src/platforms/platform_detect.hpp @@ -39,7 +39,11 @@ Modified heavily for the ESP32 HUB75 DMA library by: #include "esp32s3/gdma_lcd_parallel16.hpp" #include "esp32s3/esp32s3-default-pins.hpp" - #elif defined (CONFIG_IDF_TARGET_ESP32) + #elif defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32H2) + + #error "ESP32 RISC-V devices do not have an LCD interface and are therefore not supported by this library." + + #elif defined (CONFIG_IDF_TARGET_ESP32) || defined(ESP32) // Assume an ESP32 (the original 2015 version) // Same include as ESP32S3 @@ -51,7 +55,7 @@ Modified heavily for the ESP32 HUB75 DMA library by: #include "esp32/esp32-default-pins.hpp" #else - #error "Unknown ESP32 platform." + #error "Unknown platform." #endif