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

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

commit 3ac9a6e17950c2f93dc1feb1b024aec8a5e28098
Author: Alin Jerpelea <[email protected]>
AuthorDate: Fri Sep 13 10:19:20 2024 +0200

    libs/libdsp: migrate to SPDX identifier
    
    Most tools used for compliance and SBOM generation use SPDX identifiers
    This change brings us a step closer to an easy SBOM generation.
    
    Signed-off-by: Alin Jerpelea <[email protected]>
---
 libs/libdsp/CMakeLists.txt       | 2 ++
 libs/libdsp/Makefile             | 2 ++
 libs/libdsp/lib_avg.c            | 2 ++
 libs/libdsp/lib_foc.c            | 2 ++
 libs/libdsp/lib_foc_b16.c        | 2 ++
 libs/libdsp/lib_misc.c           | 2 ++
 libs/libdsp/lib_misc_b16.c       | 2 ++
 libs/libdsp/lib_motor.c          | 2 ++
 libs/libdsp/lib_motor_b16.c      | 2 ++
 libs/libdsp/lib_observer.c       | 2 ++
 libs/libdsp/lib_observer_b16.c   | 2 ++
 libs/libdsp/lib_pid.c            | 2 ++
 libs/libdsp/lib_pid_b16.c        | 2 ++
 libs/libdsp/lib_pmsm_model.c     | 2 ++
 libs/libdsp/lib_pmsm_model_b16.c | 2 ++
 libs/libdsp/lib_svm.c            | 2 ++
 libs/libdsp/lib_svm_b16.c        | 2 ++
 libs/libdsp/lib_transform.c      | 2 ++
 libs/libdsp/lib_transform_b16.c  | 2 ++
 19 files changed, 38 insertions(+)

diff --git a/libs/libdsp/CMakeLists.txt b/libs/libdsp/CMakeLists.txt
index ed6c135a40..82c4089511 100644
--- a/libs/libdsp/CMakeLists.txt
+++ b/libs/libdsp/CMakeLists.txt
@@ -1,6 +1,8 @@
 # 
##############################################################################
 # libs/libdsp/CMakeLists.txt
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # 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
diff --git a/libs/libdsp/Makefile b/libs/libdsp/Makefile
index 0d110be4c8..3d8e1b6b37 100644
--- a/libs/libdsp/Makefile
+++ b/libs/libdsp/Makefile
@@ -1,6 +1,8 @@
 ############################################################################
 # libs/libdsp/Makefile
 #
+# SPDX-License-Identifier: Apache-2.0
+#
 # 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
diff --git a/libs/libdsp/lib_avg.c b/libs/libdsp/lib_avg.c
index b552c30127..1d670165db 100644
--- a/libs/libdsp/lib_avg.c
+++ b/libs/libdsp/lib_avg.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_avg.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_foc.c b/libs/libdsp/lib_foc.c
index 332c259016..aa51e2fe95 100644
--- a/libs/libdsp/lib_foc.c
+++ b/libs/libdsp/lib_foc.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_foc.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_foc_b16.c b/libs/libdsp/lib_foc_b16.c
index 81a8f41224..e29af52680 100644
--- a/libs/libdsp/lib_foc_b16.c
+++ b/libs/libdsp/lib_foc_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_foc_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_misc.c b/libs/libdsp/lib_misc.c
index 402113b17e..586a9ee775 100644
--- a/libs/libdsp/lib_misc.c
+++ b/libs/libdsp/lib_misc.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_misc.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_misc_b16.c b/libs/libdsp/lib_misc_b16.c
index 6005a98a79..1b13cd218a 100644
--- a/libs/libdsp/lib_misc_b16.c
+++ b/libs/libdsp/lib_misc_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_misc_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_motor.c b/libs/libdsp/lib_motor.c
index 6411c0ea8d..46b4e08fb6 100644
--- a/libs/libdsp/lib_motor.c
+++ b/libs/libdsp/lib_motor.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_motor.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_motor_b16.c b/libs/libdsp/lib_motor_b16.c
index 1ddb5a266c..8b5f9b7c27 100644
--- a/libs/libdsp/lib_motor_b16.c
+++ b/libs/libdsp/lib_motor_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_motor_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_observer.c b/libs/libdsp/lib_observer.c
index 82e0b64216..d248cf2432 100644
--- a/libs/libdsp/lib_observer.c
+++ b/libs/libdsp/lib_observer.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_observer.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_observer_b16.c b/libs/libdsp/lib_observer_b16.c
index d4600ba57a..ebe6038c80 100644
--- a/libs/libdsp/lib_observer_b16.c
+++ b/libs/libdsp/lib_observer_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_observer_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_pid.c b/libs/libdsp/lib_pid.c
index d39f7fe624..13c02dc11a 100644
--- a/libs/libdsp/lib_pid.c
+++ b/libs/libdsp/lib_pid.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_pid.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_pid_b16.c b/libs/libdsp/lib_pid_b16.c
index b534c540e0..25598721c6 100644
--- a/libs/libdsp/lib_pid_b16.c
+++ b/libs/libdsp/lib_pid_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_pid_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_pmsm_model.c b/libs/libdsp/lib_pmsm_model.c
index 9f61751251..08dbcf9aca 100644
--- a/libs/libdsp/lib_pmsm_model.c
+++ b/libs/libdsp/lib_pmsm_model.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_pmsm_model.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_pmsm_model_b16.c b/libs/libdsp/lib_pmsm_model_b16.c
index 262922dfe5..dfa5c4ca14 100644
--- a/libs/libdsp/lib_pmsm_model_b16.c
+++ b/libs/libdsp/lib_pmsm_model_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_pmsm_model_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_svm.c b/libs/libdsp/lib_svm.c
index 9879af4923..0e31881bdd 100644
--- a/libs/libdsp/lib_svm.c
+++ b/libs/libdsp/lib_svm.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_svm.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_svm_b16.c b/libs/libdsp/lib_svm_b16.c
index 175530139b..67074f7fa6 100644
--- a/libs/libdsp/lib_svm_b16.c
+++ b/libs/libdsp/lib_svm_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_svm_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_transform.c b/libs/libdsp/lib_transform.c
index bbf9120be0..4c188d9383 100644
--- a/libs/libdsp/lib_transform.c
+++ b/libs/libdsp/lib_transform.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_transform.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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
diff --git a/libs/libdsp/lib_transform_b16.c b/libs/libdsp/lib_transform_b16.c
index 6fc663c47e..a2c78f36f2 100644
--- a/libs/libdsp/lib_transform_b16.c
+++ b/libs/libdsp/lib_transform_b16.c
@@ -1,6 +1,8 @@
 /****************************************************************************
  * libs/libdsp/lib_transform_b16.c
  *
+ * SPDX-License-Identifier: Apache-2.0
+ *
  * 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

Reply via email to