You need to log in to create posts and topics.

AVR-GCC

hi,

 

i want to write a code in C using AVR-GCC compiler. but if i want to debugg the code . it say always debugger stopped. 

i cant compile the code. i watch several vedios on youtube but i dont understand what they did. 

can anyone explain step for step how to configure it for always. i did not see any thing in internet about AVR-GCC. all about arduino. 

i just need the AVR compiler.

thanks 

Hi.

The first thing you need to do is to install AVR-GCC compiler.
Then you can start to use it from simulide.

Maybe a dump question. How does simulide determine if AVR-GCC is installed? I have it installed but it still isn't selectable in the compiler settings. Actually,  it doesn't even show the compiler settings menu item when a .c file is loaded.

Sorry I missed this post.

How does simulide determine if AVR-GCC is installed?

Simulide does not determine if AVR-GCC is installed to show the compiler in the list.

When you compile it checks if the executable file exist, if it is not found then it tries to call it, if the process is executed then it thinks the executable is there.

 

I have it installed but it still isn't selectable in the compiler settings. Actually,  it doesn't even show the compiler settings menu item when a .c file is loaded.

In 1.1.0 you select the compiler in File Settings.
Then you can configure Compiler Settings.