## 🇺🇸 English
**Title:** Request for RISC-V 32-bit Cubism Core binary — ESP32-P4 embedded AI companion project
### Platform
| Item | Details |
|------|---------|
| **Chip** | Espressif ESP32-P4 |
| **CPU Architecture** | RISC-V RV32 (dual-core, 400 MHz) |
| **RAM** | 768 KB SRAM + 32 MB PSRAM |
| **Display** | 7-inch 1024×600 MIPI-DSI LCD |
| **Use case** | Personal hobby project — embedded AI desktop companion (non-commercial) |
### What I need
I am building a personal AI desktop companion on an ESP32-P4 board with a 7-inch LCD. The goal is to display a Live2D character (`.moc3` format) with real-time facial expressions driven by an LLM conversation pipeline.
I need a **Cubism Core static library (`libLive2DCubismCore.a`) compiled for RISC-V 32-bit** using the Espressif RISC-V toolchain (`riscv32-esp-elf-gcc`).
### Precedent in the existing SDK
I noticed that the SDK already includes experimental binaries for non-mainstream platforms:
- `Core/lib/experimental/rpi/` — ARM 32-bit (ELF32, ARMv5 EABI) for Raspberry Pi
- `Core/lib/experimental/linux/arm64/` — Linux ARM64
This demonstrates that the Live2D team has previously compiled Cubism Core for embedded/experimental platforms. I am requesting the same treatment for **RISC-V 32-bit**.
### What I have already done
- Studied the open-source project [`squi2rel/esp32_live2d`](
https://github.com/squi2rel/esp32_live2d), which successfully runs Live2D + PortableGL on ESP32-S3 (Xtensa). However, that binary is compiled for Xtensa (`GCC: crosstool-NG esp-15.2.0`), which is incompatible with ESP32-P4's RISC-V architecture.
- The `CubismRenderer_PortableGL.cpp` renderer from that project is architecture-agnostic and can be ported directly.
- All other layers (PortableGL, LVGL, ESP-IDF) are confirmed to compile for RISC-V.
- **The only missing piece is the Cubism Core binary for RISC-V.**
### Request
Could you please provide one of the following?
1. A pre-compiled `libLive2DCubismCore.a` for `riscv32-esp-elf` (Espressif's RISC-V toolchain), similar to the existing `experimental/rpi` binary.
2. Guidance on how to apply for a custom build through official support channels.
3. Information on whether a RISC-V port is planned.
Thank you for your consideration. I am happy to provide more technical details or test results if needed.
---
## 🇯🇵 日本語
**タイトル:** RISC-V 32ビット向け Cubism Core バイナリのご提供をお願いします — ESP32-P4 組み込み AI デスクトップ伴侶プロジェクト
### プラットフォーム
| 項目 | 詳細 |
|------|------|
| **チップ** | Espressif ESP32-P4 |
| **CPU アーキテクチャ** | RISC-V RV32(デュアルコア、400 MHz) |
| **RAM** | 768 KB SRAM + 32 MB PSRAM |
| **ディスプレイ** | 7インチ 1024×600 MIPI-DSI LCD |
| **用途** | 個人の趣味プロジェクト(非商用) |
### お願いしたいこと
ESP32-P4 ボードと 7インチ LCD を使って、個人用の AI デスクトップ伴侶を製作しています。LLM との会話に連動して、Live2D キャラクター(`.moc3` 形式)がリアルタイムで表情を変えるシステムを目指しています。
**Espressif の RISC-V ツールチェーン(`riscv32-esp-elf-gcc`)でコンパイルされた Cubism Core の静的ライブラリ(`libLive2DCubismCore.a`)** を提供していただけないでしょうか。
### SDK に既存の先例について
SDK にはすでに非主流プラットフォーム向けの experimental バイナリが含まれています:
- `Core/lib/experimental/rpi/` — Raspberry Pi 向け ARM 32ビット(ELF32, ARMv5 EABI)
- `Core/lib/experimental/linux/arm64/` — Linux ARM64
Live2D チームがすでに組み込み・実験的プラットフォーム向けに Cubism Core をコンパイルされてきたことがわかります。**RISC-V 32ビット向けにも同様の対応をお願いしたいです。**
### 調査・実施済みの内容
- [`squi2rel/esp32_live2d`](
https://github.com/squi2rel/esp32_live2d) というオープンソースプロジェクトを調査しました。このプロジェクトは ESP32-S3(Xtensa アーキテクチャ)上で Live2D + PortableGL を動作させることに成功しています。ただし、そのバイナリは Xtensa 向けにコンパイルされており(`GCC: crosstool-NG esp-15.2.0`)、ESP32-P4 の RISC-V アーキテクチャとは互換性がありません。
- そのプロジェクトの `CubismRenderer_PortableGL.cpp` レンダラーはアーキテクチャ非依存であり、移植可能です。
- PortableGL・LVGL・ESP-IDF など他のすべての層は RISC-V 向けにコンパイルできることを確認済みです。
- **唯一の障壁は、RISC-V 向けの Cubism Core バイナリです。**
### お願い
以下のいずれかをご検討いただけますでしょうか:
1. `riscv32-esp-elf` 向けにプリコンパイルされた `libLive2DCubismCore.a` の提供(既存の `experimental/rpi` バイナリと同様の形で)
2. 公式サポートチャネルを通じたカスタムビルドの申請方法のご案内
3. RISC-V 対応が計画されているかどうかの情報共有
ご検討のほど、よろしくお願いいたします。技術的な詳細やテスト結果が必要な場合は喜んでご提供いたします。
---
## 🇨🇳 中文
**标题:** 申请 RISC-V 32位 Cubism Core 二进制文件 — ESP32-P4 嵌入式 AI 桌面伴侣项目
### 平台信息
| 项目 | 详情 |
|------|------|
| **芯片** | Espressif ESP32-P4 |
| **CPU 架构** | RISC-V RV32(双核,400 MHz) |
| **内存** | 768 KB SRAM + 32 MB PSRAM |
| **显示屏** | 7英寸 1024×600 MIPI-DSI LCD |
| **用途** | 个人爱好项目(非商业) |
### 需求说明
我正在使用 ESP32-P4 开发板和 7 英寸 LCD 构建一个个人 AI 桌面伴侣。目标是通过 LLM 对话管线驱动,让 Live2D 角色(`.moc3` 格式)实时显示表情变化。
我需要一份**使用 Espressif RISC-V 工具链(`riscv32-esp-elf-gcc`)编译的 Cubism Core 静态库(`libLive2DCubismCore.a`)**。
### SDK 中已有的先例
我注意到 SDK 中已经包含了针对非主流平台的 experimental 二进制文件:
- `Core/lib/experimental/rpi/` — 树莓派的 ARM 32位(ELF32, ARMv5 EABI)
- `Core/lib/experimental/linux/arm64/` — Linux ARM64
这说明 Live2D 团队此前已为嵌入式/实验性平台编译过 Cubism Core。我希望能对 **RISC-V 32位** 做同样的处理。
### 已完成的调研工作
- 研究了开源项目 [`squi2rel/esp32_live2d`](
https://github.com/squi2rel/esp32_live2d),该项目成功在 ESP32-S3(Xtensa 架构)上运行了 Live2D + PortableGL。但其二进制文件是为 Xtensa 编译的(`GCC: crosstool-NG esp-15.2.0`),与 ESP32-P4 的 RISC-V 架构不兼容。
- 该项目的 `CubismRenderer_PortableGL.cpp` 渲染器与架构无关,可以直接移植。
- PortableGL、LVGL、ESP-IDF 等所有其他层均已确认可为 RISC-V 编译。
- **唯一缺失的部分就是 RISC-V 版本的 Cubism Core 二进制文件。**
### 具体请求
请考虑提供以下任意一项:
1. 提供为 `riscv32-esp-elf` 预编译的 `libLive2DCubismCore.a`(类似现有的 `experimental/rpi` 二进制文件)
2. 提供通过官方支持渠道申请自定义构建的指引
3. 告知是否有 RISC-V 支持的相关规划
email
cfw2214@gmail.com
Comments
Thank you for using our product.
We have forwarded this matter to the development team as a request.
We appreciate your continued support of our products.