mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-06 03:27:01 +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
25 lines
927 B
Makefile
25 lines
927 B
Makefile
#
|
|
# "main" pseudo-component makefile.
|
|
#
|
|
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
|
CFLAGS += -O3 -DLINKALL -DLOOPBACK -DNO_FAAD -DRESAMPLE16 -DEMBEDDED -DTREMOR_ONLY -DBYTES_PER_FRAME=4 \
|
|
-I$(COMPONENT_PATH)/../codecs/inc \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/mad \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/alac \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/helix-aac \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/vorbis \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/soxr \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/resample16 \
|
|
-I$(COMPONENT_PATH)/../tools \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/opus \
|
|
-I$(COMPONENT_PATH)/../codecs/inc/opusfile \
|
|
-I$(COMPONENT_PATH)/../driver_bt \
|
|
-I$(COMPONENT_PATH)/../raop \
|
|
-I$(COMPONENT_PATH)/../services
|
|
|
|
# -I$(COMPONENT_PATH)/../codecs/inc/faad2
|
|
|
|
COMPONENT_SRCDIRS := . tas57xx a1s external
|
|
COMPONENT_ADD_INCLUDEDIRS := . ./tas57xx ./a1s
|
|
|