STM32 Arduino framework: board_build.core options are unclear

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

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
38/100
Issue 类型
文档
描述清晰度
基本清楚
活跃度
停滞
技术栈
arduino
领域
documentation

调研方向

打开链接的 ststm32 平台文档页面中的 STM32 Arduino cores 部分,并验证每个受支持 core 的确切值及其大小写。使用一个列出所有可能值的表格更新该部分,包括现有的 maple 示例;当选项及其大小写都明确无歧义时,文档就完成了。

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

描述

See: https://docs.platformio.org/en/latest/platforms/ststm32.html#switching-between-arduino-cores

Switching between Arduino cores

There are three different Arduino cores for STM32 microcontrollers: STM32Duino, Arduino STM32 (maple) and STM32L0. All of them have been developed independently, therefore, have different functionality and set of internal libraries. By default, official STM32Duino core is used (except cases when a board supports only one specific core). Some of the boards support all three cores. To change the core you can use a board_build.core option that needs be added to build_flags:

An example of “platformio.ini” (Project Configuration File) with maple core

[env:hy_tinystm103tb]
platform = ststm32
framework = arduino
board = hy_tinystm103tb
board_build.core = maple

Only 'maple' is given as example.
What are the exact values (and correct casing) for the other two options?

The documentation should be more clear about this and show a table listing the different possible values.

主要语言
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 摘要。