Previous code built in NCS 2.91 cannot be built in NCS 3.01

Hi

I have a code previously can be built in NCS 2.91:

However, when I use the new NCS 3.01, it can not be built, the error is:

Could you please help me figure out the problems?

Parents
  • Hi,

    There can be some changes between these major NCS versions. I would recommend having a look at the changelog. 

    undefined reference to `__device_dts_ord_112' typically means that there is something lacking in the dts file. What is new in DTS in NCS 3 is among other things that 

    • Device tree and driver initialization ordering has become stricter.
    • Some device tree nodes or aliases may have changed.
    • Kconfig options or shield/board overlays may need updates.

    It is hard immediately to say exactly what is at fault though.

    Regards,

    Elfving

Reply
  • Hi,

    There can be some changes between these major NCS versions. I would recommend having a look at the changelog. 

    undefined reference to `__device_dts_ord_112' typically means that there is something lacking in the dts file. What is new in DTS in NCS 3 is among other things that 

    • Device tree and driver initialization ordering has become stricter.
    • Some device tree nodes or aliases may have changed.
    • Kconfig options or shield/board overlays may need updates.

    It is hard immediately to say exactly what is at fault though.

    Regards,

    Elfving

Children
Related