AVRGCC with MS VisualStudio as IDE?

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I about to dive into AVRGCC. I have been a basic user for years on AVR's and PIC's. Basic has served me very well, but now I am deciding I want more portability and C looks to be the way, especially as programs get larger.

Anyhow, I downloaded the most recent WinAVR and both Codeblocks and Eclipse.
I was able to configure CB easily and didn't get Eclipse to work right after a few hours, so I thought about using MS Visual Studio as an IDE, and a quick internet search confirmed that it can and has been done.

My question is:
Are there any problems using MS Visual Studio with winavr? I really like the more powerful editing enhancements that I did not notice being present in CB. My C skills suck and I need all the help I can get.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

see thread https://www.avrfreaks.net/index.p...

I myself want to give this a try using VS2008, and try get symbol look-up etc.. all working. As a part-time C# user using lots of VS add-ons, I am pretty much stuck on using it most of the time - I am a firm believer in learning one tool and using it bloody well. My fave is Texpad.
I am still amazed when my boss drives VIM faster than I can drive the VS IDE, hence I believe that any tool no matter how strange it looks can still do the job without prejudice.
Anyway, enough chatter - lets write code!

Conrad Braam - www.softcircuitry.blogspot.com - www.plcsimulator.org
Always start off poorly, that way when you finally figure it out, you can get a few surprise hits in.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

the more powerful editing enhancements that I did not notice being present in CB

It's been a while since I dabbled with CodeBlocks but as I recall the editor had fairly powerful options. Could you be more specific on what you are looking for?

As of January 15, 2018, Site fix-up work has begun! Now do your part and report any bugs or deficiencies here

No guarantees, but if we don't report problems they won't get much of  a chance to be fixed! Details/discussions at link given just above.

 

"Some questions have no answers."[C Baird] "There comes a point where the spoon-feeding has to stop and the independent thinking has to start." [C Lawson] "There are always ways to disagree, without being disagreeable."[E Weddington] "Words represent concepts. Use the wrong words, communicate the wrong concept." [J Morin] "Persistence only goes so far if you set yourself up for failure." [Kartman]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

punisher454 wrote:

My question is:
Are there any problems using MS Visual Studio with winavr?

As you found out, others have used it successfully in the past and recently. I'm sure that other people will be using it in the future as well.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

can we use MS visual studio to debuge our code using gdb?

I love Digital
and you who involved in it!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

can we use MS visual studio to debuge our code using gdb?

No. If you want an "IDE" to GDB use something like Insight or Eclipse or DDD

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

unless your code is cross platform in which case you can use any debugger

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

here i change the setting for my makefile to use gdb and simulavr but it dose not work.
here is the output ocde.

error in source command file.
remote connection closed.

I love Digital
and you who involved in it!