AnsweredAssumed Answered

Stm32f4cube 1.11.0 have a bug

Question asked by askari.nima on Feb 11, 2016
Latest reply on Feb 12, 2016 by askari.nima
when I enable USB host and FatFs , Init function in Main created . But it dose not work


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();


  /* Configure the system clock */
  SystemClock_Config();


  /* Initialize all configured peripherals */
  MX_GPIO_Init();
  MX_DMA_Init();
  MX_ADC1_Init();
  MX_ADC2_Init();
  MX_CRC_Init();
  MX_FSMC_Init();
  MX_IWDG_Init();
  MX_SDIO_SD_Init();
  MX_SPI1_Init();
  MX_SPI2_Init();
  MX_SPI3_Init();
  MX_TIM1_Init();
  MX_UART4_Init();
  MX_USART1_UART_Init();
  MX_USART2_UART_Init();
  MX_USART6_UART_Init();
  MX_FATFS_Init();               // <<<<<<<
  MX_USB_HOST_Init();          // <<<<<<<

this 2 function must be in a task. 

Outcomes