Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 250 forks source link

new-stino can't find AVR libraries #330

Closed oeivanov closed 7 years ago

oeivanov commented 8 years ago

New-stino can't find libraries placed at arduinoXXX\hardware\arduino\avr\libraries, but standard stino can. So I can't use SPI library. Maybe I'm doing something wrong?

greyog commented 8 years ago

Go to the Sublime's packages folder, then to the /Stino/stino/pyarduino In file arduino_library.py at line 59 replace code if os.path.isfile(os.path.join(self.path, 'library.properties')): with if os.path.isdir(os.path.join(self.path, 'src')): Then restart Sublime. It fixes bug when Stino do not find some liblaries, those from hardware folder too.

Eternyt commented 8 years ago

see https://github.com/Robot-Will/Stino/issues/350