Files
DigiRadio/Software/components/drivers/adau1701/CMakeLists.txt
T
micheleandCursor cc4a03168e Add updatable ADAU1701 program via flash partition and HTTP API.
Decouple the SigmaStudio RAM download from compiled-in adau1701_program.c:
DRAD v1 blobs in the dsp partition with embedded fallback, POST /api/dsp/program,
and host-tested blob parse/serialize helpers.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:21:49 +02:00

18 lines
527 B
CMake

set(ADAU_FW_DIR "${CMAKE_CURRENT_LIST_DIR}/../../../Firmware/ADAU1701-Firmware")
idf_component_register(
SRCS
"src/Adau1701Driver.cpp"
"src/Adau1701Dsp.cpp"
"src/EmbeddedDspProgramSource.cpp"
"src/FlashDspProgramSource.cpp"
"src/FallbackDspProgramSource.cpp"
"src/SigmaStudioFW.c"
INCLUDE_DIRS
"include"
"${ADAU_FW_DIR}"
REQUIRES core driver esp_driver_gpio esp_driver_i2c esp_partition
)
target_compile_features(${COMPONENT_LIB} PUBLIC cxx_std_23)