Commit Graph
14 Commits
Author SHA1 Message Date
YoungsunLi 344bc35912 fix(esp_lcd): yield from SPI ISR when color trans done callback wakes a task
The return value of on_color_trans_done ("whether a high priority task
has been waken up by this function", see esp_lcd_types.h) was discarded
by the SPI backend. A task unblocked from inside the callback (e.g. via
xSemaphoreGiveFromISR) therefore did not get scheduled until the next
FreeRTOS tick, adding up to 10 ms of latency per color transfer with the
default CONFIG_FREERTOS_HZ=100. The i80 backend already honors the
contract (need_yield -> portYIELD_FROM_ISR); do the same here.
2026-09-04 17:49:55 +08:00
Chen Jichang 36658b2104 fix(spi_lcd): add a flag to decide whether dma accsess psram 2026-04-16 14:56:33 +08:00
Chen Jichang 516739f163 fix(lcd): fix lcd cmd be bypassd unexpectedly 2026-03-24 17:37:09 +08:00
Daniel Kampert 58ce40e9bb feat(esp_lcd): Add PSRAM support in SPI LCD panel IO
When the color buffer resides in PSRAM, set the SPI_TRANS_DMA_USE_PSRAM
flag.

Closes https://github.com/espressif/esp-idf/issues/18282
Merges https://github.com/espressif/esp-idf/pull/18283
2026-03-04 14:13:17 +08:00
morris af02c173fb refactor(soc): remove soc_caps_full.h 2025-12-04 10:48:07 +08:00
C.S.M d5054072eb ci(header_check): Add check for public header should not include freertos 2025-11-28 19:15:17 +08:00
Jeremy Boynes 4dfad2ecc6 fix(esp_lcd): Issue where M5Stack CoreS3 uses GPIO 35 for MISO and LCD D/C
Adopts approach used by M5GFX that enables/diables output during SPI transaction.
2025-11-11 20:23:45 -08:00
morris 08dc794e25 revert(lcd): data line number auto detect
quad_mode and octal_mode are not bus attribute but transaction attribute
in esp-idf SPI master driver

Closes https://github.com/espressif/esp-idf/issues/17455
2025-09-11 13:34:15 +08:00
morris 8b41a42372 refactor(lcd)!: use gpio_num_t to define gpio numbers used by LCD driver 2025-08-05 11:51:09 +08:00
Chen Jichang 08b75523cb refactor(spi_lcd): detect the bus mode automatically 2025-07-07 18:49:30 +08:00
morris 46c404f4c0 fix(lcd): DC signal shound't affect the input path of the GPIO
With this fix, user can use the same GPIO for both LCD DC output and SPI
MISO input.

Closes https://github.com/espressif/esp-idf/issues/15478
2025-03-03 14:09:43 +08:00
Chen Jichang 79b3b30828 feat(spi_lcd): move callback function to iram
Closes https://github.com/espressif/esp-idf/issues/15160
2025-01-15 18:25:37 +08:00
Chen Jichang 8d0990806c feat(spi_lcd): add spi cs timing parameters
Some lcd hardware drivers need different CS setup time. Add pretrans
and posttrans parameters to control the CS time.

Closes https://github.com/espressif/esp-idf/issues/13071
2024-07-02 10:55:34 +08:00
morris ad84b61e49 change(esp_lcd): rearrange the esp_lcd folder by types 2024-01-16 17:40:27 +08:00