8000 移植了晶彩智能 JC1060P4A1 和 JC1060P470 开发板支持 by ZyoungInc · Pull Request #820 · 78/xiaozhi-esp32 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

移植了晶彩智能 JC1060P4A1 和 JC1060P470 开发板支持 #820

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 2 commits into
base: main
Choose a base branch
from

Conversation

ZyoungInc
Copy link

本次合并请求为两个晶彩智能(CrystalSmart)开发板 JC1060P4A1JC1060P470 完整添加了硬件支持,包括底层 BSP、LCD 驱动、触摸驱动、摄像头抽象和视频管道等组件,并同步更新了工程的 CMake 与 Kconfig 配置。


新增内容

  • 板级目录

    • main/boards/jc1060p4a1/
    • main/boards/jc1060p470/
  • 驱动与组件

    • bsp_extra/:板卡初始化与引脚映射
    • esp_cam_sensor/:摄像头传感器抽象层
    • esp_lcd_jd9365/:JD9365 LCD 面板驱动
    • esp_lcd_touch_gsl3680/:GSL3680 电容触摸驱动
    • esp_video/:视频采集与显示管道支持
    • (兼容)esp32_p4_function_ev_boardespressif__esp_lcd_jd9165 等官方示例组件
  • 构建系统更新

    • 根目录 CMakeLists.txtmain/CMakeLists.txt 注册了以上新组件
    • main/Kconfig.projbuild 增加了 JC1060P4A1JC1060P470 板卡选项

变更列表

+ main/boards/jc1060p4a1/...
+ main/boards/jc1060p470/...
+ bsp_extra/…
+ esp_cam_sensor/…
+ esp_lcd_jd9365/…
+ esp_lcd_touch_gsl3680/…
+ esp_video/…
- 更新:CMakeLists.txt
- 更新:main/CMakeLists.txt
- 更新:main/Kconfig.projbuild

测试情况

  • JC1060P4A1

    • ✅ 上电自检(LED/背光)
    • ✅ 摄像头采集与预览
    • ✅ 触摸校准与响应
    • ✅ MQTT/网络连接
    • ✅ LCD 渲染测试
    • ✅ 电容触摸测试
    • ✅ 基本外设驱动验证

备注与后续

  1. 请确认 sdkconfig.defaults 中的引脚映射与硬件版本一致;
  2. 本分支基于 CONFIG_IDF_TARGET=esp32p4,请在使用前执行 idf.py set-target esp32p4 并清理旧配置;
  3. 欢迎对 esp_cam_sensoresp_video 抽象层提出优化建议。

@ZhouKes
Copy link
Contributor
ZhouKes commented Jun 20, 2025

这两个板子我都有,也做过移植,建议把用到的显示,触摸,摄像头等组件上传到 https://components.espressif.com/ ,以减小项目体积。其中的esp_lcd_jd9365上面已经有了。bsp_extra比较杂,建议把这个组件里小智需要用到功能直接整合到board目录里,因为这些代码其它板子都用不到。另外,摄像头虽然有驱动,但在小智里似乎还没有引用到,触摸似乎也没有做移植。触摸的移植我倒是做好了,可以给你参考下。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comme 5544 nt
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0