Author Topic: C++ and AVR Studio  (Read 49535 times)

0 Members and 1 Guest are viewing this topic.

Offline Admin

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,632
  • Helpful? 169
    • Society of Robots
Re: C++ and AVR Studio
« Reply #30 on: September 11, 2008, 08:16:31 PM »
Quote
1. Optimisation - turned either: off, for speed, for size - and what it does in general terms
2. Compiler directives: #define, #ifdef etc - pros and cons
3. Keywords like: volatile, register, const - what do they mean and how do they effect compiler output
4. Defining code in .h files versus .c files - pros and cons
5. How to reduce your code by using structures without having to go to C++. Packing structures.
6. The dangers of multi-threading / interrupts - how to avoid issues
7. abstracting it via the makefile

Webbot, thats exactly what I meant :)

I have a barely functional understanding of each of those points, so I can immediately apply what I learn from your tutorial! I vote for all of them :P

Also, tips for reducing RAM usage. I always run out :-\
And how does one multi-thread on an mcu?

Offline Webbot

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 2,121
  • Helpful? 108
Re: C++ and AVR Studio
« Reply #31 on: September 12, 2008, 02:59:48 PM »
Quote
1. Optimisation - turned either: off, for speed, for size - and what it does in general terms
2. Compiler directives: #define, #ifdef etc - pros and cons
3. Keywords like: volatile, register, const - what do they mean and how do they effect compiler output
4. Defining code in .h files versus .c files - pros and cons
5. How to reduce your code by using structures without having to go to C++. Packing structures.
6. The dangers of multi-threading / interrupts - how to avoid issues
7. abstracting it via the makefile

Webbot, thats exactly what I meant :)

I have a barely functional understanding of each of those points, so I can immediately apply what I learn from your tutorial! I vote for all of them :P

Also, tips for reducing RAM usage. I always run out :-\
And how does one multi-thread on an mcu?

Ok - looks like we have a basis of a tutorial then. Not quite as daunting as 'How do I program' - but still a fairly large topic - so its gonna take me a while...
Will add a new post once complete. Over and out.
« Last Edit: September 12, 2008, 03:00:19 PM by Webbot »
Webbot Home: http://webbot.org.uk/
WebbotLib online docs: http://webbot.org.uk/WebbotLibDocs
If your in the neighbourhood: http://www.hovinghamspa.co.uk

 


Get Your Ad Here