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 86c416d + ec26c61 commit 002ca34Copy full SHA for 002ca34
hw/bsp/imxrt/family.c
@@ -55,6 +55,12 @@ const uint8_t dcd_data[] = { 0x00 };
55
56
void board_init(void)
57
{
58
+ // make sure the dcache is on.
59
+#if defined(__DCACHE_PRESENT) && __DCACHE_PRESENT
60
+ if (SCB_CCR_DC_Msk != (SCB_CCR_DC_Msk & SCB->CCR))
61
+ SCB_EnableDCache();
62
+#endif
63
+
64
// Init clock
65
BOARD_BootClockRUN();
66
SystemCoreClockUpdate();
0 commit comments