SDK upgrade 1.5.1 -> 2.2.0 bug/fixes & changes

Hi!,

Im now upgrading the sdk and have some challenges doing this.

Im getting this error, but not sure what it means?

  • Hi David,

    That macro is generated at build time based on the SoC-level devicetree nodes and their properties. The macro maps to the node/property location if you replace "_s_" with "/" and interpret "_p_" as "property". If a node or property has changed their name since NCS v1.5.1, I could imagine the generated name to be wrong somehow. Have you tried doing a pristine build or even removing your build folder? There might be some cached files that need clearing.

    Anyway, there have been a lot of changes between those NCS versions, so I can't tell immediately what the root cause of this is. But I see that you have a 170 errors. There have been some breaking API changes made over the intervening NCS version (for example some devicetree-related macros have changed, I believe), so I would strongly recommend you to go through the various release notes to see if there is anything in your application that you know needs updating. After that, you can try to dig deeper into the issues that remain, and ask us for those specifically.

    When it comes to troubleshooting devicetrees, there is this doc page: https://docs.zephyrproject.org/latest/build/dts/troubleshooting.html

    Best regards,

    Raoul

Related