avr v0.1.2 AVR View Source
AVR is a library to upload a firmware into AVR microcontrollers
Link to this section Summary
Link to this section Types
Link to this type
board_type()
View Sourceboard_type() :: :atmega328 | :atmega328p | :uno | :pro8MHzatmega328p | :pro16MHzatmega328p
Link to this type
upload_opt()
View Sourceupload_opt() :: {:speed, non_neg_integer()} | {:programmer, AVR.Programmer.id()} | {:gpio_reset, non_neg_integer()}
Link to this section Functions
Link to this function
update(hex, port, board, opts \\ [])
View Sourceupdate( hex :: String.t() | AVR.IHex.t(), port :: String.t(), board :: board_type(), opts :: upload_opts() ) :: :ok | {:error, term()}
See AVR.Flasher.update/4
.
Link to this function
upload(hex, port, board, opts \\ [])
View Sourceupload( hex :: String.t() | AVR.IHex.t(), port :: String.t(), board :: board_type(), opts :: upload_opts() ) :: :ok | {:error, term()}
See AVR.Flasher.upload/4
.
Link to this function
verify(hex, port, board, opts \\ [])
View Sourceverify( hex :: String.t() | AVR.IHex.t(), port :: String.t(), board :: board_type(), opts :: upload_opts() ) :: :ok | {:error, term()}
See AVR.Flasher.verify/4
.