Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: ROVguy on June 07, 2019, 04:11:26 am

Title: Setting up and using C::B to program ARV chips
Post by: ROVguy on June 07, 2019, 04:11:26 am
Would anyone know if there is a tutorial or some instructional on how to properly setup C::B to program AVR chips including setup of the compiler and debugger? The information I have found online so far seem to be omitting important information that maybe is assumed people know.

Thanks for any and all help.
Title: Re: Setting up and using C::B to program ARV chips
Post by: oBFusCATed on June 07, 2019, 08:04:34 am
What important information?

The steps are:
1. Install compiler and debugger
2. Settings -> Compiler -> avr -> Toolchain executables -> Setup paths and names
3. Create project and select your avr compiler
4. Profit

Debugging is more complex to setup and depends on the tools.
Title: Re: Setting up and using C::B to program ARV chips
Post by: ROVguy on June 07, 2019, 03:42:24 pm
What important information?

The steps are:
1. Install compiler and debugger
2. Settings -> Compiler -> avr -> Toolchain executables -> Setup paths and names
3. Create project and select your avr compiler
4. Profit

Debugging is more complex to setup and depends on the tools.

What is meant by "Setup paths and names" Paths to what or where?
I am able to start an AVR project under NewProject, ProjectTamplet.

Title: Re: Setting up and using C::B to program ARV chips
Post by: stahta01 on June 07, 2019, 05:18:10 pm
What operating system are you using?
What AVR Compiler/Toolchain have you installed?

Tim S.
Title: Re: Setting up and using C::B to program ARV chips
Post by: ROVguy on June 10, 2019, 03:17:28 am
Hello!

My OS are Ubuntu 18.04 and Win10. To make life easier for now I'm sticking to Win10. As for which ARV toolchain I have the answer is I don't know! I installed it a while ago and I'm not sure where to check for that. To be honest I'm having a hard time switching over to CB though I would like a single IDE to do everything in on both OSs. I'm willing to uninstall everything and start fresh if it means doing it right and with least difficulty.