Comments (11)
Which operating system you are using?
Have you AVR toolchain in place?
from sublimeavr.
Thanks for the reply.
I'm using Windows 8.1.
I downloaded AVR toolchain and put in C Disk, as you can see here
In the Package Control page you said that I have to set it in PATH, how can I do that?
from sublimeavr.
Press Win + Pause/Break. Select Advanced system settings and Environment Variables. There you can set PATH variable. Append it with the installation path of AVR Toolchain. You need to give the path to the bin folder.
Semicolon ;
is used as a separator mark so remember to add that before adding new path into the list.
from sublimeavr.
I set the PATH, but now I'm getting this error:
I use winAVR in Atmel Studio normally, you know what I can do?
from sublimeavr.
What does the error says in English? At least now the plugin tries to compile. You can see the first call to avr-gcc below.
from sublimeavr.
The error says "The application was unable to start correctly (0xc0000142).".
from sublimeavr.
Just to report: I solved the error following these step: http://www.avrfreaks.net/forum/windows-81-compilation-error
I had to change AVRDUDE_FLAGS to "-c usbasp", to use my USBasp stick. Is there a way to change this in my template? (set USBasp to always make the upload).
from sublimeavr.
You can edit your .sublime-project file to add -c usbasp
there. And if you like to have a template for that create a new template (zip-file) into templates folder. The zip-file may contain whatever files you like to have in your custom template along with the .sublime-project file.
from sublimeavr.
I managed to change -c usbasp
in SublimeAVR.py
file. Put .sublime-project
in my custom template doesn't work, but now I finally got it. Your plugin is working like a charm.
Thank you for spend time trying to help me! :)
Edit
Just one more thing:
Is there a way to change the initial project location (just to add my project's folder, so I dont need to write it every time)?
From this
To something like that
from sublimeavr.
You shouldn't need to edit SublimeAVR.py but just edit the generated project Makefile file. I can add a feature to set default project folder in settings.
from sublimeavr.
Is there a possibility to make a feature to set Project Name in TARGET too? I make a project in C:\Users\José\Projects\Blink
and the compiler create Blink.hex
, for example.
from sublimeavr.
Related Issues (14)
- AVR asm error: "invalid output constraint" HOT 1
- Instruct the SublimeClang installation in Linux
- Use the deepest project folder as TARGET name
- Package Control removes the SublimeClang as orphan package (in Linux) HOT 1
- tu is None...
- Switch to use EasyClangComplete
- Support avrdude via Sublime Text's build_system HOT 7
- Multiple templates HOT 1
- SublimeAVR: could not find ave-gcc HOT 16
- Sublime AVR build issues HOT 7
- ST3's build system has been changed HOT 2
- Add default project folder in settings HOT 1
- Not getting to MCU select - Sublime Text 3 HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublimeavr.