mbed library sources
Dependents: Encrypted my_mbed lklk CyaSSL_DTLS_Cellular ... more
Superseded
This library was superseded by mbed-dev - https://os.mbed.com/users/mbed_official/code/mbed-dev/.
Development branch of the mbed library sources. This library is kept in synch with the latest changes from the mbed SDK and it is not guaranteed to work.
If you are looking for a stable and tested release, please import one of the official mbed library releases:
Import librarymbed
The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.
Diff: targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c
- Revision:
- 582:a89625bcd809
- Parent:
- 573:ad23fe03a082
- Child:
- 610:813dcc80987e
--- a/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c Thu Jul 02 16:30:08 2015 +0100 +++ b/targets/cmsis/TARGET_STM/TARGET_STM32F7/TARGET_DISCO_F746NG/system_stm32f7xx.c Mon Jul 06 09:00:34 2015 +0100 @@ -227,6 +227,10 @@ SystemCoreClock = HSI_VALUE; // At this stage the HSI is used as system clock HAL_Init(); + // Enable CPU L1-Cache + SCB_EnableICache(); + SCB_EnableDCache(); + /* Configure the System clock source, PLL Multiplier and Divider factors, AHB/APBx prescalers and Flash settings */ SetSysClock(); @@ -575,10 +579,6 @@ RCC_ClkInitTypeDef RCC_ClkInitStruct; RCC_OscInitTypeDef RCC_OscInitStruct; - // Enable CPU L1-Cache - SCB_EnableICache(); - SCB_EnableDCache(); - // Enable power clock __PWR_CLK_ENABLE();