This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Target not created.

While compiling code, getting this error.

compiling stm32f4xx_hal_pwr_ex.c...
compiling stm32f4xx_hal_dma.c...
compiling croutine.c...
compiling event_groups.c...
compiling list.c...
compiling stm32f4xx_hal_cortex.c...
compiling stm32f4xx_hal.c...
compiling stream_buffer.c...
compiling stm32f4xx_hal_pwr.c...
compiling stm32f4xx_hal_exti.c...
compiling tasks.c...
compiling queue.c...
compiling timers.c...
compiling heap_1.c...
compiling system_stm32f4xx.c...
compiling port.c...
compiling cmsis_os2.c...
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(611): warning:  #177-D: variable "hTask"  was declared but never referenced
    TaskHandle_t hTask = (TaskHandle_t)thread_id;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(1008): warning:  #177-D: variable "hTimer"  was declared but never referenced
    TimerHandle_t hTimer = (TimerHandle_t)timer_id;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(1188): warning:  #177-D: variable "hEventGroup"  was declared but never referenced
    EventGroupHandle_t hEventGroup = (EventGroupHandle_t)ef_id;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(1557): warning:  #177-D: variable "hSemaphore"  was declared but never referenced
    SemaphoreHandle_t hSemaphore = (SemaphoreHandle_t)semaphore_id;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c(1806): warning:  #177-D: variable "hQueue"  was declared but never referenced
    QueueHandle_t hQueue = (QueueHandle_t)mq_id;
../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c: 5 warnings, 0 errors
linking...
rtos\rtos.axf: Error: L6200E: Symbol vApplicationMallocFailedHook multiply defined (by cmsis_os2.o and freertos.o).
Not enough information to list image symbols.
Not enough information to list load addresses in the image map.
Finished: 2 information, 0 warning and 1 error messages.
"rtos\rtos.axf" - 1 Error(s), 5 Warning(s).
Target not created.