Commit Graph

86 Commits

Author SHA1 Message Date
Sebastien L
699c1da42f Merge branch 'master-cmake' into Ethernet 2021-11-08 16:19:36 -05:00
Philippe G
974ff5fa68 strncpy is not safe + memory optimization 2021-11-03 22:00:07 -07:00
Philippe G
2805629c4b add SPI ethernet 2021-10-31 14:47:28 -07:00
Philippe G
97ae01b89f ethernet sample 2021-10-30 18:00:56 -07:00
Philippe G
13294ddd0c Continue searching for STA in AP mode when SSID has been set 2021-10-05 12:22:46 -07:00
Philippe G
813e7ee712 use polling for gpio 36 & 39 - release 2021-08-19 19:11:39 -07:00
Sebastien
d61c650f39 UI change of the update mechanism 2021-04-12 12:11:54 -04:00
Sebastien
7457632990 Auto stash before merge of "master-cmake" and "origin/master-cmake" 2021-03-25 10:15:37 -04:00
Sebastien
7c13c130b8 Wifi UI update 2020-12-21 11:01:22 -05:00
Sebastien
8fbe1159f5 Reworking BT output 2020-11-03 17:54:31 -05:00
Sebastien
72345e1394 fix power save boot loop in IDF v4.0 - release
Disabled power save none, as this causes a boot loop under the latest esp-idf v4.0 release
2020-10-27 11:31:48 -04:00
Sebastien
be1d841039 Major UI Update
- Bug fixes 
- Jack doesn't show as plugged in if no jack detection is configured 
- New layout
- Updated jQuery to latest version
- Updated bootstrap to latest version
- Updated the command processing backend to support UI interactions
- Added a number of accessors to normalize read/update various configuration entries 
- Added more GPIOs to the status tab GPIO list
- Added several configuration sections for hardware and system
- Removed pop-over windows from system messages
- Added a message count pill to the status tab
- Added support for message count pill based on the highest severity 
- Updated the message list table to set colours based on messages severity
- Added command processing message area close to the action buttons to provide feedback from running the commands
2020-10-08 17:19:22 -04:00
Sebastien
3ffbe022e5 Added wifi scanmode NVS option - release
f= default, fast scan
a= All channel scan
2020-09-13 12:17:27 -04:00
Sebastien
0c224b4b84 New config UI for Services (Airplay, bt, etc) - release 2020-09-12 23:09:38 -04:00
Sebastien
bbbc924fcd Add nvs "wifi_ps" to disable wifi power save mode - release
Set disable_ps = n to disable power save mode. This may help with wifi
signal stability, but will likely result in a higher power consumption.
2020-09-12 16:05:49 -04:00
Philippe G
94da8ca950 i2c timeout change + remove some wifi test code used for led fix - release 2020-09-01 13:40:25 -07:00
Sebastien
a46bbb409f Fixes #50 - Green led flash state reset on wifi connect - release 2020-09-01 15:11:45 -04:00
Sebastien
db839a9ccd Add new status field: is_i2c_locked to help with the new config page 2020-08-31 16:56:54 -04:00
Sebastien
b5fcb6b235 Move some INFO level messages to DEBUG - reducing the firmware footprint 2020-07-06 11:52:38 -04:00
Sebastien
56396d11ef command to UI backend wip 2020-04-16 20:32:39 -04:00
Sebastien
811451f24e cmake on esp-idf V4.0 - testing version - release 2020-04-09 23:08:40 -04:00
Sebastien
2ab14d62be Merged with httpd - work in progress 2020-03-10 17:27:06 -04:00
Sebastien
39058213fa Merge remote-tracking branch 'origin/httpd' into master-cmake
Conflicts:
	.cproject
	.gitmodules
	.project
	.pydevproject
	.settings/language.settings.xml
	.settings/org.eclipse.cdt.core.prefs
	components/cmd_i2c/CMakeLists.txt
	components/cmd_i2c/cmd_i2ctools.c
	components/cmd_i2c/component.mk
	components/cmd_nvs/cmd_nvs.c
	components/cmd_nvs/component.mk
	components/cmd_system/cmd_system.c
	components/cmd_system/component.mk
	components/config/config.c
	components/config/config.h
	components/config/nvs_utilities.c
	components/display/CMakeLists.txt
	components/driver_bt/CMakeLists.txt
	components/driver_bt/component.mk
	components/raop/raop.c
	components/services/CMakeLists.txt
	components/squeezelite-ota/cmd_ota.c
	components/squeezelite-ota/squeezelite-ota.c
	components/squeezelite-ota/squeezelite-ota.h
	components/squeezelite/component.mk
	components/telnet/CMakeLists.txt
	components/wifi-manager/CMakeLists.txt
	components/wifi-manager/dns_server.c
	components/wifi-manager/http_server.c
	components/wifi-manager/http_server.h
	components/wifi-manager/wifi_manager.c
	components/wifi-manager/wifi_manager.h
	main/CMakeLists.txt
	main/console.c
	main/esp_app_main.c
	main/platform_esp32.h
2020-03-10 13:55:22 -04:00
Sebastien
879272dfe4 idf.py app now builds both squeezelite and recovery in a single pass 2020-03-09 23:47:15 -04:00
Sebastien
c97f9e2c59 retrofit to gcc8 2020-03-04 13:01:24 -05:00
Sebastien
4f72f284ce Additional messages added to messaging bus, increase dft size 2020-03-03 11:42:25 -05:00
Sebastien
e19c9e12dc memory leak fixed 2020-02-24 16:14:17 -05:00
Sebastien
d4576bbdd4 httpd implementation - wip 2020-02-21 15:16:54 -05:00
Sebastien
8c3a52d40c added ability to upload new firmware from the browser. 2020-02-14 13:33:50 -05:00
sebastien
e6bad26ef0 Merge remote-tracking branch 'origin/master' into httpd
Conflicts:
	components/wifi-manager/http_server.c
2020-02-04 22:44:34 -05:00
philippe44
dfebb8ceb6 Add set_GPIO, handle GPIO 36/39 bug 2020-02-01 01:56:06 -08:00
Sebastien
b680999e62 Merge branch 'master' into httpd
Conflicts:
	components/wifi-manager/http_server.c
	components/wifi-manager/wifi_manager.c
	main/config.c
	main/config.h
2020-01-22 15:13:18 -05:00
philippe44
450943735b add display + some refactoring 2020-01-10 12:32:50 -08:00
philippe44
daef63fdea more refactoring
- jack & led moved to services
- output_i2s subscribes to jack detection
- add user-defined debounce timer to buttons
2020-01-08 19:09:53 -08:00
philippe44
26ecdf60d9 refactor services, increase max sockets - release 2020-01-06 16:08:15 -08:00
philippe44
d301a2d9df JACK_LEVEL correction for real 2020-01-04 13:34:55 -08:00
philippe44
aa6aed2164 correct JACK_GPIO 2020-01-04 13:32:31 -08:00
Sebastien
87255733a5 WIP httpd - saving current work. likely won't compile right now! 2019-12-12 11:33:58 -05:00
Sebastien
3929f3e809 Work in progress - move to httpd 2019-11-26 08:29:19 -05:00
philippe44
b62872ad78 BT & AP volume equalization, TAS5780 support 2019-11-23 19:04:59 -08:00
Sebastien
29242c63b9 Fix UI reboot to OTA/Recovery button - release 2019-11-20 14:56:06 -05:00
Sebastien
4369614bb4 Bug Fix: OTA now works from the Squeezelite app partition - release 2019-11-13 17:16:57 -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
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
9665e6485a Don't turn on AP mode if connect was initially a success. 2019-11-03 16:44:45 -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