Compilation error messages for e-ink EPD kit

Whether compiling the main branch or the 2.11 branch, there are multiple similar errors indicating duplicate definitions as shown below:

Building compilation database build_sf32-oed-epd_v11_hcpu\bootloader\compile_commands.json
C:/Users/sunwo/.sifli/tools/arm-none-eabi-gcc/14.2.1/bin/../lib/gcc/arm-none-eabi/14.2.1/../../../../arm-none-eabi/bin/ld.exe: build_sf32-oed-epd_v11_hcpu\bootloader\sifli_sdk\customer\boards\sf32-oed-epd_v11\base\bsp_init.o: in function BSP_GetFlash1DIV': F:\\github\\EPD_Reader\\SiFli-SDK\\customer\\boards\\sf32-oed-epd_base/bsp_init.c:26: **multiple definition** of BSP_GetFlash1DIV`;
build_sf32-oed-epd_v11_hcpu\bootloader\sifli_sdk\customer\boards\sf32-oed-epd_base\bsp_init.o:F:\github\EPD_Reader\SiFli-SDK\customer\boards\sf32-oed-epd_base/bsp_init.c:26: first defined here

Previously, .\install.ps1 and .\export.ps1 were executed successfully.

Are you compiling using the SDK pulled from the e-ink screen project? If not, please re-fetch it, then run the command below to set up the environment and proceed with compilation.

git submodule update --init --recursive

Yes, I’m using the SDK from the engineering-specified submodule. I’ll try again with the provided command. Thanks.

Currently, on various platforms, there are almost no successful application examples of this e-ink display kit. I’ve asked several other developers, and they’re also stuck on environment setup and project compilation.

Tried it, but the issue still persists.

If possible, could you please pull the code from the GitHub project, create a clean project, and check whether it can compile successfully?

Once I’ve resolved the initial issues on my side, it will be easier to promote it to other developers. :confused:

1 Like

I’m directly pulling the GitHub code (command as below), then running install.ps1 under sdk, followed by export.ps1 to launch the environment. After that, I go into the project directory and compile using scons --board=sf32-oed-epd_v11 --board_search_path=.. -j8, and I haven’t encountered the error you mentioned. You could try deleting the build files first and recompiling. If it still doesn’t work, please let me know which version branch you’re using so I can try to reproduce it. By the way, I’m currently using the main branch.

git clone --recursive https://github.com/OpenSiFli/EPD_Reader.git


1 Like

Also, did you make any modifications? Normally, the sf32-oed-epd_base file shouldn’t exist in the path below—did you add it yourself? If so, you could try deleting it first and then testing again.


Thank you very much. I’ll try again carefully and provide feedback later.

Today I followed up and created a new project again, and this time it compiled successfully :victory_hand:

However, after downloading, I noticed the serial port messages kept restarting repeatedly, and the screen didn’t respond. I’ll debug it first.

Thanks a lot~

You can check that board version v1.1 corresponds to project v11, and v1.2 corresponds to project v12.

Yes, the hardware is indeed V1.2.

The serial output is as follows; currently checking the cause. Have already tried with different TF cards.

Serial:c2,Chip:4,Package:3,Rev:3 Reason:00000000

Serial PowerOnMode:0 rtc_record:00000000

\ | /

  • SiFli Corporation
    / | \ build on Apr 9 2026, 2.4.0 build a78a5c39
    2020 - 2022 Copyright by SiFli team
    mount /dev success
    [BUS]spi1 probe sdcard…
    [MSD] 15 [info] SD card goto IDLE mode OK!

[MSD] 16 [info] CMD8 response : 0x01 0x00 0x00 0x01 0xAA

[MSD] 17 [info] Ver2.00 or later or SDHC or SDXC memory card!

[MSD] 17 SD_V2: READ_OCR
[MSD] 18 response:1,0,ff,80
[MSD] 19 [info] OCR is 0x00FF8000

SFBL
SFBL
SFBL
SFBL
SFBL
Serial:c2,Chip:4,Package:3,Rev:3 Reason:00000000

Serial PowerOnMode:0 rtc_record:00000000

Found the reason—it’s because the battery wasn’t connected; only the USB cable was plugged in.