So after reading on this forum for a while, I renamed the overlay file to sparkfun_thing_plus_nrf9160ns.overlay but when I click build in vs code I get the following errors:
c:\Users\David\Desktop\LTE3\LTE7\build\zephyr\include\generated\devicetree_unfixed.h:5127: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'?
5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),
| ^~~~~~~
C:\Users\David\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:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),
| ^~~~~~~~~~~~
c:\Users\David\Desktop\LTE3\LTE7\build\zephyr\include\generated\devicetree_unfixed.h:5127:38: note: each undeclared identifier is reported only once for each function it appears in
5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:248:6: note: in expansion of macro 'DT_PROP'
248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),
| ^~~~~~~
C:\Users\David\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:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:248:14: note: in expansion of macro 'DT_NODELABEL'
248 | DT_PROP(DT_NODELABEL(uart0), rts_pin),
| ^~~~~~~~~~~~
c:\Users\David\Desktop\LTE3\LTE7\build\zephyr\include\generated\devicetree_unfixed.h:5127: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'?
5127 | #define DT_N_NODELABEL_uart0 DT_N_S_soc_S_peripheral_40000000_S_uart_8000
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
C:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:249:6: note: in expansion of macro 'DT_PROP'
249 | DT_PROP(DT_NODELABEL(uart0), cts_pin));
| ^~~~~~~
C:\Users\David\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:\Users\David\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:\Users\David\Desktop\LTE3\LTE7\src\slm_at_host.c:249:14: note: in expansion of macro 'DT_NODELABEL'
249 | DT_PROP(DT_NODELABEL(uart0), cts_pin));
| ^~~~~~~~~~~~
[117/313] Building C object CMakeFiles/app.dir/src/slm_at_socket.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: 'c:\Users\David\ncs\v1.8.0\toolchain\opt\bin\cmake.EXE' --build 'c:\Users\David\Desktop\LTE3\LTE7\build'
The terminal process terminated with exit code: 1.
What am I missing here?
Sincerely,
DC