KurtE
Senior Member+
As I have converted over to using Sublime Text version 3 as my main editor when I am working on libraries or Teensy Core... I was wondering if anyone has integrated Arduino IDE capabilities into it.
It turns out there is a python install package for sublime text that was created to do this. I believe the most current sources for it is up at: https://github.com/Robot-Will/Stino/tree/new-stino
So I thought I would give it a try. After a few install issues, which was resolved by deleting some python cache file, it came up. I was able to compile Blink for the Arduino Mega, but when I try compiling for Teensy, the compiler fails...
From looking at some of the current issues, I see a few others have tried this. The first fix (hack) was to update the Teensy platform.txt.
There code does not appear to handle: compiler.path={runtime.hardware.path}/../tools/ It was sort of interesting I did a search of the entire Arduino install and this key only showed up this and the backup of this file that TYQT created.
So I edited, and changed the line to: compiler.path=C:\arduino-1.6.12\hardware\tools\
Now the compiler runs and compiles all of the sources. But now fails in the archive steps.
It turns out when they are doing a compile it looks like they are doing the compile of the core files, the files are being built in:
:/Users/Kurt/AppData/Local/Temp/Stino_build/Blink/core_teensy3
But the archive is looking for them in :/Users/Kurt/AppData/Local/Temp/Stino_build/Blink/core so it fails.
My guess, is I may need to play with the line: recipe.ar.pattern="{compiler.path}{build.toolchain}{build.command.ar}" rcs "{build.path}/core/{archive_file}" "{object_file}"
Will look at what the Arduino platform file does here as the build for the AVR processors is built into the directory: C:\Users\Kurt\AppData\Local\Temp\Stino_build\Blink\core_arduino
And it runs fine...
So it looks like I need to do a little more digging.
Was wondering if anyone already has it working?
Thanks
Kurt
It turns out there is a python install package for sublime text that was created to do this. I believe the most current sources for it is up at: https://github.com/Robot-Will/Stino/tree/new-stino
So I thought I would give it a try. After a few install issues, which was resolved by deleting some python cache file, it came up. I was able to compile Blink for the Arduino Mega, but when I try compiling for Teensy, the compiler fails...
From looking at some of the current issues, I see a few others have tried this. The first fix (hack) was to update the Teensy platform.txt.
There code does not appear to handle: compiler.path={runtime.hardware.path}/../tools/ It was sort of interesting I did a search of the entire Arduino install and this key only showed up this and the backup of this file that TYQT created.
So I edited, and changed the line to: compiler.path=C:\arduino-1.6.12\hardware\tools\
Now the compiler runs and compiles all of the sources. But now fails in the archive steps.
Code:
[Stino - Start building "Blink"...]
[ 25%] Creating C:\Users\Kurt\AppData\Local\Temp\Stino_build\Blink\core.a...
"C:\arduino-1.6.12\hardware\tools\arm/bin/arm-none-eabi-ar" rcs "C:\Users\Kurt\AppData\Local\Temp\Stino_build\Blink/core/core.a" "C:\Users\Kurt\AppData\Local\Temp\Stino_build\Blink\core_teensy3\analog.c.o"
C:/arduino-1.6.12/hardware/tools/arm/bin/arm-none-eabi-ar: C:/Users/Kurt/AppData/Local/Temp/Stino_build/Blink/core/core.a: No such file or directory
[Stino - Exit with error code 1.]
:/Users/Kurt/AppData/Local/Temp/Stino_build/Blink/core_teensy3
But the archive is looking for them in :/Users/Kurt/AppData/Local/Temp/Stino_build/Blink/core so it fails.
My guess, is I may need to play with the line: recipe.ar.pattern="{compiler.path}{build.toolchain}{build.command.ar}" rcs "{build.path}/core/{archive_file}" "{object_file}"
Will look at what the Arduino platform file does here as the build for the AVR processors is built into the directory: C:\Users\Kurt\AppData\Local\Temp\Stino_build\Blink\core_arduino
And it runs fine...
So it looks like I need to do a little more digging.
Was wondering if anyone already has it working?
Thanks
Kurt