有没有办法将 Arduino 板管理器的板添加到 CLion Arduino 插件?

Is there a way to add board from Arduino board manager to CLion Arduino plugin?

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

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

我想你了。您需要在 arduino 插件设置中手动指定 boards.txt 文件。

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