gepd / Stino

A Sublime Text Plugin for Arduino
Other
33 stars 10 forks source link

bare gcc not working #9

Closed sjoerdtimmer closed 9 years ago

sjoerdtimmer commented 9 years ago

When the "Bare Gcc (no arduino code munging)" option is ticked the verify/compile button as well as the upload buttons don't do anything... Do you have any suggestions how I should obtain more debugging information? No output window is shown and nothing at all seems to happen... As if no action was assigned to these buttons...

I have arduino 1.6.5 which doesn't seem to have this feature in it's ide but stino uses a lower level avr-g++ so should still be able to do this right?

sjoerdtimmer commented 9 years ago

never mind. I figured it out.

For anyone else out there finding this on google: for bare gcc compilation the filename needs to be .c or .cpp

(I had assumed that I could just add a main() to my ino and save some space (I'm writing code for an attiny13 so every byte counts and I don't need interrupts, millis or even a mainloop. Just blinking some leds in setup() and then sleep until the reset button was hit) )