Commit Graph

25 Commits

Author SHA1 Message Date
Sebastien
cdbb198d8a enhancement: new "config" module to access configuration in RAM
This is to allow moving some tasks/stack memory to SPIRAM, saving on
precious IRAM. HTTP server should also be more responsive.
2019-11-06 23:31:13 -05:00
Sebastien
23a693fdeb More logging 2019-11-04 14:17:34 -05:00
Sebastien
260fcc54fe Add more logging 2019-11-04 13:19:24 -05:00
Sebastien
9c9fe3e0bf fix boot loop caused by competing wifi_manager and cmd_wifi
It is now possible to set a default autoexec command to automatically
join wifi when wifi_manager is disabled. To test wifi stability without
wifi_manager, use the following commands:

nvs_set bypass_wm str -v "1"
nvs_set autoexec str -v "1"
nvs_set autoexec1 str -v "squeezelite -o I2S -b 500:2000 -d all=info -m
nvs_set autoexec2 str -v "join <ssid> <password>"
ESP32"
restart

Note that squeezelite occupies the "autoexec1" slot to avoid conflicts
with the wifi manager web configuration page when it is re-enabled. To
re-enable the wifi-manager, use the following commands:

nvs_set bypass_wm str -v "0"
restart

--
Additional change:  Credits page now has a button to enable the nvs
editor even in ota mode
2019-11-01 09:50:05 -04:00
Sebastien
2ed8b50fbe allow bypassing the wifi manager
to disable wifi manager, use command:  nvs_set bypass_wm str -v "1"
to enable wifi manager, use command:  nvs_set bypass_wm str -v "0"
2019-10-31 17:42:45 -04:00
Sebastien
cf5ee95adf Apply volume correction factor for Bluetooth sink. 2019-10-16 17:08:05 -04:00
Sebastien
d4315f29ca OTA + nvs parameters bug fixes 2019-10-15 21:01:22 -04:00
Sebastien
24c473588a bug fixes 2019-10-03 16:00:43 -04:00
Sebastien
39ab188e5d Resolve Jenkins build issues 2019-10-03 14:40:24 -04:00
Sebastien
b6f1ce9a7a NVS Refactor ** Factory+Squeezelite FLASH required for this branch!
This is a major refactoring of the nvs parameters storage. To support
this, a new partition was added. To start using this branch, one must
flash all binaries and possibly re-configure the system.
2019-10-03 14:15:59 -04:00
Sebastien
44ea1dd4a5 update sector size to 512 bytes for ota 2019-09-29 23:28:36 -04:00
Sebastien
0ab1cd438b Full OTA refactor and other stability improvement 2019-09-29 21:12:02 -04:00
Sebastien
da610effc9 stable initial OTA! 2019-09-29 08:29:58 -04:00
Sebastien
ae1a480029 OTA - redirection support + bootloader 2019-09-26 23:28:59 -04:00
Sebastien
46024a358e OTA werks... sort of! 2019-09-25 17:37:51 -04:00
Sebastien
8aedca48a7 OTA Work in progress 2019-09-20 21:09:12 -04:00
sle118
6e7793a756 initial work on a wifi/http configuration module 2019-08-29 06:49:21 -04:00
philippe44
da63df4d93 add a quick LED helper / prepare SqueezeAMP menuconfig 2019-08-06 13:21:00 -07:00
philippe44
53b0ab2390 refactoring step 3 - components
squeezelite is a component
platform_esp32 is the main
2019-06-29 13:16:46 -07:00
Sebastien Leclerc
8500b2180d Console support WIP!
Some instabilities to tackle. BT Ring buffer were taken out.  DAC is
crashing with stack overflow.  So does A2DP after playing for a little
while.  This needs to be investigated.
2019-06-19 18:11:17 -04:00
Sebastien Leclerc
97144f7f5b BT ring buffering 2019-06-11 16:02:23 -04:00
Sebastien Leclerc
832180a4e4 Ring buffer implementation
First stab at implementing a ring buffer. Now tuning should be done.
The statistics report causes jitters and can be deactivated by lowering
the output verbosity.
2019-06-06 08:41:28 -04:00
Sebastien Leclerc
9b9ef11546 More DAC WIP
Stable DAC out.  Needs refactoring!
2019-06-03 20:10:38 -04:00
philippe44
70ef69971f Stabilization
move vorbis allocation to SPIRAM
tweak defconfigs
improve data reception
wav,flac,mp3 work fine but BT seems to lose connection from time to time
2019-05-27 23:25:08 -07:00
philippe44
ac322454ba reorg files 2019-05-26 23:34:09 -07:00