At 09:42 AM 8/08/2013, you wrote: >I could be wrong, but, on page 86 of the GCC manual it says that "-O" (or >"-O1"): I use C under duress...but.. -O needs to be followed by another number AFAIK like -O1, -O2, -O3 and -Os. Maybe -O without anything else is equal to -O0. I always use the AS4 default of -Os, in fact I will use that even with the Code Red compiler or AS6 whenever I must use them. The project I'm working on at the moment has TWI and I'm using -Os. Maybe we will need to wait for a GCC guru to enlighten both of us. :-) Regards John Samperi ******************************************************** Ampertronics Pty. Ltd. 11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA Tel. (02) 9674-6495 Website http://www.ampertronics.com.au *Electronic Design * Custom Products * Contract Assembly ********************************************************
Message
RE: [AVR-Chat] TWI not working when optimization is on
2013-08-07 by John Samperi
Attachments
- No local attachments were found for this message.