mirror of
https://github.com/sle118/squeezelite-esp32.git
synced 2025-12-07 03:57:07 +03:00
update some build notes
This commit is contained in:
12
README.md
12
README.md
@@ -1,10 +1,18 @@
|
|||||||
Adding squeezelite
|
Adding squeezelite
|
||||||
- libmad must be in a separated component otherwise linker whines about long call
|
- 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 IDF_PATH=/home/esp-idf
|
||||||
- set ESPPORT=COM9
|
- set ESPPORT=COM9
|
||||||
- change <esp-idf>\components\partition_table\partitions_singleapp.csv to 2M instead of 1M (or more)
|
- change <esp-idf>\components\partition_table\partitions_singleapp.csv to 2M instead of 1M (or more)
|
||||||
|
- change flash's size in serial flash config
|
||||||
|
|
||||||
# Wifi SCAN Example
|
# Wifi SCAN Example
|
||||||
|
|
||||||
This example shows how to use scan of ESP32.
|
This example shows how to use scan of ESP32.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# "main" pseudo-component makefile.
|
# "main" pseudo-component makefile.
|
||||||
#
|
#
|
||||||
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
|
# (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
|
LDFLAGS += -s
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user