Просмотр исходного кода

fix licence copyright for header file syscon_reg.h on ESP32C3 and ESP32S3

wangmengyang 3 лет назад
Родитель
Сommit
f86efb2bc2

+ 5 - 13
components/soc/esp32c3/include/soc/syscon_reg.h

@@ -1,16 +1,8 @@
-// Copyright 2020 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: 2021-2022 Espressif Systems (Shanghai) CO LTD
+ *
+ *  SPDX-License-Identifier: Apache-2.0
+ */
 #ifndef _SOC_SYSCON_REG_H_
 #define _SOC_SYSCON_REG_H_
 

+ 5 - 13
components/soc/esp32s3/include/soc/syscon_reg.h

@@ -1,16 +1,8 @@
-// Copyright 2017-2021 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: 2021-2022 Espressif Systems (Shanghai) CO LTD
+ *
+ *  SPDX-License-Identifier: Apache-2.0
+ */
 #ifndef _SOC_SYSCON_REG_H_
 #define _SOC_SYSCON_REG_H_
 

+ 0 - 2
tools/ci/check_copyright_ignore.txt

@@ -1121,7 +1121,6 @@ components/soc/esp32c3/include/soc/spi_mem_struct.h
 components/soc/esp32c3/include/soc/spi_pins.h
 components/soc/esp32c3/include/soc/spi_reg.h
 components/soc/esp32c3/include/soc/spi_struct.h
-components/soc/esp32c3/include/soc/syscon_reg.h
 components/soc/esp32c3/include/soc/syscon_struct.h
 components/soc/esp32c3/include/soc/system_reg.h
 components/soc/esp32c3/include/soc/system_struct.h
@@ -1320,7 +1319,6 @@ components/soc/esp32s3/include/soc/spi_mem_struct.h
 components/soc/esp32s3/include/soc/spi_pins.h
 components/soc/esp32s3/include/soc/spi_reg.h
 components/soc/esp32s3/include/soc/spi_struct.h
-components/soc/esp32s3/include/soc/syscon_reg.h
 components/soc/esp32s3/include/soc/syscon_struct.h
 components/soc/esp32s3/include/soc/system_reg.h
 components/soc/esp32s3/include/soc/system_struct.h