Skip to content

Python wrapper for uploading hex files to multiple avr devices

Notifications You must be signed in to change notification settings

killian441/avr_multiloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

'avr_multiloader'

This package provides a python wrapper class for interacting with avrdude. It also includes a copy of the 'avrdude.conf' file from the Arduino 1.0.5 IDE. This allows stand-alone flashing of compiled '.hex' files.

'avrdude' API

The 'avr_mulitloader.avrdude' class implements an API for flashing a '.hex' file to an AVR device.

'avrdude' API Usage

from avr_multiloader import avrdude
a = avrdude(partno='ATmega328P', programmer_id='arduino', baud_rate='115200',
            port='/dev/ttyUSB0')
output, error_out = a.testConnection()
output, error_out = a.flash('test.hex', ['-vv'])
print(output)

About

Python wrapper for uploading hex files to multiple avr devices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages