-
Notifications
You must be signed in to change notification settings - Fork 5
/
avh.yml
44 lines (44 loc) · 1.57 KB
/
avh.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
name: "Build and run AWS MQTT Demo on Arm Virtual Hardware"
workdir: ./
backend:
aws:
ami-version: ~=1.3.0
instance-type: t2.large
upload:
- amazon-freertos/**/*
- config_files/**/*
- Board/**/*
- Socket/**/*
- RTE/**/*
- app_main.c
- Demo.*.yml
- README.md
- cmsis-toolbox.sh
steps:
- run: |
[ -f cmsis-toolbox.sh ] || wget https:/Open-CMSIS-Pack/cmsis-toolbox/releases/download/1.4.0/cmsis-toolbox.sh
chmod +x cmsis-toolbox.sh
sudo ./cmsis-toolbox.sh <<EOI
/opt/ctools
$CMSIS_PACK_ROOT
$(dirname $(which armclang 2>/dev/null))
$(dirname $(which armcc 2>/dev/null))
$(dirname $(which arm-none-eabi-gcc 2>/dev/null))
EOI
echo "cpackget : $(which cpackget)"
echo "csolution: $(which csolution)"
echo "cbuild : $(which cbuild)"
- run: |
echo ">csolution -s Demo.csolution.yml list packs -m >packlist"
csolution -s Demo.csolution.yml list packs -m >packlist
echo ">cpackget add -f packlist -a"
cpackget add -f packlist -a
echo ">csolution convert -s Demo.csolution.yml -c Demo.Debug+AVH"
csolution convert -s Demo.csolution.yml -c Demo.Debug+AVH
echo ">cbuild Demo.Debug+AVH.cprj"
cbuild Demo.Debug+AVH.cprj
echo ">VHT_MPS3_Corstone_SSE-300 -f Board/AVH_MPS3_Corstone-300/fvp_config.txt --stat --simlimit 600 out/Demo/AVH/Debug/Demo.Debug+AVH.axf"
VHT_MPS3_Corstone_SSE-300 -f Board/AVH_MPS3_Corstone-300/fvp_config.txt --stat --simlimit 600 out/Demo/AVH/Debug/Demo.Debug+AVH.axf >Demo.log
cat Demo.log
download:
- Demo.log