Skip to content

Commit

Permalink
industry: migrate to SPDX identifier
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jerpelea authored and xiaoxiang781216 committed Dec 19, 2024
1 parent b36ff44 commit b0edcb7
Show file tree
Hide file tree
Showing 52 changed files with 104 additions and 13 deletions.
2 changes: 2 additions & 0 deletions industry/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/Make.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/abnt_codi/Make.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/abnt_codi/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/abnt_codi/abnt_codi.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/Make.defs
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/Makefile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_align.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_ang_hall.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_ang_onfo.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_ang_openloop.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_ang_osmo.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_ang_qenco.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_angle.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_cordic.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_feedforward.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_handler.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_ident.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_model.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_model_pmsm.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_picontrol.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_ramp.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_routine.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/fixed16/foc_svm3.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_vel_odiv.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_vel_opll.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/fixed16/foc_velocity.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/float/foc_align.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_ang_hall.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_ang_onfo.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_ang_openloop.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_ang_osmo.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_ang_qenco.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_angle.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_cordic.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_feedforward.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_handler.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/float/foc_ident.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 2 additions & 0 deletions industry/foc/float/foc_model.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/float/foc_model_pmsm.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/float/foc_picontrol.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 2 additions & 1 deletion industry/foc/float/foc_ramp.c
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading

0 comments on commit b0edcb7

Please sign in to comment.