On Monday 26 September 2005 13:50, choo kok seng wrote:
Dear All,
I tried to compile a simple code using SIGNAL API for Attiny2313
target, but I always hit the following warning: main.c:14: warning:
`SIG_OVERFLOW1' appears to be a misspelled signal handler
[...]
This is named
hello everyone,
i'm using avr gcc 3.4.3
and i have specified one global variable 'dummy'
as
register unsigned char dummy asm
("r5");
this means that register r5 will be used only when
variable 'dummy' gets modified..
but in my program this register is getting pushed
in some other
Hi
I wish to do the following thing.
pre load data in eeprom(which I do by writing an intel hex file-if there is better way please let me know).
access this by a pointer and manupulate it.
How do I do the latter. i wish to maupulate a byte.
Thanks
___
Hi list,
I defined a structure in ROM, and am having difficulties accessing it
using a pointer. Structure contains an integer and an array of strings.
Accessing the array works, but when I try to read the integer number
using the pointer, I don't get the correct value what am I doing
wrong
Vincent Trouilliez wrote:
[...]
i = pgm_read_byte( p-nb ); //should return 3, but doesn't...
Try:
i = pgm_read_byte((p-nb));
After all, pgm_read_byte() takes the address of a byte to read,
so you need to pass it the _address_ of the object you want.
--
[EMAIL PROTECTED]
Andy
On Monday 26 Sep 2005 17:54, Vincent Trouilliez wrote:
On Mon, 2005-09-26 at 10:24 -0500, Andy Warner wrote:
Vincent Trouilliez wrote:
[...]
i = pgm_read_byte( p-nb ); //should return 3, but doesn't...
Try:
i = pgm_read_byte((p-nb));
After all, pgm_read_byte() takes the
Anyone have a good lint configuration file for avr-gcc?
Thanks,
Jonathan
begin:vcard
fn:Jonathan Goldberg
n:Goldberg;Jonathan
org:Heorot International
email;internet:[EMAIL PROTECTED]
title:President and Chief Executive Officer
tel;work:915-276-2933
tel;cell:915-276-2933
x-mozilla-html:TRUE
From: Jonathan Goldberg [EMAIL PROTECTED]
Anyone have a good lint configuration file for avr-gcc?
You don't say which lint.
Here's the one I'm using for a current project under Ginpel's PC-lint.
--- begin included file ---
// Compiler definitions
//
c:\lint\lnt\co-gnu3.lnt // 2.95.3
Dear All,
I tried to
compile a simple code using SIGNALAPI for Attiny2313 target, but I always
hit the following warning:
main.c:14: warning: `SIG_OVERFLOW1' appears to be a
misspelled signal handler
The full message is as follow:
avr-gcc (GCC) 3.4.3Copyright (C) 2004 Free
Software