diff options
| author | Selene ToyKeeper | 2023-11-04 16:14:16 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-04 16:14:16 -0600 |
| commit | b118fb6b2689889e93bf3be2f62e4a3d4d50181c (patch) | |
| tree | b4aefbd2f4dcc25a38dd85abca47186c837ab261 /make | |
| parent | @hank-*-boost: reduced ripple on low modes (diff) | |
| download | anduril-b118fb6b2689889e93bf3be2f62e4a3d4d50181c.tar.gz anduril-b118fb6b2689889e93bf3be2f62e4a3d4d50181c.tar.bz2 anduril-b118fb6b2689889e93bf3be2f62e4a3d4d50181c.zip | |
improved DFP setup and support:
- `./make dfp` downloads and installs Atmel DFPs for each supported MCU
- build.sh detects and uses attiny or avrdd, and others are simple to add
- updated setup info in /README.md
... also some other small documentation updates.
Diffstat (limited to 'make')
| -rwxr-xr-x | make | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -23,10 +23,11 @@ Usage: ./make TASK (nothing) Compile all build targets flash FILE Flash firmare FILE to a hardware device clean Delete generated files - todo Show tasks noted in source code files + dfp Download and install Atmel DFPs + docs Convert all .md files to .html models Generate the MODELS file release Zip up all .hex files to prep for publishing a release - docs Convert all .md files to .html + todo Show tasks noted in source code files ... or TASK can be the partial name of a build target. @@ -56,6 +57,10 @@ function main() { echo 'rm -vf **/*.hex **/*~ **/*.elf **/*.o **/*.cpp' rm -vf **/*.hex **/*~ **/*.elf **/*.o **/*.cpp ;; + dfp) + shift + ./bin/dfp-install.sh "$@" + ;; docs) make-docs ;; @@ -87,5 +92,10 @@ function make-docs () { done } +# go to the repo root +BASEDIR=$(dirname $0) +cd "$BASEDIR" + +# do whatever the user requested main "$@" |
