5 Commits

Author SHA1 Message Date
L'électron rare 31488982c7 build: restore wifi ram tuning defaults
Re-pin the Wi-Fi RX/TX buffer counts and AMPDU window that the
gitignored sdkconfig held, so a fresh checkout reconfigures with
the internal-RAM budget that avoids esp_wifi_init NO_MEM.
2026-06-21 12:41:51 +02:00
L'électron rare 94533f84c9 build: shrink bootloader to fit iram
Log level INFO pulls libc printf into IRAM (~15 KB), overflowing
the fixed 12 KB iram_seg by 9787 bytes. Pin SIZE optimization
and drop to WARN level to avoid the vfprintf/stdio chain.
2026-06-21 10:34:32 +02:00
L'électron rare a4d00827c7 build: restore sdkconfig defaults for routines
Add FATFS LFN (heap, 255), LVGL stdio FS ('S' drive),
mbedTLS external+dynamic alloc, SPIRAM task stacks.
WiFi dynamic TX blocked by SPIRAM_TRY_ALLOCATE_WIFI_LWIP
Kconfig dep; static TX (TYPE=0) is correct for this board.
2026-06-21 10:16:24 +02:00
Clément Saillant e35058f53d chore(box): commit firmware base + feature docs
Backfills the working firmware that had stayed uncommitted across the
build sessions, so the branch is self-contained.

- audio: audio_player, radio_pipeline, sd_player, calm_tone, aac_player
- net: podcast (RSS), udp_log
- modes: balloons, plus calm/games/radio tweaks
- ui: fonts header, icons; build files (CMakeLists, idf_component.yml,
  sdkconfig.defaults)
- docs/superpowers: Histoires design + plan

Note: sdkconfig stays gitignored (Wi-Fi creds + tuned LFN/FS/mbedtls
settings); a fresh checkout must reconfigure those.
2026-06-15 00:20:47 +02:00
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