Verified Commit 004235d7 authored by Vincent Coubard's avatar Vincent Coubard
Browse files

Expose option to use FreeRTOS or RTX


Update CI to build all flavor of the example.
Signed-off-by: Vincent Coubard's avatarVincent Coubard <vincent.coubard@arm.com>
parent eb49eeda
......@@ -26,6 +26,7 @@ BUILD_PATH="$ROOT/build"
CREDENTIALS_PATH="$ROOT/bsp/default_credentials"
TARGET="Corstone-300"
TARGET_PROCESSOR=""
RTOS="FREERTOS"
set -e
......@@ -66,6 +67,7 @@ Options:
-p,--path Build path
-a,--credentials Credentials path
-t,--target Build target (Corstone-300 or Corstone-310)
-r,--rtos RTOS selection (FREERTOS | RTX)
Examples:
blinky
......@@ -78,8 +80,8 @@ if [[ $# -eq 0 ]]; then
exit 1
fi
SHORT=a:p:t:,c,h
LONG=credentials:path:target:,clean,help
SHORT=a:p:r:t:,c,h
LONG=credentials:path:rtos:target:,clean,help
OPTS=$(getopt -n build --options $SHORT --longoptions $LONG -- "$@")
eval set -- "$OPTS"
......@@ -107,6 +109,10 @@ do
TARGET=$2
shift 2
;;
-r | --rtos )
RTOS=$2
shift 2
;;
--)
shift;
break
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment