Commit Graph

238 Commits

Author SHA1 Message Date
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
Sebastien
1391897a3a Incrementing the release numbering scheme to v0.4
Getting closer to a real release!
2019-11-08 11:29:23 -05:00
Sebastien
3325d31691 Fix: OTA now works under the new configuration subsystem - release
Make sure that you use bootloader from version v0.3.172 and up
2019-11-07 14:44:21 -05: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
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
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
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
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
d2f17f5b05 Update status.json message format: add severity 2019-10-03 23:27:28 -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
18f36b5433 Improve UI status handling during OTA 2019-10-02 12:16:10 -04:00
Sebastien
4a79a39d3c Major refactoring. OTA Works now (yes, yes... really works! ) 2019-09-30 16:22:58 -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
53369475dc More OTA work 2019-09-25 12:02:59 -04:00
Sebastien
47d06a8dc2 Merge branch 'Over_The_Air_Update' of
https://github.com/sle118/squeezelite-esp32.git into Over_The_Air_Update

Conflicts:
	components/wifi-manager/wifi_manager.c
2019-09-23 14:11:37 -04:00
sleclerc
bc6215e34a more ota work-ota cmd line implemented-not tested 2019-09-21 00:17:59 -04:00
Sebastien
8aedca48a7 OTA Work in progress 2019-09-20 21:09:12 -04:00
sle118
6cf0acfc4c Sync up (#16)
* Update CMakeLists.txt

* sink name corrections
2019-09-08 22:24:29 -04:00
sle118
a4a4829a00 Update CMakeLists.txt 2019-09-04 14:30:03 -04:00
Sebastien
07873a7710 Jenkins integration - Migrate to CMake 2019-09-02 17:09:38 -04:00
Christian Herzog
5e34f65e5e autoexec config settings working (#10)
* autoexec config settings working

* small fixes

* working autoexec* saving
2019-09-01 16:45:28 -04:00
sle118
4a4614951e Include memory fixes from main branch 2019-08-29 13:10:02 -04:00
sle118
6e7793a756 initial work on a wifi/http configuration module 2019-08-29 06:49:21 -04:00
philippe44
217dd8e5f0 stack & internal memory optimization
will need to move pthread stack to external memory at some point ...
2019-08-20 23:04:41 -07:00
philippe44
2a770483a1 tweak BT + start to add AirPlay 2019-08-16 23:22:46 -07:00
philippe44
d97d9fb7c9 add BT sink 2019-08-12 21:19:14 -07:00
philippe44
cf6d9c0911 tweaks 2019-08-11 13:52:35 -07:00
philippe44
6566e06bdf spdif working 2019-08-09 22:29:47 -07:00
philippe44
f5cd8b1a8f fix led & prepare spdif 2019-08-07 22:18:51 -07:00
philippe44
da63df4d93 add a quick LED helper / prepare SqueezeAMP menuconfig 2019-08-06 13:21:00 -07:00
philippe44
2af82edce4 add opus codec (i2s default IO changed!) 2019-08-01 23:00:33 -07:00
philippe44
59253c2325 let TAS575x be a compiler flag 2019-07-21 10:38:39 -07:00
philippe44
a45c4f7f06 freeze fix by increasing WiFi RX buffer *or* forcing L2-to-L3 copy 2019-07-03 14:20:30 -07:00
philippe44
83f9f3320e BT, EMBEDDED, thread joining
Fix a few BT issues (detection & sink name)
End threads on any server missing for too long (except if server IP set
manually)
Still cannot end threads when BT active (works wit I2S)
Thread lokc-up still happens when switching tracks quickly
2019-06-30 23:29:34 -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
philippe44
4b54f1733b refactor step 2 - I2C
DAC renamed to I2C
squeezelite thread stack correction
had to move .bss to dram0 (need to verify consequences)
2019-06-29 12:40:56 -07:00
philippe44
6c5ce6ba80 refactor step 1 - BT 2019-06-28 23:08:46 -07:00
philippe44
0e3bc18748 more resampling options 2019-06-27 22:29:10 -07:00