Zephyr port of this library (I2C only)#145
Zephyr port of this library (I2C only)#145PaulZC merged 8 commits intosparkfun:release_candidatefrom
Conversation
|
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: Let me know if that is possible. Thanks again, |
|
@PaulZC |
|
@PaulZC |
|
Thank you Vid (@vid553 ), |
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