Conversation
Add LT8912B Driver.
Use nonswapped RGB888 for LT8912B HDMI output.
…ibility Platform layer: - Add CONFIG_IDF_TARGET_ESP32C5/C2/C61 to device.hpp, common.hpp, common.cpp - Guard GDMA register access with __has_include(<soc/gdma_struct.h>) for chips that no longer ship gdma_struct.h / gdma_reg.h (ESP32-C5, C61, H4) - Replace GPIO_PIN_MUX_REG lookup table with weak-symbol + fallback calculation (IO_MUX_GPIO0_REG + pin * 4) for chips where IDF dropped the array - Fix Bus_SPI.cpp GDMA conditionals to avoid falling into legacy ESP32 DMA path on new RISC-V chips Misc sync with LovyanGFX upstream: - CMakeLists.txt: add missing esp32s2 platform glob - device.hpp: move Panel_CVBS include from ESP32P4 to ESP32 block - Panel_LT8912B.cpp: add ESP-IDF v6.0 compatibility - Panel_CO5300: extract from Panel_AMOLED.hpp into separate header (LovyanGFX base version for T-Watch-Ultra, 502x410) - Panel_AMOLED.hpp: remove inline Panel_CO5300 definition
New board - M5ToughC5 (ESP32-C5): - Autodetect via M5PM1 (0x6E) + M5IOE1 (0x4F) on I2C0 (SDA=2, SCL=3) - ILI9342c 320x240 SPI LCD (CS=25, DC=26, MOSI=7, MISO=8, SCLK=9) - Backlight/reset/enable via M5IOE1 I/O expander - Touch reset via M5PM1 GPIO2 - board_M5ToughC5 added to boards.hpp - SDL simulator title entry added Touch_CHSC6540 driver (new): - Chipsemi CHSC6540 capacitive touch controller (I2C addr 0x2E) - 12-bit coordinates, up to 2 touch points - Replaces inline Touch_M5Tough / Touch_M5ToughC5 in M5GFX.cpp - Used by both M5Tough (ESP32) and M5ToughC5 (ESP32-C5) Panel_StopWatch: - Inherits Panel_CO5300 with M5StopWatch-specific init commands (480x480) Verified on M5ToughC5 V0.6 hardware with IDF v5.5.4.
Remove std:: prefix from integer types (uint8_t, int32_t, etc.) which are not in namespace std without <cstdint> being included.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the M5GFX library to version 0.2.24, introducing support for new hardware and making various improvements to the codebase and examples. The most important changes are grouped below:
New Hardware Support
src/lgfx/v1/platforms/esp32s2/*.cppin the CMake build configuration.Panel_CO5300andTouch_CHSC6540are now included in the build. [1] [2]Touch_M5Toughimplementation has been removed, as its functionality is now integrated intoTouch_CHSC6540.Example Enhancements
M5UnitPoEP4HDMIdisplay, making it easier for users to test this hardware. [1] [2] [3] [4] [5] [6] [7] [8] [9]AnalogMeter.ino, the color constant was renamed fromTFT_GREYtoTFT_METER_GREYfor clarity, and its usage was updated accordingly. [1] [2]Example Code Maintenance
TFT_graphicstest_PDQ.inowere refactored and restored, ensuring the benchmark tests display and run correctly. [1] [2]Version Updates
0.2.24in all relevant metadata files:library.json,library.properties, andidf_component.yml. [1] [2] [3]