fix build with mm32 board

This commit is contained in:
hathach
2021-06-18 17:18:11 +07:00
parent 5006b1065a
commit 82618d2d5f
12 changed files with 251 additions and 185 deletions

View File

@@ -45,7 +45,11 @@
// Include MCU header
#include "bsp/board_mcu.h"
#if CFG_TUSB_MCU == OPT_MCU_MM32F327X
extern u32 SystemCoreClock;
#else
extern uint32_t SystemCoreClock;
#endif
/* Cortex M23/M33 port configuration. */
#define configENABLE_MPU 0