Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] TWI not working when optimization is on

2013-08-07 by John Samperi

At 09:47 PM 7/08/2013, you wrote:
>All works fine until I turn on optimization (-O).

You are turning it OFF!! The code will be HUGE and will not keep
some necessary tight timings. Very bad boy, use -Os at least
which is good for most jobs.

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
********************************************************

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.