aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2022-11-11 10:03:32 +0000
committerGitHub <noreply@github.com>2022-11-11 10:03:32 +0000
commitf47b7f57239621b5047923b749ebf69142aee261 (patch)
tree8b0b897bddb197c36e312bc1ee053cb224073b9a /src
parent2760b0098a9d94b4575bc747c04fac34986751fe (diff)
Update platform_detect.hpp
Diffstat (limited to 'src')
-rw-r--r--src/platforms/platform_detect.hpp8
1 files 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