Chat about current Lua tools and IDEs

User avatar
By szabonandi
#23377 Hi Markus,

I would like to use your uploader from sublime, but I failed to setup the environment.
May I ask you to make a short guide what additional steps needed after a fresh sublime2 install to use your fast uploader.
(eg. Which file goes where? Python is neccesary to install? Any other setting neccesary in subclipse)

thanks:Nandor


Markus Gritsch wrote:NodeMcu version 0.9.4 build 2014-12-30 changed the uart.on API. This prevents uploader.py from working correctly.

The attached version works again as expected.
User avatar
By Markus Gritsch
#23403 As described here viewtopic.php?f=22&t=1026&start=10#p6446

* Place 'myNodeMcu.sublime-build' into %APPDATA%\Sublime Text 3\Packages\User
* From the Sublime Text window menu select Tools->Build System->myNodeMcu
* Press F7 to upload.

You should use Sublime 3 and install Python 2.7 and pyserial.

Edit 'myNodeMcu.sublime-build' to match where you placed 'uploader.py'.

Edit 'uploader.py' for the COM port number you are using.
Last edited by Markus Gritsch on Wed Jul 29, 2015 2:01 am, edited 2 times in total.
User avatar
By szabonandi
#24487 Thanks Markus,

I followed your guide, and finaly it is working!

just some note about a small experience for those who are also facing the following problem:
uploader.py could not start at the begining, the error message: "ImportError: No module named serial"

It turned out that installing python 2.7.10 on my Win7 was not enough, because serial module was missing from python by default.
I hat to install pyserial with pip (pip install pyserial).
After fixing serial module, uploader.py was working fine.

thanks again, it is really fast!