[dorkbotpdx-blabber] Re: Dorkboard Newbie Redux
dave madden
dorkbot at mersenne.com
Mon Jun 8 02:18:28 EDT 2009
"DDD>" == "Donald Delmar Davis ddelmardavis at gmail.com " writes:
DDD> we are so not offering to help you any more. :)
That's OK, my LED is already blinking!
I dorked around with GCC on Linux for a while, but couldn't get
motivated to sort out crt0 and linker scripts and so on. So I wasted
some more time with WinAVR, hoping that that would give me a binary
quicker. No dice, for some reason, I can't even #include <avr/io.h>.
So I went back to Linux, put an asm("jmp main") at the beginning of my
program, compiled, linked it bare and dumped the binary. Then I
hardcoded the object bytes into an array in my ARM program and fired it
off to write to the Dorkboard. I wasn't sure whether it was big-endian
or little-endian, but I must have had some good karma saved up, because
whichever it is, I got it right the first time.
Yee haw!
More information about the dorkbotpdx-blabber
mailing list