7;} [-Warray-bounds]
What is this warning and what array is it referring to?
Thank you!
--
Best Regards,
-- Royce Pereira
Test
--
Best Regards,
-- Royce Pereira
id not delete the path entries.
after deleting them manually, problem solved1
Thank you !!
On Thu, 14 Oct 2021 at 11:50, wrote:
>
> On 13.10.21 17:31, Royce Pereira wrote:
>> Today I started getting this error when i run make:
>>
>> make: *** No rule to make t
projects.
Note:
I'm using windows 10 and make.exe is in :
C:\MinGW\msys\1.0\bin\make.exe
Which is defined in my path.
Please advise. Thank you!
--
Best Regards,
-- Royce Pereira
Git
>> For Windows" those strange errors disappear..
>>
>> Another thing you can try is:
>> make --dry-run
>> You can examine the commands that make would generate for any errors.
>>
>>
>> -- Nigel
>>
>> On Fri, 25 Sep 2020 a
'. Stop.
Again, this is probably because of the invalid path above (c\;\...) but i
cant figure out the source of this invalid path.
Could someone kindly shed some light on this? Thanks!
On Tue, 22 Sep 2020 at 15:13, Royce Pereira wrote:
> Hi,
>
> Ok, I deleted all generated fil
Hi,
Ok, I deleted all generated files save my c file.
Now the error is not displayed, and the project compiles.
However, it would be interesting to know what causes it !
Thank you,
On Tue, 22 Sep 2020 at 15:08, Royce Pereira wrote:
> Hi,
>
> Recently I am getting a strange er
ET).lss
$(REMOVE) $(OBJ)
$(REMOVE) $(LST)
$(REMOVE) $(SRC:.c=.s)
$(REMOVE) $(SRC:.c=.d)
$(REMOVE) .dep/*
# Include the dependency files.
-include $(shell mkdir .dep 2>/dev/null) $(wildcard .dep/*)
# Listing of phony targets.
.PHONY : all begin finish end sizebefore sizeafter gccversion \
build elf hex eep lss sym coff extcoff \
clean clean_list program debug gdb-config
--
Best Regards,
-- Royce Pereira
k((void *)&setPgm, (const void *)eepLoc, num) ;
>
> What is num?
>
>-=Dave
> ------
> *From:* AVR-GCC-list
> on behalf of Royce Pereira
> *Sent:* Tuesday, June 9, 2020 8:18 AM
> *To:* avr-gcc-list@nongnu.org
> *Subject:* Saving &
unction
return 0 ;
}
//---
The getPgm function uses the read block api but retreives garbage(0x);
What am I doing wrong ?
Thank you!
--
Best Regards,
-- Royce Pereira
--
Best Regards,
-- Royce Pereira
orked fine in older version of AVR-GCC (4.6 and earlier)
I ignored this warning for a long time.
Recently, I got curious as to the nature of the error.
So what has changed recently ? Thanks!
--
Best Regards,
-- Royce Pereira
you should install
> mingw C/C++ compiler. Or give Atmel Studio another try.
>
> On Fri, Mar 27, 2015 at 10:38 PM, Royce Pereira wrote:
>>
>> OK, as suggested, I tried MHV AVR tools,
>>
>> If I run make clean (or make all) I get the following errors
>>
>
t message box saying that "msys-intl-8.dll" is missing.
So what's going on ?
Thank you.
On Fri, Mar 27, 2015 at 2:16 PM, Royce Pereira wrote:
> Thank you.
> I'll try it and report back in 24 hrs.
>
> On Mar 27, 2015 1:47 PM, "vasi vasi" wrote:
>&g
5:10 PM, Royce Pereira wrote:
> Thank you!
> Your link solved the issue ;-)
>
> Best regards,
> Royce
>
> On Sep 10, 2014 10:09 AM, "Dhakshinamoorthy, Soundararajan"
> wrote:
>>
>> Perhaps you could give this a try, in case you haven't.
.net/forum/windows-81-compilation-error?name=PNphpBB2&file=viewtopic&t=137881
>
> Thanks,
> Soundararajan
> --
> *From:* avr-gcc-list-bounces+sounderarajan.d=atmel@nongnu.org
> [avr-gcc-list-bounces+sounderarajan.d=atmel@nongnu.org] on
ep/*
make.exe: *** [clean_list] Error -1073741502
> Process Exit Code: 2
> Time Taken: 00:13
Best Regards,
-- Royce Pereira
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
ess terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
==
Could anyone help in setting up the IDE ?
Thank You.
--
Best Regards,
-- Royce Pereira
___
AVR-GCC-list mailin
Hi,
In my makefile i have included a folder in the 'extra include directories'
line.
But one folder in this path has a space. I tried to enclose the path and
then the folder in single quotes as well as double quotes, but while
running make, the path always gets split into two, causing my headers
Lay wrote:
> Royce Pereira schrieb:
>
>> Hi,
>>
>> What is the differenence between:
>>
>> __flash const char myString[] = "Hello There!" ;
>
>
> myString is a const array in flash that's initialized with "Hello Ther
m I writing it wrong ?
Thanks.
--
Best Regards,
-- Royce Pereira
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list
Thank you, Georg-Johann,
That was very informative !
On Mon, Jun 16, 2014 at 3:28 PM, Georg-Johann Lay wrote:
> Am 06/12/2014 12:23 PM, schrieb Royce Pereira:
>
>> Hi,
>>
>> I recently updated WinAVR to a newer version of the AVR-GCC toolchain,
>> downloaded from th
Thank you, Georg-Johann,
I will try this and report. :)
On Mon, Jun 16, 2014 at 3:19 PM, Georg-Johann Lay wrote:
> Am 06/13/2014 12:06 PM, schrieb Royce Pereira:
>
>> Hi all,
>>
>> Continuing with the latest avr-gcc, and playing with the new '__flash'
>>
[enabled by default]
(funcArray[funcNo])() ;
*/
Can anyone give me an idea of what's happening and how to get rid of
the warnings ?
Thank You ! ^
--
Best Regards,
-- Royce Pereira
___
AVR-GCC-list mailing lis
Thank you, all, for the guidance.
On Fri, Jun 13, 2014 at 12:44 PM, Senthil Kumar Selvaraj
wrote:
> On Fri, Jun 13, 2014 at 12:02:58PM +0530, Royce Pereira wrote:
>> Thanks, Joerg,
>>
>> This is news to me :) !
>>
>> I googled for '__flash qualifier in A
ash automatically ?
On Fri, Jun 13, 2014 at 11:19 AM, Joerg Wunsch wrote:
> Royce Pereira wrote:
>
>> Even the libc documentation, which was once the bible of avr-gcc on
>> this is not accurate. The sample code just does not work.
>
> Apparently, nobody noticed before. Ple
r Selvaraj
wrote:
> On Thu, Jun 12, 2014 at 09:58:54PM +0530, Royce Pereira wrote:
>> I'll try the various suggestions tomorrow.
>>
>> But I'm surprised at the diverse replies.
>>
>> Don't people declare an array of strings anymore ? :-)
>>
>
>>
>> That works without out warnings for C. There was a long standing bug
>> that you may be running into if you are compiling as C++.
>>
>> _______
>> AVR-GCC-list mailing list
>> AVR-GCC-list@nongnu.org
>> http
Sorry, the 'word' type means 'unsigned integer'.
I have a header that defines 'word'. :-)
On Thu, Jun 12, 2014 at 4:08 PM, Royce Pereira wrote:
> I found that this does not throw an error:
>
> const word pgtmp_msg[]PROGMEM =
>{ ptmpUP_msg, pt
there a proper way of doing this, now that the libc example too is
inaccurate ?
On Thu, Jun 12, 2014 at 4:04 PM, Royce Pereira wrote:
> Francois,
>
> No, that does not work.
>
> In fact, it was *exactly* what i was using before (which was not as
> per the libc examples).
>
&g
llo,
>
> Newer version of gcc have changed the progmem behaviour, it cannot be
> applied to typedef anymore if I remember well.
>
> const char * pgtmp_msg[] should solve your issue
>
> Regards
>
> Francois
>
>
> On Thu, Jun 12, 2014 at 12:23 PM, Royce Pereira wrote:
&g
ion by means of '__attribute__((progmem))'
//-
But I have followed the avr-libc example exactly.
So why is this error thrown and whats the correct way to do this ?
Thank You.
--
Best Regards,
-- Royce Pereira
___
I think you are mistaken.
The normal (default) operation of all port lines are as regular I/O, unless
you configure the relevant timer control registers to toggle the port lines
on compare.
The default values cause the port lines to be as normal I/O.
On Nov 17, 2012 3:39 PM, "Marcelino Macome"
wr
Hi, all,
Indeed there is no (code wise) difference between 32, 32L & 32A (also
applies to other MPUs like Mega8 etc).
I recently tried a commercial compiler, where selection for 32, 32L, &
32A was given separately, and posed the same query to them.
The answer was
" All three are the same for the
Hi,
Your link opens a page that says " This item is private" .
I guess I need to login ? I am not registered there.
Is there another link or can the matter be reproduced here please ?
Regards,
--Royce
On Sun, Apr 18, 2010 at 3:46 PM, Joerg Wunsch wrote:
> Royce Pereira
Hi,
I had posted this issue a year ago, but got no reply. In the meantime,
I was using AVR studio for programming, so I forgot about this.
Now I'm returning to avrdude, and I again encountered curious problem .
My avrdude command line is:
>avrdude -p t26 -u -U micro-cntr.hex -U hfuse:w:0xF
Hi, all,
To recap an old thread (see extreme bottom), was getting garbage
attached to my hex file name when avrdude read the command line,
causing the programming to fail. At that time, I'd just installed the
Win 7 RC, so I suspected that was causing the problem.
Then the post below said it migh
Hi,
I have a project built around a Tiny26.
It was compiled with WinAVR-20070525.
I'd stuck to this version for a long time, until recently when I upgraded to
20090313.
Soon after, I had to recompile my project due some change in specs.
Imagine my shock when AVRstudio complained that the he
Hi,
--
From: "Weddington, Eric"
Sent: Monday, April 27, 2009 10:55 PM
To: "Royce Pereira" ;
Subject: RE: [avr-gcc-list] Windows 7 issue ? Avrdude - strange garbage at
endof filename
-Original Message-
Today
Hi,
Today I decided to try our Windows 7 (beta build 7077). This is the
build just before RC1.
I aso installed just today WinAVR 2090313.
I'm not sure if either one could be at fault.
When I try to use Avrdudein the DOS window, or thru a bat file,it
reads funny garbage at the end of the **filenam
I dont think there exists a 'lcd.h' file with avr-gcc.
You need to write your own lcd code for the lcd you are using.
--Royce.
- Original Message -
From: ankit agarwal
To: avr-gcc-list@nongnu.org
Sent: Sunday, 08 March, 2009 3:17 PM
Subject: [avr-gcc-list] inquiry
dear
i
Hi,
- Original Message -
From: "David Kelly"
To:
Sent: Friday, 20 February, 2009 1:30 AM
Subject: Re: [avr-gcc-list] How to force GCC to not to remove "nop"
statements?
Related to another thread: as to why *not* to use an 8051:
Doesn't have avr-gcc.
But it does have SDCC, a fre
Hi,
I'm using AVRdude.
While programming, I'm trying to retreive, and then write into the 1st 4
eeprom locations,, the calibration bytes.
The device gets programmed. Also the the calibration bytes are read to the
specifie file, but fails while writing to eeprom.
The command line, & subsequent
Hi Eric,
- Original Message -
From: "Royce Pereira" <[EMAIL PROTECTED]>
To: "Eric Weddington" <[EMAIL PROTECTED]>; "'Dean
Hi,
- Original Message -
From: "Eric Weddington" <[EMAIL PROTECTED]>
Recently I posted a r
Hi,
- Original Message -
From: "Eric Weddington" <[EMAIL PROTECTED]>
To: "'Dean Ferreyra'" <[EMAIL PROTECTED]>; "'Royce Pereira'"
<[EMAIL PROTECTED]>
Cc:
Sent: Monday, 05 November, 2007 7:28 PM
Subject: RE: [avr-gcc-l
Hi,
I found that this problem was removed after uninstalling 'Spyware Doctor'
from my PC.
Is there anyone else with similar experience - who knows what settings to do
in Spyware Doct ?
Thanks,
--Royce
- Original Message -
From: "Royce Pereira" <[EMAIL PROTECT
Hi all,
I am recently getting this error message from Win AVR:
AllocationBase 0x0, BaseAddress 0x7159, RegionSize 0x17, State
0x1
C:\WinAVR-20070525\utils\bin\rm.exe: *** Couldn't reserve space for cygwin's
heap, Win32 error 487
Can anyone help? Thanks !
--Royce
Hi,
Sorry for my rusty C,
In the following union
union
{
uint32_t as_ul;
struct
{
uint8_t by0;
uint8_t by1;
uint8_t by2;
uint8_t by3;
}
asbyte;
}
lvar;
What is the order
Hi,
On Wed, 03 Oct 2007 20:58:55 +0530, David Kelly <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 03, 2007 at 08:49:31PM +0530, Royce Pereira wrote:
>> >
>> > #define CHK_1307 ((uint8_t) 0x55)
>> >
>> Actually this worked:
>>
>> Changing
Hi,
On Wed, 03 Oct 2007 19:57:54 +0530, David Kelly <[EMAIL PROTECTED]> wrote:
> On Tue, Oct 02, 2007 at 11:25:30PM -0700, Dave N6NZ wrote:
>>
>> >#define CHK_13070x55
>
>> > if(twi_read() != ~CHK_1307) ok= 0;
>> >// ^^
>> >//The offending line.
>> I believe what is going on
Hi all,
What does the following warning mean?
warning: comparison is always true due to limited range of data type
Here is the context:
I have a AVR I'm trying to connect to a DS1307 RTC chip via TWI.
To check the integrity of the DS1307 internal ram, I plan to write 4 bytes,
0x55,0xaa,0x55,0x
Hi, David,
On Wed, 03 Oct 2007 02:24:16 +0530, David Kelly <[EMAIL PROTECTED]> wrote:
> So? Why did *you* change compilers if the old one did what you wanted?
> If it doesn't do what you want then its your choice whether to change
> your code to conform or to revert to the compiler that did what
Hi,
On Mon, 01 Oct 2007 13:02:32 +0530, David Brown <[EMAIL PROTECTED]> wrote:
> Royce Pereira wrote:
>>
>> So I have to write more 'C' code :) to get the same stuff done, in
>> the 'new & smarter' compiler! Interesting.
>>
>> Doe
Hi all,
OK fine I agree.
we have to use 'volatile' and all.
But why must it generate such horrid code...
(I reproduce the comparison again below to get the *real* issue into focus)
The compiler output with the 'correct' code ('volatile' used):
//-
Hi Klaus,
On Fri, 28 Sep 2007 14:57:14 +0530, Klaus Rudolph <[EMAIL PROTECTED]> wrote:
> Please use optimizer! Something like -O2 -O3 -Os ... as you need!
My makefile already has
OPT = s
>
> Simplify your delay loop:
> void delay(volatile word cnt) { ...
>
Already tried that. No change.
If it's
Hi,
On Fri, 28 Sep 2007 14:47:26 +0530, David Brown <[EMAIL PROTECTED]> wrote:
>
> This is probably in the FAQ somewhere - if not, it should be!
>
> The compiler is smart enough to figure out that your delay function does
> no useful work - thus the optimiser does not generate any code. This is
p is:
>
> void delay(unsigned int del_cnt) {
> volatile unsigned int n = del_cnt;
> while (n--);
> }
So I have to write more 'C' code :) to get the same stuff done, in the 'new &
smarter' compiler! Interesting.
Doesn't seem right, some how.
Hi,
On Fri, 28 Sep 2007 13:42:18 +0530, Klaus Rudolph <[EMAIL PROTECTED]> wrote:
> The code has been optimized. Well done!
> If you need the variable access use 'volatile'
>
Why does it get optimised?
I understand the meaning of 'volatile', but why is it required here ?
It is clear that the varia
Hi all,
In the latest WinAVR (avr-gcc (GCC) 4.1.2 (WinAVR 20070525) I found this.
Check this out:
//==
void delay(unsigned del_cnt)
{
while(del_cnt--);
return;
}
//===
Compiles as (from the .lss file):
//===
void
Hi Blake,
On Wed, 19 Sep 2007 20:01:03 +0530, Blake Leverett <[EMAIL PROTECTED]> wrote:
> It's probably on your system somewhere, but I've attached it anyway. Along
> with the makefile that was with it.
>
Yes, it's in
C:\WinAVR-20070525\examples\twitest\
and not in the folder mentioned in the
Hi,
Attempting to use the AVR TWI interface for the 1st time, I discovered that the
example TWI code as described in the AVR-LIBC manual is missing - the link
(HTML version) says it is at
C:/WinAVR-20070525/doc/avr-libc/examples/twitest/twitest.c
but the link wont work , & I couldn't find the
Hi,
On Thu, 03 May 2007 10:19:18 +0530, Prashant D. Kharade <[EMAIL PROTECTED]>
wrote:
> Dear Sir,
No 'Sir' here this is a group of users of avr-gcc, like you.
>
> I am totally new user of AVR GCC.
Welcome!
> I have downloaded winavr version 4.1.1 from net on May 02,2007.
>
> I also wrote a s
Hi David,
oops!
(fun= pgm_read_word(&do_func[func_no]))(); //func_no is the element
no..
...
should be
(func= .
Bye,
--Royce
>
>
> ___
> AVR-GCC-list mailing list
> AVR-GCC-list@nongnu.org
> http://lists.nongnu.
Hi David,
On Mon, 26 Feb 2007 02:07:54 +0530, David McNab <[EMAIL PROTECTED]> wrote:
> Surely it can't be too hard to place a table of function pointers into
> flash, retrieve function pointers from this table, and 'call' them.
>
I remember as a newbie to the list, I'd asked this very question
Hi all,
On Thu, 01 Feb 2007 00:45:09 +0530, Gavin Jackson <[EMAIL PROTECTED]> wrote:
> There is another key located at:
> HKEY_LOCAL_MACHINE\SOFTWARE\WinAVR
>
> What I've done to work around this problem is have a
> generic name in the registry and rename the folder the
I've not been able to com
Hi,
On Wed, 22 Nov 2006 23:14:21 +0530, kitts <[EMAIL PROTECTED]> wrote:
> On Wednesday 22 November 2006 05:57 IST, David Kelly wrote:
>> Some MCU families (believe HC12 is one) have a separate register for
>> reading the port's actual input/external value, and another for
>> reading output la
Hi,
On Fri, 06 Oct 2006 13:39:36 +0530, Nigel Winterbottom <[EMAIL PROTECTED]>
wrote:
>> -Original Message-
>> From: larry barello
>
>> Specifically I was looking for an efficient way to encode
>>
>> (bSomeBool ^ (SomeBitMask & SomeVariable))
>>
>> to get a true/false output.
> --
Hi all,
I have a delay loop thus:
//
void delay(unsigned long count)
{
while(count)
--count;
}
//
When I call :
delay(2*33000);
I get:
878: 60 ed ldi r22, 0xD0 ; 208
87a: 71 e0 ldi
hi,
so what was the problem?
--royce
On Sat, 12 Aug 2006 08:00:36 +0530, Trampas <[EMAIL PROTECTED]> wrote:
> I went and rewrote the code and it all works now.
>
> Trampas
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of
> Trampas
> Sent: Friday, A
Hi,
On Wed, 05 Jul 2006 17:57:50 +0530, <[EMAIL PROTECTED]> wrote:
> I'm a total newbie to avr-gcc and just compiled a first program. It merely
> fits the program memory so I've started to optimize..
>
> In my code there lots of places where 1-2-3 bits are flipped in I/O port:
>
>
>
> My suggestio
Hu Justin,
should'nt the array be declared as const unsigned char
Ut doesnt matter here as I wont be doing any math or arithmetic on the
elements. If it was not a string, then we would have to be more careful.
--Royce.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Hi,
Sorry for my rusty C, but how does one insert a hex value into a string?
I tried
const char messg[] PROGMEM= "Temp= \xdfC"; //display temperature in deg
Centigrade
and
const char messg[] PROGMEM= "Temp= \xdf\C";
I'm using a 16x2 LCD, where 0xdf is the hex value of the little 'o' degree
Hi,
On Tue, 02 May 2006 01:07:29 +0530, Joerg Wunsch <[EMAIL PROTECTED]> wrote:
"Royce Pereira" <[EMAIL PROTECTED]> wrote:
Can I get the same in my AVR-GCC .lst, .lss etc output files thru my
makefile ?
Even though Ned already showed you a way, I'm curious: what a
Hi Ned,
On Mon, 01 May 2006 19:08:13 +0530, Ned Konz <[EMAIL PROTECTED]> wrote:
Can I get the same in my AVR-GCC .lst, .lss etc output files thru
my makefile ?
Sure... just postprocess the files to add a header.
Attached is a Perl script that adds such a header.
Great - Thanks !
--Royce
Hi,
I am using besides AVR-GCC, SDCC(freeware mcs51 compiler). The latter generates the
following lines at the start of every output, which I find very useful - the date
& time actually:
1 ;
2 ; File Creat
Hi,
On Sun, 23 Apr 2006 20:37:18 +0530, Abdul Malik Khan <[EMAIL PROTECTED]> wrote:
I have tried
const unsigned char mask[] = {1, 2, 4, 8, 16, 32, 64, 128};
but compiler places it in RAM istead of ROM.
---
Have you read the avr-libc manual & the FAQ therei
Hi,
On Sat, 28 Jan 2006 00:26:57 +0530, Eric Weddington <[EMAIL PROTECTED]> wrote:
in the last WinAVR, I used to get a summary of memory usage at the end
of the compilation.
The new 2006 version does not do this.
Yes, and my apologies for not explaining it properly in the user manual.
Befor
On Thu, 26 Jan 2006 04:39:26 +0530, Eric Weddington <[EMAIL PROTECTED]> wrote:
Ok, let's see if anything is broken on this one. Please let me know ASAP
if you see anything wrong. Or if anything looks right for that matter.
in the last WinAVR, I used to get a summary of memory usage at the end
On Fri, 27 Jan 2006 04:42:22 +0530, developer2112 (sent by Nabble.com) <[EMAIL
PROTECTED]> wrote:
Problem is solved... I was using the internal clock, but I didn't think that
would stop me from getting a 2400 baudratebut I found that if I disconnect
the cable for the port and jiggle it a
On Thu, 26 Jan 2006 04:39:26 +0530, Eric Weddington <[EMAIL PROTECTED]> wrote:
Ok, let's see if anything is broken on this one. Please let me know ASAP
if you see anything wrong. Or if anything looks right for that matter.
Just noticed that when i click avr libc shortcut from start>pograms, it
Hi,
Whew!
Have you read the avr-libc manual & the FAQ therein? Please read up the useful
macros provided for program memory store & access!
If you would have, you would have tried this: (The [2][4] are for example):
//
unsigned todayssunset;
const unsigned sunrise[2][4] PROGME
Hi,
There was an error in my example, corrected below!
//
unsigned todayssunset;
const unsigned sunrise[2][4] PROGMEM ={ 1,2,3,4,6,7,8,9 };
todayssunset= pgm_read_byte(&sunrise[x][y]);
Sorry, thats:
todayssunset= pgm_read_word(&sunrise[x][y]);
//---
Hi,
On Thu, 12 Jan 2006 23:54:03 +0530, Eric Weddington
<[EMAIL PROTECTED]> wrote:
2. In a Win98-SE installation, paths were not added to the environment
automatically (more serious).
We (Colin and I) have had difficulties with that one. I'm not sure that
I can reliably add paths on a Win98
Hi,
On Fri, 13 Jan 2006 01:13:42 +0530, Eric Weddington
<[EMAIL PROTECTED]> wrote:
manual, intructions how to add paths manually, or at least, a list of
paths to be added?
Have you looked in the WinAVR User Manual? Did I forget to have a
section about that?
There is section that says
On Thu, 12 Jan 2006 13:42:38 +0530, David Brown <[EMAIL PROTECTED]>
wrote:
2. In a Win98-SE installation, paths were not added to the environment
automatically (more serious).
I can see how setting the path at install time can be convenient for some
people, but it should never be more than
Hi,
Good to know the new WinAVR relase might be out next week. Thanks Eric !
Just to summarise a couple o'gaffs from the last version (so they dont
repeat).
But I'm sure this stuff is corrected in the new version.
1. Even after unselecting PN during installation, the shortcut for PN
still a
Hi all,
On Mon, 21 Nov 2005 04:52:25 +0530, Don Ingram <[EMAIL PROTECTED]> wrote:
According to Bingo at avrfreaks.com ...
1 : Backup/Copy your /avr directory to a safe place ,
or at least the "lib and include" directories within the
/avr
directory as they are going to be overwritten
Hi
On Wed, 16 Nov 2005 13:00:03 +0530, varsha <[EMAIL PROTECTED]>
wrote:
Hello all,
i'm using avr-gcc (GCC) 3.4.3 compiler and Atmega 16 as a MCU.
for crc calculation i'm using inline assembly code.
for example..
__asm__ __volatile__
(
"lsl r11""\n\t"
"rol r12""\n\t"
hI,
On Fri, 04 Nov 2005 11:41:35 +0530, Vincent Trouilliez
<[EMAIL PROTECTED]> wrote:
So that's indeed about 20 times faster. Although I still don't get why
it can't just use one single SBRC/S instruction instead of these 4 cp or
--
Have you tried creating a structu
Hi,
On Mon, 24 Oct 2005 12:37:40 +0530, varsha <[EMAIL PROTECTED]>
wrote:
what is the proper way to write a delay routine?
I use this:
//
void delay(unsigned count)
{
while(count--);
return;
}
//==
Hi,
On Sat, 22 Oct 2005 21:25:49 +0530, Thomas Keller <[EMAIL PROTECTED]>
wrote:
> By default, the compiler is setup to use 16 bit ints. The C language
> requires that the & operation promote both sides to ints.
I agree, but I believe that when the end result is to be assigned to an
8
bit
Hi,
On Fri, 21 Oct 2005 23:52:23 +0530, Dave Hylands <[EMAIL PROTECTED]>
wrote:
By default, the compiler is setup to use 16 bit ints. The C language
requires that the & operation promote both sides to ints.
I agree, but I believe that when the end result is to be assigned to an 8
bit (esp.
Hi,
On Sun, 02 Oct 2005 23:05:06 +0530, Parthasaradhi Nayani
<[EMAIL PROTECTED]> wrote:
In order to set the bit, you need to logical OR the
bit.
DDRB |= _BV (PB0);
..etc.
Actually thats not the problem, you dont have to OR if you only want to
set 1 bit & dont care abt the others, Maybe
Hi,
but now I am having to initialize an array of structures, and I am
getting lost :-/ Here is my declaration :
ui.h
//data type for one engine parameter
struct param {
chardesc[11]; //parameter name ("Engine Speed", "Coolant
Temp",...)
char
Hi,
On Fri, 09 Sep 2005 01:00:44 +0530, Joerg Wunsch <[EMAIL PROTECTED]>
wrote:
As Zane D. Purvis wrote:
How about changing the name to "ISR," which would do the same thing
as the existing "SIGNAL"?
Then, SIGNAL and INTERRUPT can both be deprecated (avoiding future
confusion).
It has b
Hi,
On Mon, 05 Sep 2005 00:52:08 +0530, Joerg Wunsch <[EMAIL PROTECTED]>
wrote:
For the rare cases where __attribute__((interrupt)) is really needed,
One typical case where I use it is to interrupt my keyboard/display
scanning interrupt routine, whenever a zero crossover of mains occurs.
Hi,
On Mon, 05 Sep 2005 00:26:11 +0530, Joerg Wunsch <[EMAIL PROTECTED]>
wrote:
http://www.sax.de/~joerg/avr-libc-user-manual/group__avr__interrupts.html
Yep, I find it a lot better/clearer :-)
Thanks for the feedback, I committed the new description to CVS.
Just asking - why not have
Hi,
On Sun, 04 Sep 2005 11:26:49 +0530, Joerg Wunsch <[EMAIL PROTECTED]>
wrote:
The only fix that is needed is to state prominantly in the first few
few paragraphs what the difference is, and all confusion will
disappear.
Nope, I rather did what we (avr-libc-dev) agreed quite some time ago
Hi,
On Sat, 03 Sep 2005 21:36:23 +0530, Vincent Trouilliez
<[EMAIL PROTECTED]> wrote:
Hi all, new to the list and avr C programming... first question on here,
about interrupt routines...
In the relevant part of the avr-libc PDF, section 6.20.1, it says :
"An interrupt routine is defined with
On Wed, 24 Aug 2005 08:22:53 +0530, Mitchell James
<[EMAIL PROTECTED]> wrote:
Hi,
This is a little off subject
I cant answer your query, but AVR-CHAT is a better place for non AVR-GCC
queries :)
--Royce.
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
_
On Tue, 23 Aug 2005 13:49:32 +0530, Bernard Fouché
<[EMAIL PROTECTED]> wrote:
Benjamin Titzer wrote:
Sounds to me like the design of GCC and the constraints of a particular
calling convention do not allow it to do something smart here. I think
the
solution that would satisfy most everyon
1 - 100 of 111 matches
Mail list logo