deluxetiky / xmegaduino

Automatically exported from code.google.com/p/xmegaduino
Other
0 stars 0 forks source link

atxmega256a3 compatibility #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Just want to let you know, I modified the libraries to get the compiler to
generate atxmega256a3 code. I had to replace TCF1 and TCF0 with TCE1 and
TCE0 in wiring.c since the a3 part does not have TCF1. I modified the
serial library to support all 7 USARTs. Don't know if you are interested in
these mods.

Original issue reported on code.google.com by igal...@gmail.com on 12 May 2010 at 3:43

GoogleCodeExporter commented 8 years ago
Didn't mean to post this as a defect.

Original comment by igal...@gmail.com on 12 May 2010 at 3:44

GoogleCodeExporter commented 8 years ago
Very interested. Please attach the patch. Xmegaduino is stalled right now due 
to work pressures, and a class 
I'm preparing for TechShop. I hope to get back to it within a few weeks.

I'm assuming that you are only able to use 128k of the flash due to bootloader 
constraints, something I want 
to fix.

What board are you using? Boston Android? I'm revising the structure of the 
code to more easily support 
multiple board varieties. Will be great to see how it works for your board.

Original comment by GorillaCoder on 12 May 2010 at 5:52

GoogleCodeExporter commented 8 years ago
When I get back to work, I'll attach the two files. I tried modifying the
keywords.txt file to include all seven USARTs but it would only recognize up to 
Serial3.

I"m using the Boston Android. I do plan to use the I2C and SPI ports but for 
now, I
plan to control directly and not through the libraries. I generally need speed 
to
handle multiple sensors.

If this project works out, I may produce a flight computer for sounding rockets 
using
this development environment. I like the Atxmega and its large number of 
USARTS. It
makes inerfacing to instruments, sensors, radios and other computers much 
easier.

Original comment by igal...@gmail.com on 12 May 2010 at 9:51

GoogleCodeExporter commented 8 years ago
Here are the files. I think switching from TCF0 and TCF1 to TCE0 and TCE1 would 
make
it easier to support both the a1 and a3 parts. I haven't looked at the a4 parts 
yet.

Original comment by igal...@gmail.com on 13 May 2010 at 11:07

Attachments:

GoogleCodeExporter commented 8 years ago
Thanks, I'll integrate them soon.

Original comment by GorillaCoder on 13 May 2010 at 6:17