There was an error while loading. Please reload this page.
1 parent 403ab6f commit 6f69ea0Copy full SHA for 6f69ea0
1 file changed
CMakeLists.txt
@@ -18,8 +18,12 @@
18
# SPDX-License-Identifier: Apache-2.0
19
#
20
21
-# WHOLE_ARCHIVE option is supported only with esp-idf 5.x
22
-# A link option will be used with esp-idf 4.x
+# RGB LCD support depends on ESP-IDF 5.x esp_lcd RGB panel APIs and is
+# currently enabled only for ESP32-S3 targets.
23
+#
24
+# The ESP32 build statically links AtomVM ports/drivers into the final image.
25
+# WHOLE_ARCHIVE is enabled together with the RGB LCD driver so the native
26
+# driver/port registration code is not discarded by the linker.
27
if (IDF_VERSION_MAJOR GREATER_EQUAL 5 AND IDF_TARGET STREQUAL "esp32s3")
28
set(OPTIONAL_WHOLE_ARCHIVE WHOLE_ARCHIVE)
29
set(OPTIONAL_ESP_LCD_REQUIRES "esp_lcd")
0 commit comments