Question
Undefined reference to HAL_UART_Init
Anyone knows how to fix undefined reference to HAL_UART_Init,HAL_UART_receive
I included all necessary files for this but somehow it doesn't find any reference
#include "stm32f4xx_hal.h"
#include "stm32f4xx_hal_conf.h"
#include "usb_device.h"
#include "usbd_comp_if.h"
#include "usbd_comp.h"
#include "usb_device.h"
#include "stm32f4xx_hal_usart.h"
#include "stm32f4xx_hal_uart.h"
#include <stm32f4xx_hal_uart.c>
#include "usbd_comp_if.h"
#include "usbd_comp.h"
#include "main.h"
#include <stm32f4xx_hal.h>
#include <stm32_hal_legacy.h>
extern HAL_StatusTypeDef HAL_UART_Init(UART_HandleTypeDef *huart);