so this is where I got stuck after updating those missing #define symbols
I added them in drivers\lhal\include\bflb_dma.h for BL808 as defined
All compilation steps went thru but at the and of linking got errors
[ 80%] Built target lvgl
[ 81%] Linking C static library build_out\lib\libapp.a
[100%] Built target app
[100%] Linking C executable build_out\lvgl_bl808_m0.elf
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: build_out\lib\libapp.a(bl_mipi_dbi.c.obj): in function `dbi_tc_callback':
C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:40: undefined reference to `bflb_dbi_link_txdma'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:43: undefined reference to `bflb_dbi_int_clear'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:44: undefined reference to `bflb_dbi_tcint_mask'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:56: undefined reference to `bflb_dbi_link_txdma'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: build_out\lib\libapp.a(bl_mipi_dbi.c.obj): in function `lcd_dbi_init':
C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:151: undefined reference to `bflb_dbi_init'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:152: undefined reference to `bflb_dbi_feature_control'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:154: undefined reference to `bflb_dbi_tcint_mask'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: build_out\lib\libapp.a(bl_mipi_dbi.c.obj): in function `lcd_dbi_transmit_cmd_para':
C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:137: undefined reference to `bflb_dbi_send_cmd_data'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: build_out\lib\libapp.a(bl_mipi_dbi.c.obj): in function `lcd_dbi_transmit_cmd_pixel_async':
C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:206: undefined reference to `bflb_dbi_feature_control'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:218: undefined reference to `bflb_dbi_send_cmd_pixel'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:221: undefined reference to `bflb_dbi_tcint_mask'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:224: undefined reference to `bflb_dbi_link_txdma'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: build_out\lib\libapp.a(bl_mipi_dbi.c.obj): in function `lcd_dbi_transmit_cmd_pixel_fill_sync':
C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:238: undefined reference to `bflb_dbi_feature_control'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:241: undefined reference to `bflb_dbi_send_cmd_pixel'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:245: undefined reference to `bflb_dbi_feature_control'
c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\c:/iot/bouffalo/toolchain_gcc_t-head_windows/bin/../lib/gcc/riscv64-unknown-elf/10.2.0/../../../../riscv64-unknown-elf/bin/ld.exe: C:\\IoT\\Bouffalo\\bouffalo_sdk\\examples\\lvgl\\build/.\bsp\common\lcd\mipi_dbi/bl_mipi_dbi.c:259: undefined reference to `bflb_dbi_int_clear'
Memory region Used Size Region Size %age Used
fw_header_memory: 352 B 4 KB 8.59%
xip_memory: 386520 B 32 MB 1.15%
ram_psram: 192000 B 64 MB 0.29%
ram_nocache: 0 GB 223 KB 0.00%
ram_memory: 26124 B 223 KB 11.44%
ram_wifi: 0 GB 0 GB
xram_memory: 0 GB 16 KB 0.00%
collect2.exe: error: ld returned 1 exit status
make[3]: *** [CMakeFiles\lvgl_bl808_m0.elf.dir\build.make:106: build_out/lvgl_bl808_m0.elf] Error 1
make[2]: *** [CMakeFiles\Makefile2:512: CMakeFiles/lvgl_bl808_m0.elf.dir/all] Error 2
make[1]: *** [Makefile:90: all] Error 2
make: *** [../../project.build:80: build] Error 2
Looks like this is related to setting up the gcc compiler options or version
In fact none of the LCD displays compile with LCD_DBI_XXXX f.ex LCD_DBI_ILI9341 scenario
Please can you look at this issue?
Thank you