Nincs leírás

philippe44 faa6cf1aa8 add mpg.c and codecs stubs 5 éve
components 3aec88e87d adding vorbis and alac 5 éve
main faa6cf1aa8 add mpg.c and codecs stubs 5 éve
.gitattributes a5b37a13c9 :confetti_ball: Added .gitattributes & .gitignore files 5 éve
.gitignore e4afb64769 complete environment 5 éve
Makefile 978afb363c full directory structure 5 éve
README.md 05925261f2 add vorbis, tweak SPIRAM/ISRAM stack 5 éve

README.md

Adding squeezelite

  • libmad must be in a separated component otherwise linker whines about long call
  • 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
  • vorbis
    • set SPIRAM_MALLOC_ALWAYSINTERNAL to 2048 as it consumes a lot of 8K blocks and uses all internal memory - when no memoru, WiFI chip fails
  • 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 to 16M
  • change main stack size to 8000 as well (for app_main which is slimproto)
  • use old "make" environment no CMake
  • Wifi SCAN Example

    This example shows how to use scan of ESP32.

    We have two way to scan, fast scan and all channel scan:

    • fast scan: in this mode, scan will finish after find match AP even didn't scan all the channel, you can set thresholds for signal and authmode, it will ignore the AP which below the thresholds.

    • all channel scan : scan will end after checked all the channel, it will store four of the whole matched AP, you can set the sort method base on rssi or authmode, after scan, it will choose the best one

    and try to connect. Because it need malloc dynamic memory to store match AP, and most of cases is to connect to better signal AP, so it needn't record all the AP matched. The number of matches is limited to 4 in order to limit dynamic memory usage. Four matches allows APs with the same SSID name and all possible auth modes - Open, WEP, WPA and WPA2.