We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b67ad86 + 1c91512 commit 850343fCopy full SHA for 850343f
bsp/stm32f7-disco/drivers/board.c
@@ -25,7 +25,7 @@
25
#include <rtthread.h>
26
#include "board.h"
27
#include "sram.h"
28
-
+#include "drv_mpu.h"
29
30
/**
31
* @addtogroup STM32
@@ -165,7 +165,7 @@ void HAL_ResumeTick(void)
165
void rt_hw_board_init()
166
{
167
/* Configure the MPU attributes as Write Through */
168
- //mpu_init();
+ mpu_init();
169
170
/* Enable the CPU Cache */
171
CPU_CACHE_Enable();
bsp/stm32f7-disco/drivers/drv_mpu.c
@@ -81,4 +81,4 @@ int mpu_init(void)
81
HAL_MPU_Enable(MPU_PRIVILEGED_DEFAULT);
82
return 0;
83
}
84
-INIT_BOARD_EXPORT(mpu_init);
+//INIT_BOARD_EXPORT(mpu_init);
0 commit comments