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

..--

.gitignoreD11-Mar-20243

README.mdD11-Mar-20246.9 KiB12096

README.old.mdD11-Mar-20241.4 KiB3122

azrtos_build_tx_ac5.batD11-Mar-2024331 1813

azrtos_build_tx_arm_ds.batD11-Mar-2024761 2418

azrtos_build_tx_ghs.batD11-Mar-2024262 128

azrtos_build_tx_gnu.batD11-Mar-2024331 1813

azrtos_build_tx_iar.batD11-Mar-2024442 1813

azrtos_build_tx_mdk4.batD11-Mar-2024574 2519

azrtos_build_tx_mdk5.batD11-Mar-2024576 2519

azrtos_build_tx_tz_mdk5.batD11-Mar-20241.1 KiB4638

azrtos_build_txm_ac5.batD11-Mar-2024792 3628

azrtos_build_txm_arm_ds.batD11-Mar-2024925 2418

azrtos_build_txm_gnu.batD11-Mar-2024798 3628

azrtos_build_txm_iar.batD11-Mar-2024869 3628

azrtos_build_txm_tz_mdk5.batD11-Mar-20241.2 KiB5445

azrtos_cicd.csvD11-Mar-202443.4 KiB185183

azrtos_cicd.old.batD11-Mar-202412.3 KiB282262

azrtos_cicd.ps1D11-Mar-202410.5 KiB329223

azrtos_clean_tx_ac5.batD11-Mar-2024110 54

azrtos_clean_tx_arm_ds.batD11-Mar-2024288 1110

azrtos_clean_tx_ghs.batD11-Mar-2024302 1110

azrtos_clean_tx_gnu.batD11-Mar-2024152 87

azrtos_clean_tx_iar.batD11-Mar-2024369 2014

azrtos_clean_tx_mdk4.batD11-Mar-2024687 2721

azrtos_clean_tx_mdk5.batD11-Mar-2024579 2519

azrtos_clean_tx_tz_mdk5.batD11-Mar-2024853 3124

azrtos_clean_txm_ac5.batD11-Mar-2024110 54

azrtos_clean_txm_arm_ds.batD11-Mar-2024645 2019

azrtos_clean_txm_gnu.batD11-Mar-2024134 87

azrtos_clean_txm_iar.batD11-Mar-2024791 3829

azrtos_clean_txm_tz_mdk5.batD11-Mar-20241.2 KiB4334

azrtos_debug_tx_arm_ds.batD11-Mar-2024333 1712

azrtos_debug_tx_gnu_cortex_m4.batD11-Mar-2024365 128

azrtos_setenv_ac5.batD11-Mar-20242.2 KiB5748

azrtos_setenv_arm_ds.batD11-Mar-202457 42

azrtos_setenv_arm_ds_2020_0.batD11-Mar-2024826 3023

azrtos_setenv_arm_ds_2020_1.batD11-Mar-2024826 3023

azrtos_setenv_arm_ds_2021_0.batD11-Mar-2024826 3023

azrtos_setenv_arm_ds_2021_1.batD11-Mar-2024826 3023

azrtos_setenv_arm_ds_2021_2.batD11-Mar-2024826 3023

azrtos_setenv_ghs.batD11-Mar-20241.5 KiB4638

azrtos_setenv_gnu.batD11-Mar-20242.8 KiB6252

azrtos_setenv_iar.batD11-Mar-2024977 2722

azrtos_setenv_mdk4.batD11-Mar-2024503 2014

azrtos_setenv_mdk5.batD11-Mar-2024506 2014

azrtos_test_tx_ac5_cortex_m0.batD11-Mar-2024556 2014

azrtos_test_tx_ac5_cortex_m0.dsD11-Mar-2024331 3635

azrtos_test_tx_ac5_cortex_m0.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac5_cortex_m3.batD11-Mar-2024556 2014

azrtos_test_tx_ac5_cortex_m3.dsD11-Mar-2024331 3635

azrtos_test_tx_ac5_cortex_m3.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac5_cortex_m4.batD11-Mar-2024556 2014

azrtos_test_tx_ac5_cortex_m4.dsD11-Mar-2024331 3635

azrtos_test_tx_ac5_cortex_m4.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac5_cortex_m7.batD11-Mar-2024571 2014

azrtos_test_tx_ac5_cortex_m7.dsD11-Mar-2024331 3635

azrtos_test_tx_ac5_cortex_m7.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac6_cortex_a12.batD11-Mar-2024598 2014

azrtos_test_tx_ac6_cortex_a12.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a12.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a15.batD11-Mar-2024598 2014

azrtos_test_tx_ac6_cortex_a15.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a15.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a17.batD11-Mar-2024598 2014

azrtos_test_tx_ac6_cortex_a17.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a17.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a5.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_a5.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a5.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a7.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_a7.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a7.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a8.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_a8.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a8.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_a9.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_a9.dsD11-Mar-2024101 1111

azrtos_test_tx_ac6_cortex_a9.log.expectedD11-Mar-202472 54

azrtos_test_tx_ac6_cortex_m0.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_m0.dsD11-Mar-2024331 3635

azrtos_test_tx_ac6_cortex_m0.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac6_cortex_m3.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_m3.dsD11-Mar-2024331 3635

azrtos_test_tx_ac6_cortex_m3.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac6_cortex_m4.batD11-Mar-2024594 2014

azrtos_test_tx_ac6_cortex_m4.dsD11-Mar-2024331 3635

azrtos_test_tx_ac6_cortex_m4.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ac6_cortex_m7.batD11-Mar-2024597 2014

azrtos_test_tx_ac6_cortex_m7.dsD11-Mar-2024331 3635

azrtos_test_tx_ac6_cortex_m7.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_ghs_cortex_a5.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_a5.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_a7.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_a7.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_a8.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_a8.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_a9.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_a9.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_m3.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_m3.rcD11-Mar-2024636 3433

azrtos_test_tx_ghs_cortex_m3.valid.logD11-Mar-2024925 3130

azrtos_test_tx_ghs_cortex_m4.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_m4.rcD11-Mar-2024636 3433

azrtos_test_tx_ghs_cortex_m7.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_m7.rcD11-Mar-2024636 3433

azrtos_test_tx_ghs_cortex_r4.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_r4.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_r5.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_r5.rcD11-Mar-2024579 2524

azrtos_test_tx_ghs_cortex_r7.batD11-Mar-2024487 2014

azrtos_test_tx_ghs_cortex_r7.rcD11-Mar-2024579 2524

azrtos_test_tx_gnu_cortex_a12.batD11-Mar-2024560 2014

azrtos_test_tx_gnu_cortex_a12.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a12.log.expectedD11-Mar-2024333 1918

azrtos_test_tx_gnu_cortex_a15.batD11-Mar-2024560 2014

azrtos_test_tx_gnu_cortex_a15.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a15.log.expectedD11-Mar-2024333 1918

azrtos_test_tx_gnu_cortex_a17.batD11-Mar-2024560 2014

azrtos_test_tx_gnu_cortex_a17.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a17.log.expectedD11-Mar-2024333 1918

azrtos_test_tx_gnu_cortex_a5.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_a5.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a5.log.expectedD11-Mar-2024276 1918

azrtos_test_tx_gnu_cortex_a7.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_a7.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a7.log.expectedD11-Mar-2024276 1918

azrtos_test_tx_gnu_cortex_a8.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_a8.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a8.log.expectedD11-Mar-2024276 1918

azrtos_test_tx_gnu_cortex_a9.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_a9.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_a9.log.expectedD11-Mar-2024276 1918

azrtos_test_tx_gnu_cortex_m0.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_m0.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_m0.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_gnu_cortex_m3.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_m3.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_m3.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_gnu_cortex_m4.batD11-Mar-2024556 2014

azrtos_test_tx_gnu_cortex_m4.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_m4.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_gnu_cortex_m7.batD11-Mar-2024571 2014

azrtos_test_tx_gnu_cortex_m7.dsD11-Mar-2024331 3635

azrtos_test_tx_gnu_cortex_m7.log.expectedD11-Mar-2024274 1918

azrtos_test_tx_gnu_cortex_r4.batD11-Mar-2024554 2014

azrtos_test_tx_gnu_cortex_r4.dsD11-Mar-2024331 3635

azrtos_test_tx_iar_cortex_m3_fvp.batD11-Mar-2024582 2014

azrtos_test_tx_iar_cortex_m3_fvp.dsD11-Mar-2024331 3635

azrtos_test_tx_iar_cortex_m4.batD11-Mar-20241.3 KiB2720

azrtos_test_tx_iar_cortex_m4_fvp.batD11-Mar-2024582 2014

azrtos_test_tx_iar_cortex_m4_fvp.dsD11-Mar-2024331 3635

azrtos_test_tx_iar_cortex_m7_fvp.batD11-Mar-2024582 2014

azrtos_test_tx_iar_cortex_m7_fvp.dsD11-Mar-2024331 3635

azrtos_test_txm_gnu_cortex_m4.batD11-Mar-2024557 2115

azrtos_test_txm_gnu_cortex_m4.dsD11-Mar-2024331 3635

azrtos_test_txm_gnu_cortex_m4.log.expectedD11-Mar-2024274 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