Author Topic: Setting up and using C::B to program ARV chips  (Read 3022 times)

Offline ROVguy

  • Single posting newcomer
  • *
  • Posts: 3
Setting up and using C::B to program ARV chips
« 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.

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
Re: Setting up and using C::B to program ARV chips
« Reply #1 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.
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

Offline ROVguy

  • Single posting newcomer
  • *
  • Posts: 3
Re: Setting up and using C::B to program ARV chips
« Reply #2 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.


Offline stahta01

  • Lives here!
  • ****
  • Posts: 7678
    • My Best Post
Re: Setting up and using C::B to program ARV chips
« Reply #3 on: June 07, 2019, 05:18:10 pm »
What operating system are you using?
What AVR Compiler/Toolchain have you installed?

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline ROVguy

  • Single posting newcomer
  • *
  • Posts: 3
Re: Setting up and using C::B to program ARV chips
« Reply #4 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.
« Last Edit: June 10, 2019, 03:50:50 am by ROVguy »