sipeed / Maixduino

Arduino port on Maix board ( k210 )
https://maixduino.sipeed.com
Other
214 stars 93 forks source link

[fix] vscode undefined error #5

Closed wuhanstudio closed 5 years ago

wuhanstudio commented 5 years ago

Arduino 原生 IDE 没有代码高亮和自动补全,用 VSCode 开发会方便很多。

但是发现使用 VSCode 选择 Maixduino 的时候开发板的名称会显示为 undefined,其他 esp8266, stm32 扩展都是正常的。

initial

发现原因其实只是两边的空格导致的

m1.name = Sipeed "Maix One Dock"/"Maix Bit" Board

去掉就正常了

fix

wuhanstudio commented 5 years ago

刚意识到等号两边的空格也会导致其他配置选项全部失效,去掉就全部正常了

image

bitsk commented 5 years ago

感谢你的提交,有没有兴趣尝试一下我们最新支持的PlatformIO IDE呢? https://github.com/sipeed/platform-kendryte210 个人感觉体验要比arduino插件好哦

wuhanstudio commented 5 years ago

感谢你的提交,有没有兴趣尝试一下我们最新支持的PlatformIO IDE呢? https://github.com/sipeed/platform-kendryte210 个人感觉体验要比arduino插件好哦

谢谢您的建议,我也试试 PlatformIO IDE