Posted on 08-07-2007 under avr, electronics

Found a wonderful little C helper library for the AVR. Its called, simply enough, AVRlib. The poackage includes a lot of useful functions for interfacing various devices with the AVR. Here’s some of the more interesting ones.

It even has some cool networking code: drivers for running ethernet cards and chips, and a network stack.

What I think will be most useful is the software UART code, using which you can have more than one UARTs on your AVR. Albeit you’ll have to let go of one whole timer. This probably wont work with FreeRTOS.

Haven’t used it yet, but I’m sure it should compile on gcc. Although the library does use some pretty old coding constructs ( seriously, who uses sbi() these days?).