Skip to content

fix(lcd_touch): Add a default I2C clock speed to the configuration macro#744

Merged
PetrESP merged 3 commits intomasterfrom
petr/fix/i2c_config_macro
Mar 27, 2026
Merged

fix(lcd_touch): Add a default I2C clock speed to the configuration macro#744
PetrESP merged 3 commits intomasterfrom
petr/fix/i2c_config_macro

Conversation

@PetrESP
Copy link
Copy Markdown
Collaborator

@PetrESP PetrESP commented Mar 23, 2026

ESP-BSP Pull Request checklist

  • Version of modified component bumped
  • CI passing

Change description

Added default assignment to scl_speed_hz in all configuration macros for LCD touch controllers
Relates to #743

@PetrESP PetrESP self-assigned this Mar 23, 2026
@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 24, 2026

Test Results

0 tests   0 ✅  10s ⏱️
5 suites  0 💤
5 files    0 ❌

Results for commit 5a39b90.

♻️ This comment has been updated with latest results.

@PetrESP PetrESP marked this pull request as ready for review March 24, 2026 08:52
@PetrESP PetrESP requested a review from espzav March 24, 2026 08:52
Comment thread components/lcd/esp_lcd_sh1107/include/esp_lcd_sh1107.h
Copy link
Copy Markdown
Collaborator

@espzav espzav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, but I think we should increase minimum IDF version to 5.2 for all related components. Because this I2C param was introduced in IDF 5.2

Comment thread components/lcd_touch/esp_lcd_touch_stmpe610/idf_component.yml Outdated
Comment thread components/lcd/esp_lcd_sh1107/include/esp_lcd_sh1107.h
Comment thread bsp/m5stack_tab5/src/m5stack_tab5.c Outdated
@PetrESP PetrESP force-pushed the petr/fix/i2c_config_macro branch from 7f2cb5a to d639e64 Compare March 25, 2026 15:06
@PetrESP
Copy link
Copy Markdown
Collaborator Author

PetrESP commented Mar 25, 2026

@espzav I've realized that we don't even test lower versions than 5.2 (we can't make sure that they even work) so I think that we can bump all components to at least 5.2.
Do I need to update their versions as well? Or you wanna keep it like this? I don't think that here is a hard reason to upload it right now

@PetrESP PetrESP force-pushed the petr/fix/i2c_config_macro branch from d639e64 to 4246252 Compare March 26, 2026 13:44
Comment thread bsp/esp32_p4_function_ev_board/esp32_p4_function_ev_board.c
Comment thread bsp/esp32_p4_function_ev_board/idf_component.yml
Comment thread bsp/esp_bsp_generic/src/esp_bsp_generic.c
Comment thread bsp/esp_vocat/src/bsp_display.c Outdated
Comment thread bsp/m5stack_core_s3/m5stack_core_s3.c Outdated
Comment thread components/esp_lvgl_port/idf_component.yml
Comment thread components/lcd_touch/esp_lcd_touch_ft5x06/idf_component.yml
@PetrESP PetrESP force-pushed the petr/fix/i2c_config_macro branch from 4246252 to ee3815c Compare March 26, 2026 15:59
Copy link
Copy Markdown
Collaborator

@espzav espzav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@PetrESP Thank you for this work! Missing one change in VoCat, other LGTM

Comment thread bsp/esp_vocat/src/bsp_display.c
@PetrESP PetrESP force-pushed the petr/fix/i2c_config_macro branch from ee3815c to 5a39b90 Compare March 27, 2026 08:27
@github-actions
Copy link
Copy Markdown

⚠️ Build failure was ignored (continue-on-error enabled).

See details: View build logs

@PetrESP PetrESP merged commit ab5696c into master Mar 27, 2026
97 checks passed
@PetrESP PetrESP deleted the petr/fix/i2c_config_macro branch March 27, 2026 09:33
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