in order to disable the HWFC i am configuring the application and added these lines to the prj file.
Application-specific
CONFIG_SLM_DATAMODE_HWFC=n
CONFIG_SLM_LOG_LEVEL_INF=y
CONFIG_SLM_CONNECT_UART_2=y
CONFIG_UART_2_NRF_HW_ASYNC_TIMER=2
CONFIG_SLM_CR_LF_TERMINATION=y
CONFIG_SLM_GPS=y
CONFIG_SLM_HTTPC=y
I am getting the following compilation errors for the serial lte application
PC@DESKTOP-HG29JE3 MINGW64 ~/ncs/v1.5.0
$ cd c:/nfed/nrf/applications/serial_lte_modem
PC@DESKTOP-HG29JE3 MINGW64 /c/nfed/nrf/applications/serial_lte_modem ((v1.3.2))
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:64: warning: attempt to assign the value ‘n’ to the undefined symbol SLM_DATAMODE_HWFC
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:69: warning: attempt to assign the value ‘y’ to the undefined symbol SLM_GPS
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:70: warning: attempt to assign the value ‘y’ to the undefined symbol SLM_HTTPC
error: Aborting due to Kconfig warnings
I have followed the instructions given in Application description — nRF Connect SDK 1.5.0 documentation (nordicsemi.com)
What am I missing?
Thank you
Below is the complete output of the compilation:
$ west build -b circuitdojo_feather_nrf9160ns -p
WARNING: ZEPHYR_BASE=C:/Users/PC/ncs/v1.5.0/zephyr in the calling environment will be used,
but the zephyr.base config option in C:\nfed is “zephyr”
which implies a different ZEPHYR_BASE=C:\nfed\zephyr
To disable this warning in the future, execute ‘west config –global zephyr.base-prefer env’
– west build: making build dir C:\nfed\nrf\applications\serial_lte_modem\build pristine
– west build: generating a build system
Including boilerplate (Zephyr base): C:/Users/PC/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake
– Application: C:/nfed/nrf/applications/serial_lte_modem
– Using NCS Toolchain 1.5.0 for building. (C:/Users/PC/ncs/v1.5.0/toolchain/cmake)
– Zephyr version: 2.4.99 (C:/Users/PC/ncs/v1.5.0/zephyr)
– Found Python3: C:/Users/PC/ncs/v1.5.0/toolchain/opt/bin/python.exe (found suitable exact version “3.8.2”) found components: Interpreter
– Found west (found suitable version “0.9.0”, minimum required is “0.7.1”)
– Board: circuitdojo_feather_nrf9160ns
– Cache files will be written to: C:/Users/PC/ncs/v1.5.0/zephyr/.cache
– Found dtc: C:/Users/PC/ncs/v1.5.0/toolchain/opt/bin/dtc.exe (found suitable version “1.4.7”, minimum required is “1.4.6”)
– Found toolchain: gnuarmemb (C:/Users/PC/ncs/v1.5.0/toolchain/opt)
– Found BOARD.dts: C:/Users/PC/ncs/v1.5.0/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns.dts
– Found devicetree overlay: C:/nfed/nrf/applications/serial_lte_modem/boards/circuitdojo_feather_nrf9160ns.overlay
– Generated zephyr.dts: C:/nfed/nrf/applications/serial_lte_modem/build/zephyr/zephyr.dts
– Generated devicetree_unfixed.h: C:/nfed/nrf/applications/serial_lte_modem/build/zephyr/include/generated/devicetree_unfixed.h
– Generated device_extern.h: C:/nfed/nrf/applications/serial_lte_modem/build/zephyr/include/generated/device_extern.h
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:64: warning: attempt to assign the value ‘n’ to the undefined symbol SLM_DATAMODE_HWFC
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:69: warning: attempt to assign the value ‘y’ to the undefined symbol SLM_GPS
C:/nfed/nrf/applications/serial_lte_modem/prj.conf:70: warning: attempt to assign the value ‘y’ to the undefined symbol SLM_HTTPC
Parsing C:/nfed/nrf/applications/serial_lte_modem/Kconfig
Loaded configuration ‘C:/Users/PC/ncs/v1.5.0/zephyr/boards/arm/circuitdojo_feather_nrf9160/circuitdojo_feather_nrf9160ns_defconfig’
Merged configuration ‘C:/nfed/nrf/applications/serial_lte_modem/prj.conf’
error: Aborting due to Kconfig warnings
CMake Error at C:/Users/PC/ncs/v1.5.0/zephyr/cmake/kconfig.cmake:262 (message):
command failed with return code: 1
Call Stack (most recent call first):
C:/Users/PC/ncs/v1.5.0/zephyr/cmake/app/boilerplate.cmake:534 (include)
C:/Users/PC/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/Users/PC/ncs/v1.5.0/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:20 (find_package)
– Configuring incomplete, errors occurred!
FATAL ERROR: command exited with status 1: ‘C:\Users\PC\ncs\v1.5.0\toolchain\opt\bin\cmake.EXE’ ‘-BC:\nfed\nrf\applications\serial_lte_modem\build’ ‘-SC:\nfed\nrf\applications\serial_lte_modem’ -GNinja -DBOARD=circuitdojo_feather_nrf9160ns