add uf2 linker for metro m7 1011

This commit is contained in:
hathach
2023-02-13 12:29:31 +07:00
parent 49c621d510
commit fb5fd22c73
3 changed files with 9 additions and 6 deletions

View File

@@ -57,8 +57,7 @@ void board_init(void)
{
// make sure the dcache is on.
#if defined(__DCACHE_PRESENT) && __DCACHE_PRESENT
if (SCB_CCR_DC_Msk != (SCB_CCR_DC_Msk & SCB->CCR))
SCB_EnableDCache();
if (SCB_CCR_DC_Msk != (SCB_CCR_DC_Msk & SCB->CCR)) SCB_EnableDCache();
#endif
// Init clock