forked from DigilentInc/vivado-library
-
Notifications
You must be signed in to change notification settings - Fork 350
Open
Description
Hi,
This is my environment configuration
Board: Arty-7 35T
Oled: Pmod Oled
Vivado: 2022.1
vitis_hls: 2022.1
I tried to use the example driver code to program OLED display. However, it keeps popping up compile error. I couldn't figure out the exact reason.
/tools/Xilinx/Vitis/2022.1/gnu/microblaze/lin/x86_64-oesdk-linux/usr/bin/microblaze-xilinx-elf/microblaze-xilinx-elf-ld.real: ./src/OledDriver.o:~/Documents/verilog/Pmod_Arty/display/Debug/../src/ChrFont0.c:56: multiple definition of `rgbOledFont0'; ./src/ChrFont0.o:~/Documents/verilog/Pmod_Arty/display/Debug/../src/ChrFont0.c:56: first defined here
/tools/Xilinx/Vitis/2022.1/gnu/microblaze/lin/x86_64-oesdk-linux/usr/bin/microblaze-xilinx-elf/microblaze-xilinx-elf-ld.real: ./src/OledDriver.o:~/Documents/verilog/Pmod_Arty/display/Debug/../src/FillPat.c:54: multiple definition of `rgbFillPat'; ./src/FillPat.o:~/Documents/verilog/Pmod_Arty/display/Debug/../src/FillPat.c:54: first defined here
I do try to comment out the multiple definitions in FillPat.c and ChrFont0.c. Yet, it pops out undefine, which is quite weird.
Hope you guys can help me identify the problem.
Thanks in advance.
Best Regards,
Jack Lu
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels