Skip to content

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

Merged
merged 31 commits into from
Jun 10, 2025
Merged

Develop #257

merged 31 commits into from
Jun 10, 2025

Conversation

rzeldent
Copy link
Owner

@rzeldent rzeldent commented Jun 9, 2025

  • Updated documentation
  • esp32-s3-touch-lcd-4p3
  • Refactoring

@rzeldent rzeldent requested a review from Copilot June 9, 2025 22:12
Copilot

This comment was marked as outdated.

@rzeldent rzeldent requested a review from Copilot June 10, 2025 14:43
Copy link

@Copilot Copilot AI left a 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 in platformio.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 for panel_io_event_data. It should be 0x%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);

}

ESP_ERROR_CHECK(esp_lcd_panel_draw_bitmap(panel_handle, area->x1, area->y1, area->x2 + 1, area->y2 + 1, px_map));
};
Copy link
Preview

Copilot AI Jun 10, 2025

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.

Suggested change
};
}

Copilot uses AI. Check for mistakes.

Comment on lines +76 to +87
// 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,
Copy link
Preview

Copilot AI Jun 10, 2025

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.

Suggested change
// 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.

@rzeldent rzeldent merged commit ae39579 into main Jun 10, 2025
2 checks passed
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.

1 participant