Closed vid553 closed 4 years ago
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
@PaulZC Sure, I can move them to the same dir. I'll update it and let you know.
@PaulZC I have updated the directories to be the same as for ublox series 6/7 example. Regards, Vid
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
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