diff --git a/components/console/argtable3/arg_cmd.c b/components/console/argtable3/arg_cmd.c index 39664cc458..55e3f7ad6a 100644 --- a/components/console/argtable3/arg_cmd.c +++ b/components/console/argtable3/arg_cmd.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2013-2019 Tom G. Huang + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_cmd: Provides the sub-command mechanism * diff --git a/components/console/argtable3/arg_date.c b/components/console/argtable3/arg_date.c index 19774793ca..7b6afcf962 100644 --- a/components/console/argtable3/arg_date.c +++ b/components/console/argtable3/arg_date.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_date: Implements the date command-line option * diff --git a/components/console/argtable3/arg_dbl.c b/components/console/argtable3/arg_dbl.c index 3a00860aae..a1c08b7572 100644 --- a/components/console/argtable3/arg_dbl.c +++ b/components/console/argtable3/arg_dbl.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_dbl: Implements the double command-line option * diff --git a/components/console/argtable3/arg_dstr.c b/components/console/argtable3/arg_dstr.c index 0dbb2cd118..6e6cf6b007 100644 --- a/components/console/argtable3/arg_dstr.c +++ b/components/console/argtable3/arg_dstr.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2013-2019 Tom G. Huang + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_dstr: Implements the dynamic string utilities * diff --git a/components/console/argtable3/arg_end.c b/components/console/argtable3/arg_end.c index a7abfddf15..2d1fd48755 100644 --- a/components/console/argtable3/arg_end.c +++ b/components/console/argtable3/arg_end.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_end: Implements the error handling utilities * diff --git a/components/console/argtable3/arg_file.c b/components/console/argtable3/arg_file.c index 1db09d48da..72111fdf47 100644 --- a/components/console/argtable3/arg_file.c +++ b/components/console/argtable3/arg_file.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_file: Implements the file command-line option * diff --git a/components/console/argtable3/arg_hashtable.c b/components/console/argtable3/arg_hashtable.c index b96fba4657..1e8a2d3831 100644 --- a/components/console/argtable3/arg_hashtable.c +++ b/components/console/argtable3/arg_hashtable.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2013-2019 Tom G. Huang + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_hashtable: Implements the hash table utilities * diff --git a/components/console/argtable3/arg_int.c b/components/console/argtable3/arg_int.c index 9d760c92dc..5be40e12f2 100644 --- a/components/console/argtable3/arg_int.c +++ b/components/console/argtable3/arg_int.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_int: Implements the int command-line option * diff --git a/components/console/argtable3/arg_lit.c b/components/console/argtable3/arg_lit.c index fc363943bf..8e2db1dd64 100644 --- a/components/console/argtable3/arg_lit.c +++ b/components/console/argtable3/arg_lit.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_lit: Implements the literature command-line option * diff --git a/components/console/argtable3/arg_rem.c b/components/console/argtable3/arg_rem.c index 449a404f31..679b5d52b2 100644 --- a/components/console/argtable3/arg_rem.c +++ b/components/console/argtable3/arg_rem.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_rem: Implements the rem command-line option * diff --git a/components/console/argtable3/arg_rex.c b/components/console/argtable3/arg_rex.c index 65218d34e2..858d3ea985 100644 --- a/components/console/argtable3/arg_rex.c +++ b/components/console/argtable3/arg_rex.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_rex: Implements the regex command-line option * diff --git a/components/console/argtable3/arg_str.c b/components/console/argtable3/arg_str.c index bf454f29d0..a50ae802fc 100644 --- a/components/console/argtable3/arg_str.c +++ b/components/console/argtable3/arg_str.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_str: Implements the str command-line option * diff --git a/components/console/argtable3/arg_utils.c b/components/console/argtable3/arg_utils.c index b6a5142702..f10034fd5c 100644 --- a/components/console/argtable3/arg_utils.c +++ b/components/console/argtable3/arg_utils.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2013-2019 Tom G. Huang + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * arg_utils: Implements memory, panic, and other utility functions * diff --git a/components/console/argtable3/argtable3.c b/components/console/argtable3/argtable3.c index e46691922e..d3d61e5658 100644 --- a/components/console/argtable3/argtable3.c +++ b/components/console/argtable3/argtable3.c @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * argtable3: Implements the main interfaces of the library * diff --git a/components/console/argtable3/argtable3.h b/components/console/argtable3/argtable3.h index 487c22d3b0..f16fcd04e1 100644 --- a/components/console/argtable3/argtable3.h +++ b/components/console/argtable3/argtable3.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 1998-2001,2003-2011,2013 Stewart Heitmann + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * argtable3: Declares the main interfaces of the library * diff --git a/components/console/argtable3/argtable3_private.h b/components/console/argtable3/argtable3_private.h index 1d4859230d..86fad6f1a8 100644 --- a/components/console/argtable3/argtable3_private.h +++ b/components/console/argtable3/argtable3_private.h @@ -1,3 +1,8 @@ +/* + * SPDX-FileCopyrightText: 2013-2019 Tom G. Huang + * + * SPDX-License-Identifier: BSD-3-Clause + */ /******************************************************************************* * argtable3_private: Declares private types, constants, and interfaces * diff --git a/tools/ci/check_copyright_config.yaml b/tools/ci/check_copyright_config.yaml index b3a98abb44..d635b84b1f 100644 --- a/tools/ci/check_copyright_config.yaml +++ b/tools/ci/check_copyright_config.yaml @@ -112,6 +112,13 @@ sdmmc: - Apache-2.0 - ISC +argtable3: + include: + - 'components/console/argtable3/' + allowed_licenses: + - BSD-3-Clause + - Apache-2.0 + # files matching this section do not perform the check # file patterns starting with ! are negated, meaning files matching them won't match the section. ignore: diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index d5b170d7ab..3e6ba2a68f 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -396,8 +396,6 @@ components/bt/host/bluedroid/stack/smp/smp_keys.c components/bt/host/bluedroid/stack/smp/smp_l2c.c components/bt/host/bluedroid/stack/smp/smp_main.c components/bt/host/bluedroid/stack/smp/smp_utils.c -components/console/argtable3/argtable3.c -components/console/argtable3/argtable3.h components/console/linenoise/linenoise.c components/console/linenoise/linenoise.h components/driver/include/driver/usb_serial_jtag.h