【问题标题】:Is there a way to add board from Arduino board manager to CLion Arduino plugin?有没有办法将板从 Arduino 板管理器添加到 CLion Arduino 插件?
【发布时间】:2020-02-23 12:45:58
【问题描述】:

我有一块 LOLIN D1 迷你板,我想使用 CLion。我可以将此板添加到 Arduino IDE 并使用此 URL:http://arduino.esp8266.com/stable/package_esp8266com_index.json 和 Arduino IDE 板管理器使用它。 但是 CLion Arduino 插件只有默认板。有没有办法将其他板添加到 CLion?

【问题讨论】:

    标签: arduino esp8266 clion


    【解决方案1】:

    我认为这是你。您需要在 arduino 插件设置中手动指定 board.txt 文件。

    然后 CLion 将在 Arduino 项目创建时显示所需的板。

    【讨论】:

      【解决方案2】:

      您需要将您的电路板配置添加到boards.txt 文件中。不确定您的计算机使用什么操作系统,对于我机器上的 Mac,它位于 ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.2/

      【讨论】:

      • 我也使用 Mac。 ~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3 的boards.txt 似乎有板配置。它以: d1_mini_lite.name=LOLIN(WEMOS) D1 mini Lite 开头。它在 Arduino IDE 中呈现。但 CLion 仍然只显示默认的 Arduino 板。
      猜你喜欢
      • 2017-12-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-08-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多