npmx-zephyr libraries

I've been rolling my own code for controlling the NPM1300 but i've found the libraries at  https://github.com/NordicSemiconductor/npmx-zephyr/tree/main . It's unclear to me how i can use these though. I don't think they're currently included in v2.4.2? Could you explain how i can run some of these samples?

Regards

Robert

Parents Reply
  • Hi Robert,

     

    The zephyr sample "npm1300_fuel_gauge" does most (and you're correct; not all functionality, such as LED handling) of what the npmx-zephyr samples can provide in one sample.

    I understand your concern. I've been discussing your questions with the project lead, and we are currently adding more and more features into zephyr, as seen here with the PR's on upstream zephyr: https://github.com/zephyrproject-rtos/zephyr/pulls?q=is%3Apr+npm1300+is%3Aclosed

     

    In the future, the features available in zephyr should be equal to the features available in npmx-zephyr.

     

    robsrick said:
    I'd like to try and use the npmx-zephyr repo with my existing 2.4.2 nrf zephyr project but i'm a bit unclear on the details of how to use west to gain access to these features.

    Unfortunately, this will cause problems, as the paths are not fully compatible with ncs default path layout.

    The way to do this now is to initialize a new repository based on npmx-zephyr's west.yml, which will also download ncs:

    https://github.com/NordicSemiconductor/npmx-zephyr#repository-initialization

     

    You'll end up with two installations of ncs, unfortunately. But, we are working on migrating all npmx-features into ncs.

     

    Kind regards,

    Håkon

Children
No Data
Related