diff options
| author | Luke Hoersten <[email protected]> | 2026-06-19 19:31:23 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-19 19:31:23 -0500 |
| commit | 30a317dcb6dd40d2eca64aa09fdbe9031c37996f (patch) | |
| tree | d300d11f1f7d737fd71ba93aaf2d6c6f0f247b0a /main/CMakeLists.txt | |
| parent | fa7d17ed496d75cacae92baa4c8d8b139c1efd15 (diff) | |
firmware: build fixes — esp_app_format component + forward-declare s_last_painted_seq
Two build breaks discovered when actually compiling the prior commits:
- main/CMakeLists.txt missing esp_app_format requirement, so
esp_app_desc.h couldn't be resolved when app_main.c included it for
the boot-time git-hash log.
- s_last_painted_seq is referenced inside state_post_handler (reset
to 0 on /state wake) but the static was declared further down the
file alongside the other /frame state. C requires declaration
before use — forward declare it above state_post_handler and keep
a stub comment at the original location.
Diffstat (limited to 'main/CMakeLists.txt')
| -rw-r--r-- | main/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index 4cd3b9a..ee679a2 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -1,7 +1,7 @@ idf_component_register( SRC_DIRS "." INCLUDE_DIRS "." - REQUIRES driver esp_driver_i2c esp_driver_jpeg esp_eth esp_event - esp_http_client esp_http_server esp_hw_support esp_lcd - esp_netif esp_pm esp_timer hal json mdns nvs_flash + REQUIRES driver esp_app_format esp_driver_i2c esp_driver_jpeg esp_eth + esp_event esp_http_client esp_http_server esp_hw_support + esp_lcd esp_netif esp_pm esp_timer hal json mdns nvs_flash ) |
