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>
18 lines
527 B
CMake
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)
|