diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-10 21:57:01 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2024-02-10 21:57:01 +0100 |
commit | 28eadd4ee120fc4ee70aa49670093708cd56f579 (patch) | |
tree | 9e80d65da80ac67a80912c9bf46afc4f86624905 /src/app/bad-apple-msp430fr-sharp96 | |
parent | cdf3c02cb8b7a557e8aeeda5b7e13b3139a41b0e (diff) |
bad apple: more fine-grained dependencies in Kconfig
Diffstat (limited to 'src/app/bad-apple-msp430fr-sharp96')
-rw-r--r-- | src/app/bad-apple-msp430fr-sharp96/Kconfig | 6 | ||||
-rwxr-xr-x | src/app/bad-apple-msp430fr-sharp96/convert | 3 |
2 files changed, 7 insertions, 2 deletions
diff --git a/src/app/bad-apple-msp430fr-sharp96/Kconfig b/src/app/bad-apple-msp430fr-sharp96/Kconfig index f1ca54a..487d097 100644 --- a/src/app/bad-apple-msp430fr-sharp96/Kconfig +++ b/src/app/bad-apple-msp430fr-sharp96/Kconfig @@ -3,4 +3,8 @@ # SPDX-License-Identifier: CC0-1.0 prompt "Sharp96 Bad Apple" -depends on driver_sharp96 && !wakeup +depends on arch_msp430fr5994lp_large_mode +depends on driver_sharp96 +depends on lib_inflate && lib_inflate_lut +depends on !loop +depends on !wakeup diff --git a/src/app/bad-apple-msp430fr-sharp96/convert b/src/app/bad-apple-msp430fr-sharp96/convert index d357faa..f74a7ef 100755 --- a/src/app/bad-apple-msp430fr-sharp96/convert +++ b/src/app/bad-apple-msp430fr-sharp96/convert @@ -10,7 +10,8 @@ ffmpeg -i "$@" tmp/frame%4d.png parallel mogrify -resize 96x96 -threshold 50% -- tmp/*.png -echo "const unsigned char frame_rate = $3;" > frames.cc +echo "// $0 $@" > frames.cc +echo "const unsigned char frame_rate = $3;" >> frames.cc ./frames-to-cc tmp/*.png >> frames.cc rm -rf tmp |