Skip to content

Oled Driver not working #64

@jacklu333333

Description

@jacklu333333

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions