NCS-2.1.0 - CONFIG_ADP536X_BUS_NAME not longer valid?

Updating to NCS 2.1.0 the CONFIG_ADP536X_BUS_NAME is still defined but seems to be not longer valid.

The "adp536x.h" is now in the includes. Is there a supported way to use it?

In the boards definition for the Thingy:91 DEVICE_DT_GET(DT_NODELABEL(i2c2)) is used.

Is that the preferred way to address the  adp536x?

Parents Reply
  • Hi Amanda,

    thanks again for the reference!

    The Zephyr project will hardly explain, what Nordic recommends on a deprecated Kconfig and the gap and misleading documentation from Nordic in your first reference.

    Do you consider to answer my question:

    > The "adp536x.h" is now in the includes. Is there a supported way to use it?

    > In the boards definition for the Thingy:91 DEVICE_DT_GET(DT_NODELABEL(i2c2)) is used.

    > Is that the preferred way to address the  adp536x?

    Before you add the next "dead end reference", please ensure, that you read an verify the content of that reference.

Children
Related