Stm32f4cube 1.11.0 have a bug
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-10 10:05 PM
Posted on February 11, 2016 at 07:05
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.
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-10 11:31 PM
Posted on February 11, 2016 at 08:31
Dear user,
You shall enable FreeRTOS to see the middleware initialization done in a task. Best regardsOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-02-12 8:13 AM
Posted on February 12, 2016 at 17:13
Hello . Yes I use freertos. some init function must be declared in Default task only to work.
usb init , sdio init , and ...