Commit Graph

244 Commits

Author SHA1 Message Date
Sebastien
b215f5ddec remove some verbose logs - release 2019-11-19 23:51:09 -05:00
Sebastien
8f6c54fd39 OTA Strikes again - master
Refactor of OTA core underway. Removing verbose logging. Fine tuning.
2019-11-19 23:40:51 -05:00
Sebastien
676a90ac33 EXPERIMENTAL OTA REFACTOR - release 2019-11-19 22:08:32 -05:00
Sebastien
c84722d8e8 @daduke special build #2 - release 2019-11-18 13:08:51 -05:00
Sebastien
98de501e71 @daduke special build for OTA - release 2019-11-18 12:49:50 -05:00
Sebastien
e02987f8df OTA Fine tuning - release 2019-11-16 00:37:33 -05:00
Sebastien
391bc24dc7 OTA fixes - release 2019-11-15 15:31:24 -05:00
Sebastien
ea2bf2b4ec Reduce ota flash partition erase block size - release 2019-11-15 15:11:08 -05:00
Sebastien
3e49fa8e2a Restore OTA task pinned to the non-wifi core, reduce priority - release 2019-11-15 14:45:37 -05:00
philippe44
10d19a6dd8 BSS & jack changes 2019-11-14 16:53:05 -08:00
Sebastien
e493949241 the system can now be accessed via its host name as configured in nvs 2019-11-13 17:46:17 -05:00
Sebastien
4369614bb4 Bug Fix: OTA now works from the Squeezelite app partition - release 2019-11-13 17:16:57 -05:00
Sebastien
db85cb342f Troubleshooting config + OTA crash 2019-11-13 10:48:24 -05:00
Sebastien
7a3f78d8d2 OTA Flash erase bug... erased. release 2019-11-12 18:00:49 -05:00
philippe44
62530b60f9 move HTTP server stack in SPIRAM 2019-11-07 20:51:19 -08:00
Sebastien
e9ba659b4f Refactor configuration. needs new recovery image! -- release
In order to use this new release, it is recommended to erase the flash
and replace the recovery partition with one that is at least at this
level.
2019-11-07 14:00:16 -05:00
Sebastien
0f94f48fe6 Merge branch 'nvs_parameters' of https://github.com/sle118/squeezelite-esp32.git into nvs_parameters 2019-11-06 23:31:26 -05:00
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
philippe44
0f8bd30544 terminate correctly statically created tasks 2019-11-05 20:18:26 -08:00
philippe44
3304571312 add comments & and a TODO 2019-11-04 22:27:30 -08:00
philippe44
5c60e505ac allocate buffers to minimize .bss 2019-11-04 22:01:58 -08:00
Sebastien
86f0d4c7ea Merge branch 'nvs_parameters' of https://github.com/sle118/squeezelite-esp32.git into nvs_parameters 2019-11-04 16:40:37 -05:00
Sebastien
4cbe54f692 Add some more debug logging 2019-11-04 16:40:24 -05:00
philippe44
9b39483361 get 2K of IRAM back 2019-11-04 12:17:23 -08:00
Sebastien
114d507e3f Added taskYield after wifi start 2019-11-04 15:01:56 -05:00
Sebastien
512c7d7722 Even more more logs. Removed references to the old wifi-manager struct 2019-11-04 14:46:51 -05:00
Sebastien
21ae78f499 Even more logging 2019-11-04 14:33:14 -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
9665e6485a Don't turn on AP mode if connect was initially a success. 2019-11-03 16:44:45 -05:00
Sebastien
4df1698722 Enhancement: add reboot button to nvs editor
The nvs editor will now allow rebooting to the currently active
partition
2019-11-01 10:18:41 -04: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
9f3f9bfbd2 Fix: don't delete AP details when connect fails. 2019-10-31 16:57:38 -04:00
Sebastien
8af0330f61 complete wifi-manager refactor. WIP. needed: make erase_flash.
This is NOT compatible with previous binaries.  Make sure that the
squeezelite binary used is in line with that recovery partition.
2019-10-31 16:20:14 -04:00
Sebastien
113e7be398 stability improvements 2019-10-29 19:02:40 -04:00
Sebastien
eb4a97a98c Improve WiFi connection management. 2019-10-29 17:13:47 -04:00
Sebastien
ec293f8258 Fix reboot caused by starting scan while wifi is connecting. 2019-10-28 23:24:14 -04:00
Sebastien
e4374f8554 New AP list implementation
- AP List now uses cJSON, which should be more robust than sprintf.
- Max number of access points reported now aligned with espressif's max.
- WiFi logs no longer suppressed by the wifi_manager
2019-10-28 15:04:08 -04:00
Christian Herzog
fc1c0a4bd2 add update AP button 2019-10-20 11:07:00 +02:00
Christian Herzog
220f039be3 reenable status timer when rebooting 2019-10-20 10:53:35 +02:00
Christian Herzog
4e6720a8ec fix BT sample rate on sl command line for now 2019-10-19 20:13:51 +02:00
Sébastien
76433b9594 Update code.js 2019-10-17 15:10:33 -04:00
Sebastien
6cf04a3a83 Merge branch 'master' into nvs_parameters
# Conflicts:
#	.cproject
#	Makefile
#	README.md
#	components/cmd_nvs/cmd_nvs.c
#	components/cmd_system/cmd_system.c
#	components/cmd_system/cmd_system.h
#	components/driver_bt/CMakeLists.txt
#	components/wifi-manager/CMakeLists.txt
#	components/wifi-manager/Kconfig.projbuild
#	components/wifi-manager/code.js
#	components/wifi-manager/component.mk
#	components/wifi-manager/dns_server.c
#	components/wifi-manager/dns_server.h
#	components/wifi-manager/http_server.c
#	components/wifi-manager/http_server.h
#	components/wifi-manager/index.html
#	components/wifi-manager/style.css
#	components/wifi-manager/wifi_manager.c
#	components/wifi-manager/wifi_manager.h
#	main/CMakeLists.txt
#	main/console.c
#	main/esp_app_main.c
#	sdkconfig.defaults
2019-10-17 12:45:26 -04:00
Sebastien
9f88945677 Fix Vorbis bug on partial decode (affects spotty playback) 2019-10-16 17:44:45 -04:00
Sebastien
cf5ee95adf Apply volume correction factor for Bluetooth sink. 2019-10-16 17:08:05 -04:00
Sebastien
0a4a6b16c3 fix squeezelite startup toggle 2019-10-16 11:20:33 -04:00
Sebastien
51a3fbcef0 Stabilize HTTP server, change logging 2019-10-16 10:57:37 -04:00
Sebastien
d4315f29ca OTA + nvs parameters bug fixes 2019-10-15 21:01:22 -04:00
sle118
47f24dbbfd cJSON stability WIP - nobuild 2019-10-15 14:10:19 -07:00