Giter Club home page Giter Club logo

st2-arduino's People

Contributors

geetarista avatar tyilo avatar w00fz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

st2-arduino's Issues

Libraries included with Arduino not working

This doesn't support including libraries coming with the Arduino application.

For example, this will not compile:

#include <LiquidCrystal.h>

LiquidCrystal lcd(10, 11, 12, 13, 14, 15, 16);

void setup()
{
    lcd.begin(16, 2);
    lcd.print("hello world");
}

void loop()
{
    // do nothing
}

It gives this error:

applet/test.cpp:2:27: error: LiquidCrystal.h: No such file or directory
applet/test.cpp:4: error: 'LiquidCrystal' does not name a type
applet/test.cpp: In function 'void setup()':
applet/test.cpp:8: error: 'lcd' was not declared in this scope
make: *** [applet/test.o] Error 1
[Finished in 0.5s with exit code 2]

I am using Mac OS X 10.8 with the 1.0.1 version of the Arduino application.

Errno 2 - no such file or directory

On trying to compile or upload, I get this:

[Errno 2] No such file or directory
[cmd: [u'make', u'-e', u'-f', u'/Users/jhembach/Library/Application Support/Sublime Text 2/Packages/ST2-Arduino/Support/Makefile']]
[dir: /Users/jhembach/Documents/Arduino/hmxClock_v8]
[path: /usr/bin:/bin:/usr/sbin:/sbin]
[Finished]

The folder and file definitely do exist though. I get this whether the package was installed manually or through package manager.

Also, Tools -> Arduino -> Monito USB port is greyed out in the menu. What am I missing / doing wrong here? Thanks.

Keyboard shortcut for compile command

No matter what I do I can't seem to create a keyboard shortcut for the "compile" command. "upload" works without issue. I've tried multiple values for the specific key used by the compile command.

[
    { "keys": ["super+ctrl+shift+c"], "command": "complie" },
    { "keys": ["super+ctrl+shift+u"], "command": "upload"}
]

Also, is it possible to create a combo command: compile the sketch and if the compile is successful then execute the upload command? I'd then like to create a shortcut key for that.

Thanks!
Reed

No such file or directory.

Hello,

Today, I tried to build my code and ST2 console show me this message.

[Errno 2] No such file or directory
[cmd: [u'/usr/local/share/python/ino', u'build']]
[dir: /home/single9/Documents]
[path: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin]
[Finished]

Undefined reference to `main`

When building any .ino file that works fine with ino build, I get following error:

Linking firmware.elf
/Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../../avr/lib/avr5/crtm328p.o:(.init9+0x0): undefined reference to `main'
make: *** [.build/uno/firmware.elf] Error 1
Make failed with code 2
[Finished in 0.6s with exit code 1]

Example ino-file:

void setup() 
{ 
    // Nothing
}

void loop()
{
    // Nothing
}

Change path to ino

Thank you very much for this beautiful plugin! It works like a charm on Linux.
I would like to ask if there is an opportunity to change a path to 'ino'?

{
"cmd": ["/usr/local/share/python/ino", "build"],
"selector": "source.c++.arduino",
"working_dir": "$file_path/.."
}

How to override path?

/bin/sh: 1: avr-g++: not found

When I try to compile project I get an error
Compiling Watcher...
Creating /home/misha/Arduino_Build/Watcher/Watcher.ino.cpp.o...
/bin/sh: 1: avr-g++: not found
[Stino - Error 127]

ARDUINO 1.6.4 - 2015.05.06

ESP8266 boards not found

Hi, I just tried to install this awesome plugin on my Sublime Text. However, I can't seem to find ESP8266 boards when I try to select them. Is ESP8266 supported?

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.