Skip to content

update compontent button to v4.1.2 #470

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

SuhaylZhao
Copy link

@SuhaylZhao SuhaylZhao commented Apr 10, 2025

  1. 增加新板子Freenove media kit for esp32.
  2. 将组件button版本升级到v4.1.2, 相关联的esp_lvgl_port组件需要升级到v2.5.0
  3. 在main/CMakeLists.txt中获取Button组件的版本信息,用于Button类的条件编译,以兼容Button组件的V3.3.1版本。
  4. 使用时,需要手动调整main/idf_component.yml中的组件版本,新老用户可以灵活切换Button的版本,建议默认使用V4.x.x

1. 增加新板子Freenove media kit for esp32.
2. 将组件button版本升级到v4.1.2, 相关联的esp_lvgl_port组件需要升级到v2.5.0
3. 在main/CMakeLists.txt中获取Button组件的版本信息,用于Button类的条件编译,以兼容Button组件的V3.3.1版本。
4. 使用时,需要手动调整main/idf_component.yml中的组件版本,新老用户可以灵活切换Button的版本,建议模式使用V4.x.x
@78
Copy link
Owner

78 commented Apr 10, 2025

  1. Keep the code in Google C++ Style.
  2. 需要介绍开发板的特别之处,不然可以先提交开发板以外的代码。

Format to google C++ style with some custom style
增加开发板说明
格式化button.h文件,与原来的保持一致
@SuhaylZhao
Copy link
Author

SuhaylZhao commented Apr 11, 2025

@78 可以了,虾哥。
我用clang-format工具,用Google Style去格式化,怎么都搞不出来跟原来一样的效果,clang-format的选项都翻烂了,能不能把你们格式化的规则发一下啊。这次内容不多,手动格式化的...

更新板子说明
图片缩放,zoom不起作用,改用为width
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