The Arduino plugin adds a top level menu to TextMate which exposes functionality useful for Arduino development. It also contains a serial monitor which leverages Apple’s terminal application, allowing ANSI escape codes.
The Arduino menu offers:
* Port – Exposes currently connected Arduino boards; or a generic ‘any’ option which choose the first board available.
* Type – A fixed list of board types, which customizes the download and build options
* Speed – The port speed used for the serial monitor.
* Serial Monitor – Launches the serial monitor as a separate process; one for each project
* Compile and Upload – Compiles and uploads the current project to the selected port.
Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !
How do you install this? I finally managed to claw through the hideous sourceforge cruft to find the actual svn url (they have no straight download link) and now got the code. But can’t figure out for the life of me how to actually install it. And sourceforge doesn’t seem to have any simple way of asking for help. A little documentation?
That may be part of the reason the repository is not functional right now
Sigh. Doesn’t support Mega, requires CrossPack, doesn’t seem to support multiple .pde tabs, etc. Nice idea, but not ready for prime time.
I think i’ve got some of it figured out. Go ahead and check out the code with svn, open the project up in xcode and have it build it. Once built you will find a tm package in ./trunk/plugin/build/Debug called Arduino.tmplugin. Go ahead and double click that and it will install it in textmate. Right now I’m installing the Crosspack AVR toolkit that seems to be required for this to function. More when I leave the office and actually get my hands on an arduino to test with.
It’s in it’s rawest form at the moment (by the looks of things). Go to this page (http://sourceforge.net/projects/arduinotm/develop) and follow the instructions to get hold of the source. When you have the code, launch the project in Xcode and build and run, in build directory is a .tmplugin file, double click it and its installed in textmate.
I’d say things are alpha
Actually this link looks more useful, it may be worth updating the article:
So I downloaded the source and compiled it in XCode successfully. I didn’t change any settings or linkages but was able to get a plug-in that didn’t crash TextMate. It adds a menu to TextMate that allows you to choose your microcontroller, port and upload to the microcontroller.
I wrote some code for the Arduino and tried to upload it. The plug in threw a message saying that CrossPack was required. I went and installed that and tried again. Now it seems that when I select Compile & Upload, it is missing most of the most basic commands such as digitalWrite.
My guess is that a library needs to be linked but haven’t looked at it yet.