This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

"Couldn't find Zephyr root" both SEGGER and VsCode

Hello all,

Lost my VM that had a working installation and just setting everything back up.

After installing SDK 1.8.0 and all of the extensions for VsCode. Now both SEGGER and VSCode cannoot find the Zephry root and I cannot find it on disk?

This was not a problem in the past, any ideas?

Thanks

Edit: Another problem... like all of the examples are missing?? searched for serial_lte_modem and it comes up with nothing. Even just searching serial, or application comes up with nothing useful?

Edit2: I installed the most recent 3 releases and none have a zephyr folder anymore?!?!?

Parents
  • Hello Kyle,

    Mr.Newlove said:
    Everything complies fine when using a regular sample, but all applications fail in some way.

    Let us start from the beginning here. Are you now able to create a free-standing application based on the Serial LTE Modem and configure/compile/flash it successfully in VS Code for the nrf9160dk_nrf9160_ns, without any modifications?

    If not, please share a build log from the “Terminal” window.

    Regards,

    Markus

  • Let us start from the beginning here. Are you now able to create a free-standing application based on the Serial LTE Modem and configure/compile/flash it successfully in VS Code for the nrf9160dk_nrf9160_ns, without any modifications?

    no, when I say regular sample; I mean blinky/hello world work, but anything in the "applications" dir for sample fail.

    Just as one more thing to try I made sure to close the entire workspace in VS Code and that got the basic one compiling now.

    But if i create a new board and change nothing in the configuration I get:

    > Executing task: nRF Connect: Build serial_lte_modem_simpletest/build (active) <
    
    Building serial_lte_modem_simpletest
    west build --build-dir c:\ncs\MyApps\serial_lte_modem_simpletest\build c:\ncs\MyApps\serial_lte_modem_simpletest
    
    -- west build: generating a build system
    Including boilerplate (Zephyr base (cached)): C:/ncs/v1.8.0/zephyr/cmake/app/boilerplate.cmake
    -- Application: C:/ncs/MyApps/serial_lte_modem_simpletest
    -- Zephyr version: 2.7.0 (C:/ncs/v1.8.0/zephyr), build: v2.7.0-ncs1
    -- Found west (found suitable version "0.12.0", minimum required is "0.7.1")
    -- Board: basic_serial_modem
    -- Cache files will be written to: C:/ncs/v1.8.0/zephyr/.cache
    -- Found dtc: C:/ncs/v1.8.0/toolchain/opt/bin/dtc.exe (found suitable version "1.4.7", minimum required is "1.4.6")
    -- Found toolchain: gnuarmemb (c:/ncs/v1.8.0/toolchain/opt)
    -- Found BOARD.dts: C:/ncs/MyApps/serial_lte_modem_simpletest/boards/arm/basic_serial_modem/basic_serial_modem.dts
    -- Generated zephyr.dts: C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/zephyr.dts
    -- Generated devicetree_unfixed.h: C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/include/generated/devicetree_unfixed.h
    -- Generated device_extern.h: C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/include/generated/device_extern.h
    -- Including generated dts.cmake file: C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/dts.cmake
    Parsing C:/ncs/MyApps/serial_lte_modem_simpletest/Kconfig
    Loaded configuration 'C:/ncs/MyApps/serial_lte_modem_simpletest/boards/arm/basic_serial_modem/basic_serial_modem_defconfig'
    Merged configuration 'c:/ncs/MyApps/serial_lte_modem_simpletest/prj.conf'
    
    warning: RTT_CONSOLE (defined at c:\ncs\MyApps\serial_lte_modem_simpletest\build\drivers\console\Kconfig:107) was assigned the value 'y' but got the
    value 'n'. Check these unsatisfied dependencies: CONSOLE (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_RTT_CONSOLE.html and/or look up
    RTT_CONSOLE 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: UART_0_NRF_HW_ASYNC_TIMER (defined at c:\ncs\MyApps\serial_lte_modem_simpletest\build\drivers\serial\Kconfig.nrfx:95) was assigned the
    value '2' but got the value ''. Check these unsatisfied dependencies: (UART_0_NRF_UART ||
    UART_0_NRF_UARTE) (=n). See
    http://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_UART_0_NRF_HW_ASYNC_TIMER.html and/or
    look up UART_0_NRF_HW_ASYNC_TIMER 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: Experimental symbol HTTP_CLIENT is enabled.
    
    
    warning: Experimental symbol NET_SOCKETS_OFFLOAD is enabled.
    
    
    warning: UART_0_NRF_HW_ASYNC (defined at c:\ncs\MyApps\serial_lte_modem_simpletest\build\drivers\serial\Kconfig.nrfx:76) has direct dependencies UART_0_NRF_UARTE && UART_ASYNC_API && (UART_0_NRF_UART || UART_0_NRF_UARTE) && UART_NRFX && SERIAL with value n, but is currently being y-selected by the following symbols:
     - SLM_CONNECT_UART_0 (defined at C:\ncs\MyApps\serial_lte_modem_simpletest\Kconfig:45), with value y, direct dependencies <choice> (value: y), and select condition <choice> (value: y)
    
    error: Aborting due to Kconfig warnings
    
    CMake Error at C:\ncs\v1.8.0\zephyr\cmake\kconfig.cmake:270 (message):
      command failed with return code: 1
    Call Stack (most recent call first):
      C:\ncs\v1.8.0\zephyr\cmake\app\boilerplate.cmake:546 (include)
      C:\ncs\v1.8.0\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:24 (include)
      C:\ncs\v1.8.0\zephyr\share\zephyr-package\cmake\ZephyrConfig.cmake:40 (include_boilerplate)
      c:\ncs\MyApps\serial_lte_modem_simpletest\build\CMakeLists.txt:9 (find_package)
    
    
    -- Configuring incomplete, errors occurred!
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE' '-DWEST_PYTHON=c:\ncs\v1.8.0\toolchain\opt\bin\python.exe' '-Bc:\ncs\MyApps\serial_lte_modem_simpletest\build' '-Sc:\ncs\MyApps\serial_lte_modem_simpletest' -GNinja
    The terminal process terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.

    And if i compile for something like the basic "circuitdojo_feather_nrf9160_ns" I get:

    > Executing task: nRF Connect: Build serial_lte_modem_simpletest/build (active) <
    
    Building serial_lte_modem_simpletest
    west build --build-dir c:\ncs\MyApps\serial_lte_modem_simpletest\build c:\ncs\MyApps\serial_lte_modem_simpletest
    
    [0/298] Performing build step for 'spm_subimage'
    ninja: no work to do.
    [2/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc32_sw.c.obj
    [3/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc8_sw.c.obj
    [4/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/dec.c.obj
    [5/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc7_sw.c.obj
    [6/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/crc16_sw.c.obj
    [7/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [8/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [9/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [10/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [11/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [12/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [13/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [14/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [15/296] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/power.c.obj
    [16/296] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [17/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [18/296] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [19/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [20/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [21/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [22/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [23/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [24/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [25/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb.c.obj
    [26/296] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [27/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_append.c.obj
    [28/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [29/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_elem_info.c.obj
    [30/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_backend_rtt.c.obj
    [31/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_list.c.obj
    [32/296] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [33/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [34/296] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [35/296] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [36/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [37/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [38/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [39/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_rotate.c.obj
    [40/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj
    [41/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_getnext.c.obj
    [42/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_walk.c.obj
    [43/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp_simple.c.obj
    [44/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [45/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj
    [46/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
    [47/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/getaddrinfo.c.obj
    [48/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [49/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp.c.obj
    [50/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [51/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
    [52/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [53/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [54/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [55/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/policy_residency.c.obj
    [56/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm_ctrl.c.obj
    [57/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_fcb.c.obj
    [58/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [59/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/device.c.obj
    [60/296] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v1.8.0/nrf/subsys/nonsecure/secure_services_ns.c.obj
    [61/296] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/power.c.obj
    [62/296] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [62/296] Performing build step for 'mcuboot_subimage'
    ninja: no work to do.
    [64/296] Generating linker_zephyr_prebuilt.cmd
    [66/294] Building C object modules/mcuboot/boot/bootutil/zephyr/CMakeFiles/mcuboot_util.dir/C_/ncs/v1.8.0/bootloader/mcuboot/boot/bootutil/src/bootutil_public.c.obj
    [67/294] Building C object modules/cjson/CMakeFiles/cjson.dir/os/cJSON_os.c.obj
    [68/294] Building C object modules/cjson/CMakeFiles/cjson.dir/C_/ncs/v1.8.0/modules/lib/cjson/cJSON.c.obj
    [69/294] Linking C static library modules\mcuboot\boot\bootutil\zephyr\libmcuboot_util.a
    [70/294] Building C object modules/cjson/CMakeFiles/cjson.dir/C_/ncs/v1.8.0/modules/lib/cjson/cJSON_Utils.c.obj
    [71/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/nrfx_glue.c.obj
    [72/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_clock.c.obj
    [73/294] Linking C static library modules\cjson\libcjson.a
    [74/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/mdk/system_nrf9160.c.obj
    [75/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_dppi.c.obj
    [76/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [77/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_timer.c.obj
    [78/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_ipc.c.obj
    [79/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_gpiote.c.obj
    [80/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twi_twim.c.obj
    [81/294] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twim.c.obj
    [82/294] Building C object modules/segger/CMakeFiles/modules__segger.dir/C_/ncs/v1.8.0/modules/debug/segger/SEGGER/SEGGER_RTT.c.obj
    [83/294] Building C object modules/segger/CMakeFiles/modules__segger.dir/SEGGER_RTT_zephyr.c.obj
    [84/294] Linking C static library modules\hal_nordic\nrfx\libmodules__hal_nordic__nrfx.a
    [85/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [86/294] Linking C static library modules\segger\libmodules__segger.a
    [87/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [88/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [89/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [90/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [91/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [92/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [93/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [94/294] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [95/294] Building C object CMakeFiles/app.dir/src/slm_at_host.c.obj
    FAILED: CMakeFiles/app.dir/src/slm_at_host.c.obj 
    C:\ncs\v1.8.0\toolchain\opt\bin\arm-none-eabi-gcc.exe -DAPP_VERSION=v1.8.0 -DBUILD_VERSION=v2.7.0-ncs1 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v1.8.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v1.8.0/zephyr/soc/arm/nordic_nrf/nrf91 -IC:/ncs/v1.8.0/zephyr/lib/libc/newlib/include -IC:/ncs/v1.8.0/zephyr/subsys/net/lib/sockets/. -IC:/ncs/v1.8.0/zephyr/subsys/net/ip -IC:/ncs/v1.8.0/zephyr/subsys/settings/include -IC:/ncs/v1.8.0/nrf/include -IC:/ncs/v1.8.0/nrf/lib/at_notif/. -IC:/ncs/v1.8.0/nrf/lib/at_cmd_parser/include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/nrf_cloud/./include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/cloud/./include -IC:/ncs/v1.8.0/modules/lib/cjson -IC:/ncs/v1.8.0/nrf/modules/cjson/include -IC:/ncs/v1.8.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v1.8.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v1.8.0/modules/debug/segger/SEGGER -IC:/ncs/v1.8.0/modules/debug/segger/Config -IC:/ncs/v1.8.0/zephyr/modules/segger/. -IC:/ncs/v1.8.0/nrfxlib/nrf_modem/include -I../src/gnss/. -I../src/ftp_c/. -I../src/mqtt_c/. -I../src/http_c/. -I../src/twi/. -I../src/gpio/. -I../src -Os -imacros C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -imacros C:/ncs/v1.8.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/ncs/MyApps/serial_lte_modem_simpletest=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v1.8.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v1.8.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/slm_at_host.c.obj -MF CMakeFiles\app.dir\src\slm_at_host.c.obj.d -o CMakeFiles/app.dir/src/slm_at_host.c.obj -c ../src/slm_at_host.c
    In file included from C:\ncs\v1.8.0\zephyr\include\arch\arm\aarch32\arch.h:20,
                     from C:\ncs\v1.8.0\zephyr\include\arch\cpu.h:19,
                     from C:\ncs\v1.8.0\zephyr\include\kernel_includes.h:33,
                     from C:\ncs\v1.8.0\zephyr\include\kernel.h:17,
                     from C:\ncs\v1.8.0\zephyr\include\zephyr.h:18,
                     from c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:7:
    ../src/slm_at_host.c: In function 'slm_uart_configure':
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: note: each undeclared identifier is reported only once for each function it appears in
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:6: note: in expansion of macro 'DT_PROP'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:14: note: in expansion of macro 'DT_NODELABEL'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |              ^~~~~~~~~~~~
    [96/294] Building C object CMakeFiles/app.dir/src/slm_at_commands.c.obj
    [97/294] Building C object CMakeFiles/app.dir/src/slm_at_fota.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE' --build 'c:\ncs\MyApps\serial_lte_modem_simpletest\build'
    The terminal process terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.

    All I need to do is get this thing talking on two serial lines again with GPS and cellular location services enabled. I had it working in VM before, but the file got messed up when transferring to a new machine.

    Before all I did was use the circuitdojo_feather_nrf9160_ns board with an overlay file like this:

    &uart0 {
    	status = "okay";
    	current-speed = <115200>;
    	tx-pin = <24>;
    	rx-pin = <23>;
    	cts-pin = <0xFFFFFFFF>;
    	rts-pin = <0xFFFFFFFF>;
    };

  • And if i compile for something like the basic "circuitdojo_feather_nrf9160_ns" I get:

    If i try to directly address this one, i change this in prj.conf:

    # Segger RTT
    CONFIG_USE_SEGGER_RTT=n
    CONFIG_RTT_CONSOLE=n
    CONFIG_UART_CONSOLE=y
    CONFIG_LOG_BACKEND_RTT=n
    CONFIG_LOG_BACKEND_UART=n

    I get a lot further:

    > Executing task: nRF Connect: Build serial_lte_modem_simpletest/build (active) <
    
    Building serial_lte_modem_simpletest
    west build --build-dir c:\ncs\MyApps\serial_lte_modem_simpletest\build c:\ncs\MyApps\serial_lte_modem_simpletest
    
    [0/289] Performing build step for 'spm_subimage'
    ninja: no work to do.
    [2/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [3/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [4/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [5/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [6/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [7/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [8/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [9/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [10/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [11/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [12/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [13/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [14/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [15/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [16/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_append.c.obj
    [17/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [18/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [19/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_list.c.obj
    [20/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [21/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [22/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/power.c.obj
    [23/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [24/287] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [25/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [26/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [27/287] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [28/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [29/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [30/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [31/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj
    [32/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [33/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
    [34/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb.c.obj
    [35/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_rotate.c.obj
    [36/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_walk.c.obj
    [37/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj
    [38/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_getnext.c.obj
    [39/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [40/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_elem_info.c.obj
    [41/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_fcb.c.obj
    [42/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/power.c.obj
    [43/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp.c.obj
    [44/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [45/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [46/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [47/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [48/287] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v1.8.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [49/287] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v1.8.0/nrf/subsys/nonsecure/secure_services_ns.c.obj
    [50/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/device.c.obj
    [51/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [52/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm_ctrl.c.obj
    [53/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/policy_residency.c.obj
    [54/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [55/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [56/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [57/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [58/287] Generating linker_zephyr_prebuilt.cmd
    [59/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [60/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [61/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [62/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [63/287] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [64/287] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [65/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [66/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [67/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [68/287] Linking C static library zephyr\arch\common\libisr_tables.a
    [69/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [70/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [71/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [72/287] Linking C static library zephyr\arch\common\libarch__common.a
    [73/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [74/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [75/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twi_twim.c.obj
    [76/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twim.c.obj
    [77/287] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [78/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_timer.c.obj
    [79/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [80/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [81/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [82/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [83/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [84/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [85/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [86/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [87/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [88/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [89/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [90/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [91/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [92/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [93/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [94/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [95/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
    [96/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [97/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [98/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [99/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [100/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [101/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [102/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [103/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [104/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [105/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [106/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [107/287] Building C object CMakeFiles/app.dir/src/slm_at_host.c.obj
    FAILED: CMakeFiles/app.dir/src/slm_at_host.c.obj 
    C:\ncs\v1.8.0\toolchain\opt\bin\arm-none-eabi-gcc.exe -DAPP_VERSION=v1.8.0 -DBUILD_VERSION=v2.7.0-ncs1 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v1.8.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v1.8.0/zephyr/soc/arm/nordic_nrf/nrf91 -IC:/ncs/v1.8.0/zephyr/lib/libc/newlib/include -IC:/ncs/v1.8.0/zephyr/subsys/net/lib/sockets/. -IC:/ncs/v1.8.0/zephyr/subsys/net/ip -IC:/ncs/v1.8.0/zephyr/subsys/settings/include -IC:/ncs/v1.8.0/nrf/include -IC:/ncs/v1.8.0/nrf/lib/at_notif/. -IC:/ncs/v1.8.0/nrf/lib/at_cmd_parser/include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/nrf_cloud/./include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/cloud/./include -IC:/ncs/v1.8.0/modules/lib/cjson -IC:/ncs/v1.8.0/nrf/modules/cjson/include -IC:/ncs/v1.8.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v1.8.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v1.8.0/nrfxlib/nrf_modem/include -I../src/gnss/. -I../src/ftp_c/. -I../src/mqtt_c/. -I../src/http_c/. -I../src/twi/. -I../src/gpio/. -I../src -Os -imacros C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -imacros C:/ncs/v1.8.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/ncs/MyApps/serial_lte_modem_simpletest=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v1.8.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v1.8.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/slm_at_host.c.obj -MF CMakeFiles\app.dir\src\slm_at_host.c.obj.d -o CMakeFiles/app.dir/src/slm_at_host.c.obj -c ../src/slm_at_host.c
    In file included from C:\ncs\v1.8.0\zephyr\include\arch\arm\aarch32\arch.h:20,
                     from C:\ncs\v1.8.0\zephyr\include\arch\cpu.h:19,
                     from C:\ncs\v1.8.0\zephyr\include\kernel_includes.h:33,
                     from C:\ncs\v1.8.0\zephyr\include\kernel.h:17,
                     from C:\ncs\v1.8.0\zephyr\include\zephyr.h:18,
                     from c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:7:
    ../src/slm_at_host.c: In function 'slm_uart_configure':
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: note: each undeclared identifier is reported only once for each function it appears in
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:6: note: in expansion of macro 'DT_PROP'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:14: note: in expansion of macro 'DT_NODELABEL'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |              ^~~~~~~~~~~~
    [108/287] Linking C static library zephyr\kernel\libkernel.a
    [109/287] Building C object CMakeFiles/app.dir/src/slm_at_udp_proxy.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE' --build 'c:\ncs\MyApps\serial_lte_modem_simpletest\build'
    The terminal process terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.
    

    funny is this is very similar to the blank board errors.

Reply
  • And if i compile for something like the basic "circuitdojo_feather_nrf9160_ns" I get:

    If i try to directly address this one, i change this in prj.conf:

    # Segger RTT
    CONFIG_USE_SEGGER_RTT=n
    CONFIG_RTT_CONSOLE=n
    CONFIG_UART_CONSOLE=y
    CONFIG_LOG_BACKEND_RTT=n
    CONFIG_LOG_BACKEND_UART=n

    I get a lot further:

    > Executing task: nRF Connect: Build serial_lte_modem_simpletest/build (active) <
    
    Building serial_lte_modem_simpletest
    west build --build-dir c:\ncs\MyApps\serial_lte_modem_simpletest\build c:\ncs\MyApps\serial_lte_modem_simpletest
    
    [0/289] Performing build step for 'spm_subimage'
    ninja: no work to do.
    [2/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/printk.c.obj
    [3/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/fdtable.c.obj
    [4/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/onoff.c.obj
    [5/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/hex.c.obj
    [6/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/rb.c.obj
    [7/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/notify.c.obj
    [8/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/sem.c.obj
    [9/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/thread_entry.c.obj
    [10/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/bitarray.c.obj
    [11/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap.c.obj
    [12/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/heap-validate.c.obj
    [13/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/timeutil.c.obj
    [14/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/cbprintf_complete.c.obj
    [15/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/ring_buffer.c.obj
    [16/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_append.c.obj
    [17/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_mgmt.c.obj
    [18/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_core.c.obj
    [19/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_list.c.obj
    [20/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_msg.c.obj
    [21/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/logging/log_output.c.obj
    [22/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/power.c.obj
    [23/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/reboot.c.obj
    [24/287] Building C object zephyr/CMakeFiles/zephyr.dir/misc/generated/configs.c.obj
    [25/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/nrf91/soc.c.obj
    [26/287] Building C object zephyr/CMakeFiles/zephyr.dir/lib/os/mpsc_pbuf.c.obj
    [27/287] Building ASM object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/common/soc_nrf_common.S.obj
    [28/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_enabled_instances.c.obj
    [29/287] Building C object zephyr/CMakeFiles/zephyr.dir/soc/arm/nordic_nrf/validate_base_addresses.c.obj
    [30/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/flash_map/flash_map.c.obj
    [31/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/socket_offload.c.obj
    [32/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets_select.c.obj
    [33/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/storage/stream/stream_flash.c.obj
    [34/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb.c.obj
    [35/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_rotate.c.obj
    [36/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_walk.c.obj
    [37/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/dfu/img_util/flash_img.c.obj
    [38/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_getnext.c.obj
    [39/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/utils/addr_utils.c.obj
    [40/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/fs/fcb/fcb_elem_info.c.obj
    [41/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_fcb.c.obj
    [42/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/power.c.obj
    [43/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sntp/sntp.c.obj
    [44/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_init.c.obj
    [45/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_store.c.obj
    [46/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings.c.obj
    [47/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/settings/src/settings_line.c.obj
    [48/287] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v1.8.0/nrf/subsys/partition_manager/flash_map_partition_manager.c.obj
    [49/287] Building C object zephyr/CMakeFiles/zephyr.dir/C_/ncs/v1.8.0/nrf/subsys/nonsecure/secure_services_ns.c.obj
    [50/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/device.c.obj
    [51/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/tracing/tracing_none.c.obj
    [52/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/pm_ctrl.c.obj
    [53/287] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/pm/policy/policy_residency.c.obj
    [54/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/reset.S.obj
    [55/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fpu.c.obj
    [56/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault_s.S.obj
    [57/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/irq_init.c.obj
    [58/287] Generating linker_zephyr_prebuilt.cmd
    [59/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/exc_exit.S.obj
    [60/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/isr_wrapper.S.obj
    [61/287] Building C object zephyr/arch/arch/arm/core/aarch32/cortex_m/CMakeFiles/arch__arm__core__aarch32__cortex_m.dir/fault.c.obj
    [62/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/cpu_idle.S.obj
    [63/287] Building C object zephyr/arch/common/CMakeFiles/arch__common.dir/sw_isr_common.c.obj
    [64/287] Building C object zephyr/arch/common/CMakeFiles/isr_tables.dir/isr_tables.c.obj
    [65/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi_on_reset.S.obj
    [66/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/nmi.c.obj
    [67/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/prep_c.c.obj
    [68/287] Linking C static library zephyr\arch\common\libisr_tables.a
    [69/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/fatal.c.obj
    [70/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/irq_manage.c.obj
    [71/287] Building ASM object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap_helper.S.obj
    [72/287] Linking C static library zephyr\arch\common\libarch__common.a
    [73/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/thread.c.obj
    [74/287] Building C object zephyr/arch/arch/arm/core/aarch32/CMakeFiles/arch__arm__core__aarch32.dir/swap.c.obj
    [75/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twi_twim.c.obj
    [76/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_twim.c.obj
    [77/287] Linking C static library zephyr\arch\arch\arm\core\aarch32\libarch__arm__core__aarch32.a
    [78/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_timer.c.obj
    [79/287] Building C object modules/hal_nordic/nrfx/CMakeFiles/modules__hal_nordic__nrfx.dir/C_/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/src/nrfx_nvmc.c.obj
    [80/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/device.c.obj
    [81/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/banner.c.obj
    [82/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/main_weak.c.obj
    [83/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/errno.c.obj
    [84/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/init.c.obj
    [85/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/version.c.obj
    [86/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/idle.c.obj
    [87/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/fatal.c.obj
    [88/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/kheap.c.obj
    [89/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mem_slab.c.obj
    [90/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/msg_q.c.obj
    [91/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/thread.c.obj
    [92/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sem.c.obj
    [93/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mutex.c.obj
    [94/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mailbox.c.obj
    [95/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/pipes.c.obj
    [96/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/queue.c.obj
    [97/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/work.c.obj
    [98/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/xip.c.obj
    [99/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/sched.c.obj
    [100/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/system_work_q.c.obj
    [101/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/stack.c.obj
    [102/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/condvar.c.obj
    [103/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timer.c.obj
    [104/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/mempool.c.obj
    [105/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/poll.c.obj
    [106/287] Building C object zephyr/kernel/CMakeFiles/kernel.dir/timeout.c.obj
    [107/287] Building C object CMakeFiles/app.dir/src/slm_at_host.c.obj
    FAILED: CMakeFiles/app.dir/src/slm_at_host.c.obj 
    C:\ncs\v1.8.0\toolchain\opt\bin\arm-none-eabi-gcc.exe -DAPP_VERSION=v1.8.0 -DBUILD_VERSION=v2.7.0-ncs1 -DEXT_API_MAGIC=0x281ee6de,0xb845acea,23298 -DFIRMWARE_INFO_MAGIC=0x281ee6de,0x8fcebb4c,23298 -DKERNEL -DNRF9160_XXAA -DNRF_TRUSTZONE_NONSECURE -DUSE_PARTITION_MANAGER=1 -D_FORTIFY_SOURCE=2 -D__LINUX_ERRNO_EXTENSIONS__ -D__PROGRAM_START -D__ZEPHYR__=1 -IC:/ncs/v1.8.0/zephyr/include -Izephyr/include/generated -IC:/ncs/v1.8.0/zephyr/soc/arm/nordic_nrf/nrf91 -IC:/ncs/v1.8.0/zephyr/lib/libc/newlib/include -IC:/ncs/v1.8.0/zephyr/subsys/net/lib/sockets/. -IC:/ncs/v1.8.0/zephyr/subsys/net/ip -IC:/ncs/v1.8.0/zephyr/subsys/settings/include -IC:/ncs/v1.8.0/nrf/include -IC:/ncs/v1.8.0/nrf/lib/at_notif/. -IC:/ncs/v1.8.0/nrf/lib/at_cmd_parser/include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/nrf_cloud/./include -IC:/ncs/v1.8.0/nrf/subsys/net/lib/cloud/./include -IC:/ncs/v1.8.0/modules/lib/cjson -IC:/ncs/v1.8.0/nrf/modules/cjson/include -IC:/ncs/v1.8.0/modules/hal/cmsis/CMSIS/Core/Include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/drivers/include -IC:/ncs/v1.8.0/modules/hal/nordic/nrfx/mdk -IC:/ncs/v1.8.0/zephyr/modules/hal_nordic/nrfx/. -IC:/ncs/v1.8.0/nrfxlib/nrf_modem/include -I../src/gnss/. -I../src/ftp_c/. -I../src/mqtt_c/. -I../src/http_c/. -I../src/twi/. -I../src/gpio/. -I../src -Os -imacros C:/ncs/MyApps/serial_lte_modem_simpletest/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mfp16-format=ieee -imacros C:/ncs/v1.8.0/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-address-of-packed-member -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=C:/ncs/MyApps/serial_lte_modem_simpletest=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/ncs/v1.8.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/ncs/v1.8.0=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT CMakeFiles/app.dir/src/slm_at_host.c.obj -MF CMakeFiles\app.dir\src\slm_at_host.c.obj.d -o CMakeFiles/app.dir/src/slm_at_host.c.obj -c ../src/slm_at_host.c
    In file included from C:\ncs\v1.8.0\zephyr\include\arch\arm\aarch32\arch.h:20,
                     from C:\ncs\v1.8.0\zephyr\include\arch\cpu.h:19,
                     from C:\ncs\v1.8.0\zephyr\include\kernel_includes.h:33,
                     from C:\ncs\v1.8.0\zephyr\include\kernel.h:17,
                     from C:\ncs\v1.8.0\zephyr\include\zephyr.h:18,
                     from c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:7:
    ../src/slm_at_host.c: In function 'slm_uart_configure':
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_rts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: note: each undeclared identifier is reported only once for each function it appears in
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
      248 |      DT_PROP(DT_NODELABEL(uart0), rts_pin),
          |              ^~~~~~~~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\build\zephyr\include\generated\devicetree_unfixed.h:5386:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_cts_pin' undeclared (first use in this function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_8000_P_tx_pin'?
     5386 | #define DT_N_NODELABEL_uart0         DT_N_S_soc_S_peripheral_40000000_S_uart_8000
          |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in definition of macro 'DT_CAT'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:6: note: in expansion of macro 'DT_PROP'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |      ^~~~~~~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:2641:24: note: in expansion of macro 'DT_N_NODELABEL_uart0'
     2641 | #define DT_CAT(a1, a2) a1 ## a2
          |                        ^~
    C:\ncs\v1.8.0\zephyr\include\devicetree.h:177:29: note: in expansion of macro 'DT_CAT'
      177 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
          |                             ^~~~~~
    c:\ncs\MyApps\serial_lte_modem_simpletest\src\slm_at_host.c:249:14: note: in expansion of macro 'DT_NODELABEL'
      249 |      DT_PROP(DT_NODELABEL(uart0), cts_pin));
          |              ^~~~~~~~~~~~
    [108/287] Linking C static library zephyr\kernel\libkernel.a
    [109/287] Building C object CMakeFiles/app.dir/src/slm_at_udp_proxy.c.obj
    ninja: build stopped: subcommand failed.
    FATAL ERROR: command exited with status 1: 'c:\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE' --build 'c:\ncs\MyApps\serial_lte_modem_simpletest\build'
    The terminal process terminated with exit code: 1.
    
    Terminal will be reused by tasks, press any key to close it.
    

    funny is this is very similar to the blank board errors.

Children
No Data
Related