This is an old revision of the document!
dfu-util
dfu-util can be used to communicate with DFU (device firmware upgrade) enabled devices.
One example is the Leaflabs Maple mini boot loader.
Be sure to have the latest version installed from at least 2020 if you intend to use the Longan Nano which may not work correctly otherwise.
Install
git clone https://git.code.sf.net/p/dfu-util/dfu-util dfu-util cd dfu-util sh autogen.sh ./configure --prefix=/usr/local make -j 4 make install