Files
lisael-box/main/idf_component.yml
T
Clément Saillant e44efe13e0 chore(build): scaffold ESP-IDF project for BOX-3
Context:
  New firmware "Lisael Box" targeting the ESP32-S3-BOX-3 (8MB PSRAM,
  16MB flash, LCD+touch, ES8311 codec, microSD). Establish the ESP-IDF
  5.4/5.5 build skeleton before adding modules.

Approach:
  Standard IDF project layout with a single big factory app (4MB) since
  the binary links the esp-box BSP, LVGL 9 and ESP-ADF. ESP-ADF is not a
  managed component, so the top-level CMake injects $ADF_PATH/components
  via EXTRA_COMPONENT_DIRS and warns clearly when ADF_PATH is unset.

Changes:
  - top-level CMakeLists with ADF_PATH wiring
  - partitions.csv (16MB: factory 4MB + FAT storage)
  - sdkconfig.defaults (+ .esp32s3: octal PSRAM, 16MB, 240MHz, LVGL/PSRAM)
  - main/CMakeLists, idf_component.yml (esp-box-3 ^3.2, built-in json)
  - Kconfig.projbuild (Wi-Fi, weather lat/lon, child volume cap)
  - lisael_config.h shared constants, .gitignore

Impact:
  Buildable skeleton; modules added in following commits. Not yet
  compiled (no IDF/ADF/board available) - see README.
2026-06-14 00:40:07 +02:00

25 lines
1.2 KiB
YAML

# Managed component dependencies for Lisael Box.
# Fetched automatically into managed_components/ on `idf.py build`.
#
# NOTE: ESP-ADF is NOT listed here — it is not distributed via the component
# registry. It is installed separately and pulled in through ADF_PATH /
# EXTRA_COMPONENT_DIRS (see top-level CMakeLists.txt and README).
#
# Versions below reflect the esp-box-3 BSP v3.2.x line, which itself depends on
# LVGL 9.x, esp_lvgl_port ^2 and esp_codec_dev ~1.5. We let the BSP pin the
# exact transitive versions; we only state the top-level ones we use directly.
# Per repo supply-chain policy these should eventually be mirrored/pinned by
# hash against the audited baseline — TODO before any production build.
dependencies:
idf:
version: ">=5.4"
# Board support package for the ESP32-S3-BOX-3: display, touch, ES8311 codec,
# ES7210 mic, microSD, IMU, buttons. Pulls esp_lvgl_port, lvgl, esp_codec_dev,
# esp_lcd_ili9341, button, icm42670, aht30 transitively.
espressif/esp-box-3: "^3.2.0"
# JSON parsing (manifest.json, open-meteo replies) uses the cJSON shipped with
# ESP-IDF as the built-in "json" component — no managed dependency needed.
# (REQUIRES json in main/CMakeLists.txt.)