Skip to content

feat(tools): build Iris games with Engine Board Manager profile - #38

Open
espressif2022 wants to merge 1 commit into
esp-mosaico:mainfrom
espressif2022:codex/raylib-bmgr-iris
Open

espressif2022 wants to merge 1 commit into
esp-mosaico:mainfrom
espressif2022:codex/raylib-bmgr-iris

Conversation

@espressif2022

@espressif2022 espressif2022 commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

背景

配合 raylib-lite-engine 的 Board Manager 迁移,更新 Vibe 的 Raylib 游戏构建入口,使仓库内示例和用户自行开发的游戏都能生成 Iris 安装包。

主要改动

  • game build --target iris 自动解析 Board Manager,并使用 Engine 中的 ESP-Mosaico profile 生成板级配置,无需用户手动执行 BMGR 或安装 esp-bmgr-assist。
  • 板级配置生成在独立 Iris wrapper 内,不修改游戏源码;排除原游戏的 gen_bmgr_codes,避免本地 BOX-3 配置影响 Mosaico 构建。
  • Iris 游戏构建取消旧 BSP 路径注入,由 Engine 的 BMGR Board 初始化硬件;Utils 继续提供 Iris 服务、截图、远程输入和首帧健康确认。
  • 使用独立 BMGR 构建缓存,补充配置生成、错误 Board 和缺失 profile 的测试及使用说明。

本 PR 共 1 个 commit、4 个文件,不修改普通 Iris 应用和 Recovery 的构建实现。

配套依赖

需要配合 raylib-lite-engine 的 BMGR 迁移:
espressif2022/raylib-lite-engine#6

所选 Engine 必须包含:
examples/boards/esp-mosaico/bmgr/esp_mosaico

旧 Engine 不提供该 profile 时,构建会明确报错。

验证

  • Utils / Recovery 本地测试:459 passed、138 subtests passed。
  • Sky Hop 和外部倒计时游戏:Host 检查、ESP32-S31 构建、Recovery-first USB 安装、健康确认、ELF 哈希匹配和设备截图通过。
  • Sky Hop 远程 pointer 按下、松开调用通过。
  • 普通 BSP Hello World:构建、Iris 安装、健康确认、ELF 哈希匹配及画面通过,确认非游戏应用路径可用。
  • 应用切换保持同一 Device ID,Boot ID 更新,bootloader 保留,崩溃计数为 0。

@espressif2022
espressif2022 marked this pull request as ready for review October 9, 2026 11:45
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