Commit Graph

141 Commits

Author SHA1 Message Date
Sebastien
811451f24e cmake on esp-idf V4.0 - testing version - release 2020-04-09 23:08:40 -04:00
Sebastien
fcf86c5e75 cmake ota leverage esp_http_client 2020-04-06 10:31:32 -04:00
Sebastien
ea873ae3bc Stabilizing a few things.
Music plays, httpd responds in a snap, messaging subsystem works, full
end-to-end flash erase/flash/configure wifi & hardware/reboot to
squeezelite was tested.

CMake system works well:  it now allows to flash in a single command
(assuming esp-idf V4.0 is properly installed on the system) with the
standard line:

idf.py flash -p <comport>

this makes building and flashing the app less confusing for new
developers/users wanting to experiment
2020-03-11 15:51:55 -04:00
Sebastien
7adc14a5aa fixing some merging issues 2020-03-10 20:01:18 -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
b2ea4a2cdd untangling references. linking almost completed! 2020-03-08 10:46:30 -04:00
Sebastien
70aa420406 Merge remote-tracking branch 'origin/master' into master-cmake
Conflicts:
	components/raop/raop.c
	components/raop/rtp.c
	main/cmd_squeezelite.c
2020-03-08 09:54:50 -04:00
philippe44
8e95bd3dd2 AirPlay fix & misc
- Spectrum scale fix
- Initialize more display parameters
- Reboot after 30s of no connection
- Reboot after IP address change
2020-03-07 14:01:53 -08:00
Sebastien
c97f9e2c59 retrofit to gcc8 2020-03-04 13:01:24 -05:00
Sebastien
5ab1f04ea5 taming the memory monster 2020-03-02 18:03:47 -05:00
Sebastien
5fcf08e4c5 httpd ready for some testing - release 2020-02-26 15:56:15 -05:00
Sebastien
055d87ce9d prevent startup delay from display if i2c is unresponsive - release 2020-02-26 09:08:14 -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
b80faf911a fine tuning of httpd implementation 2020-02-13 16:22:51 -05:00
Sebastien
1d803af331 Merge remote-tracking branch 'origin/master' into httpd
Conflicts:
	components/services/monitor.c
	components/telnet/telnet.c
	components/telnet/telnet.h
2020-02-12 18:03:22 -05:00
philippe44
64fcc0edec More refactoring
- Display is a separated entity
- Make battery configuration consistent with others
- Led config part of led.c
- Jack config moved to monitor.c
2020-02-09 11:36:58 -08:00
philippe44
cfae996fd3 Refactoring
- Add SPI display
- Add SSD1326 (not fully tested)
- Remove all but one dependecies to HW (#define)
- Cleanup KProjectBuild
- Update .defaults
2020-02-09 00:25:50 -08:00
sebastien
58a2d0bea7 Merge remote-tracking branch 'origin/master' into httpd
Conflicts:
	components/services/monitor.c
	components/telnet/telnet.c
2020-02-05 21:06:27 -05:00
philippe44
28c3246398 add dac_config NVS for generic I2S/DAC configuration 2020-02-05 16:22:10 -08:00
philippe44
ed4eb6a42e adding rotary encoder + better jack gpio handling 2020-02-05 00:17:48 -08: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
d912d21aac merge misc GPIO options into set_GPIO 2020-02-04 00:13:22 -08:00
philippe44
cb565da0eb add GPIO to drive external amplifier 2020-02-03 17:25:42 -08:00
philippe44
49b9700e6d adding telnet 2020-02-03 13:48:19 -08:00
philippe44
dfebb8ceb6 Add set_GPIO, handle GPIO 36/39 bug 2020-02-01 01:56:06 -08:00
Sebastien
acbc661efb Merge remote-tracking branch 'origin/master' into httpd 2020-01-29 11:10:34 -05:00
philippe44
1fd31471a2 Display for AirPlay / Bluetooth (still WIP) 2020-01-26 01:31:43 -08:00
Sebastien
5b1abf0fc9 httpd wip 2020-01-22 19:49:20 -05:00
philippe44
ce790a412e add Vcc_GPIO & handle LMS 32-pixels fixed display height 2020-01-20 22:15:15 -08:00
philippe44
b8570ebce3 finish remapping
- actrls_brd config renamed actrls_config
- get rid of static board definitions
- allow JSON config string to only initialize what it needs
- add control_hook
2020-01-17 20:29:14 -08:00
Sebastien
4dbed9ecb4 WIP - Audio Control Profile navigation 2020-01-17 17:27:51 -05:00
philippe44
70261b17ac diff display colum index + separate services & config accessors 2020-01-16 22:07:58 -08:00
Sebastien
a4846fa60b more alignment of cmd_i2ctools 2020-01-16 15:45:26 -05:00
philippe44
e96ba5fd5b globalize a few things 2020-01-14 16:11:15 -08:00
philippe44
dba4782871 display improvements, reset player_id when switching server 2020-01-13 19:19:55 -08:00
Sebastien
bb6d30c45f button json parser improvements 2020-01-13 17:22:18 -05:00
philippe44
b5dc9ec47a add speaker fault + some cleanup 2020-01-12 15:57:05 -08:00
philippe44
fe74cf76cb init display at boot 2020-01-11 18:43:12 -08:00
philippe44
e82d56fbfa merge in progress 2020-01-11 13:56:58 -08:00
Sebastien
0e368c4185 Merge master with json blob fix 2020-01-10 16:19:32 -05:00
Sebastien
fd122ea0f2 Merge remote-tracking branch 'origin/master' 2020-01-10 16:06:44 -05:00
Sebastien
c85d2afbaf json button mapping config 2020-01-10 15:39:32 -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
4a08f1c5c5 display support + extra generic buttons 2020-01-07 12:46:59 -08:00
philippe44
26ecdf60d9 refactor services, increase max sockets - release 2020-01-06 16:08:15 -08:00
philippe44
164c08b766 make board_index a NVS 2020-01-04 13:24:00 -08:00