Allow for ChibiOS 20.x (master), as well as enabling ChibiOS-Contrib HAL. (#8272)

This commit is contained in:
Nick Brassel
2020-03-01 11:50:49 +11:00
committed by Florian Didron
parent eaaad37c2f
commit 6ad01d36f1
3 changed files with 28 additions and 105 deletions

View File

@@ -38,7 +38,7 @@ find_chibi_files() {
local search_path="$1"
shift
local conditions=( "$@" )
find "$search_path" -not -path '*/lib/chibios*' -and -not -path '*/lib/ugfx*' -and -not -path '*/util/*' -and \( "${conditions[@]}" \) | sort
find -L "$search_path" -not -path '*/lib/chibios*' -and -not -path '*/lib/ugfx*' -and -not -path '*/util/*' -and \( "${conditions[@]}" \) | sort
}
revert_chibi_files() {