This tool is used to generate the asf
folder for the monome/libavr32 repo. It removes files that we don't use and patches others. Currently that results in a size reduction from 1.6 gigabytes to 3.2 megabytes. It's a very large repo (sorry GitHub!).
To run, execute:
git clone https://github.com/monome/diet-asf.git
cd diet-asf
./diet.sh
If you wish to reintroduce a file that was deleted from the stock asf
, or patch it. Please edit diet.sh
accordingly. Rerun, and copy the asf
directory over to libavr32
.