Post Created date
Gcc 4.3.3 (WinAVR 20100110) while loop misoptimization
So it the case the variable==0 it is still better to move tst outside the loop - we will not get any size benefits, but the loop will be executed faster.
Friday, 4 June 2010 - 13:40
Remarks on using avr-gcc on 128/256kB FLASH AVR devices
You have third option – not to use AVRs. For the same price you have a plenty of options – ARM for example. So it is Atmel problem to support users with good compiler.
Friday, 28 May 2010 - 21:36
How to define one-way linked structure in FLASH?
Thanks for detailed explanation. My list actually can be either a constant static list with fixed number of items, or dynamic, stored in SRAM. I want to use the list for...
Sunday, 25 April 2010 - 10:53
How to define one-way linked structure in FLASH?
Thanks very much to both of you. David, I cannot use an array of char*, because my real structure is far more complex, it stores a couple of fields. But the initialization of list...
Sunday, 25 April 2010 - 10:27
AVR-gcc 4.5.0
It’s hard to say. I will try to compare lss listings of my program. At first look it seems that gcc 4.5 don’t so aggressively inline functions, but obviously there is a lot of...
Friday, 23 April 2010 - 15:12
Unhappy with c++ virtual tables in SRAM
Skeeve, you are trying to make some dirty workarounds of a very simple problem, which should be solved on compiler side. So we should rather think how to implement the...
Monday, 19 April 2010 - 21:00
Unhappy with c++ virtual tables in SRAM
Unfortunately the VTABLES are copied in init4 section, together with other const data.
Sunday, 18 April 2010 - 18:39
Unhappy with c++ virtual tables in SRAM
Exactly the same.
Friday, 16 April 2010 - 20:09
Unhappy with c++ virtual tables in SRAM
Probably to make a wrapper around virtual methods you need something like meta-object compiler – another program, which will translate your C++ program with your wrapper to pure...
Friday, 16 April 2010 - 19:18
Unhappy with c++ virtual tables in SRAM
Yes, gcc is open source, but you have to know gcc internals to modify something. And it seems that gcc internals knowledge is limited to just a few dark-magic practicing...
Friday, 16 April 2010 - 15:04
Unhappy with c++ virtual tables in SRAM
I have only one idea – consolidate peoples who write in C++ on AVR and push gcc developers every day, so maybe in the future there will be a day when this problem will be solved...
Friday, 16 April 2010 - 14:18
How to force gcc to use only one copy of string?
Thank you for your explanation. It helps me a lot. But I suspect that Skeeve solution has a small error – static keyword implies internal linkage, so the label is not visible to...
Monday, 12 April 2010 - 18:46

Pages