diff --git a/README.md b/README.md index ba630746..d204f864 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,18 @@ Adding squeezelite - libmad must be in a separated component otherwise linker whines about long call - - libfaad requires -mlongcalls + - libfaad + - mlongcalls -O2 -DFIXED_POINT -DSMALL_STACK + - change ac_link in configure and case ac_files, remove '' + - compiler but in cfft.c and cffti1, must disable optimization using + #pragma GCC push_options + #pragma GCC optimize ("O0") + #pragma GCC pop_options + - libflac can use espressif's version - set IDF_PATH=/home/esp-idf - set ESPPORT=COM9 - change \components\partition_table\partitions_singleapp.csv to 2M instead of 1M (or more) - + - change flash's size in serial flash config + # Wifi SCAN Example This example shows how to use scan of ESP32. diff --git a/main/component.mk b/main/component.mk index 4e07b864..6de7bbbf 100644 --- a/main/component.mk +++ b/main/component.mk @@ -2,7 +2,7 @@ # "main" pseudo-component makefile. # # (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.) -CFLAGS += -DPOSIX -DLINKALL -DLOOPBACK -DDACAUDIO -I$(COMPONENT_PATH)/../libmad -I$(COMPONENT_PATH)/../libflac/include -I$(COMPONENT_PATH)/../faad2/include +CFLAGS += -DPOSIX -DLINKALL -DLOOPBACK -DDACAUDIO -DFIXED_POINT -DSMALL_STACK -I$(COMPONENT_PATH)/../libmad -I$(COMPONENT_PATH)/../libflac/include -I$(COMPONENT_PATH)/../faad2/include LDFLAGS += -s