You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
west build -b stm32h747i_disco_m7 samples/subsys/usb/dfu -d build-dfu -- -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\"bootloader/mcuboot/root-rsa-2048.pem\"
-- west build: generating a build system
Loading Zephyr default modules (Zephyr base).
-- Application: D:/zephyrproject/zephyr/samples/subsys/usb/dfu
-- Found Python3: C:/Users/pengl/AppData/Local/Programs/Python/Python310/python.exe (found suitable exact version "3.10.7") found components: Interpreter
-- Cache files will be written to: D:/zephyrproject/zephyr/.cache
-- Zephyr version: 3.2.0-rc3 (D:/zephyrproject/zephyr)
-- Found west (found suitable version "0.14.0", minimum required is "0.7.1")
-- Board: stm32h747i_disco_m7
-- ZEPHYR_TOOLCHAIN_VARIANT not set, trying to locate Zephyr SDK
-- Found host-tools: zephyr 0.15.0 (D:/zephyr-sdk-0.15.0)
-- Found toolchain: zephyr 0.15.0 (D:/zephyr-sdk-0.15.0)
-- Found Dtc: C:/ProgramData/chocolatey/bin/dtc.exe (found suitable version "1.5.0", minimum required is "1.4.6")
-- Found BOARD.dts: D:/zephyrproject/zephyr/boards/arm/stm32h747i_disco/stm32h747i_disco_m7.dts
-- Generated zephyr.dts: D:/zephyrproject/zephyr/build-dfu/zephyr/zephyr.dts
-- Generated devicetree_generated.h: D:/zephyrproject/zephyr/build-dfu/zephyr/include/generated/devicetree_generated.h
-- Including generated dts.cmake file: D:/zephyrproject/zephyr/build-dfu/zephyr/dts.cmake
D:/zephyrproject/zephyr/build-dfu/zephyr/zephyr.dts:843.7-868.5: Warning (simple_bus_reg): /soc/can: missing or empty reg/ranges property
Parsing D:/zephyrproject/zephyr/samples/subsys/usb/dfu/Kconfig
Loaded configuration 'D:/zephyrproject/zephyr/boards/arm/stm32h747i_disco/stm32h747i_disco_m7_defconfig'
Merged configuration 'D:/zephyrproject/zephyr/samples/subsys/usb/dfu/prj.conf'
Merged configuration 'D:/zephyrproject/zephyr/build-dfu/zephyr/misc/generated/extra_kconfig_options.conf'
Configuration saved to 'D:/zephyrproject/zephyr/build-dfu/zephyr/.config'
Kconfig header saved to 'D:/zephyrproject/zephyr/build-dfu/zephyr/include/generated/autoconf.h'
-- The C compiler identification is GNU 12.1.0
-- The CXX compiler identification is GNU 12.1.0
-- The ASM compiler identification is GNU
-- Found assembler: D:/zephyr-sdk-0.15.0/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc.exe
CMake Warning at D:/zephyrproject/zephyr/subsys/usb/device/CMakeLists.txt:22 (message):
CONFIG_USB_DEVICE_VID has default value 0x2FE3.
This value is only for testing and MUST be configured for USB products.
CMake Warning at D:/zephyrproject/zephyr/CMakeLists.txt:809 (message):
No SOURCES given to Zephyr library: drivers__usb__device
Excluding target from build.
...
zephyrproject/zephyr/subsys/usb/device/usb_transfer.c:132: undefined reference to `usb_dc_ep_read_continue'
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
similar discussion here but do not solve my problem: #50018
'''
zephyrproject west --version
West version: v0.14.0
zephyrproject/zephyr main git describe
v3.2.0-rc3-189-g5530ea0bd0
'''
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Follow https://docs.zephyrproject.org/3.1.0/samples/subsys/usb/dfu/README.html, I already changed flash_map for stm32h747i_disco_m7, but compiling meet this err(No SOURCES given to Zephyr library: drivers__usb__device), is the device not support or I need update some configure?
similar discussion here but do not solve my problem:
#50018
'''
zephyrproject west --version
West version: v0.14.0
zephyrproject/zephyr main git describe
v3.2.0-rc3-189-g5530ea0bd0
'''
Beta Was this translation helpful? Give feedback.
All reactions