Error: undefined reference to
Hello! I have a problem with the error: undefined reference that is `TFT_FillRectangle ‘main.c. Only for this function, the other functions work in normally. In Keil everything works without errors, but there is an error in the System Workbench for stm32. Maybe something is wrong in the settings?
Help me please...
Bord, STM32F746G-Discovery, project for LTDC.
Log:
arm-none-eabi-gcc -mcpu=cortex-m7 -mthumb -mfloat-abi=hard -mfpu=fpv5-sp-d16 -specs=nosys.specs -specs=nano.specs -T”../STM32F746NGHx_FLASH.ld” -Wl,-Map=output.map -Wl,--gc-sections -o “LTDC.elf” @”objects.list” -lm
Src/main.o: In function `main’:
/home/oleg/System_Workworkbench/STM32F7/LTDC/Debug/../Src/main.c:121: undefined reference to `TFT_FillRectangle’
collect2: error: ld returned 1 exit status
makefile:35: ошибка выполнения рецепта для цели «LTDC.elf»
make: *** LTDC.elf Ошибка 1