-
Notifications
You must be signed in to change notification settings - Fork 106
Develop #257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
rzeldent
commented
Jun 9, 2025
- Updated documentation
- esp32-s3-touch-lcd-4p3
- Refactoring
200-enhancement-for-pwmd-rgb-led
Corrected interrupts leven pos/neg edge
* Remove sw_rotate * Removed unused code * LVGL version to 9.2.2 * Enable all devices * Updated markdown
* Remove sw_rotate * Removed unused code * LVGL version to 9.2.2 * Enable all devices * Updated markdown * Test hardware rotation st7701 * Test use underlying driver for swap and mirror * Reenabled code * test * Use define for DISPLAY_SOFTWARE_ROTATION
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
A refactoring to standardize GPIO macro names, add support for the esp32-s3 touch LCD 4p3 board, and update documentation and project configuration.
- Renamed many
*_GPIO_NUM
and*_IO_NUM
macros to shorter, consistent names across SPI/I2C panel drivers. - Added new
esp32-s3touchlcd4p3
and JC* board environments inplatformio.ini
and updated LVGL config quoting. - Expanded
README.md
with a table of contents, submodule instructions, and fixed typos; introduced an AXS15231B QSPI panel driver file.
Comments suppressed due to low confidence (2)
platformio.ini:173
- [nitpick] Environment names in PlatformIO are conventionally lowercase and should avoid uppercase letters for consistency. Consider renaming this to
[env:jc2432w328c]
.
[env:JC2432W328C]
src/lvgl_panel_axa15231b_qspi.c:11
- The format specifier
%0x%08x
is invalid forpanel_io_event_data
. It should be0x%08x
(e.g.,panel_io_event_data:0x%08x
).
log_v("panel_io_handle:0x%08x, panel_io_event_data:%0x%08x, user_ctx:0x%08x", panel_io_handle, panel_io_event_data, user_ctx);
src/lvgl_panel_axa15231b_qspi.c
Outdated
} | ||
|
||
ESP_ERROR_CHECK(esp_lcd_panel_draw_bitmap(panel_handle, area->x1, area->y1, area->x2 + 1, area->y2 + 1, px_map)); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is an extra semicolon after the function closing brace. Remove the stray ;
to avoid confusion.
}; | |
} |
Copilot uses AI. Check for mistakes.
// const esp_lcd_panel_io_spi_config_t io_spi_config = { | ||
// .cs_gpio_num = AXS15231B_SPI_CONFIG_CS, | ||
// .dc_gpio_num = AXS15231B_SPI_CONFIG_DC, | ||
// .spi_mode = AXS15231B_SPI_CONFIG_SPI_MODE, | ||
// .pclk_hz = AXS15231B_SPI_CONFIG_PCLK_HZ, | ||
// .trans_queue_depth = AXS15231B_SPI_CONFIG_TRANS_QUEUE_DEPTH, | ||
// .user_ctx = display, | ||
// .on_color_trans_done = axs15231b_color_trans_done, | ||
// .lcd_cmd_bits = AXS15231B_SPI_CONFIG_LCD_CMD_BITS, | ||
// .lcd_param_bits = AXS15231B_SPI_CONFIG_LCD_PARAM_BITS, | ||
// .flags = { | ||
// .dc_as_cmd_phase = AXS15231B_SPI_CONFIG_FLAGS_DC_AS_CMD_PHASE, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] A large block of commented-out configuration is present. Consider removing or extracting it to documentation to keep the code clean.
// const esp_lcd_panel_io_spi_config_t io_spi_config = { | |
// .cs_gpio_num = AXS15231B_SPI_CONFIG_CS, | |
// .dc_gpio_num = AXS15231B_SPI_CONFIG_DC, | |
// .spi_mode = AXS15231B_SPI_CONFIG_SPI_MODE, | |
// .pclk_hz = AXS15231B_SPI_CONFIG_PCLK_HZ, | |
// .trans_queue_depth = AXS15231B_SPI_CONFIG_TRANS_QUEUE_DEPTH, | |
// .user_ctx = display, | |
// .on_color_trans_done = axs15231b_color_trans_done, | |
// .lcd_cmd_bits = AXS15231B_SPI_CONFIG_LCD_CMD_BITS, | |
// .lcd_param_bits = AXS15231B_SPI_CONFIG_LCD_PARAM_BITS, | |
// .flags = { | |
// .dc_as_cmd_phase = AXS15231B_SPI_CONFIG_FLAGS_DC_AS_CMD_PHASE, |
Copilot uses AI. Check for mistakes.