Commit | Line | Data |
---|---|---|
ab2e7e92 JH |
1 | The following command produces an environment suitable for building |
2 | firmware for AVR keyboards. | |
3 | ||
4 | TODO: make this an actual manifest, or better yet put the whole build | |
5 | process into Guix 😀 | |
6 | ||
7 | ``` | |
8 | guix environment -C --ad-hoc coreutils make avr-toolchain \ | |
9 | python python-appdirs python-argcomplete python-colorama \ | |
10 | python-nose2 python-flake8 python-pep8 findutils sed grep \ | |
11 | diffutils bash which gawk | |
12 | ``` | |
13 | ||
14 | To install the fimrware: | |
15 | * `guix environment --ad-hoc dfu-programmer` | |
16 | * both shifts and B to enter bootloader | |
17 | * `sudo dfu-programmer atmega32u2 erase` | |
18 | * `sudo dfu-programmer atmega32u2 flash FILENAME.hex` | |
19 |