-
Notifications
You must be signed in to change notification settings - Fork 162
Building AVRDUDE for NetBSD
mcuee edited this page May 5, 2025
·
3 revisions
On NetBSD, you can normally install AVRDUDE through the pkgsrc subsystem, as cross/avrdude
.
To build AVRDUDE yourself for NetBSD, you need to install the following packages:
pkgin install cmake pkgconf libusb1 libusb-compat libftdi1 libhidapi readline ncurses
Note: libserialport is not available under pkgsrc, so you need to build from source.
git clone https://github.com/sigrokproject/libserialport.git
cd libserialport
./autogen.sh
./configure --prefix=/usr/pkg
make
doas make install
Minimum required version for CMake is 3.14.
To build AVRDUDE for NetBSD, run the following commands:
git clone https://github.com/avrdudes/avrdude.git
cd avrdude
./build.sh
To install a local build on your system, run the following commands:
doas cmake --build build_netbsd --target install