toggle quoted messageShow quoted text
Hope the above video helps :-)
Summary: Kconfig options for one board may require new dependencies be met for another board.
PS: added users mailing list, hope helps them too.
Thanks. I thought that the creation the driver source directories was only done at cmake time.... so that's where I was looking
for a problem. Clearly I was wrong about that. Did just what you suggested using the arduino_101 board as target (that seems
to be the example always used) and things worked as you desicribed. However all is not well yet with the nrf pca10056, so I
have taken a page from your note and am trying again from a clean dist.
I just cloned rc13 and am attempting to build the i2c_fujitsu_fram sample program. Sourced the appropriate
zephyr_end.sh script. Created build/arduino_101 in the sample
directory and executed cmake -DBOARD=arduino_101 ../.. All went well. Also issued make command and sample
compiled and linked without a problem. NO changes to anything in the repo - just cmake and make.
Then created a clean build/nrf52840_pca10056 directory in the sample directory and executed cmake -DBOARD=nrf52840_pca10056.
NO changes to the repo - just create directories and executed cmake. REceived the following output and error:
cmake -DBOARD=nrf52840_pca10056 ../..
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.5.3", minimum required is "3.4")
-- Selected BOARD nrf52840_pca10056
Zephyr version: 1.13.0
Parsing Kconfig tree in /home/mcp/ZephyrProjects/zephyr_1.1.2/zephyr_latest/Kconfig
Using /home/mcp/ZephyrProjects/zephyr_1.1.2/zephyr_latest/boards/arm/nrf52840_pca10056/nrf52840_pca10056_defconfig as base
-- Generating zephyr/include/generated/generated_dts_board.h
-- Cache files will be written to: /home/mcp/.cache/zephyr
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- The ASM compiler identification is GNU
-- Found assembler: /opt/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/bin/arm-zephyr-eabi/arm-zephyr-eabi-gcc
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
CMake Error at ../../../CMakeLists.txt:527 (message):
The Zephyr library 'drivers__i2c' was created without source files. Empty
(non-imported) libraries are not supported. Either make sure that the
library has the sources it should have, or make sure it is not created when
it has no source files.
-- Configuring incomplete, errors occurred!
Any comments would be welcome. Also, thanks for posting the menuconfig issue...am following that