B-G431B-ESC1 HardFault with MCW generated code
I generated some code with the default "Electronic speed control on B-G431B-ESC1 kit" project in Motor Control WorkBench. Then when I flash the default code I get a HardFault when calling `__HAL_FLASH_PREFETCH_BUFFER_ENABLE()` in `HAL_Init()`:
int main(void)
{
/* USER CODE BEGIN 1 */
/* USER CODE END 1 */
/* MCU Configuration--------------------------------------------------------*/
/* Reset of all peripherals, Initializes the Flash interface and the Systick. */
HAL_Init();
...
HAL_StatusTypeDef HAL_Init(void)...
#if (PREFETCH_ENABLE != 0U)
__HAL_FLASH_PREFETCH_BUFFER_ENABLE();
#endif /* PREFETCH_ENABLE */MC Workbench v6.2
CubeMX version 6.9.2
CubeIDE version 1.14.0

