From b0edcb798a27f3e7e5765d1d3d3ea023ca2101e1 Mon Sep 17 00:00:00 2001 From: Alin Jerpelea Date: Thu, 19 Dec 2024 06:04:56 +0100 Subject: [PATCH] industry: 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 --- industry/CMakeLists.txt | 2 ++ industry/Make.defs | 2 ++ industry/Makefile | 2 ++ industry/abnt_codi/Make.defs | 2 ++ industry/abnt_codi/Makefile | 2 ++ industry/abnt_codi/abnt_codi.c | 2 ++ industry/foc/CMakeLists.txt | 2 ++ industry/foc/Make.defs | 3 ++- industry/foc/Makefile | 2 ++ industry/foc/fixed16/foc_align.c | 3 ++- industry/foc/fixed16/foc_ang_hall.c | 2 ++ industry/foc/fixed16/foc_ang_onfo.c | 2 ++ industry/foc/fixed16/foc_ang_openloop.c | 2 ++ industry/foc/fixed16/foc_ang_osmo.c | 2 ++ industry/foc/fixed16/foc_ang_qenco.c | 2 ++ industry/foc/fixed16/foc_angle.c | 2 ++ industry/foc/fixed16/foc_cordic.c | 2 ++ industry/foc/fixed16/foc_feedforward.c | 2 ++ industry/foc/fixed16/foc_handler.c | 2 ++ industry/foc/fixed16/foc_ident.c | 3 ++- industry/foc/fixed16/foc_model.c | 2 ++ industry/foc/fixed16/foc_model_pmsm.c | 3 ++- industry/foc/fixed16/foc_picontrol.c | 3 ++- industry/foc/fixed16/foc_ramp.c | 3 ++- industry/foc/fixed16/foc_routine.c | 2 ++ industry/foc/fixed16/foc_svm3.c | 3 ++- industry/foc/fixed16/foc_vel_odiv.c | 2 ++ industry/foc/fixed16/foc_vel_opll.c | 2 ++ industry/foc/fixed16/foc_velocity.c | 2 ++ industry/foc/float/foc_align.c | 3 ++- industry/foc/float/foc_ang_hall.c | 2 ++ industry/foc/float/foc_ang_onfo.c | 2 ++ industry/foc/float/foc_ang_openloop.c | 2 ++ industry/foc/float/foc_ang_osmo.c | 2 ++ industry/foc/float/foc_ang_qenco.c | 2 ++ industry/foc/float/foc_angle.c | 2 ++ industry/foc/float/foc_cordic.c | 2 ++ industry/foc/float/foc_feedforward.c | 2 ++ industry/foc/float/foc_handler.c | 2 ++ industry/foc/float/foc_ident.c | 3 ++- industry/foc/float/foc_model.c | 2 ++ industry/foc/float/foc_model_pmsm.c | 3 ++- industry/foc/float/foc_picontrol.c | 3 ++- industry/foc/float/foc_ramp.c | 3 ++- industry/foc/float/foc_routine.c | 2 ++ industry/foc/float/foc_svm3.c | 3 ++- industry/foc/float/foc_vel_odiv.c | 2 ++ industry/foc/float/foc_vel_opll.c | 2 ++ industry/foc/float/foc_velocity.c | 2 ++ industry/foc/foc_utils.c | 2 ++ industry/scpi/Make.defs | 2 ++ industry/scpi/Makefile | 2 ++ 52 files changed, 104 insertions(+), 13 deletions(-) diff --git a/industry/CMakeLists.txt b/industry/CMakeLists.txt index 6d64c327289..0869d77d982 100644 --- a/industry/CMakeLists.txt +++ b/industry/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/industry/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/industry/Make.defs b/industry/Make.defs index 5b68b9ef839..5d2de761826 100644 --- a/industry/Make.defs +++ b/industry/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/Make.defs # +# 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/industry/Makefile b/industry/Makefile index 9f4937e182a..42ed16d6b6e 100644 --- a/industry/Makefile +++ b/industry/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/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/industry/abnt_codi/Make.defs b/industry/abnt_codi/Make.defs index ab30734232b..b220cf63cf1 100644 --- a/industry/abnt_codi/Make.defs +++ b/industry/abnt_codi/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/abnt_codi/Make.defs # +# 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/industry/abnt_codi/Makefile b/industry/abnt_codi/Makefile index 037a87de071..f3b9ee9d93f 100644 --- a/industry/abnt_codi/Makefile +++ b/industry/abnt_codi/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/abnt_codi/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/industry/abnt_codi/abnt_codi.c b/industry/abnt_codi/abnt_codi.c index 260b08e823c..911d8ae29e0 100644 --- a/industry/abnt_codi/abnt_codi.c +++ b/industry/abnt_codi/abnt_codi.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/abnt_codi/abnt_codi.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/industry/foc/CMakeLists.txt b/industry/foc/CMakeLists.txt index e0f1d259243..7331644cd5f 100644 --- a/industry/foc/CMakeLists.txt +++ b/industry/foc/CMakeLists.txt @@ -1,6 +1,8 @@ # ############################################################################## # apps/industry/foc/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/industry/foc/Make.defs b/industry/foc/Make.defs index 1cf85b299ba..ed25e84f462 100644 --- a/industry/foc/Make.defs +++ b/industry/foc/Make.defs @@ -1,6 +1,7 @@ ############################################################################ # apps/industry/foc/Make.defs -# Adds selected applications to apps/ build +# +# 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 diff --git a/industry/foc/Makefile b/industry/foc/Makefile index bdc0efaf850..1c337543501 100644 --- a/industry/foc/Makefile +++ b/industry/foc/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/foc/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/industry/foc/fixed16/foc_align.c b/industry/foc/fixed16/foc_align.c index ab8d9b74efb..d0ad6f8e74e 100644 --- a/industry/foc/fixed16/foc_align.c +++ b/industry/foc/fixed16/foc_align.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_align.c - * This file implements angle sensor alignment routine for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_ang_hall.c b/industry/foc/fixed16/foc_ang_hall.c index 27834ff706c..0e2eae9bfd9 100644 --- a/industry/foc/fixed16/foc_ang_hall.c +++ b/industry/foc/fixed16/foc_ang_hall.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ang_hall.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/industry/foc/fixed16/foc_ang_onfo.c b/industry/foc/fixed16/foc_ang_onfo.c index af1d7565fcd..1396846713a 100644 --- a/industry/foc/fixed16/foc_ang_onfo.c +++ b/industry/foc/fixed16/foc_ang_onfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ang_onfo.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/industry/foc/fixed16/foc_ang_openloop.c b/industry/foc/fixed16/foc_ang_openloop.c index 8744f2da5a6..9cbb59466b2 100644 --- a/industry/foc/fixed16/foc_ang_openloop.c +++ b/industry/foc/fixed16/foc_ang_openloop.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ang_openloop.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/industry/foc/fixed16/foc_ang_osmo.c b/industry/foc/fixed16/foc_ang_osmo.c index d4c6d3152b4..3a48beb6c38 100644 --- a/industry/foc/fixed16/foc_ang_osmo.c +++ b/industry/foc/fixed16/foc_ang_osmo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ang_osmo.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/industry/foc/fixed16/foc_ang_qenco.c b/industry/foc/fixed16/foc_ang_qenco.c index 769d242bb8b..bb53a8c42a8 100644 --- a/industry/foc/fixed16/foc_ang_qenco.c +++ b/industry/foc/fixed16/foc_ang_qenco.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ang_qenco.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/industry/foc/fixed16/foc_angle.c b/industry/foc/fixed16/foc_angle.c index d6428acfc8b..0820d47d05f 100644 --- a/industry/foc/fixed16/foc_angle.c +++ b/industry/foc/fixed16/foc_angle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_angle.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/industry/foc/fixed16/foc_cordic.c b/industry/foc/fixed16/foc_cordic.c index 4c08e8212c8..fdd4cc0595b 100644 --- a/industry/foc/fixed16/foc_cordic.c +++ b/industry/foc/fixed16/foc_cordic.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_cordic.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/industry/foc/fixed16/foc_feedforward.c b/industry/foc/fixed16/foc_feedforward.c index e45511e52fa..0a3e2fe740e 100644 --- a/industry/foc/fixed16/foc_feedforward.c +++ b/industry/foc/fixed16/foc_feedforward.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_feedforward.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/industry/foc/fixed16/foc_handler.c b/industry/foc/fixed16/foc_handler.c index bd338587dcc..12ef7aa5b6b 100644 --- a/industry/foc/fixed16/foc_handler.c +++ b/industry/foc/fixed16/foc_handler.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_handler.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/industry/foc/fixed16/foc_ident.c b/industry/foc/fixed16/foc_ident.c index 0ac5bb26b1b..a7b2098a2c3 100644 --- a/industry/foc/fixed16/foc_ident.c +++ b/industry/foc/fixed16/foc_ident.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ident.c - * This file implements motor ident routine for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_model.c b/industry/foc/fixed16/foc_model.c index 2351e0b75b9..6ed52f2b105 100644 --- a/industry/foc/fixed16/foc_model.c +++ b/industry/foc/fixed16/foc_model.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_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/industry/foc/fixed16/foc_model_pmsm.c b/industry/foc/fixed16/foc_model_pmsm.c index 403093e99bd..0c4c80036be 100644 --- a/industry/foc/fixed16/foc_model_pmsm.c +++ b/industry/foc/fixed16/foc_model_pmsm.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_model_pmsm.c - * This file implements PMSM model for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_picontrol.c b/industry/foc/fixed16/foc_picontrol.c index 66ee2652428..97d1c7f3de4 100644 --- a/industry/foc/fixed16/foc_picontrol.c +++ b/industry/foc/fixed16/foc_picontrol.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_picontrol.c - * This file implements classical FOC PI current controller for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_ramp.c b/industry/foc/fixed16/foc_ramp.c index 443f021fe5a..282c051a011 100644 --- a/industry/foc/fixed16/foc_ramp.c +++ b/industry/foc/fixed16/foc_ramp.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_ramp.c - * This file implements ramp for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_routine.c b/industry/foc/fixed16/foc_routine.c index 0a41e2760c7..faa57fb6912 100644 --- a/industry/foc/fixed16/foc_routine.c +++ b/industry/foc/fixed16/foc_routine.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_routine.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/industry/foc/fixed16/foc_svm3.c b/industry/foc/fixed16/foc_svm3.c index 649ea241964..1521b30a813 100644 --- a/industry/foc/fixed16/foc_svm3.c +++ b/industry/foc/fixed16/foc_svm3.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_svm3.c - * This file implements 3-phase space vector modulation for fixed16 + * + * 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 diff --git a/industry/foc/fixed16/foc_vel_odiv.c b/industry/foc/fixed16/foc_vel_odiv.c index a5460fa1d3f..4cdf13d559c 100644 --- a/industry/foc/fixed16/foc_vel_odiv.c +++ b/industry/foc/fixed16/foc_vel_odiv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_vel_odiv.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/industry/foc/fixed16/foc_vel_opll.c b/industry/foc/fixed16/foc_vel_opll.c index 36abdd56a86..eecbe40d8bf 100644 --- a/industry/foc/fixed16/foc_vel_opll.c +++ b/industry/foc/fixed16/foc_vel_opll.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_vel_opll.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/industry/foc/fixed16/foc_velocity.c b/industry/foc/fixed16/foc_velocity.c index 74d34454cd2..c6f4af8a267 100644 --- a/industry/foc/fixed16/foc_velocity.c +++ b/industry/foc/fixed16/foc_velocity.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/fixed16/foc_velocity.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/industry/foc/float/foc_align.c b/industry/foc/float/foc_align.c index ffd6a7bb5ed..957e0083fb9 100644 --- a/industry/foc/float/foc_align.c +++ b/industry/foc/float/foc_align.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_align.c - * This file implements angle sensor alignment routine for float32 + * + * 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 diff --git a/industry/foc/float/foc_ang_hall.c b/industry/foc/float/foc_ang_hall.c index b69023a13cf..130a77f95e7 100644 --- a/industry/foc/float/foc_ang_hall.c +++ b/industry/foc/float/foc_ang_hall.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_ang_hall.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/industry/foc/float/foc_ang_onfo.c b/industry/foc/float/foc_ang_onfo.c index 665eba8320e..c00c826f6b0 100644 --- a/industry/foc/float/foc_ang_onfo.c +++ b/industry/foc/float/foc_ang_onfo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_ang_onfo.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/industry/foc/float/foc_ang_openloop.c b/industry/foc/float/foc_ang_openloop.c index d33f3016967..a8815319c79 100644 --- a/industry/foc/float/foc_ang_openloop.c +++ b/industry/foc/float/foc_ang_openloop.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_ang_openloop.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/industry/foc/float/foc_ang_osmo.c b/industry/foc/float/foc_ang_osmo.c index 4d31a399cf5..e509c12e979 100644 --- a/industry/foc/float/foc_ang_osmo.c +++ b/industry/foc/float/foc_ang_osmo.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_ang_osmo.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/industry/foc/float/foc_ang_qenco.c b/industry/foc/float/foc_ang_qenco.c index 9b6b436d285..44395dfd2bd 100644 --- a/industry/foc/float/foc_ang_qenco.c +++ b/industry/foc/float/foc_ang_qenco.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_ang_qenco.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/industry/foc/float/foc_angle.c b/industry/foc/float/foc_angle.c index 05f4db16ff7..78bde639ab3 100644 --- a/industry/foc/float/foc_angle.c +++ b/industry/foc/float/foc_angle.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_angle.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/industry/foc/float/foc_cordic.c b/industry/foc/float/foc_cordic.c index d66e6bc7b1c..f53c056744f 100644 --- a/industry/foc/float/foc_cordic.c +++ b/industry/foc/float/foc_cordic.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_cordic.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/industry/foc/float/foc_feedforward.c b/industry/foc/float/foc_feedforward.c index d6da4c53b95..922696fdd5d 100644 --- a/industry/foc/float/foc_feedforward.c +++ b/industry/foc/float/foc_feedforward.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_feedforward.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/industry/foc/float/foc_handler.c b/industry/foc/float/foc_handler.c index 6c3da8330be..c4496943970 100644 --- a/industry/foc/float/foc_handler.c +++ b/industry/foc/float/foc_handler.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_handler.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/industry/foc/float/foc_ident.c b/industry/foc/float/foc_ident.c index 53f5b7b06df..3713e8d44d2 100644 --- a/industry/foc/float/foc_ident.c +++ b/industry/foc/float/foc_ident.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_ident.c - * This file implements motor ident routine for float32 + * + * 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 diff --git a/industry/foc/float/foc_model.c b/industry/foc/float/foc_model.c index 97e0b2a865a..3587b969926 100644 --- a/industry/foc/float/foc_model.c +++ b/industry/foc/float/foc_model.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_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/industry/foc/float/foc_model_pmsm.c b/industry/foc/float/foc_model_pmsm.c index 072180da54e..a4eee53775e 100644 --- a/industry/foc/float/foc_model_pmsm.c +++ b/industry/foc/float/foc_model_pmsm.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_model_pmsm.c - * This file implements PMSM model for fixed16 + * + * 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 diff --git a/industry/foc/float/foc_picontrol.c b/industry/foc/float/foc_picontrol.c index b99a8e741e6..ee7964654a1 100644 --- a/industry/foc/float/foc_picontrol.c +++ b/industry/foc/float/foc_picontrol.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_picontrol.c - * This file implements classical FOC PI current controller for float32 + * + * 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 diff --git a/industry/foc/float/foc_ramp.c b/industry/foc/float/foc_ramp.c index ead70275210..e65d0696360 100644 --- a/industry/foc/float/foc_ramp.c +++ b/industry/foc/float/foc_ramp.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_ramp.c - * This file implements ramp for float32 + * + * 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 diff --git a/industry/foc/float/foc_routine.c b/industry/foc/float/foc_routine.c index 2e608137918..0f604e4fdf7 100644 --- a/industry/foc/float/foc_routine.c +++ b/industry/foc/float/foc_routine.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_routine.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/industry/foc/float/foc_svm3.c b/industry/foc/float/foc_svm3.c index 9c812e73488..5ba84116674 100644 --- a/industry/foc/float/foc_svm3.c +++ b/industry/foc/float/foc_svm3.c @@ -1,6 +1,7 @@ /**************************************************************************** * apps/industry/foc/float/foc_svm3.c - * This file implements 3-phase space vector modulation for float32 + * + * 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 diff --git a/industry/foc/float/foc_vel_odiv.c b/industry/foc/float/foc_vel_odiv.c index dfb8d820f5a..3ba70cbf101 100644 --- a/industry/foc/float/foc_vel_odiv.c +++ b/industry/foc/float/foc_vel_odiv.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_vel_odiv.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/industry/foc/float/foc_vel_opll.c b/industry/foc/float/foc_vel_opll.c index a18b6675c4c..b15ffcb359e 100644 --- a/industry/foc/float/foc_vel_opll.c +++ b/industry/foc/float/foc_vel_opll.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_vel_opll.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/industry/foc/float/foc_velocity.c b/industry/foc/float/foc_velocity.c index 0ffad5c5435..ba81a5e8ab5 100644 --- a/industry/foc/float/foc_velocity.c +++ b/industry/foc/float/foc_velocity.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/float/foc_velocity.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/industry/foc/foc_utils.c b/industry/foc/foc_utils.c index 27838f8e602..7e650577ace 100644 --- a/industry/foc/foc_utils.c +++ b/industry/foc/foc_utils.c @@ -1,6 +1,8 @@ /**************************************************************************** * apps/industry/foc/foc_utils.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/industry/scpi/Make.defs b/industry/scpi/Make.defs index 6ddfe132f57..f7e67a8469b 100644 --- a/industry/scpi/Make.defs +++ b/industry/scpi/Make.defs @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/scpi/Make.defs # +# 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/industry/scpi/Makefile b/industry/scpi/Makefile index 730bc28c7b3..c86267297ec 100644 --- a/industry/scpi/Makefile +++ b/industry/scpi/Makefile @@ -1,6 +1,8 @@ ############################################################################ # apps/industry/scpi/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