<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>&amp;#39;pin&amp;#39; is marked as deprecated in &amp;#39;properties:&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98947/pin-is-marked-as-deprecated-in-properties</link><description>I am migrating from nrfConnect 1.7.1 to 2.3.0 and am getting a number of build errors. I have a custom board definition for my product and in it we&amp;#39;ve obviously defined custom pins for the peripheral devices. For example: uart0 
 When building, I get</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 07 Jan 2024 02:07:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98947/pin-is-marked-as-deprecated-in-properties" /><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/463017?ContentTypeID=1</link><pubDate>Sun, 07 Jan 2024 02:07:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc0a749d-163a-4c1d-8f22-76d1a9772164</guid><dc:creator>keegretupmoc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was having the same issue with a little different error. &amp;nbsp;It looked like in the PINCTRL Driver that the common.c routine was not getting compiled. &amp;nbsp;This was causing a couple of routines to not be resolved and getting a build error. &amp;nbsp;With CONFIG_PINCTRL=y set in proj.conf it should have been built. &amp;nbsp;But, as you commented above, putting that in the proj.conf did not appear to work. &amp;nbsp;That was recommended to me as well, although I had already tried that as a result of looking in the CMakeLists.txt.&lt;/p&gt;
&lt;p&gt;Luckily, I saw your post of finding a hint by putting it in the device tree defconfig file and that did that trick for me as well.&lt;/p&gt;
&lt;p&gt;So thanks for your digging into this. It would be good to know why it isn&amp;#39;t working when put in the proj.conf file like you would think it should.&lt;/p&gt;
&lt;p&gt;Thanks again,&lt;/p&gt;
&lt;p&gt;h.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/421829?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 15:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a341bf16-3afc-4e2f-8e27-528acb55ef61</guid><dc:creator>zciwor</dc:creator><description>&lt;p&gt;Okay, I figured it out. For some reason adding CONFIG_PINCTRL=y to the root .prj file did not work.&lt;br /&gt;&lt;br /&gt; However, adding&amp;nbsp;&lt;span&gt;CONFIG_PINCTRL=y&lt;/span&gt; to the defconfig file in your ./boards/arm/customboard/customboard_defconfig file fixes it.&lt;/p&gt;
&lt;p&gt;Here is what I used as a reference:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/boards/arm/adafruit_feather_nrf52840/adafruit_feather_nrf52840_defconfig"&gt;github.com/.../adafruit_feather_nrf52840_defconfig&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/421825?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 15:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:898c1f32-e384-45d2-b311-91dd2159d16d</guid><dc:creator>zciwor</dc:creator><description>&lt;p&gt;It seems to be complaining that the PIN_CTRL configuration is not enabled. But In build ./build/zephyr/.config file I clearly see&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PINCTRL&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;y&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;as well as other PINCTRL related configurations:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_DT_HAS_NORDIC_NRF_PINCTRL_ENABLED&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PINCTRL_STORE_REG&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PINCTRL_NRF&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I&amp;#39;ve tried deleting the build folder and running pristine builds. I&amp;#39;m not sure what I&amp;#39;m missing.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/421804?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 14:21:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f71d9df5-e3f2-40ba-b178-7b1094a1b760</guid><dc:creator>zciwor</dc:creator><description>&lt;p&gt;Hi Marte, thank you for your quick response. I added&amp;nbsp;&lt;span&gt;CONFIG_PINCTRL=y to my prj.conf file and am still facing the same error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I can also confirm my what my uart0 node in the .dts file looks like:&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Error output&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;In file included from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/toolchain.h:50,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/errno_private.h:10,
                 from /opt/nordic/ncs/v2.3.0/zephyr/lib/libc/minimal/include/errno.h:32,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/drivers/uart.h:23,
                 from /opt/nordic/ncs/v2.3.0/zephyr/drivers/serial/uart_nrfx_uarte.c:11:
/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/soc_nrf_common.h:218:9: error: static assertion failed: &amp;quot;/soc/uart@40002000 defined without required pin configuration&amp;quot;
  218 |         BUILD_ASSERT((IS_ENABLED(CONFIG_PINCTRL) &amp;amp;&amp;amp;                     \
      |         ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/serial/uart_nrfx_uarte.c:2076:9: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
 2076 |         NRF_DT_CHECK_PIN_ASSIGNMENTS(UARTE(idx), 1,                            \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/serial/uart_nrfx_uarte.c:2181:1: note: in expansion of macro &amp;#39;UART_NRF_UARTE_DEVICE&amp;#39;
 2181 | UART_NRF_UARTE_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/soc_nrf_common.h:234:9: error: static assertion failed: &amp;quot;/soc/uart@40002000 has pinctrl states defined although PINCTRL is not enabled&amp;quot;
  234 |         BUILD_ASSERT(IS_ENABLED(CONFIG_PINCTRL) ||                      \
      |         ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/serial/uart_nrfx_uarte.c:2076:9: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
 2076 |         NRF_DT_CHECK_PIN_ASSIGNMENTS(UARTE(idx), 1,                            \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/serial/uart_nrfx_uarte.c:2181:1: note: in expansion of macro &amp;#39;UART_NRF_UARTE_DEVICE&amp;#39;
 2181 | UART_NRF_UARTE_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~~&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Although, I&amp;#39;m noticing that the error is just complaining about the UART driver, these changes seem to resolve I2C errors.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Any ideas?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/421665?ContentTypeID=1</link><pubDate>Fri, 21 Apr 2023 08:37:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03102d24-7741-439d-beac-44bde099a9be</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You also need to enable pinctrl in configs. In the defconfig file of the custom board, add CONFIG_PINCTRL=y.&lt;/p&gt;
&lt;p&gt;Your pinctrl.dtsi file looks correct. Did you also add the pinctrl nodes to the UART and I2C nodes? They should be added to the node like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
	compatible = &amp;quot;nordic,nrf-uarte&amp;quot;;
	current-speed = &amp;lt;115200&amp;gt;;
	pinctrl-0 = &amp;lt;&amp;amp;uart0_default&amp;gt;;
	pinctrl-1 = &amp;lt;&amp;amp;uart0_sleep&amp;gt;;
	pinctrl-names = &amp;quot;default&amp;quot;, &amp;quot;sleep&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 'pin' is marked as deprecated in 'properties:'</title><link>https://devzone.nordicsemi.com/thread/421585?ContentTypeID=1</link><pubDate>Thu, 20 Apr 2023 19:25:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:487d24f4-5fc6-490e-81ba-189ac1708418</guid><dc:creator>zciwor</dc:creator><description>&lt;p&gt;I have found the migration guide here:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/pin_control/index.html#ug-pinctrl"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/pin_control/index.html#ug-pinctrl&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;But after following the instructions, I am now getting the following errors:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FAILED: zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_nrfx_twim.c.obj 
ccache /opt/nordic/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DKERNEL -DNRF52832_XXAA -DUSE_PARTITION_MANAGER=1 -D__PROGRAM_START -D__ZEPHYR_SUPERVISOR__ -D__ZEPHYR__=1 -I/opt/nordic/ncs/v2.3.0/zephyr/include -Izephyr/include/generated -I/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/nrf52 -I/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/. -I/opt/nordic/ncs/v2.3.0/zephyr/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/nrfx_glue -I/opt/nordic/ncs/v2.3.0/zephyr/subsys/bluetooth -I/opt/nordic/ncs/v2.3.0/zephyr/subsys/mgmt/mcumgr/util/include -I/opt/nordic/ncs/v2.3.0/zephyr/subsys/mgmt/mcumgr/transport/include -I/opt/nordic/ncs/v2.3.0/zephyr/subsys/settings/include -I/opt/nordic/ncs/v2.3.0/nrf/include -I/opt/nordic/ncs/v2.3.0/nrf/tests/include -I/opt/nordic/ncs/v2.3.0/modules/hal/cmsis/CMSIS/Core/Include -I/opt/nordic/ncs/v2.3.0/modules/hal/nordic/nrfx -I/opt/nordic/ncs/v2.3.0/modules/hal/nordic/nrfx/drivers/include -I/opt/nordic/ncs/v2.3.0/modules/hal/nordic/nrfx/mdk -I/opt/nordic/ncs/v2.3.0/zephyr/modules/hal_nordic/nrfx/. -I/opt/nordic/ncs/v2.3.0/modules/debug/segger/SEGGER -I/opt/nordic/ncs/v2.3.0/modules/debug/segger/Config -I/opt/nordic/ncs/v2.3.0/zephyr/modules/segger/. -I/opt/nordic/ncs/v2.3.0/modules/crypto/tinycrypt/lib/include -I/opt/nordic/ncs/v2.3.0/modules/lib/zcbor/include -I/opt/nordic/ncs/v2.3.0/nrfxlib/softdevice_controller/include -isystem /opt/nordic/ncs/v2.3.0/zephyr/lib/libc/minimal/include -isystem /opt/nordic/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include -isystem /opt/nordic/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/include-fixed -fno-strict-aliasing -Os -imacros /Users/ericpietrowicz/Documents/work-projects/firmware-development/oslo_firmware/build/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -gdwarf-4 -fdiagnostics-color=always -mcpu=cortex-m4 -mthumb -mabi=aapcs -mfp16-format=ieee --sysroot=/opt/nordic/ncs/toolchains/v2.3.0/opt/zephyr-sdk/arm-zephyr-eabi/arm-zephyr-eabi -imacros /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wexpansion-to-defined -Wno-unused-but-set-variable -Werror=implicit-int -fno-pic -fno-pie -fno-asynchronous-unwind-tables -fno-reorder-functions --param=min-pagesize=0 -fno-defer-pop -fmacro-prefix-map=/Users/ericpietrowicz/Documents/work-projects/firmware-development/oslo_firmware=CMAKE_SOURCE_DIR -fmacro-prefix-map=/opt/nordic/ncs/v2.3.0/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/nordic/ncs/v2.3.0=WEST_TOPDIR -ffunction-sections -fdata-sections -std=c99 -nostdinc -MD -MT zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_nrfx_twim.c.obj -MF zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_nrfx_twim.c.obj.d -o zephyr/drivers/i2c/CMakeFiles/drivers__i2c.dir/i2c_nrfx_twim.c.obj -c /opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c
In file included from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/toolchain.h:50,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/errno_private.h:10,
                 from /opt/nordic/ncs/v2.3.0/zephyr/lib/libc/minimal/include/errno.h:32,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/drivers/i2c.h:22,
                 from /opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:8:
/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/soc_nrf_common.h:218:9: error: static assertion failed: &amp;quot;/soc/i2c@40003000 defined without required pin configuration&amp;quot;
  218 |         BUILD_ASSERT((IS_ENABLED(CONFIG_PINCTRL) &amp;amp;&amp;amp;                     \
      |         ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:419:9: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
  419 |         NRF_DT_CHECK_PIN_ASSIGNMENTS(I2C(idx), 1, scl_pin, sda_pin);           \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:462:1: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_DEVICE&amp;#39;
  462 | I2C_NRFX_TWIM_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/soc/arm/nordic_nrf/common/soc_nrf_common.h:234:9: error: static assertion failed: &amp;quot;/soc/i2c@40003000 has pinctrl states defined although PINCTRL is not enabled&amp;quot;
  234 |         BUILD_ASSERT(IS_ENABLED(CONFIG_PINCTRL) ||                      \
      |         ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:419:9: note: in expansion of macro &amp;#39;NRF_DT_CHECK_PIN_ASSIGNMENTS&amp;#39;
  419 |         NRF_DT_CHECK_PIN_ASSIGNMENTS(I2C(idx), 1, scl_pin, sda_pin);           \
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:462:1: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_DEVICE&amp;#39;
  462 | I2C_NRFX_TWIM_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~
In file included from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_macro.h:34,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util.h:17,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:21,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/device.h:12,
                 from /opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/drivers/i2c.h:25:
/Users/ericpietrowicz/Documents/work-projects/firmware-development/oslo_firmware/build/zephyr/include/generated/devicetree_generated.h:9393:37: error: &amp;#39;DT_N_S_soc_S_i2c_40003000_P_scl_pin&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_i2c_40003000_P_status&amp;#39;?
 9393 | #define DT_N_NODELABEL_i2c0         DT_N_S_soc_S_i2c_40003000
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro &amp;#39;__DEBRACKET&amp;#39;
   72 | #define __DEBRACKET(...) __VA_ARGS__
      |                          ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro &amp;#39;__GET_ARG2_DEBRACKET&amp;#39;
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro &amp;#39;__COND_CODE&amp;#39;
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_macro.h:157:9: note: in expansion of macro &amp;#39;Z_COND_CODE_1&amp;#39;
  157 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:412:9: note: in expansion of macro &amp;#39;COND_CODE_1&amp;#39;
  412 |         COND_CODE_1(CONFIG_PINCTRL,                     \
      |         ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:607:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  607 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:415:25: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  415 |                 (.scl = DT_PROP(I2C(idx), scl_pin),     \
      |                         ^~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_NODELABEL_i2c0&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:190:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:394:18: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  394 | #define I2C(idx) DT_NODELABEL(i2c##idx)
      |                  ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:415:33: note: in expansion of macro &amp;#39;I2C&amp;#39;
  415 |                 (.scl = DT_PROP(I2C(idx), scl_pin),     \
      |                                 ^~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:442:25: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_PIN_CFG&amp;#39;
  442 |                         I2C_NRFX_TWIM_PIN_CFG(idx)                             \
      |                         ^~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:462:1: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_DEVICE&amp;#39;
  462 | I2C_NRFX_TWIM_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~
/Users/ericpietrowicz/Documents/work-projects/firmware-development/oslo_firmware/build/zephyr/include/generated/devicetree_generated.h:9393:37: error: &amp;#39;DT_N_S_soc_S_i2c_40003000_P_sda_pin&amp;#39; undeclared here (not in a function); did you mean &amp;#39;DT_N_S_soc_S_i2c_40003000_P_status&amp;#39;?
 9393 | #define DT_N_NODELABEL_i2c0         DT_N_S_soc_S_i2c_40003000
      |                                     ^~~~~~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:72:26: note: in definition of macro &amp;#39;__DEBRACKET&amp;#39;
   72 | #define __DEBRACKET(...) __VA_ARGS__
      |                          ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:64:9: note: in expansion of macro &amp;#39;__GET_ARG2_DEBRACKET&amp;#39;
   64 |         __GET_ARG2_DEBRACKET(one_or_two_args _if_code, _else_code)
      |         ^~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_internal.h:59:9: note: in expansion of macro &amp;#39;__COND_CODE&amp;#39;
   59 |         __COND_CODE(_XXXX##_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/sys/util_macro.h:157:9: note: in expansion of macro &amp;#39;Z_COND_CODE_1&amp;#39;
  157 |         Z_COND_CODE_1(_flag, _if_1_code, _else_code)
      |         ^~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:412:9: note: in expansion of macro &amp;#39;COND_CODE_1&amp;#39;
  412 |         COND_CODE_1(CONFIG_PINCTRL,                     \
      |         ^~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:607:32: note: in expansion of macro &amp;#39;DT_CAT3&amp;#39;
  607 | #define DT_PROP(node_id, prop) DT_CAT3(node_id, _P_, prop)
      |                                ^~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:416:25: note: in expansion of macro &amp;#39;DT_PROP&amp;#39;
  416 |                  .sda = DT_PROP(I2C(idx), sda_pin),))
      |                         ^~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:3901:24: note: in expansion of macro &amp;#39;DT_N_NODELABEL_i2c0&amp;#39;
 3901 | #define DT_CAT(a1, a2) a1 ## a2
      |                        ^~
/opt/nordic/ncs/v2.3.0/zephyr/include/zephyr/devicetree.h:190:29: note: in expansion of macro &amp;#39;DT_CAT&amp;#39;
  190 | #define DT_NODELABEL(label) DT_CAT(DT_N_NODELABEL_, label)
      |                             ^~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:394:18: note: in expansion of macro &amp;#39;DT_NODELABEL&amp;#39;
  394 | #define I2C(idx) DT_NODELABEL(i2c##idx)
      |                  ^~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:416:33: note: in expansion of macro &amp;#39;I2C&amp;#39;
  416 |                  .sda = DT_PROP(I2C(idx), sda_pin),))
      |                                 ^~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:442:25: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_PIN_CFG&amp;#39;
  442 |                         I2C_NRFX_TWIM_PIN_CFG(idx)                             \
      |                         ^~~~~~~~~~~~~~~~~~~~~
/opt/nordic/ncs/v2.3.0/zephyr/drivers/i2c/i2c_nrfx_twim.c:462:1: note: in expansion of macro &amp;#39;I2C_NRFX_TWIM_DEVICE&amp;#39;
  462 | I2C_NRFX_TWIM_DEVICE(0);
      | ^~~~~~~~~~~~~~~~~~~~
[78/351] Building C object zephyr/drivers/sensor/lis2dh/CMakeFiles/drivers__sensor__lis2dh.dir/lis2dh.c.obj
ninja: build stopped: subcommand failed.
FATAL ERROR: command exited with status 1: /opt/nordic/ncs/toolchains/v2.3.0/bin/cmake --build /Users/ericpietrowicz/Documents/work-projects/firmware-development/oslo_firmware/build&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Here is my pinctrl.dtsi configuration:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;// https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_dev/pin_control/index.html#ug-pinctrl
&amp;amp;pinctrl {
	uart0_default: uart0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 20)&amp;gt;, &amp;lt;NRF_PSEL(UART_RX, 0, 19)&amp;gt;;
		};
	};
    uart0_sleep: uart0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(UART_TX, 0, 20)&amp;gt;, &amp;lt;NRF_PSEL(UART_RX, 0, 19)&amp;gt;;
		};
	};
    i2c0_default: i2c0_default {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 7)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 8)&amp;gt;;
		};
	};
    i2c0_sleep: i2c0_sleep {
		group1 {
			psels = &amp;lt;NRF_PSEL(TWIM_SDA, 0, 7)&amp;gt;, &amp;lt;NRF_PSEL(TWIM_SCL, 0, 8)&amp;gt;;
		};
	};
};
 &lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>