Hello everyone, I am attempting to use uGFX in my STM32 Project, but I have some problem now.
I followed the instructions of uGFX Wiki Getting Started.
First, I added "include $(GFXLIB)/gfx.mk" in my makefile and defined "GFX_USE_OS_RAW32" in gfxconf.h as "TRUE". Everything was fine.
Then I added "include $(GFXLIB)/src/gos/gos.mk" and "OPT_OS = raw32" in makefile, and something went wrong.
The following picture is the output of terminal.
I failed to link all objective files, and it tells me "xxx.c:#: multiple definition of `functioin()', xxx.c:#: first defined here". "xxx.c" means the same source file.
And this is my arm-none-eabi-ld option : "LDFLAGS = -lnosys -fno-exceptions -fdata-sections"
I hope the community could solve my problem. I will be very appreciate for any help.