Params.txt 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. espcoredump.py info_corefile -t b64 -c </path/to/saved/base64/text> </path/to/program/elf/file>
  2. LWIP
  3. Enable Copy between L2 and L3 no (no)
  4. Default receive window size 32768 (5740)
  5. Default transmit window size 8192 (5740)
  6. TCP:Default TCP receive mail box size 32 (6)
  7. WiFi
  8. Max number of WiFi static RX buffer 12-16 (6)
  9. Max number of WiFi dynamic buffer 24-64 (16 or 10)
  10. Max number of WiFi static TX buffer 12-16 (6)
  11. i2C
  12. i2cconfig --port=0 --sda=27 --scl=26
  13. SPI RAM
  14. Maximum malloc() to always put in internal memory 512 (2048)
  15. MBED_TLS
  16. Memory allocation strategy: external
  17. Put .bss in SPIRAM?
  18. # WiFi
  19. nvs_set autoexec1 str -v "join <SSID> <password>"
  20. # enable
  21. nvs_set autoexec u8 -v 1
  22. nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'RIVAARENA'\" -b 500:2000 -d all=info -BT -R -Z 96000 -r \"44100-44100\" -e flac"
  23. nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'RIVAARENA'\" -b 500:2000 -d all=info -BT -R -Z 96000 -r \"44100-44100\""
  24. nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'RIVAARENA'\" -b 500:2000 -d all=info -R -Z 96000 -r \"44100-44100\""
  25. nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'RIVAARENA'\" -b 500:2000 -d all=info -BT -R -u m -Z 192000 -r \"44100-44100\" -s 192.168.2.144"
  26. nvs_set autoexec2 str -v "squeezelite -o \"BT -n 'RIVAARENA'\" -b 500:2000 -d all=info -BT -r \"44100-44100\" -e flac"
  27. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -R -Z 96000 -r \"44100-44100\" -s 192.168.2.144"
  28. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -R -Z 96000 -r \"96000-96000\" -s 192.168.2.144"
  29. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -s 192.168.2.144"
  30. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info"
  31. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -s 192.168.2.144"
  32. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d all=info -s 192.168.2.10"
  33. nvs_set autoexec2 str -v "squeezelite -o I2S -b 500:2000 -d decode=info -s 192.168.2.144"
  34. nvs_set autoexec2 str -v "squeezelite -o SPDIF -b 500:2000 -d all=info "
  35. nvs_set autoexec1 str -v "squeezelite -o I2S -b 500:2000 -d all=info -s 192.168.2.144"
  36. nvs_set autoexec1 str -v "squeezelite -o SPDIF -b 500:2000 -d all=info -s 192.168.2.144"
  37. curl -fsSL https://download.docker.com/linux/debian/gpg | sudo apt-key add -
  38. sudo add-apt-repository "deb [arch=arm64] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
  39. sudo add-apt-repository "deb [arch=armhf] https://download.docker.com/linux/debian $(lsb_release -cs) stable"
  40. sudo apt-get install docker-ce docker-ce-cli containerd.io
  41. # Build recovery.bin, bootloader.bin, ota_data_initial.bin, partitions.bin
  42. # force appropriate rebuild by touching all the files which may have a RECOVERY_APPLICATION specific source compile logic
  43. find . \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -type f -print0 | xargs -0 grep -l "RECOVERY_APPLICATION" | xargs touch
  44. export PROJECT_NAME="recovery"
  45. make -j4 all EXTRA_CPPFLAGS='-DRECOVERY_APPLICATION=1'
  46. make flash
  47. #
  48. # Build squeezelite.bin
  49. # Now force a rebuild by touching all the files which may have a RECOVERY_APPLICATION specific source compile logic
  50. find . \( -name "*.cpp" -o -name "*.c" -o -name "*.h" \) -type f -print0 | xargs -0 grep -l "RECOVERY_APPLICATION" | xargs touch
  51. export PROJECT_NAME="squeezelite"
  52. make -j4 app EXTRA_CPPFLAGS='-DRECOVERY_APPLICATION=0'
  53. python ${IDF_PATH}/components/esptool_py/esptool/esptool.py --chip esp32 --port ${ESPPORT} --baud 2000000 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size detect 0x150000 ./build/squeezelite.bin
  54. # monitor serial output
  55. make monitor