Post Created date
inlining functions saves space ?
An Johan alludes, inlining can save space by exposing opportunities for further optimization. On large x86 programs, this is often a big win. I suspect it would be less so on an...
Saturday, 30 January 2010 - 23:08
The gcc just quit working!!
Ummm... that's a python source file, and you are trying to run it through the python tool. What does this have to do with gcc?
Sunday, 17 January 2010 - 06:12
String in struct in progmem
Well, the strings were going to be stored there anyway, and this way you get back the two bytes per string that were going to the pointer. So the cost really isn't much.
Thursday, 14 January 2010 - 06:38
String in struct in progmem
It strikes me that writing this in assembler is just about the worlds simplest .S file....
Thursday, 14 January 2010 - 00:33
String in struct in progmem
Quote:This didn't compile, it complained about: "commands.c:17: error: braced-group within expression allowed only inside a function" Hmmm... what is that message trying to tell...
Wednesday, 13 January 2010 - 05:02
Sanguino Board
A floating input will pick up noise. There are internal pull-up resistors that you can turn on for the input pins, so that in the absence of an input it will be pulled high, or it...
Tuesday, 12 January 2010 - 06:59
AVRGCC compiler source code?
atdodd wrote:While some of the AVR-GCC distributions might include AVR-specific patches, the "standard" GCC distribution includes AVR support - it's just normally not compiled in...
Saturday, 9 January 2010 - 19:48
I want to build a robot, which AVR MCU?
Your profile doesn't tell us where you are, but if you are anywhere near Northern California you should come to the Homebrew Robotics Club for some quick...
Thursday, 7 January 2010 - 07:27
Broken avrdude on Linux
Most Linux distro's just have symbolic links for lex and yacc that point to flex and bison anyway. It looks like yacc (bison) is happy, +/- a warning. Nothing seems to go...
Monday, 4 January 2010 - 04:54
Where Can I get AVR GCC for LINUX?
Difool wrote:Even easier is to pick up package from official distribution repository, if it's disponible (it's the case for Fedora) Usually a very bad idea. The official...
Sunday, 3 January 2010 - 22:58
Forcing C Variables and Functions into absolute address
You need to learn about linker scripts. You can place variables and functions into named sections by setting appropriate attributes in the compiler. But the linker is the...
Sunday, 3 January 2010 - 17:28
FCC Regulations for kits
I think the FCC also has an exception for "test equipment". Much of the SparkFun stuff, and probably even the AVRISP can sneak through that hole. The test equipment exemption...
Friday, 1 January 2010 - 17:55