终于摆脱了arduino 官方IDE,sublime!(不用arduino like ide)

从3天前开始就一直在折腾我的sublime,install--remove 了arduino-like ide 无数次,每次都出现了好多bug,大概有 
1. 编译过程中  avr-g++: command not found
2.上传过程中  找不到avrdude  
3.系统找不到指定文件
4.每次arduino-like IDE 刚刚装好,arduino菜单是OK的,一旦重启大部分就变成灰色了
。。。。。。

于是我无意中点开了这个网站:
https://github.com/Robot-Will/Stino
发现stino的作者本意并不需要arduino-like IDE!!!!!!
大概是我理解有误,各种《 放弃Arduino IDE,拥抱Sublime Text 3   》的文章我都理解错了!!!!
真正的方法是 安装stino插件!
方法:(就是https://github.com/Robot-Will/Stino

Installation

While the plugin is in beta, the installation process is:

  1. You should first delete whatever version you currently have installed.
  2. Open the Command Palette and choose the 'Package Control: Add Repository' command.
  3. Copy this repo link https://github.com/gepd/Stino/tree/new-stino and paste it into the prompt.
  4. Open the Command Palette again and run the 'Package Control: Install Package' command and choose the package named 'Stino'. Be sure you don't choose the package in the default repository called 'Arduino-Like IDE.'     //看,作者明确说了嘛

Thank you to @jggdotcom for the instructions.

IMPORTANT

If you are getting the error avr-g++: command not found, run this command in the console: setx path "%path%;C:\arduino-1.6.4" where C:\arduino-1.6.4 is the path to your Arduino IDE installation. This should fix this error until someone finds a more permanent solution.     //这一步不知道为什么我不对。

     //于是我还是添加了系统环境变量,具体是

终于摆脱了arduino 官方IDE,sublime!(不用arduino like ide)_第1张图片(或者直接在系统终于摆脱了arduino 官方IDE,sublime!(不用arduino like ide)_第2张图片高级系统设置里面)


然后高级---环境变量---Path   里面增加 你的arduino的安装地址



然后就OK啦!!!

于是迫不及待得来分享了[笑哈哈]

你可能感兴趣的:(嵌入式,arduino)