Skip to content

Commit 105cfde

Browse files
author
Filip Jagodziński
authored
Fix undefined identifier in system_x headers
All header files present in Device/ARM/x/Include/system_x.h declare `SystemCoreClock` as `uint32_t` but some of them fail to provide a typedef for `uint32_t`. As a result, one can only use these headers after providing a definition of the type. Add a missing include directive for `stdint.h` and fix the following error: Device/ARM/ARMCM85/Include/system_ARMCM85.h:40:8: error:unknown type name 'uint32_t' 40 | extern uint32_t SystemCoreClock; Signed-off-by: Filip Jagodzinski <[email protected]>
1 parent feefadc commit 105cfde

File tree

17 files changed

+84
-50
lines changed

17 files changed

+84
-50
lines changed

Device/ARM/ARMCM0/Include/system_ARMCM0.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM0.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM0 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM0plus/Include/system_ARMCM0plus.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM0plus.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM0 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM1/Include/system_ARMCM1.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM1.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM1 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM23/Include/system_ARMCM23.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM23.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM23 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM3/Include/system_ARMCM3.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM3.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM3 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM33/Include/system_ARMCM33.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM33.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM33 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM35P/Include/system_ARMCM35P.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM35P.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM35P Device
5-
* @version V1.0.1
6-
* @date 15. November 2019
5+
* @version V1.0.2
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM4/Include/system_ARMCM4.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM4.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM4 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM55/Include/system_ARMCM55.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM55.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM55 Device
5-
* @version V1.0.0
6-
* @date 20. February 2020
5+
* @version V1.0.1
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2020 Arm Limited. All rights reserved.
9+
* Copyright (c) 2020-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM7/Include/system_ARMCM7.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMCM7.h
33
* @brief CMSIS Device System Header File for
44
* ARMCM7 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMCM85/Include/system_ARMCM85.h

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**************************************************************************//**
22
* @file system_ARMCM85.h
33
* @brief CMSIS Device System Header File for ARMCM85 Device
4-
* @version V1.0.0
5-
* @date 07. February 2022
4+
* @version V1.0.1
5+
* @date 11. July 2022
66
******************************************************************************/
77
/*
88
* Copyright (c) 2022 Arm Limited. All rights reserved.
@@ -29,6 +29,8 @@
2929
extern "C" {
3030
#endif
3131

32+
#include <stdint.h>
33+
3234
/**
3335
\brief Exception / Interrupt Handler Function Prototype
3436
*/

Device/ARM/ARMSC000/Include/system_ARMSC000.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMSC000.h
33
* @brief CMSIS Device System Header File for
44
* ARMSC000 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMSC300/Include/system_ARMSC300.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMSC300.h
33
* @brief CMSIS Device System Header File for
44
* ARMSC300 Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMv81MML/Include/system_ARMv81MML.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMv81MML.h
33
* @brief CMSIS Device System Header File for
44
* Armv8.1-M Mainline Device Series
5-
* @version V1.0.1
6-
* @date 15. Novemer 2019
5+
* @version V1.0.2
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMv8MBL/Include/system_ARMv8MBL.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMv8MBL.h
33
* @brief CMSIS Device System Header File for
44
* ARMv8MBL Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

Device/ARM/ARMv8MML/Include/system_ARMv8MML.h

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
* @file system_ARMv8MML.h
33
* @brief CMSIS Device System Header File for
44
* ARMv8MML Device
5-
* @version V5.3.2
6-
* @date 15. November 2019
5+
* @version V5.3.3
6+
* @date 11. July 2022
77
******************************************************************************/
88
/*
9-
* Copyright (c) 2009-2019 Arm Limited. All rights reserved.
9+
* Copyright (c) 2009-2022 Arm Limited. All rights reserved.
1010
*
1111
* SPDX-License-Identifier: Apache-2.0
1212
*
@@ -30,6 +30,8 @@
3030
extern "C" {
3131
#endif
3232

33+
#include <stdint.h>
34+
3335
/**
3436
\brief Exception / Interrupt Handler Function Prototype
3537
*/

0 commit comments

Comments
 (0)