Author Topic: got multi-UART AVRlib code?  (Read 5697 times)

0 Members and 1 Guest are viewing this topic.

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
got multi-UART AVRlib code?
« on: December 06, 2007, 09:28:36 AM »
The AVRlib uart2.c isn't compiling and just giving tons of errors . . .

So before I go and figure out how to fix it, was wondering if anyone already had got it to work and can share code?

I need it for my ATmega2560, which has four UARTs . . .

Offline JonHylands

  • Expert Roboticist
  • Supreme Robot
  • *****
  • Posts: 562
  • Helpful? 3
  • Robot Builder/ Software Developer
    • Jon's Place
Re: got multi-UART AVRlib code?
« Reply #1 on: December 06, 2007, 10:17:40 AM »
My brother's UART library works fine with at least two UARTs, because we've used this feature on an ATmega128...

http://svn.hylands.org/common/avr/

- Jon

Offline AdminTopic starter

  • Administrator
  • Supreme Robot
  • *****
  • Posts: 11,703
  • Helpful? 173
    • Society of Robots
Re: got multi-UART AVRlib code?
« Reply #2 on: December 06, 2007, 11:06:21 AM »
I posted the errors to avrfreaks, problem solved:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=57158