1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

pkg: minmea: initial import of minmea NMEA GPS parser library

This commit is contained in:
Kaspar Schleiser 2017-03-21 14:40:27 +01:00
parent a7def7c71c
commit f8cb5e5abe
4 changed files with 34 additions and 0 deletions

12
pkg/minmea/Makefile Normal file
View File

@ -0,0 +1,12 @@
PKG_NAME=minmea
PKG_URL=https://github.com/kaspar030/minmea
PKG_VERSION=f3253039a32af98924b0606316a83c8129dff4d4
PKG_LICENSE=WTFPL
.PHONY: all
all: git-download
@cp Makefile.${PKG_NAME} $(PKG_BUILDDIR)/Makefile
"$(MAKE)" -C $(PKG_BUILDDIR)
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -0,0 +1 @@
INCLUDES += -I$(PKGDIRBASE)/minmea

View File

@ -0,0 +1,10 @@
MODULE=minmea
CFLAGS += -D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_DARWIN_C_SOURCE
# see minmea README.md
CFLAGS += -Dtimegm=mktime
SRC := minmea.c
include $(RIOTBASE)/Makefile.base

11
pkg/minmea/README.md Normal file
View File

@ -0,0 +1,11 @@
# Introduction
"Minmea is a minimalistic GPS parser library written in pure C intended for
resource-constrained platforms, especially microcontrollers and other embedded
systems."
See https://github.com/cloudyourcar/minmea for more information.
# License
Licensed under WTFPL.