opensource firmware for AVR based chargers