Post Created date
GCC Optimisation (Good or Bad)
Quote:(Many other things need to be done which in our opinion have much higher priority.) Yes I agree, I read in an earlier post that someone wanted to start a "GCC Wish List". I...
Thursday, 15 July 2004 - 13:12
Pointer initialization
If we really MUST have a endless loop of linked structures then it will have to be written in Assembly. I don't know about the GNU but usually assemblers make as many passes as...
Wednesday, 14 July 2004 - 14:17
GCC Optimisation (Good or Bad)
I tried Jörg Wunsch's idea of: unsigned long RealTime; unsigned long *rtp = &RealTime; This worked but of course requires 2-Bytes of SRAM and 2-Bytes flash of initialise it plus 2...
Wednesday, 14 July 2004 - 14:03
Pointer initialization
Hello plokson, Ha, Ha I've sussed it. Although I disagree strongly with your desire to implement a linked list in flash, this is how you must do it... Decalre the structures in...
Wednesday, 14 July 2004 - 13:40
GCC Optimisation (Good or Bad)
My examples were all compiled using the standard WinAVR makefile which uses -Os. I've found that there really is no point in using any other setting it's almost a "one size fits...
Wednesday, 14 July 2004 - 12:25
Pointer initialization
It seems you are making a linked list, since you can never add or subtract from this list (it is in flash) why not create a simple table instead. const uint8_t PROGMEM Item[]={1...
Wednesday, 14 July 2004 - 11:37
What's wrong with my compiler?
You didn't say whether you were using programmers notepad or whatever. The set -e; at the beginning of your command line looks suspect though. Nigel
Wednesday, 14 July 2004 - 11:09
WinAVR/GCC vs IAR C Compiler
Hello Edy, If you get the IAR comiler working I would be very interested to know just what improvement in code space efficiency you achieve. Nigel
Monday, 12 July 2004 - 16:01
Strange problem with DataFlash AT45Dxx. Help me!!!
You must have a SPI setup problem. I've been using the following code in a datalogger for approx 1 year continuously without any lockup whatsoever. //Routine to Send a variable...
Thursday, 24 June 2004 - 12:37
asm AT90s8535 multiplication and division
you put: ( (long)A * B ) / C or ( (unsigned long)A * B ) / C You can be sure then that no overflow will occur
Monday, 23 September 2002 - 15:31
GCC with external assembly files
Have you tried using R30 and R31 instead of ZL and ZH.
Monday, 23 September 2002 - 15:00
who can help me??
Not Me
Thursday, 19 September 2002 - 17:13