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:
parent
a7def7c71c
commit
f8cb5e5abe
12
pkg/minmea/Makefile
Normal file
12
pkg/minmea/Makefile
Normal 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
|
1
pkg/minmea/Makefile.include
Normal file
1
pkg/minmea/Makefile.include
Normal file
@ -0,0 +1 @@
|
||||
INCLUDES += -I$(PKGDIRBASE)/minmea
|
10
pkg/minmea/Makefile.minmea
Normal file
10
pkg/minmea/Makefile.minmea
Normal 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
11
pkg/minmea/README.md
Normal 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.
|
Loading…
Reference in New Issue
Block a user