|
|
|
@ -49,7 +49,7 @@ select_boards()
|
|
|
|
|
local choice |
|
|
|
|
local call=${1} |
|
|
|
|
|
|
|
|
|
boards=("orangepir1" "orangepizero" "orangepipc" "orangepipcplus" "orangepiplus2e" "orangepione" "orangepilite" "orangepiplus" "orangepizeroplus2h3" "orangepizeroplus" "orangepipc2" "orangepiprime" "orangepizeroplus2h5" "orangepiwin" "orangepiwinplus" "orangepi3" "orangepi3-lts" "orangepilite2" "orangepioneplus" "orangepi4" "orangepirk3399" "orangepizero2" "orangepir1plus") |
|
|
|
|
boards=("orangepir1" "orangepizero" "orangepipc" "orangepipch5" "orangepipcplus" "orangepiplus2e" "orangepione" "orangepioneh5" "orangepilite" "orangepiplus" "orangepizeroplus2h3" "orangepizeroplus" "orangepipc2" "orangepiprime" "orangepizeroplus2h5" "orangepiwin" "orangepiwinplus" "orangepi3" "orangepi3-lts" "orangepilite2" "orangepioneplus" "orangepi4" "orangepirk3399" "orangepizero2" "orangepir1plus") |
|
|
|
|
|
|
|
|
|
if [[ -f /etc/orangepi-release ]]; then |
|
|
|
|
|
|
|
|
@ -90,9 +90,11 @@ select_boards()
|
|
|
|
|
[[ $BOARD == orangepir1 ]] && BOARD=orangepir1-h2 |
|
|
|
|
[[ $BOARD == orangepizero ]] && BOARD=orangepizero-h2 |
|
|
|
|
[[ $BOARD == orangepipc ]] && BOARD=orangepipc-h3 |
|
|
|
|
[[ $BOARD == orangepipch5 ]] && BOARD=orangepipc-h3 |
|
|
|
|
[[ $BOARD == orangepipcplus ]] && BOARD=orangepipcplus-h3 |
|
|
|
|
[[ $BOARD == orangepiplus2e ]] && BOARD=orangepiplus2e-h3 |
|
|
|
|
[[ $BOARD == orangepione ]] && BOARD=orangepione-h3 |
|
|
|
|
[[ $BOARD == orangepioneh5 ]] && BOARD=orangepione-h3 |
|
|
|
|
[[ $BOARD == orangepilite ]] && BOARD=orangepilite-h3 |
|
|
|
|
[[ $BOARD == orangepiplus ]] && BOARD=orangepiplus-h3 |
|
|
|
|
[[ $BOARD == orangepizeroplus ]] && BOARD=orangepizeroplus-h5 |
|
|
|
|