Skip to content

graphics/lvgl: Fix build on case-insensitive filesystems - #115

Open
caoshengdong wants to merge 4 commits into
open-vela:dev-ai-contest-2026from
caoshengdong:lvgl-macos-fix
Open

graphics/lvgl: Fix build on case-insensitive filesystems#115
caoshengdong wants to merge 4 commits into
open-vela:dev-ai-contest-2026from
caoshengdong:lvgl-macos-fix

Conversation

@caoshengdong

Copy link
Copy Markdown

On case-insensitive filesystems (the macOS default) the upstream lvgl/tests/makefile directory shadows the optional tests Makefile, so the unconditional -include ./lvgl/tests/Makefile aborts the context phase with "Is a directory".

Guard the include with a regular-file test. Behavior on case-sensitive filesystems is unchanged.

@caoshengdong
caoshengdong requested review from a team as code owners August 12, 2026 06:57
@github-actions

Copy link
Copy Markdown

❌ CLA Signature Required

@caoshengdong Some contributors need to sign the CLA:

  • caoshengdong@msn.cnNeeds to sign CLA

Please:

  1. Sign the CLA at: https://www.openvela.com/#/community/cla
  2. After signing, comment /check-cla to recheck

📋 View detailed check results: Action Run #31571988252


💡 Tip: All contributors must sign the CLA before the PR can be merged.

@caoshengdong

Copy link
Copy Markdown
Author

/check-cla

@github-actions

Copy link
Copy Markdown

❌ CLA Signature Still Required

@caoshengdong Some contributors still need to sign the CLA:

  • caoshengdong@msn.cnNeeds to sign CLA

Please:

  1. Sign the CLA at: https://www.openvela.com/#/community/cla
  2. After signing, comment /check-cla to recheck

📋 View detailed check results: Action Run #31576053493


💡 Tip: All contributors must sign the CLA before the PR can be merged.

@caoshengdong

Copy link
Copy Markdown
Author

/check-cla

@github-actions

Copy link
Copy Markdown

✅ CLA Verification Complete

@caoshengdong All contributors have signed the CLA!

  • caoshengd@gmail.com

📋 View detailed check results: Action Run #31576518837

Your pull request can now proceed with the review process! 🎉

@caoshengdong

Copy link
Copy Markdown
Author

/check-cla

@github-actions

Copy link
Copy Markdown

✅ CLA Verification Complete

@caoshengdong All contributors have signed the CLA!

  • caoshengd@gmail.com

📋 View detailed check results: Action Run #31577222056

Your pull request can now proceed with the review process! 🎉

caoshengdong added a commit to caoshengdong/contest2026_338_xigoukeji that referenced this pull request Aug 17, 2026
…PSRAM/MIPI-DSI/LVGL/触摸)

以 vendor 板形态(ARCH_BOARD_CUSTOM)完成 ESP32-P4-Function-EV-Board V1.6 适配:

- 一条命令复现:./build.sh vendor/openvela/boards/contest2026_338_board/configs/lvgl -j8
  (esp-hal-3rdparty 自动克隆并应用 patches/,Simple Boot 镜像烧录偏移 0x2000)
- 显示:7 寸 1024x600 EK79007 MIPI-DSI 面板(2 lane @ 900 Mbps,官方参考时序,
  开机自检回读 + DSI 链路状态探针),双缓冲脏行刷新
- 触摸:GT911 I2C 轮询(20ms 看门狗节拍),坐标 180 度反演,开机 TouchDiag
  探针(产品 ID/配置区/状态一次性自检)
- 稳健性:LVGL demo 自动启动 + 板级心跳看门狗(demo 线程停摆时以信号唤醒;
  开机 12 秒无首个心跳则整机重启重试,规避偶发的 warm-reset 停摆态)
- 日志:RAMLOG 承接 syslog(USB 控制台无读取方也不阻塞),时间戳开启
- logs/:AI Coding 过程日志(大赛要求)

配套 PR:open-vela/nuttx#342open-vela/nuttx-apps#115open-vela/apps_graphics_lvgl#40
caoshengdong added a commit to caoshengdong/contest2026_338_xigoukeji that referenced this pull request Aug 17, 2026
…PSRAM/MIPI-DSI/LVGL/触摸)

以 vendor 板形态(ARCH_BOARD_CUSTOM)完成 ESP32-P4-Function-EV-Board V1.6 适配:

- 一条命令复现:./build.sh vendor/openvela/boards/contest2026_338_board/configs/lvgl -j8
  (esp-hal-3rdparty 自动克隆并应用 patches/,Simple Boot 镜像烧录偏移 0x2000)
- 显示:7 寸 1024x600 EK79007 MIPI-DSI 面板(2 lane @ 900 Mbps,官方参考时序,
  开机自检回读 + DSI 链路状态探针),双缓冲脏行刷新
- 触摸:GT911 I2C 轮询(20ms 看门狗节拍),坐标 180 度反演,开机 TouchDiag
  探针(产品 ID/配置区/状态一次性自检)
- 稳健性:LVGL demo 自动启动 + 板级心跳看门狗(demo 线程停摆时以信号唤醒;
  开机 12 秒无首个心跳则整机重启重试,规避偶发的 warm-reset 停摆态)
- 日志:RAMLOG 承接 syslog(USB 控制台无读取方也不阻塞),时间戳开启
- logs/:AI Coding 过程日志(大赛要求)

配套 PR:open-vela/nuttx#342open-vela/nuttx-apps#115open-vela/apps_graphics_lvgl#40
- graphics/lvgl/Makefile: guard the tests/makefile wrapper with a file
  existence check so the build survives case-insensitive filesystems
  (macOS), where the tests/makefile directory shadows Makefile.
- examples/lvgldemo: cap the idle sleep at 100 ms so a spurious
  LV_NO_TIMER_READY from lv_timer_handler() cannot overflow
  usleep(idle * 1000) into an hour-long sleep, and export a per-
  iteration heartbeat counter that a board-level watchdog can monitor
  to detect and recover a stalled UI thread.
caoshengdong and others added 3 commits August 25, 2026 22:54
avdemo: contest demo application for the ESP32-P4-Function-EV board -
full-screen camera view (v4l2 userptr streaming, drain-all dequeue so
the capture pipeline never starves), live microphone waveform, Wi-Fi
panel (SSID scan/password entry, when the radio is enabled), a touch
verification button and a status line.  The error path quiesces the
video device before freeing capture buffers: freeing memory the DMA
still targets buries live heap objects under pixel data.

csitest: minimal capture smoke test used during camera bring-up.

lvgldemo: force the v9 refresh timer back on each loop; its
invalidation-driven resume has been observed to go missing, freezing
the UI while every other timer stays alive.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hjw12LvrMNd2JtTwimdbNN
A full-screen 15 fps camera repaint underneath the panel made it
unusably laggy.  Streaming continues (buffers keep cycling so the
capture pipeline never starves); only the display update pauses, and
the view resumes when the panel closes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hjw12LvrMNd2JtTwimdbNN
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