New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error building x_nucleo_iks01a1 sample on nucleo_wb55rg after activating I2C Bus #16363
Labels
platform: STM32
ST Micro STM32
Comments
carlescufi
added
platform: STM32
ST Micro STM32
priority: low
Low impact/importance bug
labels
May 24, 2019
Nvm |
For an unknown reason, this issue appear in list of open low prio bug whil it is closed. |
erwango
removed
bug
The issue is a bug, or the PR is fixing a bug
priority: low
Low impact/importance bug
labels
Nov 21, 2019
I have same error (used nRF52840 and Zephyr v2.2.1): > Executing task: west build -b nrf52840_ble_gsm_gw <
-- west build: build configuration:
source directory: C:\Users\Oleksii\Work\VIRAVIX\PROG\Nordic\Projects\fw.ble-gsm-gateway.nrf52.sim800
build directory: C:\Users\Oleksii\Work\VIRAVIX\PROG\Nordic\Projects\fw.ble-gsm-gateway.nrf52.sim800\build
BOARD: nrf52840_ble_gsm_gw (origin: CMakeCache.txt)
-- west build: building application
[0/1] Re-running CMake...
-- Zephyr version: 2.2.1
-- Selected BOARD nrf52840_ble_gsm_gw
-- Found west: C:/Python37/Scripts/west.exe (found suitable version "0.7.2", minimum required is "0.6.0")
-- Loading C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/boards/arm/nrf52840_ble_gsm_gw/nrf52840_ble_gsm_gw.dts as base
Devicetree header saved to 'C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/build/zephyr/include/generated/devicetree_unfixed.h'
Parsing C:/Users/Oleksii/zephyrproject/zephyr/Kconfig
Loaded configuration 'C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/boards/arm/nrf52840_ble_gsm_gw/nrf52840_ble_gsm_gw_defconfig'
Merged configuration 'C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/prj.conf'
Configuration saved to 'C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/build/zephyr/.config'
Kconfig header saved to 'C:/Users/Oleksii/Work/VIRAVIX/PROG/Nordic/Projects/fw.ble-gsm-gateway.nrf52.sim800/build/zephyr/include/generated/autoconf.h'
-- Cache files will be written to: C:\Users\Oleksii\AppData\Local/.cache/zephyr
-- Configuring done
CMake Error at C:/Users/Oleksii/zephyrproject/zephyr/cmake/extensions.cmake:372 (add_library):
No SOURCES given to target: drivers__i2c
Call Stack (most recent call first):
C:/Users/Oleksii/zephyrproject/zephyr/cmake/extensions.cmake:349 (zephyr_library_named)
C:/Users/Oleksii/zephyrproject/zephyr/drivers/i2c/CMakeLists.txt:3 (zephyr_library)
CMake Generate step failed. Build files cannot be regenerated correctly.
FAILED: build.ninja
"C:\Program Files\CMake\bin\cmake.exe" -SC:\Users\Oleksii\Work\VIRAVIX\PROG\Nordic\Projects\fw.ble-gsm-gateway.nrf52.sim800 -BC:\Users\Oleksii\Work\VIRAVIX\PROG\Nordic\Projects\fw.ble-gsm-gateway.nrf52.sim800\build
ninja: error: rebuilding 'build.ninja': subcommand failed
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\Users\Oleksii\Work\VIRAVIX\PROG\Nordic\Projects\fw.ble-gsm-gateway.nrf52.sim800\build'
The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hi, after making the configuration to activate I2C Bus on nucleo_wb55rg, i get this error while building x_nucleo_iks01a1 sample:
west build -b nucleo_wb55rg samples/shields/x_nucleo_iks01a1/
CMake Error at ../../../cmake/extensions.cmake:378 (add_library): No SOURCES given to target: drivers__i2c Call Stack (most recent call first): ../../../cmake/extensions.cmake:355 (zephyr_library_named) ../../../drivers/i2c/CMakeLists.txt:3 (zephyr_library)
Any idea about this? Thx
The text was updated successfully, but these errors were encountered: