* upgrade to IDF v5.1.1
* add new synchronization implementation, use sample stuffing / removal to keep up sync
* use big DMA buffer for I2S and improve sync
* Add DAC TAS5805M as custom board
* add wifi credential reset
o press reset button (nRESET pin) 3 times
but wait about 1s between button presses
the button press counter is reset 5s after boot
* Add support for PT8211 DAC (#78)
* upgrade ethernet interface to IDF v5 (#84)
* port official example of ethernet for IDF v5.x
* Fix cmake if guard for ethernet
Signed-off-by: Karl Osterseher <karli_o@gmx.at>
Co-authored-by: DerPicknicker <64746593+DerPicknicker@users.noreply.github.com>
Co-authored-by: whc2001 <ianwang0122@outlook.com>
21 lines
814 B
CMake
21 lines
814 B
CMake
file(GLOB srcs "opus/src/*.c")
|
|
file(GLOB silk "opus/silk/*.c")
|
|
file(GLOB celt "opus/celt/*.c")
|
|
file(GLOB fixed "opus/slik/fixed/*.c")
|
|
file(GLOB float "opus/slik/float/*.c")
|
|
|
|
|
|
idf_component_register(SRCS "${srcs}" "${silk}" "${celt}" "${fixed}" "${float}"
|
|
INCLUDE_DIRS .
|
|
"opus/include"
|
|
"opus/silk"
|
|
"opus/silk/fixed"
|
|
"opus/silk/float"
|
|
"opus/celt"
|
|
)
|
|
|
|
set_source_files_properties(opus/silk/quant_LTP_gains.c PROPERTIES COMPILE_FLAGS -Wno-maybe-uninitialized)
|
|
set_source_files_properties(opus/silk/NLSF2A.c PROPERTIES COMPILE_FLAGS -Wno-maybe-uninitialized)
|
|
set_source_files_properties(opus/silk/enc_API.c PROPERTIES COMPILE_FLAGS -Wno-stringop-overflow)
|
|
target_compile_definitions(${COMPONENT_TARGET} PRIVATE "-DHAVE_CONFIG_H")
|