mirror of https://github.com/ARMmbed/mbed-os.git
README update STM32F4 to CUBE V1.26.1
parent
e18d280ede
commit
b62970fdf1
|
@ -65,7 +65,7 @@ This table summarizes the STM32Cube versions currently used in Mbed OS master br
|
|||
| F1 | 1.8.3 | https://github.com/STMicroelectronics/STM32CubeF1 |
|
||||
| F2 | 1.6.0 | https://github.com/STMicroelectronics/STM32CubeF2 |
|
||||
| F3 | 1.11.2 | https://github.com/STMicroelectronics/STM32CubeF3 |
|
||||
| F4 | 1.26.0 | https://github.com/STMicroelectronics/STM32CubeF4 |
|
||||
| F4 | 1.26.1 | https://github.com/STMicroelectronics/STM32CubeF4 |
|
||||
| F7 | 1.16.0 | https://github.com/STMicroelectronics/STM32CubeF7 |
|
||||
| G0 | 1.4.1 | https://github.com/STMicroelectronics/STM32CubeG0 |
|
||||
| G4 | 1.1.0 | https://github.com/STMicroelectronics/STM32CubeG4 |
|
||||
|
|
|
@ -104,9 +104,7 @@
|
|||
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
|
||||
This value must be a multiple of 0x200. */
|
||||
#else
|
||||
#include "nvic_addr.h" // MBED
|
||||
SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; // MBED
|
||||
This value must be a multiple of 0x200. */
|
||||
|
||||
#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table base offset field.
|
||||
This value must be a multiple of 0x200. */
|
||||
#endif /* VECT_TAB_SRAM */
|
||||
|
@ -168,6 +166,9 @@ const uint8_t APBPrescTable[8] = {0, 0, 0, 0, 1, 2, 3, 4};
|
|||
*/
|
||||
void SystemInit(void)
|
||||
{
|
||||
#include "nvic_addr.h" // MBED
|
||||
SCB->VTOR = NVIC_FLASH_VECTOR_ADDRESS; // MBED
|
||||
|
||||
/* FPU settings ------------------------------------------------------------*/
|
||||
#if (__FPU_PRESENT == 1) && (__FPU_USED == 1)
|
||||
SCB->CPACR |= ((3UL << 10*2)|(3UL << 11*2)); /* set CP10 and CP11 Full Access */
|
||||
|
|
Loading…
Reference in New Issue