@@ -6,11 +6,12 @@ the [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/d
66
77` packchk ` performs the following operations:
88
9+ - Checks the ` *.pdsc ` file against the PACK.xsd schema file in the installation path.
910- Reads the content of the specified ` *.pdsc ` file. The path to this ` *.pdsc ` file is considered as root directory of
1011 the Software Pack.
1112- Verifies the existence of all files in the Software Pack that are referenced in the ` *.pdsc ` file.
1213- Checks for presence and correctness of mandatory elements such as ` <vendor> ` , ` <version> ` , etc. - Optionally, reads
13- other PDSC files to resolve dependencies on ` <apis> ` , ` <boards> ` , and ` <conditions> ` .
14+ other ` *.pdsc ` files to resolve dependencies on ` <apis> ` , ` <boards> ` , and ` <conditions> ` .
1415- Optionally, verifies the element ` <url> ` .
1516- Optionally, composes the versioned pack ID from the information contained in the PDSC:
1617 ` package:vendor.package:name.release.latest:version `
@@ -21,25 +22,26 @@ the [CMSIS-Toolbox](https://github.com/Open-CMSIS-Pack/cmsis-toolbox/blob/main/d
2122## Usage
2223
2324``` bash
24- packchk [-V] [--version] [-h] [--help]
25- [OPTIONS...] < PDSC file>
26-
27- packchk options:
28- -i, --include arg PDSC file(s) as dependency reference
29- -b, --log arg Log file
30- -x, --diag-suppress arg Suppress Messages
31- -s, --xsd arg Specify PACK.xsd path.
32- -v, --verbose Verbose mode. Prints extra process information
33- -w, --warning arg Warning level [0| 1| 2| 3| all] (default: all)
34- -u, --url arg Verifies that the specified URL matches with the < url>
35- element in the * .PDSC file (default: " " )
36- -n, --name arg Text file for pack file name (default: " " )
37- -V, --version Print version
38- -h, --help Print usage
39- --disable-validation Disable the pdsc validation against the PACK.xsd
40- --allow-suppress-error Allow to suppress error messages
41- --break Debug halt after start
42- --ignore-other-pdsc Ignores other PDSC files in working folder
25+ packchk [-V] [--version] [-h] [--help]
26+ [OPTIONS...] < PDSC file>
27+
28+ packchk options:
29+ -i, --include arg PDSC file(s) as dependency reference
30+ -b, --log arg Log file
31+ -x, --diag-suppress arg Suppress Messages
32+ -s, --xsd arg Specify PACK.xsd path.
33+ -v, --verbose Verbose mode. Prints extra process information
34+ -w, --warning arg Warning level [0| 1| 2| 3| all] (default: all)
35+ -u, --url arg Verifies that the specified URL matches with the
36+ < url> element in the * .PDSC file (default: " " )
37+ -n, --name arg Text file for pack file name (default: " " )
38+ -V, --version Print version
39+ -h, --help Print usage
40+ --disable-validation Disable the pdsc validation against the PACK.xsd.
41+ --allow-suppress-error Allow to suppress error messages
42+ --break Debug halt after start
43+ --ignore-other-pdsc Ignores other PDSC files in working folder
44+ --pedantic Return with error value on warning
4345```
4446
4547## Quick Start
@@ -55,8 +57,8 @@ pack required for integration tests.
5557
5658### Usage Examples
5759
58- Run ` packchk ` on the package description file called MyVendor.MyPack.pdsc.
59- It verifies the file against the Software Pack that is located in the same directory.
60+ Run ` packchk ` on the package description file called ` MyVendor.MyPack.pdsc ` .
61+ It runs a schema check and verifies the file against the Software Pack that is located in the same directory.
6062
6163``` bash
6264packchk MyVendor.MyPack.pdsc
0 commit comments