Skip to content

Building AVRDUDE for Windows using Cygwin

Marius Greuel edited this page Dec 22, 2021 · 16 revisions

If you prefer to use Cygwin as your development environment, you may build AVRDUDE directly in Cygwin.

Prerequisites

To build AVRDUDE in Cygwin, you need the following packages installed:

  • make
  • gcc
  • git
  • cmake
  • flex
  • bison
  • libelf-devel
  • libusb-devel
  • libusb1.0-devel
  • libhidapi-devel
  • libftdi1-devel

Build Instructions

To build AVRDUDE for Cygwin, run the following commands:

git clone https://github.com/avrdudes/avrdude
cd avrdude/src
cmake -G"Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -B build_cygwin
cmake --build build_cygwin

Clone this wiki locally