gc9a01.c and gc9a01.h were never committed to main despite ota_display.c depending on their display_fill_rect/draw_string/draw_arc functions. Also: - CMakeLists.txt: add gc9a01.c to SRCS - config.h: restore DISP_* GPIO defs (DC=8 CS=9 SCK=10 MOSI=11 RST=14 BL=2) for Waveshare ESP32-S3-Touch-LCD-1.28 - ota_display.c: fix snprintf buffer too small (verline[32]→[48]) which GCC 13.2.0 rejects as -Werror=format-truncation Confirmed builds clean and boots on bd-66hx hardware (mbpi5 /dev/ttyACM0). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
24 lines
418 B
CMake
24 lines
418 B
CMake
idf_component_register(
|
|
SRCS
|
|
"main.c"
|
|
"orin_serial.c"
|
|
"vesc_can.c"
|
|
"gc9a01.c"
|
|
"gitea_ota.c"
|
|
"ota_self.c"
|
|
"uart_ota.c"
|
|
"ota_display.c"
|
|
INCLUDE_DIRS "."
|
|
REQUIRES
|
|
esp_wifi
|
|
esp_http_client
|
|
esp_https_ota
|
|
nvs_flash
|
|
app_update
|
|
mbedtls
|
|
cJSON
|
|
driver
|
|
freertos
|
|
esp_timer
|
|
)
|