migration from 1.9.1 to 2.1.2

Hi,

I'm migrating a vscode project from 1.9.1 to 2.1.2.

I'm testing on  nrf52840dk_nrf52840.

I'm using I2S.

In the 1.9.1 environment I have an overlay.

&i2s0: &i2s0 {
status = "okay";
sck-pin = <25>;
lrck-pin = <26>;
sdout-pin = <27>;
};

and i2s works fine, but I can't make it work in the 2.1.2 environment.

If I compile in 2.1.2 without an overlay the compile works, but  the zephyr.dts has the following for i2s0.

i2s0: i2s_rxtx: i2s@40025000 {
compatible = "nordic,nrf-i2s";
#address-cells = < 0x1 >;
#size-cells = < 0x0 >;
reg = < 0x40025000 0x1000 >;
interrupts = < 0x25 0x1 >;
status = "disabled";;
};

If I add an overlay the changes status from disabled to ok the compile fails because there is no pinctrl entry for i2s0.

My prj.conf has the following line

'

CONFIG_I2S=y

What do I have to do to enable I2s in 2.1.2?

Related