Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

Zephyr driver #69

Closed
sslupsky opened this issue Jan 27, 2020 · 2 comments
Closed

Zephyr driver #69

sslupsky opened this issue Jan 27, 2020 · 2 comments

Comments

@sslupsky
Copy link

Subject of the issue

This should probably be someplace else but I am not sure where to ask it.

I've been doing some work with the Zephyr RTOS and wondering if Sparkfun is considering porting some of their drivers to Zephyr? If so, I could help out with some testing.

I think the current Arduino driver would port over reasonably well. Though this driver is written in C++ and Zephyr drivers need to be written in C, there isn't much dependency on C++ that I can see. The I2C and UART API's are a bit different but I think this would not be too much problem.

The bigger thing to consider is if you choose to do this you would be the first to develop a GPS driver for Zephyr. So, likely there would be a need to get consensus with the Zephyr guys on an GPS API. Some of that work is already done (data types for GPS "sensors" are defined). But a GPS sensor API does not exist to my knowledge.

IMHO, Zephyr has some pretty interesting potential. Still kinda rough around the edges but it is pretty slick.

@nseidle
Copy link
Member

nseidle commented Apr 15, 2020

Hi @sslupsky - We welcome support for additional platforms. Indeed, Zephyr looks pretty neat! If anyone wants to wants to port our Ublox lib to pure C we are happy to consider a shift in that direction.

@nseidle nseidle closed this as completed Apr 15, 2020
@vid553
Copy link
Contributor

vid553 commented Nov 2, 2020

Hi,
I saw this issue for a Zephyr version of the library, so also writing a comment here.

I have created a pull request #145 that ports this library to Zephyr OS.
Note that it doesn't have a GPS API and I left it in C++, so it is not a proper solution as described by @sslupsky, but it provides a basic working port to this platform.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants