Philippe G
e8f8239ee3
GPIO expander intr fix + some display need post CS time when switching rate between SPI devices - release
2021-12-31 18:25:59 -08:00
Philippe G
9789bef653
BT init can be called with stack in PSRAM + update source driver - release
2021-12-30 18:18:41 -08:00
Philippe G
d2f8d51c28
simplify dependencies
2021-12-28 22:44:05 -08:00
Philippe G
1ee0a232f4
can't shift by more than length - release
2021-12-27 22:05:23 -08:00
Philippe G
0d411d7295
slimproto alignment with 4.3 (decode_restore) - release
2021-12-24 13:07:38 -08:00
Philippe G
fff5a6bf03
unify (as much as possible) 4.0 and 4.3 for AirPlay
2021-12-22 18:37:44 -08:00
Philippe G
bf9410904d
thread names
2021-12-22 16:29:41 -08:00
Philippe G
fed174a062
SB displayer waits when external decoder is in control
2021-12-21 23:21:59 -08:00
Philippe G
efc2c9515c
BT/RAOP switch improvments + pin tasks to core 1 (pthread)
2021-12-21 23:19:02 -08:00
Philippe G
e9890227a4
only update VU/spectrum if we own the display
2021-12-21 01:04:34 -08:00
Philippe G
16ec4c0d57
correction - release
2021-12-20 23:40:57 -08:00
Philippe G
b13fa88033
optimize telnet, stacks and threads
2021-12-20 23:32:02 -08:00
Philippe G
de86a10d82
a bit of telnet refactoring + fix socket leak - release
2021-12-19 22:07:01 -08:00
Philippe G
7f57cd5338
minor non-functional fixes
2021-12-18 23:30:55 -08:00
Philippe G
975f34f01b
Give some love to AIrPlay/BT screens + better "safe TCB release" - release
2021-12-18 15:20:22 -08:00
Philippe G
1c92fdcc96
fix pca8575 - release
2021-12-17 21:32:03 -08:00
Philippe G
3b6299dc1a
AirPlay: no realloc, safe TCB cleanup, tools convergence
2021-12-17 10:54:25 -08:00
Philippe G
a266c07114
move to stock esp_http_server but keep it under control
...
- means 3 sockets are used (data + 2 for control)
- but LRU is activated (uses the 2 extra sockets to wake from select)
- backlog is just 1 (listen)
- only 3 sockets can be consumed before LRU activates
- for now, connections are kept-alive
2021-12-14 11:52:51 -08:00
Philippe G
412880d628
bring back ctrl message in http_server - part#1
2021-12-13 19:53:02 -08:00
Philippe G
7b361a0c2c
release
2021-12-12 22:16:46 -08:00
Philippe G
344730e1bc
optimize GPIO expander + external decoder fix
...
- external decoders sink callback had infinite loop when output buffer was full and would never empty
- race condition when playback stopped/restarted while waiting for output buffer to empty
2021-12-10 23:03:13 -08:00
Philippe G
af48710e31
Validate MCP23S17 + typos correction
2021-12-10 12:10:26 -08:00
Philippe G
a9efcfeca8
safe NVS parsing
2021-12-06 18:29:04 -08:00
Philippe G
5ac153f808
Add MCP23s17 + further optimizations
2021-12-05 18:21:39 -08:00
Philippe G
ec6dcb83f8
missing %d in expander isr log
2021-12-04 21:09:55 -08:00
Philippe G
16ba8e9e1f
small correction for MCP23017 that now works!
2021-12-04 19:32:52 -08:00
Philippe G
d2494b73db
Rotary encoder + simplify
...
- GPIO expander works with rotary encoder
- Much better mimic real GPIO, including ISR, to minimize impact on clients
2021-12-04 12:40:56 -08:00
Philippe G
1649a7e2a0
add trace for ST7735 offset
2021-12-02 11:10:30 -08:00
Philippe G
2fbea79a5b
Add offset for ST7735
2021-12-02 11:04:52 -08:00
Philippe G
2a9d87b6c5
add multi-expander
2021-12-01 19:15:29 -08:00
Philippe G
034f64c62a
add mcp23017 (untested) and refactor things a bit
2021-12-01 18:20:07 -08:00
Philippe G
c0f5ca1e10
fix expander as output (works now on 9535)
2021-12-01 14:28:32 -08:00
Philippe G
559f4ce69f
SPI can only be HSPI + remove unused defines in globdefs
2021-12-01 09:30:34 -08:00
Philippe G
6fb458eff7
min expanded GPIO is based on esp32's data
2021-11-30 23:56:54 -08:00
Philippe G
970c72d416
add writable expander GPIOs
2021-11-30 23:51:52 -08:00
Philippe G
5c99ab56f9
create queue before task...
2021-11-30 21:41:48 -08:00
Philippe G
62b0b1fac0
first function pcx9535 version
2021-11-30 21:28:52 -08:00
Philippe G
4ee36c24f4
add async write and mutex
2021-11-30 17:10:59 -08:00
Philippe G
3d123e86ac
add pc(a/f)85xx (untested) and write mode
...
Still no mutex
2021-11-29 23:29:17 -08:00
Philippe G
507c2c9755
first commit of GPIO expander
2021-11-29 19:24:52 -08:00
Philippe G
016bc1bb4d
adjusting telnet stack size
2021-11-27 00:46:21 -08:00
Philippe G
17a3058b23
cleaning
2021-11-27 00:11:10 -08:00
Philippe G
bbca38aaec
Can't set NDEBUG with bluedroid (compiler optimization bug) + remove code when BT/AirPlay are not used
2021-11-26 18:07:20 -08:00
Philippe G
ec860480a9
no call to BT in decoder init when BT is compiled out
2021-11-26 00:48:40 -08:00
Philippe G
d4fa8638d7
Timer stack needs a bit more room + no EXT_RAM_ATTR for .data (again)
2021-11-26 00:32:36 -08:00
Philippe G
c2f3e225d2
memory leak in telnet + more tweaks
2021-11-25 19:29:31 -08:00
Philippe G
bc0783f7b9
don't use pthread_attr if we want esp.cfg to prevail
2021-11-25 18:31:19 -08:00
Philippe G
a07cdbf3b5
optimize queue sizes and move more data to SPIRAM
2021-11-25 01:22:04 -08:00
Philippe G
a8521223c9
forgot to push telnet.c
2021-11-24 23:24:10 -08:00
Philippe G
ada74ab127
telnet & http server send command to stdin of console
...
The NVS commands must be executed using an internal stack, so push all keyboard-like inputs to the console
2021-11-24 23:15:13 -08:00