Proposal: first-class RT-Thread / Edgi-Talk host (M55, shared ESP UI stack)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 8/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- c, rust, typescript
- Lĩnh vực
- embedded-iot
Hướng nghiên cứu
This is a design proposal, not a task to start on. The maintainers must first answer the five open questions: the host directory name, the native target policy, the docs page, the host profile path, and how to handle the esp_err and heap_caps coupling. The existing hosts/esp-idf/components sources are the code to share rather than fork. Done means a maintainer decision on those questions, not a patch.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
Proposal to add a first-class RT-Thread / Edgi-Talk host tree to PocketJS, proven on PSoC E84 (Cortex-M55 + HyperRAM, 800×480). Product firmware still owns LCD, touch, Wi-Fi, and BT — same philosophy as hosts/esp-idf.
Full write-up (on our fork):
https://github.com/1024971823/pocketjs/blob/main/hosts/rt-thread-edgitalk/docs/upstream-proposal.md
Ready-to-paste PR body:
https://github.com/1024971823/pocketjs/blob/main/hosts/rt-thread-edgitalk/docs/upstream-pr-body.md
Working fork (merged): https://github.com/1024971823/pocketjs
Board/product overlay (out of monorepo scope): https://github.com/1024971823/PocketJS_for_Edgi-Talk
Motivation
Edgi-Talk already runs package / guest / ui_core / ui_qjs / render_rgb565 on M55 via an overlay that consumes the ESP-IDF component C sources and rebuilds Rust for thumbv8m.main-none-eabihf. Promoting the reusable host pieces into the monorepo avoids a forever private fork and gives pocket-nexus a documented third native target (or an explicit source-build-only policy).
In scope for upstream
hosts/rt-thread-edgitalk/(or a generichosts/rt-thread/) — docs, native glue, SCons include, shared-component policy- Tooling analogous to
esp-idf-native/ contracts for M55 - Optional in-tree example app (
apps/edgitalk-m55-smoke) if desired - Share existing
hosts/esp-idf/components/{package,guest,ui_*,render_rgb565}— do not fork those C sources
Explicitly out of scope
- BSP patches, CYW BT firmware blobs, KitProg3 / flash scripts
- Full RT-Thread board project / Infineon-specific bring-up
- Product Wi-Fi / BT / game /
__edgibridges
Asks for maintainers
- Host directory name:
rt-thread-edgitalkvs genericrt-thread - Native target: document
thumbv8m.main-none-eabihfor mark source-build only (no Registry archives) - Docs page like
/docs/rt-thread/ - Host profile path toward
pocket-rtt-host-1/platform: "rt-thread"(today apps still borrowpocket-idf-host-1) - Preference: reduce
esp_err/heap_capscoupling upstream vs bless a thin host OSAL
Hardware note
We have run clean build + KitProg3 flash of the overlay firmware on Edgi-Talk hardware; PocketJS reports frames= / ui= / lcd= over serial with Wi-Fi and BT advertising. Hardware gates (frame hash, heap steady-state, present cadence @ 800×480) would be a follow-up, not a blocker for reviewing the proposal.
Happy to open a draft PR from https://github.com/1024971823/pocketjs when you want code in review, or adjust scope first.
- Ngôn ngữ chính
- TypeScript
- Star
- 1.6k
- Fork
- 88
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của pocket-stack/pocketjs
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
pocket-stack/pocketjs#729 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pocket-stack/pocketjs#725 ·
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
pocket-stack/pocketjs#724 ·
-
enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 62/100
pocket-stack/pocketjs#728 ·
-
enhancement
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 30/100
pocket-stack/pocketjs#727 ·
Tất cả issue của pocket-stack/pocketjs
Issue tương tự
-
kind:defect
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
mux-labs/mux-frontend#1240 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: agents-mcp priority: normal
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Wait for the IDS correction dialog to settle in the stale-audit testCó thể đã có người làm @louistrue đã nhận hôm nay. Đang mởready
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Hono path parameters with a regex pattern keep the pattern in the OpenAPI pathCó thể đã có người làm @0z5a đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
cloudflare/chanfana#400 ·
Maintainer thường phản hồi trong vòng 1 ngày