This is an automated email from the ASF dual-hosted git repository.

xiaoxiang781216 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 7457c5798b4575d1bfd54d996d1a725f620358f4
Author: Alin Jerpelea <[email protected]>
AuthorDate: Wed Nov 18 13:56:33 2026 +0100

    arch/xtensa: convert licenses to Apache 2.0
    
    Gregory Nutt has signed the SGA and we can convert the licenses
    to Apache 2.0
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 arch/xtensa/src/esp32/chip_macros.h   | 36 +++++++++++++----------------------
 arch/xtensa/src/esp32s2/chip_macros.h | 36 +++++++++++++----------------------
 2 files changed, 26 insertions(+), 46 deletions(-)

diff --git a/arch/xtensa/src/esp32/chip_macros.h 
b/arch/xtensa/src/esp32/chip_macros.h
index ee6320527f9..2b0ab8a13cf 100644
--- a/arch/xtensa/src/esp32/chip_macros.h
+++ b/arch/xtensa/src/esp32/chip_macros.h
@@ -1,33 +1,23 @@
 /****************************************************************************
  * arch/xtensa/src/esp32/chip_macros.h
  *
- * Adapted from use in NuttX by:
+ * SPDX-License-Identifier: Apache-2.0
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <[email protected]>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you 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
  *
- * Derives from logic originally provided by Cadence Design Systems Inc.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *   Copyright (c) 2006-2015 Cadence Design Systems Inc.
+ * 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.
  *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  ****************************************************************************/
 
 #ifndef __ARCH_XTENSA_SRC_ESP32_CHIP_MACROS_H
diff --git a/arch/xtensa/src/esp32s2/chip_macros.h 
b/arch/xtensa/src/esp32s2/chip_macros.h
index 2ebe7feed4b..656b53dc518 100644
--- a/arch/xtensa/src/esp32s2/chip_macros.h
+++ b/arch/xtensa/src/esp32s2/chip_macros.h
@@ -1,33 +1,23 @@
 /****************************************************************************
  * arch/xtensa/src/esp32s2/chip_macros.h
  *
- * Adapted from use in NuttX by:
+ * SPDX-License-Identifier: Apache-2.0
  *
- *   Copyright (C) 2016 Gregory Nutt. All rights reserved.
- *   Author: Gregory Nutt <[email protected]>
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.  The
+ * ASF licenses this file to you 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
  *
- * Derives from logic originally provided by Cadence Design Systems Inc.
+ *   http://www.apache.org/licenses/LICENSE-2.0
  *
- *   Copyright (c) 2006-2015 Cadence Design Systems Inc.
+ * 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.
  *
- * Permission is hereby granted, free of charge, to any person obtaining
- * a copy of this software and associated documentation files (the
- * "Software"), to deal in the Software without restriction, including
- * without limitation the rights to use, copy, modify, merge, publish,
- * distribute, sublicense, and/or sell copies of the Software, and to
- * permit persons to whom the Software is furnished to do so, subject to
- * the following conditions:
- *
- * The above copyright notice and this permission notice shall be included
- * in all copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
- * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
- * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
- * IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
- * CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
- * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
- * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  ****************************************************************************/
 
 #ifndef __ARCH_XTENSA_SRC_ESP32S2_CHIP_MACROS_H

Reply via email to