2025-05-29 10:13 AM - last edited on 2025-06-03 1:56 AM by Sarra.S
Using Zephyr 4.1.99 and the STM32H735G-DK (Zephyr calls it stm32h735g_disco) results in a build failure. Has anyone else seen this or have a solution for it?
(.venv) grunzasr@zephDev:~/zephyrApps$ west build -p -d H735_build -b stm32h735g_disco /home/grunzasr/zephyrproject/zephyr/samples/modules/lvgl/demos
-- west build: making build dir /home/grunzasr/zephyrApps/H735_build pristine
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: /home/grunzasr/zephyrproject/zephyr/samples/modules/lvgl/demos
-- CMake version: 3.25.1
-- Found Python3: /home/grunzasr/zephyrproject/.venv/bin/python3 (found suitable version "3.11.2", minimum required is "3.10") found components: Interpreter
-- Cache files will be written to: /home/grunzasr/.cache/zephyr
-- Zephyr version: 4.1.99 (/home/grunzasr/zephyrproject/zephyr)
-- Found west (found suitable version "1.3.0", minimum required is "0.14.0")
-- Board: stm32h735g_disco, qualifiers: stm32h735xx
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.17.0 (/home/grunzasr/zephyr-sdk-0.17.0)
-- Found toolchain: zephyr 0.17.0 (/home/grunzasr/zephyr-sdk-0.17.0)
-- Found Dtc: /home/grunzasr/zephyr-sdk-0.17.0/sysroots/x86_64-pokysdk-linux/usr/bin/dtc (found suitable version "1.6.0", minimum required is "1.4.6")
-- Found BOARD.dts: /home/grunzasr/zephyrproject/zephyr/boards/st/stm32h735g_disco/stm32h735g_disco.dts
-- Generated zephyr.dts: /home/grunzasr/zephyrApps/H735_build/zephyr/zephyr.dts
-- Generated pickled edt: /home/grunzasr/zephyrApps/H735_build/zephyr/edt.pickle
-- Generated devicetree_generated.h: /home/grunzasr/zephyrApps/H735_build/zephyr/include/generated/zephyr/devicetree_generated.h
-- Including generated dts.cmake file: /home/grunzasr/zephyrApps/H735_build/zephyr/dts.cmake
/home/grunzasr/zephyrApps/H735_build/zephyr/zephyr.dts:1097.35-1125.5: Warning (spi_bus_bridge): /soc/spi@52005000: incorrect #size-cells for SPI bus
<stdout>: Warning (spi_bus_reg): Failed prerequisite 'spi_bus_bridge'
Parsing /home/grunzasr/zephyrproject/zephyr/samples/modules/lvgl/demos/Kconfig
Loaded configuration '/home/grunzasr/zephyrproject/zephyr/boards/st/stm32h735g_disco/stm32h735g_disco_defconfig'
Merged configuration '/home/grunzasr/zephyrproject/zephyr/samples/modules/lvgl/demos/prj.conf'
Configuration saved to '/home/grunzasr/zephyrApps/H735_build/zephyr/.config'
Kconfig header saved to '/home/grunzasr/zephyrApps/H735_build/zephyr/include/generated/zephyr/autoconf.h'
-- Found GnuLd: /home/grunzasr/zephyr-sdk-0.17.0/arm-zephyr-eabi/arm-zephyr-eabi/bin/ld.bfd (found version "2.38")
-- The C compiler identification is GNU 12.2.0
-- The CXX compiler identification is GNU 12.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /home/grunzasr/zephyr-sdk-0.17.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc
-- Using ccache: /usr/bin/ccache
CMake Warning at /home/grunzasr/zephyrproject/zephyr/CMakeLists.txt:1022 (message):
No SOURCES given to Zephyr library: drivers__display
Excluding target from build.
2025-06-03 2:04 AM - edited 2025-06-03 2:05 AM
Hello @StevenG,
This build failure seems related to a missing or improperly configured display driver required for the LVGL demo sample you're building:
No SOURCES given to Zephyr library: drivers__display
For hardware point of view, the STM32H735 disco board has display support in Zephyr as you can double check following this link:
So, double check source files for missing driver!
Hope that helps!
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.