mirror of
https://github.com/armel/uv-k1-k5v3-firmware-custom.git
synced 2026-10-02 03:15:37 +00:00
Add light option
This commit is contained in:
1 parent
02684c4d02
commit
b0196f6a34
1 file changed
+15
@@ -50,6 +50,17 @@ voxless() {
|
||||
&& cp f4hwn.voxless* compiled-firmware/"
|
||||
}
|
||||
|
||||
light() {
|
||||
echo "Light compilation..."
|
||||
docker run --rm -v "${PWD}/compiled-firmware:/app/compiled-firmware" $IMAGE_NAME /bin/bash -c "cd /app && make -s \
|
||||
ENABLE_SPECTRUM=0 \
|
||||
ENABLE_FMRADIO=0 \
|
||||
ENABLE_AIRCOPY=0 \
|
||||
ENABLE_NOAA=1 \
|
||||
TARGET=f4hwn.light \
|
||||
&& cp f4hwn.light* compiled-firmware/"
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
custom)
|
||||
custom
|
||||
@@ -63,10 +74,14 @@ case "$1" in
|
||||
voxless)
|
||||
voxless
|
||||
;;
|
||||
light)
|
||||
light
|
||||
;;
|
||||
all)
|
||||
bandscope
|
||||
broadcast
|
||||
voxless
|
||||
light
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {custom|bandscope|broadcast|voxless|all}"
|
||||
|
||||
Reference in new issue
Block a user