`riscv_gap` (GAPuino) platform docs: upload commands (`load`, `reqloop`, `ioloop`, `start`, `wait`) left as `@TODO`

未关闭
#406 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
55/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
冷清
领域
documentation

调研方向

先查看 platforms/riscv_gap_extra.rst 第 51–55 行的 "Running modes" 部分,然后将第 60 行的 board_upload.commands 默认值与 load start 示例进行比较。请向 GreenWaves 或 GAP8 维护者确认 GAP8 中 load、reqloop、ioloop、start 和 wait 的 upload/boot 语义,并将每个 @TODO 替换为准确的简短描述。

由索引模型根据 Issue 内容生成。

描述

In platforms/riscv_gap_extra.rst, the "Running modes" section documents the internal upload commands used to control a running process on GAPuino/GAP8 boards, but every command in the list is a literal placeholder instead of an explanation:

* ``load``, @TODO
* ``reqloop``, @TODO
* ``ioloop``, @TODO
* ``start``, @TODO
* ``wait``, @TODO

(lines 51–55)

These commands are directly user-facing - the same page tells readers they can configure them via board_upload.commands in platformio.ini (default: load reqloop ioloop start wait), and later shows a working example that uses only load start for "Run from RAM (without any bridge interaction)". So users are expected to mix and match these commands to choose a boot/run behavior, but the docs never explain what each one actually does, making it hard to safely deviate from the copy-pasted default.

Suggested fix: replace each @TODO with a short description of what the command does during the GAP8 upload/boot sequence (e.g. whether load transfers the binary, reqloop/ioloop relate to the JTAG bridge request/IO loop, start begins execution, wait blocks until completion). I don't have access to GreenWaves' internal tooling to confirm the exact semantics, so this may need input from a GreenWaves/GAP8 maintainer — happy to help draft the wording once the behavior is confirmed.

Reference:

  • File: platforms/riscv_gap_extra.rst, lines 51–55 (command list), line 60 (board_upload.commands default)
主要语言
Python
星标
288
派生
361
PR 合并指标
30 天内没有已合并 PR

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

platformio/platformio-docs 的其他 Issue

查看 platformio/platformio-docs 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。