After following instructions from https://docs.jaredwolff.com/nrf9160-serial-lte-modem-sample.html
I have the following error

PS C:\nfed\nrf\applications\serial_lte_modem> west build -b circuitdojo_feather_nrf9160ns
>>
[0/64] Performing build step for 'spm_subimage'
ninja: no work to do.
[1/62] Performing build step for 'mcuboot_subimage'
ninja: no work to do.
[2/62] Building C object zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
FAILED: zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj
C:\PROGRA~2\GNUTOO~1\92019-~1\bin\AR19DD~1.EXE -DAPP_VERSION=v1.3.2 -DBUILD_VERSION=v2.3.0-rc1-ncs3 -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_SUPERVISOR__ -D__ZEPHYR__=1 -IC:/nfed/zephyr/include -Izephyr/include/generated -IC:/nfed/zephyr/soc/arm/nordic_nrf/nrf91 -IC:/nfed/zephyr/lib/libc/newlib/include -IC:/nfed/zephyr/subsys/net/lib/sockets/. -IC:/nfed/nrf9160-feather/include -IC:/nfed/nrf/include -IC:/nfed/nrf/lib/at_notif/. -IC:/nfed/nrf/lib/at_cmd_parser/include -IC:/nfed/nrfxlib/bsdlib/include -IC:/nfed/modules/hal/cmsis/CMSIS/Core/Include -IC:/nfed/modules/hal/nordic/nrfx -IC:/nfed/modules/hal/nordic/nrfx/drivers/include -IC:/nfed/modules/hal/nordic/nrfx/mdk -IC:/nfed/modules/hal/nordic/. -IC:/nfed/modules/debug/segger/rtt -IC:/nfed/nrf/applications/serial_lte_modem/src/tcpip_proxy/. -IC:/nfed/nrf/applications/serial_lte_modem/src -Os -imacrosC:/nfed/nrf/applications/serial_lte_modem/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mcpu=cortex-m33 -mthumb -mabi=aapcs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -imacrosC:/nfed/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-address-of-packed-member -Wno-pointer-sign -Wpointer-arith -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:/nfed/nrf/applications/serial_lte_modem=CMAKE_SOURCE_DIR -fmacro-prefix-map=C:/nfed/zephyr=ZEPHYR_BASE -fmacro-prefix-map=C:/nfed=WEST_TOPDIR -ffunction-sections -fdata-sections -specs=nano.specs -std=c99 -MD -MT zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj -MF zephyr\drivers\serial\CMakeFiles\drivers__serial.dir\uart_nrfx_uarte.c.obj.d -o zephyr/drivers/serial/CMakeFiles/drivers__serial.dir/uart_nrfx_uarte.c.obj -c C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c
In file included from C:/nfed/zephyr/include/arch/arm/aarch32/arch.h:20,
                 from C:/nfed/zephyr/include/arch/cpu.h:19,
                 from C:/nfed/zephyr/include/kernel_includes.h:39,
                 from C:/nfed/zephyr/include/kernel.h:17,
                 from C:/nfed/zephyr/include/init.h:11,
                 from C:/nfed/zephyr/include/device.h:22,
                 from C:/nfed/zephyr/include/drivers/uart.h:26,
                 from C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:11:
zephyr/include/generated/devicetree_unfixed.h:3150:38: error: 'DT_N_S_soc_S_peripheral_40000000_S_uart_a000_P_current_speed' undeclared here (not in a function); did you mean 'DT_N_S_soc_S_peripheral_40000000_S_uart_9000_P_current_speed'?
 3150 | #define DT_N_NODELABEL_uart2         DT_N_S_soc_S_peripheral_40000000_S_uart_a000
      |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:/nfed/zephyr/include/devicetree.h:1786:38: note: in definition of macro 'DT_CAT'
 1786 | #define DT_CAT(node_id, prop_suffix) node_id##prop_suffix
      |                                      ^~~~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1448:32: note: in expansion of macro 'DT_PROP'
 1448 | #define UARTE_PROP(idx, prop)  DT_PROP(UARTE(idx), prop)
      |                                ^~~~~~~
C:/nfed/zephyr/include/devicetree.h:1786:38: note: in expansion of macro 'DT_N_NODELABEL_uart2'
 1786 | #define DT_CAT(node_id, prop_suffix) node_id##prop_suffix
      |                                      ^~~~~~~
C:/nfed/zephyr/include/devicetree.h:169:29: note: in expansion of macro 'DT_CAT'
  169 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1446:22: note: in expansion of macro 'DT_NODELABEL'
 1446 | #define UARTE(idx)   DT_NODELABEL(uart##idx)
      |                      ^~~~~~~~~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1448:40: note: in expansion of macro 'UARTE'
 1448 | #define UARTE_PROP(idx, prop)  DT_PROP(UARTE(idx), prop)
      |                                        ^~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1513:15: note: in expansion of macro 'UARTE_PROP'
 1513 |   .baudrate = UARTE_PROP(idx, current_speed),         \
      |               ^~~~~~~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1470:3: note: in expansion of macro 'UARTE_CONFIG'
 1470 |   UARTE_CONFIG(idx),            \
      |   ^~~~~~~~~~~~
C:/nfed/zephyr/drivers/serial/uart_nrfx_uarte.c:1551:1: note: in expansion of macro 'UART_NRF_UARTE_DEVICE'
 1551 | UART_NRF_UARTE_DEVICE(2);
      | ^~~~~~~~~~~~~~~~~~~~~
[11/62] Building C object zephyr/CMakeFiles/zephyr.dir/subsys/net/lib/sockets/sockets.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'C:\Program Files\CMake\bin\cmake.EXE' --build 'C:\nfed\nrf\applications\serial_lte_modem\build'
PS C:\nfed\nrf\applications\serial_lte_modem>

(Tip : Please make sure that when the ovelay file is created following these instructions that it is saved with the .overlay file extension and not .overlay.txt . )

Thanks @upswing

After renaming from .overlay.txt to .overylayand running with the -p parameter (west build -b circuitdojo_feather_nrf9160ns -p) is it compiling now?

I am still having an error:
PS C:\nfed\nrf\applications\serial_lte_modem> west build -b circuitojo_feather_nrf9160ns -p
– 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:/nfed/zephyr/cmake/app/boilerplate.cmake
– Application: C:/nfed/nrf/applications/serial_lte_modem
– Zephyr version: 2.3.0-rc1 (C:/nfed/zephyr)
– Found Python3: C:/Python39/python.exe (found suitable exact version “3.9.1”) found components: Interpreter
– Board: circuitojo_feather_nrf9160ns
No board named ‘circuitojo_feather_nrf9160ns’ found
– The C compiler identification is unknown
– The CXX compiler identification is unknown
CMake Error at C:/nfed/zephyr/cmake/extensions.cmake:1486 (project):
No CMAKE_C_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CC” or the CMake cache entry CMAKE_C_COMPILER to the full path to
the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
C:/nfed/zephyr/cmake/app/boilerplate.cmake:409 (print_usage)
C:/nfed/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/nfed/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:20 (find_package)

CMake Error at C:/nfed/zephyr/cmake/extensions.cmake:1486 (project):
No CMAKE_CXX_COMPILER could be found.

Tell CMake where to find the compiler by setting either the environment
variable “CXX” or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
C:/nfed/zephyr/cmake/app/boilerplate.cmake:409 (print_usage)
C:/nfed/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:24 (include)
C:/nfed/zephyr/share/zephyr-package/cmake/ZephyrConfig.cmake:35 (include_boilerplate)
CMakeLists.txt:20 (find_package)

– Configuring incomplete, errors occurred!
See also “C:/nfed/nrf/applications/serial_lte_modem/build/CMakeFiles/CMakeOutput.log”.
See also “C:/nfed/nrf/applications/serial_lte_modem/build/CMakeFiles/CMakeError.log”.
FATAL ERROR: command exited with status 1: ‘C:\Program Files\CMake\bin\cmake.EXE’ ‘-BC:\nfed\nrf\applications\serial_lte_modem\build’ ‘-SC:\nfed\nrf\applications\serial_lte_modem’ -GNinja -DBOARD=circuitojo_feather_nrf9160ns
PS C:\nfed\nrf\applications\serial_lte_modem>

    upswing the board definition name is incorrect:

    – Board: circuitojo_feather_nrf9160ns
    No board named ‘circuitojo_feather_nrf9160ns’ found

    It should becircuitdojo_feather_nrf9160ns.

    Terms and Conditions | Privacy Policy