Browse Source

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

master
Kaspar Schleiser 5 years ago
parent
commit
f8cb5e5abe
  1. 12
      pkg/minmea/Makefile
  2. 1
      pkg/minmea/Makefile.include
  3. 10
      pkg/minmea/Makefile.minmea
  4. 11
      pkg/minmea/README.md

12
pkg/minmea/Makefile

@ -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

1
pkg/minmea/Makefile.include

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

10
pkg/minmea/Makefile.minmea

@ -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

@ -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.
Loading…
Cancel
Save