Git Product home page Git Product logo

Comments (11)

kblomqvist avatar kblomqvist commented on September 24, 2024

Which operating system you are using?
Have you AVR toolchain in place?

from sublimeavr.

zezao avatar zezao commented on September 24, 2024

Thanks for the reply.

I'm using Windows 8.1.
I downloaded AVR toolchain and put in C Disk, as you can see here
yjpykec 1
In the Package Control page you said that I have to set it in PATH, how can I do that?

from sublimeavr.

kblomqvist avatar kblomqvist commented on September 24, 2024

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.

zezao avatar zezao commented on September 24, 2024

I set the PATH, but now I'm getting this error:
sem titulo
I use winAVR in Atmel Studio normally, you know what I can do?

from sublimeavr.

kblomqvist avatar kblomqvist commented on September 24, 2024

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.

zezao avatar zezao commented on September 24, 2024

The error says "The application was unable to start correctly (0xc0000142).".

from sublimeavr.

zezao avatar zezao commented on September 24, 2024

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.

kblomqvist avatar kblomqvist commented on September 24, 2024

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.

zezao avatar zezao commented on September 24, 2024

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
sem titulo
To something like that
sem titulo1

from sublimeavr.

kblomqvist avatar kblomqvist commented on September 24, 2024

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.

zezao avatar zezao commented on September 24, 2024

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)

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.