Skip to content

Building AVRDUDE for OpenBSD

mcuee edited this page May 5, 2025 · 2 revisions

Prerequisites

On OpenBSD, you can normally install AVRDUDE through the ports subsystem, as devel/avrdude, but the version is usually quite old.

To build AVRDUDE yourself for OpenBSD, you need to install the following packages:

pkg_add cmake pkgconf libusb1 libusb-compat libftdi1 libhidapi readline libserialport

Minimum required version for CMake is 3.14.

Build Instructions

To build AVRDUDE for OpenBSD, run the following commands:

git clone https://github.com/avrdudes/avrdude.git
cd avrdude
./build.sh

Installation

To install a local build on your system, run the following commands:

doas cmake --build build_openbsd --target install
Clone this wiki locally