update porting kalman to avr