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

Conversation

@vid553
Copy link
Contributor

@vid553 vid553 commented Nov 2, 2020

Hi,
I needed a driver for Ublox GPS on Zephyr and decided to port this library, so I'm creating this pull request which I hope will be useful.

The code stayed in C++, because the OS also supports it. I have created a basic interface so it can be called from main C code.
Since the code runs on another platform, I have decided to leave the ported code in separate files if you maybe want to move it to a separate repository.
The port is I2C only, Serial (UART) functions were not ported and are commented out.

Example that shows how to use it is located in examples/Example_Zephyr/, it prints out position with SIV and datetime information. The code has been tested on Nordic nrf52840dk with Ublox ZOE-M8Q attached.
Regards,

Vid

@vid553 vid553 mentioned this pull request Nov 2, 2020
@PaulZC
Copy link
Collaborator

PaulZC commented Nov 3, 2020

Hi Vid (@vid553 ),

Sincere thanks for sending us this Pull Request!

Thank you for using the release_candidate branch - that's great.

I'm a little nervous about adding the Zephyr files directly to the src directory. I'm not sure if that will confuse the Arduino IDE? I'm not familiar with Zephyr, but I wonder if the files could be placed in the same directory as the example? We do this for the u-blox series 6/7 example:
https://github.com/sparkfun/SparkFun_Ublox_Arduino_Library/tree/master/examples/Series_6_7/Example1_GetPositionAndTime_Series_6_7

Let me know if that is possible.

Thanks again,
Paul

@vid553
Copy link
Contributor Author

vid553 commented Nov 4, 2020

@PaulZC
Sure, I can move them to the same dir. I'll update it and let you know.

@vid553
Copy link
Contributor Author

vid553 commented Nov 4, 2020

@PaulZC
I have updated the directories to be the same as for ublox series 6/7 example.
Regards,
Vid

@PaulZC
Copy link
Collaborator

PaulZC commented Nov 4, 2020

Thank you Vid (@vid553 ),
I'm merging this into the release_candidate branch. I hope to be able to merge it into the master branch in a few days.
Best wishes,
Paul

@PaulZC PaulZC merged commit fb99d8f into sparkfun:release_candidate Nov 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

2 participants