Skip to content

Commit 6f69ea0

Browse files
committed
docs: clarify ESP32-S3 RGB LCD CMake rationale
Signed-off-by: Ibrahim YILMAZ <954041+drlinux@users.noreply.github.com>
1 parent 403ab6f commit 6f69ea0

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,12 @@
1818
# SPDX-License-Identifier: Apache-2.0
1919
#
2020

21-
# WHOLE_ARCHIVE option is supported only with esp-idf 5.x
22-
# A link option will be used with esp-idf 4.x
21+
# RGB LCD support depends on ESP-IDF 5.x esp_lcd RGB panel APIs and is
22+
# 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.
2327
if (IDF_VERSION_MAJOR GREATER_EQUAL 5 AND IDF_TARGET STREQUAL "esp32s3")
2428
set(OPTIONAL_WHOLE_ARCHIVE WHOLE_ARCHIVE)
2529
set(OPTIONAL_ESP_LCD_REQUIRES "esp_lcd")

0 commit comments

Comments
 (0)