diff --git a/components/perfmon/include/perfmon.h b/components/perfmon/include/perfmon.h index 4c23bd5be7..308e14a4b6 100644 --- a/components/perfmon/include/perfmon.h +++ b/components/perfmon/include/perfmon.h @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef _PERF_MON_H_ diff --git a/components/perfmon/include/xtensa_perfmon_access.h b/components/perfmon/include/xtensa_perfmon_access.h index 301b6e8bae..3d47e2ecc5 100644 --- a/components/perfmon/include/xtensa_perfmon_access.h +++ b/components/perfmon/include/xtensa_perfmon_access.h @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef _PERF_MON_ACCESS_H_ diff --git a/components/perfmon/include/xtensa_perfmon_apis.h b/components/perfmon/include/xtensa_perfmon_apis.h index 0b52f2ce80..735544cb88 100644 --- a/components/perfmon/include/xtensa_perfmon_apis.h +++ b/components/perfmon/include/xtensa_perfmon_apis.h @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef _xtensa_perfmon_apis_H_ #define _xtensa_perfmon_apis_H_ diff --git a/components/perfmon/include/xtensa_perfmon_masks.h b/components/perfmon/include/xtensa_perfmon_masks.h index 4b3bf371d6..ecaac4acab 100644 --- a/components/perfmon/include/xtensa_perfmon_masks.h +++ b/components/perfmon/include/xtensa_perfmon_masks.h @@ -1,17 +1,9 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #ifndef _xtensa_perfmon_masks_H_ #define _xtensa_perfmon_masks_H_ diff --git a/components/perfmon/test/test_perfmon_ansi.c b/components/perfmon/test/test_perfmon_ansi.c index f17d22407e..f8f09022b8 100644 --- a/components/perfmon/test/test_perfmon_ansi.c +++ b/components/perfmon/test/test_perfmon_ansi.c @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #include #include "unity.h" diff --git a/components/perfmon/xtensa_perfmon_access.c b/components/perfmon/xtensa_perfmon_access.c index 2b274bd110..8080eadde1 100644 --- a/components/perfmon/xtensa_perfmon_access.c +++ b/components/perfmon/xtensa_perfmon_access.c @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #include "xtensa_perfmon_access.h" #include "xtensa-debug-module.h" diff --git a/components/perfmon/xtensa_perfmon_apis.c b/components/perfmon/xtensa_perfmon_apis.c index eb3a544d77..27169a77a2 100644 --- a/components/perfmon/xtensa_perfmon_apis.c +++ b/components/perfmon/xtensa_perfmon_apis.c @@ -1,16 +1,8 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + */ #include #include "xtensa_perfmon_apis.h" diff --git a/components/perfmon/xtensa_perfmon_masks.c b/components/perfmon/xtensa_perfmon_masks.c index 6d1c8a54fd..bde97e865a 100644 --- a/components/perfmon/xtensa_perfmon_masks.c +++ b/components/perfmon/xtensa_perfmon_masks.c @@ -1,19 +1,11 @@ -// Copyright 2018-2019 Espressif Systems (Shanghai) PTE LTD -// -// Descriptions have been adapted from the comments in xt_perf_const.h, -// licensed under MIT license and copyright by Tensilica Inc. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. +/* + * SPDX-FileCopyrightText: 2018-2022 Espressif Systems (Shanghai) CO LTD + * + * SPDX-License-Identifier: Apache-2.0 + * + * Descriptions have been adapted from the comments in xt_perf_const.h, + * Copyright (c) 2012 by Tensilica Inc. and licensed under MIT license. + */ #include "xtensa_perfmon_masks.h" diff --git a/tools/ci/check_copyright_ignore.txt b/tools/ci/check_copyright_ignore.txt index 370b9e6852..8c3cd13bdf 100644 --- a/tools/ci/check_copyright_ignore.txt +++ b/tools/ci/check_copyright_ignore.txt @@ -1374,14 +1374,6 @@ components/partition_table/test/test_partition.c components/partition_table/test_gen_esp32part_host/check_sizes_test.py components/partition_table/test_gen_esp32part_host/gen_esp32part_tests.py components/partition_table/test_gen_esp32part_host/test_utils.py -components/perfmon/include/perfmon.h -components/perfmon/include/xtensa_perfmon_access.h -components/perfmon/include/xtensa_perfmon_apis.h -components/perfmon/include/xtensa_perfmon_masks.h -components/perfmon/test/test_perfmon_ansi.c -components/perfmon/xtensa_perfmon_access.c -components/perfmon/xtensa_perfmon_apis.c -components/perfmon/xtensa_perfmon_masks.c components/protocomm/include/common/protocomm.h components/protocomm/include/security/protocomm_security.h components/protocomm/include/security/protocomm_security0.h