53 lines
1.0 KiB
Plaintext
53 lines
1.0 KiB
Plaintext
#!/usr/bin/env aptfile
|
|
# ^ note the above shebang
|
|
# https://github.com/seatgeek/bash-aptfile
|
|
|
|
# trigger an apt-get update
|
|
update
|
|
|
|
# install core development packages
|
|
package "build-essential"
|
|
package "cmake"
|
|
package "lcov"
|
|
package "clang"
|
|
package "gcc"
|
|
package "libconfig-dev"
|
|
package "liblwip-dev"
|
|
package "mingw-w64"
|
|
|
|
# install git and useful tools packages
|
|
package "git"
|
|
package "gitk"
|
|
package "gitg"
|
|
|
|
# install source code format packages
|
|
package "tofrodos"
|
|
package "clang-format"
|
|
package "sloccount"
|
|
|
|
# install ARM compiler and debugging tools
|
|
package "gcc-arm-none-eabi"
|
|
package "binutils-arm-none-eabi"
|
|
package "picolibc-arm-none-eabi"
|
|
package "gdb-multiarch"
|
|
|
|
# install AVR compiler and debugging tools
|
|
package "gcc-avr"
|
|
package "avarice"
|
|
package "avr-libc"
|
|
package "avrdude"
|
|
package "gdb-avr"
|
|
package "avrdude-doc"
|
|
|
|
# install static analysis tools
|
|
package "flawfinder"
|
|
package "cppcheck"
|
|
package "splint"
|
|
package "clang-tools"
|
|
package "clang-tidy"
|
|
package "codespell"
|
|
|
|
# you can also execute arbitrary bash
|
|
echo "🚀 ALL GOOD TO GO"
|
|
|