Warning (gpios_property) during build of SLM Shell sample

Hello,

The following warning occures when I build the SLM Shell sample (Not changed original code).

<stdout>: Warning (gpios_property): /chosen:ncs,slm-gpio: property size (37) is invalid, expected multiple of 4

[Build Configuration]

---

I think the following settings of devicetree (nrf5340dk_nrf5340_cpuapp.overlay) are causing this warning.
But, I don't know how to deal with it.

/ {

    chosen {
        ncs,slm-uart = &uart2;
        ncs,slm-gpio = &gpio0;
    };
};


Do you know what causes this warning?
Can I ignore this warning? Or do I need to do something about it?

Thank you.
Parents
  • Hi,

    I have tested the same sample and have seen the same build warning 

    <stdout>: Warning (gpios_property): /chosen:ncs,slm-gpio: property size (37) is invalid, expected multiple of 4

    This warning is related to 2 dts files - nrf5340_cpuapp_peripherals.dtsi and nrf_5340_cpuapp.dtsi. The property value that devicetree gets is the path size of the /soc/peripheral@50000000/gpio@842500. It is safe to ignore this warning.

    Best regards,
    Dejan

Reply
  • Hi,

    I have tested the same sample and have seen the same build warning 

    <stdout>: Warning (gpios_property): /chosen:ncs,slm-gpio: property size (37) is invalid, expected multiple of 4

    This warning is related to 2 dts files - nrf5340_cpuapp_peripherals.dtsi and nrf_5340_cpuapp.dtsi. The property value that devicetree gets is the path size of the /soc/peripheral@50000000/gpio@842500. It is safe to ignore this warning.

    Best regards,
    Dejan

Children
Related