which
thread of conversation a given message is for.
Replying to a message preserves these so if you don't want that you need to
start a new message.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards
libbfd, or libelf?
Personally I have makefile rules to generate the hexfile to feed avrdude (and
also have a 'prog' target which programs the micro).
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many
for a routine that takes
advantage of the hardware.
There is a C example in the avr-libc page which you could compile
with '-Wa,-adhlmsn=foo.lst' and examine foo.lst.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards
should be first. This is
more important
on 32bit processors and up than on the 8bit AVRs.
You could just mark the struct as packed, eg..
typedef struct eventdata {
...
} __attribute__ ((packed)) ED;
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
On Mon, 4 May 2009, David Kelly wrote:
On Mon, May 04, 2009 at 10:21:50PM +0930, Daniel O'Connor wrote:
On Mon, 4 May 2009, Bob Paddock wrote:
? ? ? ? ? ? ? ?uint16_t voltage[24]; ? // adc counts of 24
channels in an array } ED; ? ? ? ? ? // total data = 58 bytes
Because of issues
On Mon, 4 May 2009, David Brown wrote:
Daniel O'Connor wrote:
On Mon, 4 May 2009, Bob Paddock wrote:
uint16_t voltage[24]; // adc counts of 24
channels in an array } ED; // total data = 58 bytes
Because of issues of structure packing it is better to define
On Mon, 4 May 2009, David Brown wrote:
Daniel O'Connor wrote:
On Mon, 4 May 2009, David Brown wrote:
Daniel O'Connor wrote:
On Mon, 4 May 2009, Bob Paddock wrote:
uint16_t voltage[24]; // adc counts of 24
channels in an array } ED; // total data = 58 bytes
I'll be honest)
I ended up bodging up something quick and dirty for 1-wire temperature
conversion but I don't pretend it's pretty :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them
a WinAVR release candidate out
this week.
That is great news, thanks Sean (and Eric).
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint
://www.nongnu.org/avr-libc/user-manual/group__avr__stdio.html#ga3b98c0d17b35642c0f3e4649092b9f1
Also, while it IS a pig (relative to the micro flash size and CPU) it is
very powerful and for a lot of applications the speed is not critical.
--
Daniel O'Connor software and network engineer
for Genesis Software
On Friday 13 February 2009 17:30:16 Daniel O'Connor wrote:
On Friday 13 February 2009 16:38:59 Weddington, Eric wrote:
I could try it on a FreeBSD box but the ports only go up to 4.3.1.
That would be acceptable too. Just not 4.3.0.
OK, it's crunching its way through it..
It still
On Saturday 14 February 2009 11:31:37 Weddington, Eric wrote:
Could someone also report this bug on the binutils bug list?:
http://sourceware.org/bugzilla/
Please put my email address in the CC field, and let me know the bug #.
OK done, bug #9841.
--
Daniel O'Connor software and network
On Saturday 14 February 2009 13:46:09 Weddington, Eric wrote:
Oh, could you try using the --debug-relax switch in your linker switches?
(-Wl,--debug-relax). Perhaps that will give us some more information about
this problem.
OK done, I have amended the bug report.
--
Daniel O'Connor software
: single
gcc version 4.3.0 (GCC)
I'm not sure exactly where I submit the bug report.. I can upload/email the
whole project somewhere if someone would like to take a look.
I am running Ubuntu 8.10 (32 bit) if it makes a difference.
--
Daniel O'Connor software and network engineer
for Genesis Software
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
Description
but I don't know how :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
On Thursday 05 February 2009 17:22:49 Vincent Trouilliez wrote:
On Thu, 5 Feb 2009 16:28:55 +1030
Daniel O'Connor docon...@gsoft.com.au wrote:
I had a go at getting that to work with preprocessor magic but I don't
think it's possible (I'm no CPP guru though).
Actually, how about
well tested code! :)
Thanks.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
++;
}
}
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
signature.asc
for it?, etc..
I think you could fairly easily program the FPGA in slave serial mode
(Xilinx FPGAs can do this, they are the only ones I have used), or you
could implement a JTAG engine and get the Atmel tools to generate a
STAPL file (or something similar).
--
Daniel O'Connor software and network
? Is there a
master/slave relationship? What is the data rate? etc etc..
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94
://www.xs4all.nl/~dicks/avr/usbtiny/
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
On Wednesday 15 November 2006 12:46, [EMAIL PROTECTED] wrote:
For what the OP wanted, and more:
http://www.xs4all.nl/~dicks/avr/usbtiny/
Wow that's awesome..
Time to make a project or two I think :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http
then it will be copied into RAM at startup
because the compiler doesn't know it is read only.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG
foo.dmp
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgp68ZAeVNiJQ.pgp
..
Cheers,
- Micah
___
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about
supports hardlinks natively.
You can download a tool from MS to make them (or it comes with Windows.. I
forget).
It doesn't support symlinks though AFAIK.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so
don't get any problems with nested comments.
I'm not sure if you're compiling with -Wall, but that is almost always
a good idea as the compiler will usually tell you when you make mistakes
even if it feels like it's being too picky :)
--
Daniel O'Connor software and network engineer
for Genesis
(they are at the same address - at least on
ATMega32's) you need to set the MSB (URSEL), eg
UCSRC = _BV(URSEL) | _BV(UCSZ0) | _BV(UCSZ1);
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many
On Tue, 29 Nov 2005 11:11, [EMAIL PROTECTED] wrote:
That's exactly how I've done it at the moment.
Heh, sorry, I sort of was replying to the original poster's email via yours :)
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about
-time
option.
It will if it's implemented correctly, eg in stdlib.h
#ifdef _USE_FULL_ITOA
#define itoa _itoa_full
#else
#define itoa _itoa_small
#endif
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards
On Sat, 19 Nov 2005 07:22, Joerg Wunsch wrote:
Do you have a PayPal account so that I can send you a donation
for all your hard work?
Ah, no, c'mon. I've got a pay job, and this is just the fun stuff.
Let's keep them separate.
You could use it as beer money ;)
--
Daniel O'Connor
data out via the joystick button lines..
Gross, but pretty neat all the same :) There is some Linux code which groks
this beast..
http://glide.stanford.edu/lxr/source/drivers/input/joystick/sidewinder.c?v=linux-2.6.10
MS even have a patent on it..
--
Daniel O'Connor software and network
On Wed, 9 Nov 2005 21:25, Mike S. wrote:
Thanks for the reply Daniel O'Connor, but I usually don't use the
optimization until I try a couple of and optimization techniques. I
already had some bad experiences with the optimization in some Texas
Instruments DSPs...
If you don't tell GCC to do
!
The compiler should generate fast enough code for bit banging (in fact it
should be 'perfect') as long as you have optimisation on.
What does your existing code look like? Where is the bottleneck?
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
way to write a delay routine?
You should tell the compiler that i j are volatile otherwise it will
optimise your loop out of existance because it has no effects.
If you want a nice an accurate delay loop you should write it in assembly.
--
Daniel O'Connor software and network engineer
.
--
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
The nice thing about standards is that there
are so many of them to choose from.
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
pgp5JdjzDIc7g.pgp
Description: PGP
message?
I just tried it and it works for me..
#include sys/types.h
typedef struct ranges_t {
uint16_t Front;
uint16_t Left;
uint16_t Right;
} RANGES;
int
main(int argc, char **argv) {
RANGES Sonar[2];
Sonar[0].Front = 1;
}
--
Daniel O'Connor
38 matches
Mail list logo