Environment:
- OS: Ubuntu 20.04 (Docker container)
- NRF SDK: v1.4.0
- Zephyr: v2.4.0-ncs1
I am trying to build my project for native_posix. I am getting some build errors due to my config which I am not able to fix.
Please let me know what steps I could take to troubleshoot. I am not too familiar with Zephyr.
Here is the build output:
Running west zephyr-export Zephyr (/workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake) has been added to the user package registry in: ~/.cmake/packages/Zephyr ZephyrUnittest (/workspaces/pebble-docker/sdk/zephyr/share/zephyrunittest-package/cmake) has been added to the user package registry in: ~/.cmake/packages/ZephyrUnittest Running west build -b native_posix app/nrf/applications/aries -- west build: generating a build system -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Including boilerplate (Zephyr base): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Application: /workspaces/pebble-docker/app/nrf/applications/aries -- Zephyr version: 2.4.0 (/workspaces/pebble-docker/sdk/zephyr) -- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter -- Found west (found suitable version "0.12.0", minimum required is "0.7.1") -- git describe failed: fatal: No names found, cannot describe anything.; BUILD_VERSION is left undefined -- Board: native_posix -- Cache files will be written to: /root/.cache/zephyr -- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6") -- Found toolchain: host (gcc/ld) -- Found BOARD.dts: /workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix.dts -- Generated zephyr.dts: /workspaces/pebble-docker/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: /workspaces/pebble-docker/build/zephyr/include/generated/devicetree_unfixed.h warning: LTE_PSM_REQ_RPTAU (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:60) was assigned the value '00000110' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RPTAU.html and/or look up LTE_PSM_REQ_RPTAU in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: LTE_PSM_REQ_RAT (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:68) was assigned the value '00000010' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RAT.html and/or look up LTE_PSM_REQ_RAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9) was assigned the value 'n' but got the value 'y'. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_AT_HOST_LIBRARY.html and/or look up AT_HOST_LIBRARY in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol NRF9160_GPS_LOG_LEVEL_DBG (defined at subsys/logging/Kconfig.template.log_config:20) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRF9160_GPS_LOG_LEVEL_DBG.html and/or look up NRF9160_GPS_LOG_LEVEL_DBG in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:46: warning: attempt to assign the value 'n' to the undefined symbol NRF_CLOUD_NONBLOCKING_SEND /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol CLOUD_PERSISTENT_SESSIONS warning: AT_CMD (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols: - AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y) Parsing /workspaces/pebble-docker/app/nrf/applications/aries/Kconfig Loaded configuration '/workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix_defconfig' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/prj.conf' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/boards/native_posix.conf' error: Aborting due to Kconfig warnings CMake Error at /workspaces/pebble-docker/sdk/zephyr/cmake/kconfig.cmake:239 (message): command failed with return code: 1 Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:591 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Configuring incomplete, errors occurred! See also "/workspaces/pebble-docker/build/CMakeFiles/CMakeOutput.log". FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/workspaces/pebble-docker/build -S/workspaces/pebble-docker/app/nrf/applications/aries -GNinja -DBOARD=native_posix The terminal process "/usr/bin/bash '-c', './build.sh --rebuild'" terminated with exit code: 1. Terminal will be reused by tasks, press any key to close it. > Executing task: ./build.sh --rebuild < Running west zephyr-export Zephyr (/workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake) has been added to the user package registry in: ~/.cmake/packages/Zephyr ZephyrUnittest (/workspaces/pebble-docker/sdk/zephyr/share/zephyrunittest-package/cmake) has been added to the user package registry in: ~/.cmake/packages/ZephyrUnittest Running west build -b native_posix app/nrf/applications/aries -- west build: generating a build system -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Including boilerplate (Zephyr base): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Application: /workspaces/pebble-docker/app/nrf/applications/aries -- Zephyr version: 2.4.0 (/workspaces/pebble-docker/sdk/zephyr) -- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter -- Found west (found suitable version "0.12.0", minimum required is "0.7.1") -- git describe failed: fatal: No names found, cannot describe anything.; BUILD_VERSION is left undefined -- Board: native_posix -- Cache files will be written to: /root/.cache/zephyr -- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6") -- Found toolchain: host (gcc/ld) -- Found BOARD.dts: /workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix.dts -- Generated zephyr.dts: /workspaces/pebble-docker/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: /workspaces/pebble-docker/build/zephyr/include/generated/devicetree_unfixed.h Parsing /workspaces/pebble-docker/app/nrf/applications/aries/Kconfig Loaded configuration '/workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix_defconfig' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/prj.conf' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/boards/native_posix.conf' warning: LTE_PSM_REQ_RPTAU (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:60) was assigned the value '00000110' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RPTAU.html and/or look up LTE_PSM_REQ_RPTAU in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: LTE_PSM_REQ_RAT (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:68) was assigned the value '00000010' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RAT.html and/or look up LTE_PSM_REQ_RAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9) was assigned the value 'n' but got the value 'y'. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_AT_HOST_LIBRARY.html and/or look up AT_HOST_LIBRARY in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol NRF9160_GPS_LOG_LEVEL_DBG (defined at subsys/logging/Kconfig.template.log_config:20) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRF9160_GPS_LOG_LEVEL_DBG.html and/or look up NRF9160_GPS_LOG_LEVEL_DBG in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:46: warning: attempt to assign the value 'n' to the undefined symbol NRF_CLOUD_NONBLOCKING_SEND /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol CLOUD_PERSISTENT_SESSIONS /workspaces/pebble-docker/app/nrf/applications/aries/boards/native_posix.conf:10: warning: ignoring malformed line 'AT_HOST_LIBRARY=n' warning: AT_CMD (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols: - AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y) error: Aborting due to Kconfig warnings CMake Error at /workspaces/pebble-docker/sdk/zephyr/cmake/kconfig.cmake:239 (message): command failed with return code: 1 Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:591 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Configuring incomplete, errors occurred! See also "/workspaces/pebble-docker/build/CMakeFiles/CMakeOutput.log". FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/workspaces/pebble-docker/build -S/workspaces/pebble-docker/app/nrf/applications/aries -GNinja -DBOARD=native_posix The terminal process "/usr/bin/bash '-c', './build.sh --rebuild'" terminated with exit code: 1. Terminal will be reused by tasks, press any key to close it. > Executing task: ./build.sh --rebuild < Running west zephyr-export Zephyr (/workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake) has been added to the user package registry in: ~/.cmake/packages/Zephyr ZephyrUnittest (/workspaces/pebble-docker/sdk/zephyr/share/zephyrunittest-package/cmake) has been added to the user package registry in: ~/.cmake/packages/ZephyrUnittest Running west build -b native_posix app/nrf/applications/aries -- west build: generating a build system -- The C compiler identification is GNU 9.4.0 -- The CXX compiler identification is GNU 9.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done Including boilerplate (Zephyr base): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake CMake Deprecation Warning at /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:37 (cmake_policy): The OLD behavior for policy CMP0079 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Application: /workspaces/pebble-docker/app/nrf/applications/aries -- Zephyr version: 2.4.0 (/workspaces/pebble-docker/sdk/zephyr) -- Found Python3: /usr/bin/python3.8 (found suitable exact version "3.8.10") found components: Interpreter -- Found west (found suitable version "0.12.0", minimum required is "0.7.1") -- git describe failed: fatal: No names found, cannot describe anything.; BUILD_VERSION is left undefined -- Board: native_posix -- Cache files will be written to: /root/.cache/zephyr -- Found dtc: /usr/bin/dtc (found suitable version "1.5.0", minimum required is "1.4.6") -- Found toolchain: host (gcc/ld) -- Found BOARD.dts: /workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix.dts -- Generated zephyr.dts: /workspaces/pebble-docker/build/zephyr/zephyr.dts -- Generated devicetree_unfixed.h: /workspaces/pebble-docker/build/zephyr/include/generated/devicetree_unfixed.h warning: LTE_PSM_REQ_RPTAU (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:60) was assigned the value '00000110' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RPTAU.html and/or look up LTE_PSM_REQ_RPTAU in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: LTE_PSM_REQ_RAT (defined at /workspaces/pebble- docker/sdk/nrf/lib/lte_link_control/Kconfig:68) was assigned the value '00000010' but got the value ''. Check these unsatisfied dependencies: LTE_LINK_CONTROL (=n). See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_LTE_PSM_REQ_RAT.html and/or look up LTE_PSM_REQ_RAT in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9) was assigned the value 'n' but got the value 'y'. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_AT_HOST_LIBRARY.html and/or look up AT_HOST_LIBRARY in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. warning: The choice symbol NRF9160_GPS_LOG_LEVEL_DBG (defined at subsys/logging/Kconfig.template.log_config:20) was selected (set =y), but no symbol ended up as the choice selection. See http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_NRF9160_GPS_LOG_LEVEL_DBG.html and/or look up NRF9160_GPS_LOG_LEVEL_DBG in the menuconfig/guiconfig interface. The Application Development Primer, Setting Configuration Values, and Kconfig - Tips and Best Practices sections of the manual might be helpful too. /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:46: warning: attempt to assign the value 'n' to the undefined symbol NRF_CLOUD_NONBLOCKING_SEND /workspaces/pebble-docker/app/nrf/applications/aries/prj.conf:52: warning: attempt to assign the value 'y' to the undefined symbol CLOUD_PERSISTENT_SESSIONS warning: AT_CMD (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_cmd/Kconfig:9) has direct dependencies BSD_LIBRARY with value n, but is currently being y-selected by the following symbols: - AT_HOST_LIBRARY (defined at /workspaces/pebble-docker/sdk/nrf/lib/at_host/Kconfig:9), with value y, direct dependencies y (value: y) Parsing /workspaces/pebble-docker/app/nrf/applications/aries/Kconfig Loaded configuration '/workspaces/pebble-docker/sdk/zephyr/boards/posix/native_posix/native_posix_defconfig' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/prj.conf' Merged configuration '/workspaces/pebble-docker/app/nrf/applications/aries/boards/native_posix.conf' error: Aborting due to Kconfig warnings CMake Error at /workspaces/pebble-docker/sdk/zephyr/cmake/kconfig.cmake:239 (message): command failed with return code: 1 Call Stack (most recent call first): /workspaces/pebble-docker/sdk/zephyr/cmake/app/boilerplate.cmake:591 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include) /workspaces/pebble-docker/sdk/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate) CMakeLists.txt:19 (find_package) -- Configuring incomplete, errors occurred! See also "/workspaces/pebble-docker/build/CMakeFiles/CMakeOutput.log". FATAL ERROR: command exited with status 1: /usr/local/bin/cmake -DWEST_PYTHON=/usr/bin/python3 -B/workspaces/pebble-docker/build -S/workspaces/pebble-docker/app/nrf/applications/aries -GNinja -DBOARD=native_posix The terminal process "/usr/bin/bash '-c', './build.sh --rebuild'" terminated with exit code: 1.
Here's my prj.conf:
# # Copyright (c) 2019 Nordic Semiconductor ASA # # SPDX-License-Identifier: LicenseRef-BSD-5-Clause-Nordic # # General config CONFIG_NEWLIB_LIBC=n CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=n CONFIG_ASSERT=y CONFIG_REBOOT=y CONFIG_LOG=y CONFIG_LOG_IMMEDIATE=y # Network CONFIG_NETWORKING=y CONFIG_NET_NATIVE=n CONFIG_NET_SOCKETS=y CONFIG_NET_SOCKETS_OFFLOAD=y # LTE link control CONFIG_POWER_OPTIMIZATION_ENABLE=n CONFIG_LTE_LINK_CONTROL=n CONFIG_LTE_NETWORK_MODE_LTE_M_GPS=n CONFIG_LTE_AUTO_INIT_AND_CONNECT=n CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG=n CONFIG_LTE_NETWORK_MODE_NBIOT_GPS=n CONFIG_LTE_LEGACY_PCO_MODE=n CONFIG_LTE_PSM_REQ_RPTAU="00000110" CONFIG_LTE_PSM_REQ_RAT="00000010" # Modem info CONFIG_MODEM_INFO=n # BSD library # CONFIG_BSD_LIBRARY=n CONFIG_BSD_LIBRARY_TRACE_ENABLED=n # nRF Cloud CONFIG_CLOUD_API=n CONFIG_NRF_CLOUD=n CONFIG_NRF_CLOUD_LOG_LEVEL_DBG=n CONFIG_NRF_CLOUD_AGPS=n CONFIG_NRF_CLOUD_CONNECTION_POLL_THREAD=n CONFIG_NRF_CLOUD_NONBLOCKING_SEND=n # Needed for the cloud codec CONFIG_CJSON_LIB=y # Shorter to prevent NAT timeouts CONFIG_MQTT_KEEPALIVE=120 # Don't resubscribe to topics if broker remembers them CONFIG_CLOUD_PERSISTENT_SESSIONS=y # Sensors CONFIG_ACCEL_USE_SIM=y CONFIG_TEMP_USE_SIM=y CONFIG_CLOUD_BUTTON=n # GPS CONFIG_NRF9160_GPS=n # CONFIG_GPS_USE_SIM=y CONFIG_NRF9160_GPS_LOG_LEVEL_DBG=y CONFIG_GPS_USE_EXTERNAL=y CONFIG_GPS_DEV_NAME="NRF9160_GPS" CONFIG_GPS_CONTROL_PSM_ENABLE_ON_START=y CONFIG_GPS_CONTROL_FIRST_FIX_CHECK_DELAY=10 CONFIG_GPS_CONTROL_FIX_CHECK_INTERVAL=30 CONFIG_GPS_CONTROL_FIX_TRY_TIME=360 CONFIG_GPS_CONTROL_PSM_DISABLE_ON_STOP=n # Library for buttons and LEDs CONFIG_DK_LIBRARY=y CONFIG_DK_LIBRARY_INVERT_LEDS=n # Console CONFIG_CONSOLE_SUBSYS=y CONFIG_CONSOLE_HANDLER=n CONFIG_CONSOLE_GETCHAR=n # Heap and stacks CONFIG_HEAP_MEM_POOL_SIZE=16384 CONFIG_MAIN_STACK_SIZE=8192 CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=2048 CONFIG_HW_STACK_PROTECTION=n # MCUBOOT CONFIG_BOOTLOADER_MCUBOOT=n CONFIG_IMG_MANAGER=y CONFIG_MCUBOOT_IMG_MANAGER=y # Flash CONFIG_FLASH=y CONFIG_IMG_ERASE_PROGRESSIVELY=y # AWS FOTA CONFIG_AWS_FOTA=y CONFIG_FOTA_DOWNLOAD=y CONFIG_AWS_FOTA_LOG_LEVEL_DBG=y CONFIG_AWS_JOBS_LOG_LEVEL_DBG=y CONFIG_DFU_TARGET=y # Download client (needed by AWS FOTA) CONFIG_DOWNLOAD_CLIENT=y CONFIG_DOWNLOAD_CLIENT_STACK_SIZE=4096 # Fatal error CONFIG_RESET_ON_FATAL_ERROR=n CONFIG_WATCHDOG=y
I have created the file <project>/boards/native_posix.conf and tried to override the AT_HOST_LIBRARY. But I am still getting the error
Here is the content of boards/native_posix.conf:
CONFIG_AT_HOST_LIBRARY=n
Update:
I found that AT_HOST is enabled in KConfig and set to true by default. How can I override this programmatically without changing the default value?
config USE_AT_HOST bool "Enable AT commands" default y select AT_HOST_LIBRARY help Enable the AT host library so that AT commands can be sent to and received from a serial terminal.
Thank you