Skip to content

Building AVRDUDE for FreeBSD

mcuee edited this page Apr 20, 2024 · 11 revisions

Prerequisites

On FreeBSD, you can normally install AVRDUDE through the ports subsystem, as devel/avrdude.

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

pkg install cmake pkgconf libftdi hidapi readline libserialport

Minimum required version for CMake is 3.14.

Build Instructions

To build AVRDUDE for FreeBSD, 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:

sudo cmake --build build_freebsd --target install