This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Can't open nRF Connect SDK Project

Versions:

Windows 10 Enterprise: Version 1803

SEGGER Embedded Studio for ARM (Nordic Edition) V4.20a (64-bit)

Python: 3.7.4

pip: 19.2.3

west: v0.6.2

nrf repo: tried master, and v1.0.0, and v0.4.0

device: nRF52840 PCA10059 1.1.0 (Dongle)

I followed the nRF Connect's Getting Started Assistant.  Things went fine until I tried to do "File > Open nRF Connect SDK Project" in SEGGER.  I can't remember what error I originally got, but after following hints found in

https://devzone.nordicsemi.com/f/nordic-q-a/44186/problems-getting-the-sdk-up-and-running (checking out a tagged nrf commit, running `west update` after)

and https://devzone.nordicsemi.com/f/nordic-q-a/49423/warning-using-out-of-tree-board/199369 (running segger as admin)

and https://devzone.nordicsemi.com/f/nordic-q-a/51567/can-t-build-nrf-connect-project/207862 (updating west)

and https://devzone.nordicsemi.com/f/nordic-q-a/51051/nrf-connect-sdk-install-issue-hub-2-0-not-found-leading-to-build-errors (change hub==2.0 requirement to git-spindle==2.0)

everything still always leads back to the error `warning: the value '' is invalid for FLIP_INPUT`.  I've tried several nrf tags, as well as the master branch.  Segger's error log (again, upon attempting to open an nRF Connect SDK Project, with nrf on tag v1.0.0), with my own username changed to "USERNAME", is

Loading solution asset_tracker.emProject
Executing load commands
cmake -GNinja -DBOARD=nrf52840_pca10059 -DBOARD_DIR=C:/Users/USERNAME/clones/ncs/zephyr/boards/arm/nrf52840_pca10059 -DZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb -DGNUARMEMB_TOOLCHAIN_PATH=C:/gnuarmemb -BC:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/build_nrf52840_pca10059 -HC:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker -DEXTRA_KCONFIG_TARGETS=menuconfig_ses -DEXTRA_KCONFIG_TARGET_COMMAND_FOR_menuconfig_ses=C:/Programs/arm_segger_embedded_studio_v420a_win_x64_nordic/html/configure_nordic_project_menuconfig.py
-- Using application from 'C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker'
Zephyr version: 1.14.99
-- Selected BOARD nrf52840_pca10059
-- Found west: C:/Users/USERNAME/AppData/Local/Programs/Python/Python37-32/Scripts/west.exe (found suitable version "0.6.2", minimum required is "0.5.6")
-- Cache files will be written to: C:\Users\USERNAME\AppData\Local/.cache/zephyr
USING OUT OF TREE BOARD
-- Loading C:/Users/USERNAME/clones/ncs/zephyr/boards/arm/nrf52840_pca10059/nrf52840_pca10059.dts as base
-- Overlaying C:/Users/USERNAME/clones/ncs/zephyr/dts/common/common.dts
Parsing Kconfig tree in C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/Kconfig
Loading C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/build_nrf52840_pca10059/zephyr/.config as base

warning: the value '' is invalid for FLIP_INPUT (defined at C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/Kconfig:116), which has type int -- assignment ignored

warning: the value '' is invalid for TEMP_SIM_BUTTON (defined at C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/Kconfig:264), which has type int -- assignment ignored

warning: BSD_LIBRARY (defined at ..\nrf\lib\bsdlib\Kconfig:8) has direct dependencies TRUSTED_EXECUTION_NONSECURE with value n, but is currently being y-selected by the following symbols:
 - MODEM_INFO (defined at ..\nrf\lib\modem_info\Kconfig:7), with value y, direct dependencies "y" (value: y)

warning: CONSOLE_HANDLER (defined at drivers\console\Kconfig:38) has direct dependencies UART_CONSOLE && CONSOLE with value n, but is currently being y-selected by the following symbols:
 - CONSOLE_GETCHAR (defined at subsys\console\Kconfig:18), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)

warning: UART_CONSOLE_DEBUG_SERVER_HOOKS (defined at drivers\console\Kconfig:63) has direct dependencies UART_CONSOLE && CONSOLE with value n, but is currently being y-selected by the following symbols:
 - CONSOLE_GETCHAR (defined at subsys\console\Kconfig:18), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)

Error: Aborting due to non-whitelisted Kconfig warning 'warning: the value '' is invalid for
FLIP_INPUT (defined at C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/Kconfig:116), which
has type int -- assignment ignored'. Note: If this warning doesn't point to an actual problem, you
can add it to the whitelist at the top of
C:/Users/USERNAME/clones/ncs/zephyr/scripts/kconfig/kconfig.py.

CMake Error at C:/Users/USERNAME/clones/ncs/zephyr/cmake/kconfig.cmake:200 (message):
  command failed with return code: 1
Call Stack (most recent call first):
  C:/Users/USERNAME/clones/ncs/zephyr/cmake/app/boilerplate.cmake:529 (include)
  CMakeLists.txt:11 (include)


-- Configuring incomplete, errors occurred!
See also "C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/build_nrf52840_pca10059/CMakeFiles/CMakeOutput.log".
See also "C:/Users/USERNAME/clones/ncs/nrf/applications/asset_tracker/build_nrf52840_pca10059/CMakeFiles/CMakeError.log".
Project load failed
Reported error: solution load command failed (1)

Any idea what's wrong?

Related