Sfoglia il codice sorgente

Rename include guards to align to naming convention (#91)

ISSUE=https://github.com/ARM-software/CMSIS-NN/issues/89
Måns Nilsson 2 anni fa
parent
commit
29c331e2f8

+ 6 - 6
Include/arm_nn_tables.h

@@ -1,5 +1,5 @@
 /*
 /*
- * SPDX-FileCopyrightText: Copyright 2010-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
+ * SPDX-FileCopyrightText: Copyright 2010-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
  *
  *
  * SPDX-License-Identifier: Apache-2.0
  * SPDX-License-Identifier: Apache-2.0
  *
  *
@@ -21,14 +21,14 @@
  * Title:        arm_nn_tables.h
  * Title:        arm_nn_tables.h
  * Description:  Extern declaration for NN tables
  * Description:  Extern declaration for NN tables
  *
  *
- * $Date:        28 October 2022
- * $Revision:    V.2.1.0
+ * $Date:        8 December 2022
+ * $Revision:    V.2.1.1
  *
  *
  * Target Processor:  Cortex-M cores
  * Target Processor:  Cortex-M cores
  * -------------------------------------------------------------------- */
  * -------------------------------------------------------------------- */
 
 
-#ifndef _ARM_NN_TABLES_H
-#define _ARM_NN_TABLES_H
+#ifndef ARM_NN_TABLES_H
+#define ARM_NN_TABLES_H
 
 
 #include "arm_nn_math_types.h"
 #include "arm_nn_math_types.h"
 
 
@@ -39,4 +39,4 @@
 
 
 extern const uint16_t sigmoid_table_uint16[256];
 extern const uint16_t sigmoid_table_uint16[256];
 
 
-#endif /*  ARM_NN_TABLES_H */
+#endif /*  ARM_NN_TABLES_H */

+ 5 - 5
Include/arm_nn_types.h

@@ -22,14 +22,14 @@
  * Description:  Public header file to contain the CMSIS-NN structs for the
  * Description:  Public header file to contain the CMSIS-NN structs for the
  *               TensorFlowLite micro compliant functions
  *               TensorFlowLite micro compliant functions
  *
  *
- * $Date:        27 October 2023
- * $Revision:    V.2.6.0
+ * $Date:        8 December 2023
+ * $Revision:    V.2.6.1
  *
  *
  * Target :  Arm(R) M-Profile Architecture
  * Target :  Arm(R) M-Profile Architecture
  * -------------------------------------------------------------------- */
  * -------------------------------------------------------------------- */
 
 
-#ifndef _ARM_NN_TYPES_H
-#define _ARM_NN_TYPES_H
+#ifndef ARM_NN_TYPES_H
+#define ARM_NN_TYPES_H
 
 
 #include <stdint.h>
 #include <stdint.h>
 
 
@@ -267,4 +267,4 @@ typedef struct
 
 
 } cmsis_nn_lstm_params;
 } cmsis_nn_lstm_params;
 
 
-#endif // _ARM_NN_TYPES_H
+#endif /* ARM_NN_TYPES_H */

+ 5 - 5
Include/arm_nnfunctions.h

@@ -21,8 +21,8 @@
  * Title:        arm_nnfunctions.h
  * Title:        arm_nnfunctions.h
  * Description:  Public header file for CMSIS NN Library
  * Description:  Public header file for CMSIS NN Library
  *
  *
- * $Date:        10 November 2023
- * $Revision:    V.12.4.0
+ * $Date:        8 December 2023
+ * $Revision:    V.12.4.1
 
 
  *
  *
  * Target :  Arm(R) M-Profile Architecture
  * Target :  Arm(R) M-Profile Architecture
@@ -109,8 +109,8 @@
  * TensorFlow Lite framework.
  * TensorFlow Lite framework.
  */
  */
 
 
-#ifndef _ARM_NNFUNCTIONS_H
-#define _ARM_NNFUNCTIONS_H
+#ifndef ARM_NNFUNCTIONS_H
+#define ARM_NNFUNCTIONS_H
 
 
 #include "arm_nn_math_types.h"
 #include "arm_nn_math_types.h"
 #include "arm_nn_types.h"
 #include "arm_nn_types.h"
@@ -2606,4 +2606,4 @@ int32_t arm_svdf_s8_get_buffer_size_mve(const cmsis_nn_dims *filter_dims);
 }
 }
 #endif
 #endif
 
 
-#endif
+#endif /* ARM_NNFUNCTIONS_H */

+ 5 - 5
Include/arm_nnsupportfunctions.h

@@ -21,14 +21,14 @@
  * Title:        arm_nnsupportfunctions.h
  * Title:        arm_nnsupportfunctions.h
  * Description:  Public header file of support functions for CMSIS NN Library
  * Description:  Public header file of support functions for CMSIS NN Library
  *
  *
- * $Date:        13 November 2023
- * $Revision:    V.17.6.0
+ * $Date:        8 December 2023
+ * $Revision:    V.17.6.2
  *
  *
  * Target :  Arm(R) M-Profile Architecture
  * Target :  Arm(R) M-Profile Architecture
  * -------------------------------------------------------------------- */
  * -------------------------------------------------------------------- */
 
 
-#ifndef _ARM_NNSUPPORTFUNCTIONS_H_
-#define _ARM_NNSUPPORTFUNCTIONS_H_
+#ifndef ARM_NNSUPPORTFUNCTIONS_H
+#define ARM_NNSUPPORTFUNCTIONS_H
 
 
 #include "Internal/arm_nn_compiler.h"
 #include "Internal/arm_nn_compiler.h"
 #include "arm_nn_math_types.h"
 #include "arm_nn_math_types.h"
@@ -1561,4 +1561,4 @@ arm_cmsis_nn_status arm_elementwise_mul_s16_s8(const int16_t *input_1_vect,
 }
 }
 #endif
 #endif
 
 
-#endif
+#endif /* ARM_NNSUPPORTFUNCTIONS_H */

+ 4 - 4
Tests/UnitTest/Corstone-300/uart.h

@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright (c) 2019-2021 Arm Limited. All rights reserved.
+ * SPDX-FileCopyrightText: Copyright 2019-2021, 2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
  *
  *
  * SPDX-License-Identifier: Apache-2.0
  * SPDX-License-Identifier: Apache-2.0
  *
  *
@@ -16,8 +16,8 @@
  * limitations under the License.
  * limitations under the License.
  */
  */
 
 
-#ifndef _UART_STDOUT_H_
-#define _UART_STDOUT_H_
+#ifndef UART_STDOUT_H
+#define UART_STDOUT_H
 
 
 #if __cplusplus
 #if __cplusplus
 extern "C" {
 extern "C" {
@@ -31,4 +31,4 @@ unsigned char uart_getc(void);
 }
 }
 #endif
 #endif
 
 
-#endif
+#endif /* UART_STDOUT_H */