mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-12 06:27:12 +03:00
under the build directory, a number of new files will be written with prefixes like flash_dbg_* and dbg_*. These can be used to debug using jtag. the flash_dbg* files will flash the binaries to the dbg target and, if necessary, set the offset for debugging (e.g. when running squeezelite, the debugger needs to know that it's running in an offset that's not the same as recovery). These files can be used in a command like : xtensa-esp32-elf-gdb.exe --command=build/flash_dbg_squeezelite
38 lines
713 B
CMake
38 lines
713 B
CMake
|
|
|
|
idf_component_register( SRC_DIRS . external a1s tas57xx
|
|
INCLUDE_DIRS . a1s
|
|
PRIV_REQUIRES
|
|
codecs
|
|
newlib
|
|
esp_common
|
|
esp-dsp
|
|
platform_config
|
|
driver_bt
|
|
services
|
|
raop
|
|
display
|
|
)
|
|
|
|
|
|
|
|
set_source_files_properties(mad.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
set_source_files_properties(pcm.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
|
|
set_source_files_properties(flac.c
|
|
PROPERTIES COMPILE_FLAGS
|
|
-Wno-maybe-uninitialized
|
|
)
|
|
|
|
add_definitions(-DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4)
|
|
add_compile_options (-O3 )
|
|
|
|
|
|
|
|
|