* 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>
27 lines
1.1 KiB
CMake
27 lines
1.1 KiB
CMake
# 3.1 is OK for most parts. However:
|
|
# 3.3 is needed in src/libFLAC
|
|
# 3.5 is needed in src/libFLAC/ia32
|
|
# 3.9 is needed in 'doc' because of doxygen_add_docs()
|
|
cmake_minimum_required(VERSION 3.5)
|
|
|
|
file(GLOB srcs "flac/src/libFLAC/*.c")
|
|
list(FILTER srcs EXCLUDE REGEX ".*ogg.*\\.c$")
|
|
list(FILTER srcs EXCLUDE REGEX "windows_unicode_filenames\\.c$")
|
|
|
|
#project(FLAC VERSION 1.3.3) # HOMEPAGE_URL "https://www.xiph.org/flac/")
|
|
set(VERSION "1.3.3")
|
|
set(PACKAGE_VERSION "1.3.3")
|
|
|
|
idf_component_register(SRCS "${srcs}"
|
|
INCLUDE_DIRS .
|
|
"flac/include"
|
|
PRIV_INCLUDE_DIRS "flac/src/libFLAC/include/"
|
|
)
|
|
|
|
#set_source_files_properties(opus/silk/quant_LTP_gains.c PROPERTIES COMPILE_FLAGS -Wno-maybe-uninitialized)
|
|
#target_compile_definitions(${COMPONENT_TARGET} PRIVATE "-DHAVE_CONFIG_H")
|
|
|
|
set_source_files_properties(flac/src/libFLAC/bitwriter.c PROPERTIES COMPILE_FLAGS -Wno-error=format)
|
|
set_source_files_properties(flac/src/libFLAC/bitreader.c PROPERTIES COMPILE_FLAGS -Wno-error=format)
|
|
target_compile_definitions(${COMPONENT_TARGET} PRIVATE "-DHAVE_CONFIG_H")
|