Yahoo Groups archive

AVR-Chat

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

Message

Re: [AVR-Chat] What is wrong with this?

2008-01-27 by John Samperi

At 04:08 PM 27/01/2008, you wrote:
>a bit puzzled why the avr-gcc one doesn't.

It probably "optimized" your code away as it thinks
you don't really want some bits and you wrote it just
for fun.

Something about certain things not being declared volatile,
whatever that means....Seems to happen a lot. :-(

Does the same code run with CAVR? (with the proper mods)


Regards

John Samperi

********************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495       Fax (02) 9674-8745
Email: john@ampertronics.com.au
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.