Skip to content

Conversation

@manhere
Copy link
Contributor

@manhere manhere commented Feb 28, 2025

configurable backlight delay

usage:

build_flags = 
    -D BCKL_DELAY_MS=1000

configurable backlight delay
@manhere manhere changed the base branch from main to develop February 28, 2025 06:24
@rzeldent rzeldent merged commit b86d1b6 into rzeldent:develop Jun 16, 2025
1 check passed
rzeldent added a commit that referenced this pull request Jul 28, 2025
* Update esp32_smartdisplay.c (#247)

configurable backlight delay

* removed dc_as_cmd_phase (#259)

* Updated boards

* Fix backlight duty validation and update error messages for CST816S touch controller

* DMA (#264)

* Add DMA manager for optimized bitmap transfers and update related functions

* Refactor DMA initialization and add completion callbacks for optimized bitmap transfers

* Add DMA support for optimized bitmap transfers across multiple display panels

* Refactor LVGL display flush functions to utilize optimized DMA helpers

- Removed redundant DMA completion callbacks from individual display files.
- Introduced a new header file `esp32_smartdisplay_dma_helpers.h` for common DMA functions.
- Implemented `smartdisplay_dma_flush_with_byteswap` for SPI/I80 panels to handle byte swapping and DMA transfers.
- Added `smartdisplay_dma_flush_with_rotation` for parallel panels to manage software rotation and DMA transfers.
- Updated all display panel files (GC9A01, ILI9341, ST7262, ST7701, ST7789, ST7796) to use the new helper functions for flushing.
- Enhanced DMA initialization with standardized logging through `smartdisplay_dma_init_with_logging`.
- Improved error handling and logging for DMA operations across all display panels.

* Uncomment default_envs for esp32-8048S070C in platformio.ini

* Refactor DMA helper functions and clean up code formatting for consistency

* Update src/esp_touch_cst816s.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/lvgl_panel_st7789_i80.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/lvgl_panel_st7796_spi.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update src/lvgl_panel_gc9a01_spi.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update subproject commit reference in boards

* Update subproject commit reference and refactor DMA initialization and transfer logic

* Update subproject commit reference to indicate dirty state

* boards

* Uint to uint32 t (#270)

* boards

* boards

* boards

* renamed uint to uint32_t as it is not standard

* Update src/esp32_smartdisplay_dma.c

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: manhere <580122+manhere@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants