oztahmet / GPS

GPS NMEA Library for stm32 HAL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GPS NMEA library


I hope use it and enjoy.
I use Stm32f103vc and Keil Compiler and Stm32CubeMX wizard.
Please Do This ...

1) Config your usart and enable RX interrupt on CubeMX.
2) Select "General peripheral Initalizion as a pair of '.c/.h' file per peripheral" on project settings.
3) Config your GpsConfig.h file.
4) Add Gps_RxCallBack() on usart interrupt routin.
5) call Gps_Init() in your app.
6) Put Gps_Process() in Loop.

#include "GPS.h"
..
..
..
void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
{
  GPS_CallBack();
}
..
..
..
int main(void)
{
 .. 
 ..
 GPS_Init();
 ..
 ..
 while(1)
 {
   GPS_Process();
 }
}



About

GPS NMEA Library for stm32 HAL

License:GNU General Public License v3.0


Languages

Language:C 100.0%