• Home
  • History
  • Annotate
Name
Date
Size
#Lines
LOC

..--

.gitignoreD18-Mar-20253

README.mdD18-Mar-20256.9 KiB12096

README.old.mdD18-Mar-20251.4 KiB3122

azrtos_build_tx_ac5.batD18-Mar-2025331 1813

azrtos_build_tx_arm_ds.batD18-Mar-2025761 2418

azrtos_build_tx_ghs.batD18-Mar-2025262 128

azrtos_build_tx_gnu.batD18-Mar-2025331 1813

azrtos_build_tx_iar.batD18-Mar-2025442 1813

azrtos_build_tx_mdk4.batD18-Mar-2025574 2519

azrtos_build_tx_mdk5.batD18-Mar-2025576 2519

azrtos_build_tx_tz_mdk5.batD18-Mar-20251.1 KiB4638

azrtos_build_txm_ac5.batD18-Mar-2025792 3628

azrtos_build_txm_arm_ds.batD18-Mar-2025925 2418

azrtos_build_txm_gnu.batD18-Mar-2025798 3628

azrtos_build_txm_iar.batD18-Mar-2025869 3628

azrtos_build_txm_tz_mdk5.batD18-Mar-20251.2 KiB5445

azrtos_cicd.csvD18-Mar-202543.4 KiB185183

azrtos_cicd.old.batD18-Mar-202512.3 KiB282262

azrtos_cicd.ps1D18-Mar-202510.5 KiB329223

azrtos_clean_tx_ac5.batD18-Mar-2025110 54

azrtos_clean_tx_arm_ds.batD18-Mar-2025288 1110

azrtos_clean_tx_ghs.batD18-Mar-2025302 1110

azrtos_clean_tx_gnu.batD18-Mar-2025152 87

azrtos_clean_tx_iar.batD18-Mar-2025369 2014

azrtos_clean_tx_mdk4.batD18-Mar-2025687 2721

azrtos_clean_tx_mdk5.batD18-Mar-2025579 2519

azrtos_clean_tx_tz_mdk5.batD18-Mar-2025853 3124

azrtos_clean_txm_ac5.batD18-Mar-2025110 54

azrtos_clean_txm_arm_ds.batD18-Mar-2025645 2019

azrtos_clean_txm_gnu.batD18-Mar-2025134 87

azrtos_clean_txm_iar.batD18-Mar-2025791 3829

azrtos_clean_txm_tz_mdk5.batD18-Mar-20251.2 KiB4334

azrtos_debug_tx_arm_ds.batD18-Mar-2025333 1712

azrtos_debug_tx_gnu_cortex_m4.batD18-Mar-2025365 128

azrtos_setenv_ac5.batD18-Mar-20252.2 KiB5748

azrtos_setenv_arm_ds.batD18-Mar-202557 42

azrtos_setenv_arm_ds_2020_0.batD18-Mar-2025826 3023

azrtos_setenv_arm_ds_2020_1.batD18-Mar-2025826 3023

azrtos_setenv_arm_ds_2021_0.batD18-Mar-2025826 3023

azrtos_setenv_arm_ds_2021_1.batD18-Mar-2025826 3023

azrtos_setenv_arm_ds_2021_2.batD18-Mar-2025826 3023

azrtos_setenv_ghs.batD18-Mar-20251.5 KiB4638

azrtos_setenv_gnu.batD18-Mar-20252.8 KiB6252

azrtos_setenv_iar.batD18-Mar-2025977 2722

azrtos_setenv_mdk4.batD18-Mar-2025503 2014

azrtos_setenv_mdk5.batD18-Mar-2025506 2014

azrtos_test_tx_ac5_cortex_m0.batD18-Mar-2025556 2014

azrtos_test_tx_ac5_cortex_m0.dsD18-Mar-2025331 3635

azrtos_test_tx_ac5_cortex_m0.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac5_cortex_m3.batD18-Mar-2025556 2014

azrtos_test_tx_ac5_cortex_m3.dsD18-Mar-2025331 3635

azrtos_test_tx_ac5_cortex_m3.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac5_cortex_m4.batD18-Mar-2025556 2014

azrtos_test_tx_ac5_cortex_m4.dsD18-Mar-2025331 3635

azrtos_test_tx_ac5_cortex_m4.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac5_cortex_m7.batD18-Mar-2025571 2014

azrtos_test_tx_ac5_cortex_m7.dsD18-Mar-2025331 3635

azrtos_test_tx_ac5_cortex_m7.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac6_cortex_a12.batD18-Mar-2025598 2014

azrtos_test_tx_ac6_cortex_a12.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a12.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a15.batD18-Mar-2025598 2014

azrtos_test_tx_ac6_cortex_a15.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a15.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a17.batD18-Mar-2025598 2014

azrtos_test_tx_ac6_cortex_a17.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a17.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a5.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_a5.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a5.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a7.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_a7.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a7.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a8.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_a8.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a8.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_a9.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_a9.dsD18-Mar-2025101 1111

azrtos_test_tx_ac6_cortex_a9.log.expectedD18-Mar-202572 54

azrtos_test_tx_ac6_cortex_m0.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_m0.dsD18-Mar-2025331 3635

azrtos_test_tx_ac6_cortex_m0.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac6_cortex_m3.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_m3.dsD18-Mar-2025331 3635

azrtos_test_tx_ac6_cortex_m3.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac6_cortex_m4.batD18-Mar-2025594 2014

azrtos_test_tx_ac6_cortex_m4.dsD18-Mar-2025331 3635

azrtos_test_tx_ac6_cortex_m4.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ac6_cortex_m7.batD18-Mar-2025597 2014

azrtos_test_tx_ac6_cortex_m7.dsD18-Mar-2025331 3635

azrtos_test_tx_ac6_cortex_m7.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_ghs_cortex_a5.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_a5.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_a7.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_a7.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_a8.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_a8.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_a9.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_a9.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_m3.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_m3.rcD18-Mar-2025636 3433

azrtos_test_tx_ghs_cortex_m3.valid.logD18-Mar-2025925 3130

azrtos_test_tx_ghs_cortex_m4.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_m4.rcD18-Mar-2025636 3433

azrtos_test_tx_ghs_cortex_m7.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_m7.rcD18-Mar-2025636 3433

azrtos_test_tx_ghs_cortex_r4.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_r4.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_r5.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_r5.rcD18-Mar-2025579 2524

azrtos_test_tx_ghs_cortex_r7.batD18-Mar-2025487 2014

azrtos_test_tx_ghs_cortex_r7.rcD18-Mar-2025579 2524

azrtos_test_tx_gnu_cortex_a12.batD18-Mar-2025560 2014

azrtos_test_tx_gnu_cortex_a12.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a12.log.expectedD18-Mar-2025333 1918

azrtos_test_tx_gnu_cortex_a15.batD18-Mar-2025560 2014

azrtos_test_tx_gnu_cortex_a15.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a15.log.expectedD18-Mar-2025333 1918

azrtos_test_tx_gnu_cortex_a17.batD18-Mar-2025560 2014

azrtos_test_tx_gnu_cortex_a17.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a17.log.expectedD18-Mar-2025333 1918

azrtos_test_tx_gnu_cortex_a5.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_a5.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a5.log.expectedD18-Mar-2025276 1918

azrtos_test_tx_gnu_cortex_a7.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_a7.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a7.log.expectedD18-Mar-2025276 1918

azrtos_test_tx_gnu_cortex_a8.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_a8.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a8.log.expectedD18-Mar-2025276 1918

azrtos_test_tx_gnu_cortex_a9.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_a9.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_a9.log.expectedD18-Mar-2025276 1918

azrtos_test_tx_gnu_cortex_m0.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_m0.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_m0.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_gnu_cortex_m3.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_m3.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_m3.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_gnu_cortex_m4.batD18-Mar-2025556 2014

azrtos_test_tx_gnu_cortex_m4.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_m4.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_gnu_cortex_m7.batD18-Mar-2025571 2014

azrtos_test_tx_gnu_cortex_m7.dsD18-Mar-2025331 3635

azrtos_test_tx_gnu_cortex_m7.log.expectedD18-Mar-2025274 1918

azrtos_test_tx_gnu_cortex_r4.batD18-Mar-2025554 2014

azrtos_test_tx_gnu_cortex_r4.dsD18-Mar-2025331 3635

azrtos_test_tx_iar_cortex_m3_fvp.batD18-Mar-2025582 2014

azrtos_test_tx_iar_cortex_m3_fvp.dsD18-Mar-2025331 3635

azrtos_test_tx_iar_cortex_m4.batD18-Mar-20251.3 KiB2720

azrtos_test_tx_iar_cortex_m4_fvp.batD18-Mar-2025582 2014

azrtos_test_tx_iar_cortex_m4_fvp.dsD18-Mar-2025331 3635

azrtos_test_tx_iar_cortex_m7_fvp.batD18-Mar-2025582 2014

azrtos_test_tx_iar_cortex_m7_fvp.dsD18-Mar-2025331 3635

azrtos_test_txm_gnu_cortex_m4.batD18-Mar-2025557 2115

azrtos_test_txm_gnu_cortex_m4.dsD18-Mar-2025331 3635

azrtos_test_txm_gnu_cortex_m4.log.expectedD18-Mar-2025274 1918

README.md

1# Azure RTOS ThreadX CI/CD system
2
3**The old Azure RTOS ThreadX CI/CD script and README are preserved with the .old extension**
4
5This directory contains a collection of files to execute test for continuos integration and continuous delivery of Azure RTOS ThreadX.
6
7This directory contains documentation, scripts and auxiliary files (expected test results, etc).
8
9The Azure RTOS ThreadX CI/CD system can be used in various scenarios:
10* Setting up the environment for a toolchain
11* Cleaning up the local repository
12* Building locally or on the pipeline
13* Smoke testing examples (on the native IDE)
14* Testing an example on a generic architecture simulator (like ARM FVP)
15* Running the certification test suite on a port
16* Testing locally during development
17* Testing automatically on the DevOps pipeline
18* Testing ports
19* Testing examples
20* Testing one or more ports
21* Verifying the ports build
22* Verifying that examples one or more ports during development
23
24There are several operations that can be performed by the CI/CD system:
25* CheckCompliance: perform compliance checks (only debug configurations, valid comments, ...)
26* StartCLI: start a CLI environment.
27* RealClean: remove all generated files.
28* Clean: remove all build generated files.
29* Build: compile examples using using the toolchain IDE, project, workspace, etc.
30* Test: smoke test examples with the toolchain simulator.
31* PlatformTest: test examples using the platform simulator, like the ARM FVP platform.
32* CertificationTest: test examples using the certification test suite.
33* HardwareTest: test examples using attached hardware.
34
35## azrtos_cicd.ps1
36This is the main entry point for Azure RTOS ThreadX CI/CD operations.
37To get detailed usage information use the PowerShell Get-Help command passing this script as a parameter.
38This file outputs a summary to the screen and detailed log file with all output to files located in the default log directory or a directory specified in the script command line.
39
40## azrtos_cicd.csv
41This is the default database of ports, examples and corresponding data and scripts. The database is a CSV file that can be modified or updated by the user. Other databases can be specified on the command line when calling the script.
42
43## -StartCLI
44This option will open a CLI with the environment appropriately set for it. It will have the command aliases "realclean", "clean", "build" and "test" set to the corresponding scripts. Useful for developing and debugging.
45
46## Examples:
47
48These examples assume the PowerShell script is called from the Windows Command Interpreter. For calling the script from the PowerShell prompt, remove the leading `pwsh -Command`.
49
50`pwsh -Command Get-Help .\azrtos_cicd.ps1`
51Show the help embedded in the script.
52
53`pwsh -Command .\azrtos_cicd.ps1 -clean`
54This cleans all examples in the default database.
55
56`pwsh -Command .\azrtos_cicd.ps1 -build`
57This builds all examples in the default database.
58
59`pwsh -Command .\azrtos_cicd.ps1 -test`
60This runs the bassic tests on all examples in the default database.
61
62`pwsh -Command .\azrtos_cicd.ps1 -clean -build -test`
63This first cleans, then builds and finally runs tests on all examples in the default database.
64
65`pwsh -Command .\azrtos_cicd.ps1 -MatchName 'Modules' -build`
66This builds all ThreadX Modules examples.
67
68`pwsh -Command .\azrtos_cicd.ps1 -MatchName 'Modules','IAR' -build`
69This builds all examples in the default database that have names matching the string 'Modules' and 'IAR'.
70
71`pwsh -Command .\azrtos_cicd.ps1 -MatchName 'Cortex M4','ARM compiler v6' -StartCli`
72This opens a CLI with set environment for all examples in the default database that have names matching the 'Cortex M4' and 'ARM compiler v6'.
73
74`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex M' -clean`
75This cleans all examples matching all the keywords; these are ThreadX (not ThreadX modules) Cortex M (0/3/4/7/23/33/...) for ARM compiler v6.
76
77`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex M' -build`
78Like the example above, but it builds the matching examples.
79
80`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','Cortex M7' -StartCLI`
81Start CLI environments for all ThreadX for Cortex M7 examples (IAR, ARM compiler v5, ARM compiler v6, GHS, ...).
82From these you can use the commands 'realclean','clean','build','test' to call these operations and see the output on the console.
83
84Here is a list of commonly used commands that you can directly cut/paste into your command line:
85`pwsh -Command Get-Help .\azrtos_cicd.ps1`
86`pwsh -Command .\azrtos_cicd.ps1 -clean`
87`pwsh -Command .\azrtos_cicd.ps1 -build`
88`pwsh -Command .\azrtos_cicd.ps1 -test`
89`pwsh -Command .\azrtos_cicd.ps1 -clean -build -test`
90`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex M' -clean`
91`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','IAR','Cortex M' -clean`
92`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','Cortex M' -clean`
93`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex M' -build`
94`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','IAR','Cortex M' -build`
95`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','Cortex M' -build`
96`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','ARM compiler v6','Cortex M' -clean`
97`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','IAR','Cortex M' -clean`
98`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','GCC','Cortex M' -clean`
99`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','ARM compiler v6','Cortex M' -build`
100`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','IAR','Cortex M' -build`
101`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TXM','GCC','Cortex M' -build`
102`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','SMP' -clean`
103`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','IAR','SMP' -clean`
104`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','SMP' -clean`
105`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','SMP' -build`
106`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','IAR','SMP' -build`
107`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','SMP' -build`
108`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','ARMv8-A' -build`
109`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','ARMv8-A' -build`
110`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex-A35' -clean`
111`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','Cortex-A35' -clean`
112`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex-A35' -build`
113`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','Cortex-A35' -build`
114`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','ARM compiler v6','Cortex-A35' -test`
115`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'TX ','GCC','Cortex-A35' -test`
116`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'ARM compiler v6','Cortex-A35' -clean -build -test`
117`pwsh -Command .\azrtos_cicd.ps1 -MatchKeywords 'GCC','Cortex-A35' -clean -build -test`
118
119For more examples look at the help embedded in the script.
120

README.old.md

1# Azure RTOS CI/CD (old version)
2
3**There is a new version of this script written in PowerSell and now named azrtos_cicd.ps1. Use that script instead. The documentation for that script is in the file README.md and the embedded help of that script.**
4
5This directory contains a collection of files to execute several automated operations on all ports.
6These are batch scripts and auxiliary files (expected test results, etc).
7
8## These operations include:
9* Build: compile the port example.
10* Clean: remove all build generated files.
11* Test: test the example with the toolchain simulator.
12* Test_FVP: test the example using the ARM FVP platform.
13
14## azrtos_cicd.old.bat
15This is the main entry point for operations to be performed on several examples at the same time.
16This script can be called from any location, it will automatically perform the requested operations on the examples of the repository where it is located.
17This file outputs a summary to the screen and a detailed log file with all the output called azrtos_do.all.log
18Call this scripts without parameters to get usage information.
19The script parameters are case insensitive.
20
21## Examples:
22
23`azrtos_cicd.old.bat build tx ghs iar`
24This will build all GHS and IAR example projects.
25
26`azrtos_cicd.old.bat clean tx all`
27This cleans all ThreadX examples
28
29`azrtos_cicd.old.bat build txm iar`
30This builds all ThreadX Modules IAR examples.
31