Multi-generation FoloToy MagicBox hardware BSPs. Select model + chip + PCB revision, not chip alone. 中文说明 · Architecture · Validation
| Profile | Hardware | SDK | Status |
|---|---|---|---|
m09-s3-hw210 |
M09 / ESP32-S3 / HW2.1.0 | ESP-IDF 6.1 | Owner-confirmed model; original firmware was Arduino |
c5-reference-m301-hw120 |
Historical C5 / source HW1.2.0 | ESP-IDF 5.5.3 | Separate legacy reference |
m301-c5-rtc-v1-5g |
M301 / ESP32-C5 / RTC-v1-5G source | ESP-IDF 6.1 | Owner-confirmed model; physical PCB revision pending |
main contains BSPs, minimal entry points and separate hardware diagnostics. The demo/magicbox branch adds MagicBox firmware with XiaoZhi protocol compatibility. The current BSPs and MagicBox firmware use native ESP-IDF. M09's original Arduino implementation is available in the archived magicbox-arduino repository. C5 BSP availability does not imply a validated C5 XiaoZhi port.
| Branch | Purpose |
|---|---|
main |
BSPs, minimal entry points and hardware diagnostics |
demo/magicbox |
MagicBox firmware for Magic Server |
demo/xiaozhi |
Pinned upstream XiaoZhi functionality and original service |
MagicBox v0.1 uses an independent MagicBox version scheme. Download filenames identify the hardware and MagicBox version. The current M09 firmware is compatible with the XiaoZhi protocol. Update guide.
python3 tools/build.py --list
# Activate the SDK required by the selected profile, then:
source /path/to/esp-idf-v6.1/export.sh
python tools/build.py --board m09-s3-hw210 --app baseline
python tools/build.py --board m09-s3-hw210 --app hardware-demo
# C5 uses the same ESP-IDF 6.1 environment:
python tools/build.py --board m301-c5-rtc-v1-5g --app baseline
python tools/build.py --board m301-c5-rtc-v1-5g --app hardware-demoBuilds stage into an owned whitespace-free cache and export profile-labelled artifacts under build/<profile>/<app>. Build tools never flash. Development partition layouts must not be applied to production units without checking identity/factory preservation. A new S3 PCB needs a new profile and independent validation.
M09: direct digital I2S microphone/speaker, RGB, Mode/Voice, external Mode, knob, LIS3DH. C5 reference: ES8311, AXP2101, BM8563 RTC, GX8002, RGB, buttons and knob. These devices/pins/power sequences are not interchangeable. See profile pin headers and upstream provenance in the validation document.
