Skip to content

Commit 9e21fcc

Browse files
committed
[STM32F1] update CMSIS files from last Cube_HAL release
1 parent 318da54 commit 9e21fcc

File tree

18 files changed

+14120
-6197
lines changed

18 files changed

+14120
-6197
lines changed

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* A generic CMSIS include header
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* CMSIS-style functionality to support dynamic vectors
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* CMSIS-style functionality to support dynamic vectors
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2>
1010
*
1111
* Redistribution and use in source and binary forms, with or without modification,
1212
* are permitted provided that the following conditions are met:

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/hal_tick.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
1010
*
1111
* Redistribution and use in source and binary forms, with or without modification,
1212
* are permitted provided that the following conditions are met:

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f100xb.h

Lines changed: 5068 additions & 2320 deletions
Large diffs are not rendered by default.

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/stm32f1xx.h

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file stm32f1xx.h
44
* @author MCD Application Team
5-
* @version V4.0.0
6-
* @date 16-December-2014
5+
* @version V4.1.0
6+
* @date 29-April-2016
77
* @brief CMSIS STM32F1xx Device Peripheral Access Layer Header File.
88
*
99
* The file is the unique include file that the application programmer
@@ -18,7 +18,7 @@
1818
******************************************************************************
1919
* @attention
2020
*
21-
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
21+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
2222
*
2323
* Redistribution and use in source and binary forms, with or without modification,
2424
* are permitted provided that the following conditions are met:
@@ -110,14 +110,14 @@
110110
/**
111111
* @brief CMSIS Device version number V4.0.0
112112
*/
113-
#define __STM32F1xx_CMSIS_DEVICE_VERSION_MAIN (0x04) /*!< [31:24] main version */
114-
#define __STM32F1xx_CMSIS_DEVICE_VERSION_SUB1 (0x00) /*!< [23:16] sub1 version */
115-
#define __STM32F1xx_CMSIS_DEVICE_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
116-
#define __STM32F1xx_CMSIS_DEVICE_VERSION_RC (0x00) /*!< [7:0] release candidate */
117-
#define __STM32F1xx_CMSIS_DEVICE_VERSION ((__CMSIS_DEVICE_VERSION_MAIN << 24)\
118-
|(__CMSIS_DEVICE_HAL_VERSION_SUB1 << 16)\
119-
|(__CMSIS_DEVICE_HAL_VERSION_SUB2 << 8 )\
120-
|(__CMSIS_DEVICE_HAL_VERSION_RC))
113+
#define __STM32F1_CMSIS_VERSION_MAIN (0x04) /*!< [31:24] main version */
114+
#define __STM32F1_CMSIS_VERSION_SUB1 (0x01) /*!< [23:16] sub1 version */
115+
#define __STM32F1_CMSIS_VERSION_SUB2 (0x00) /*!< [15:8] sub2 version */
116+
#define __STM32F1_CMSIS_VERSION_RC (0x00) /*!< [7:0] release candidate */
117+
#define __STM32F1_CMSIS_VERSION ((__STM32F1_CMSIS_VERSION_MAIN << 24)\
118+
|(__STM32F1_CMSIS_VERSION_SUB1 << 16)\
119+
|(__STM32F1_CMSIS_VERSION_SUB2 << 8 )\
120+
|(__STM32F1_CMSIS_VERSION_RC))
121121

122122
/**
123123
* @}

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
******************************************************************************
33
* @file system_stm32f1xx.c
44
* @author MCD Application Team
5-
* @version V4.0.0
6-
* @date 16-December-2014
5+
* @version V4.1.0
6+
* @date 29-April-2016
77
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
88
*
99
* 1. This file provides two functions and one global variable to be called from
@@ -50,7 +50,7 @@
5050
******************************************************************************
5151
* @attention
5252
*
53-
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
53+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
5454
*
5555
* Redistribution and use in source and binary forms, with or without modification,
5656
* are permitted provided that the following conditions are met:
@@ -160,6 +160,8 @@
160160
#endif
161161

162162
const uint8_t AHBPrescTable[16] = {0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 3, 4, 6, 7, 8, 9};
163+
const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
164+
163165
/**
164166
* @}
165167
*/

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_DISCO_F100RB/system_stm32f1xx.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
******************************************************************************
33
* @file system_stm32f10x.h
44
* @author MCD Application Team
5-
* @version V4.0.0
6-
* @date 16-December-2014
5+
* @version V4.1.0
6+
* @date 29-April-2016
77
* @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Header File.
88
******************************************************************************
99
* @attention
1010
*
11-
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
11+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
1212
*
1313
* Redistribution and use in source and binary forms, with or without modification,
1414
* are permitted provided that the following conditions are met:
@@ -67,6 +67,8 @@
6767
*/
6868

6969
extern uint32_t SystemCoreClock; /*!< System Clock Frequency (Core Clock) */
70+
extern const uint8_t AHBPrescTable[16]; /*!< AHB prescalers table values */
71+
extern const uint8_t APBPrescTable[8]; /*!< APB prescalers table values */
7072

7173
/**
7274
* @}

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* A generic CMSIS include header
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* CMSIS-style functionality to support dynamic vectors
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/cmsis_nvic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/* mbed Microcontroller Library
22
* CMSIS-style functionality to support dynamic vectors
33
*******************************************************************************
4-
* Copyright (c) 2014, STMicroelectronics
4+
* Copyright (c) 2016, STMicroelectronics
55
* All rights reserved.
66
*
77
* Redistribution and use in source and binary forms, with or without

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT 2014 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; COPYRIGHT 2016 STMicroelectronics</center></h2>
1010
*
1111
* Redistribution and use in source and binary forms, with or without modification,
1212
* are permitted provided that the following conditions are met:

libraries/mbed/targets/cmsis/TARGET_STM/TARGET_STM32F1/TARGET_NUCLEO_F103RB/hal_tick.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
******************************************************************************
77
* @attention
88
*
9-
* <h2><center>&copy; COPYRIGHT(c) 2014 STMicroelectronics</center></h2>
9+
* <h2><center>&copy; COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
1010
*
1111
* Redistribution and use in source and binary forms, with or without modification,
1212
* are permitted provided that the following conditions are met:

0 commit comments

Comments
 (0)