Skip to content

Zephyr porting and organizational questions #4

@martinjaeger

Description

@martinjaeger

Hey. First of all thanks for open sourcing your libraries.

We are currently trying to port it to Zephyr RTOS and encountered a few questions.

Here is the current status of the port: LibreSolar@8c52b9d

  1. Which is the repository where ongoing development will happen and where I should send a PR to? I see that new updates are pushed to okrasolar/Cicada, but that one does not allow to submit issues. That's why I'm posting here.

  2. The library is compiling and the SIM800 module is blinking, but the thread it runs in gets stuck waiting for !commDev.isConnected(). As it is cooperative (which is required according to some comments in the code), nothing else is happening anymore in the charge controller either.

  3. How do you suggest to trace down issues? I added a global CICADA_DEBUG define already, but it doesn't print any additional output so far. Is there any other trick?

It would be great if you could have a quick look at the initialization of all the different components if they look fine: https://github.com/LibreSolar/charge-controller-firmware/blob/cicada/src/ext/modem.cpp

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions