add a Cargo feature, cm7-r0p1, to fix a Cortex-M7 BASEPRI erratum

This commit is contained in:
Jorge Aparicio 2017-12-23 21:34:24 +01:00
parent 8a396c51f2
commit c94bd2d98d
3 changed files with 17 additions and 2 deletions

View file

@ -7,7 +7,14 @@ main() {
return
fi
xargo build --target $TARGET
case $TARGET in
thumbv7em-none-eabi*)
xargo check --target $TARGET --features cm7-r0p1
xargo check --target $TARGET --features cm7-r0p1 --examples
;;
esac
xargo check --target $TARGET
xargo check --target $TARGET --examples
}