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

pkg: gecko_sdk: replace emlib with gecko_sdk

emlib is a subset of gecko_sdk. gecko_sdk contains more.
This commit is contained in:
Bas Stottelaar 2017-11-24 22:31:37 +01:00
parent 2b5f185f40
commit b05fa5991f
6 changed files with 26 additions and 18 deletions

View File

@ -1,11 +0,0 @@
PKG_NAME=emlib
PKG_URL=https://github.com/basilfx/RIOT-emlib
PKG_VERSION=0bd74c8a2756a466e256434a598468ccd5b5af54
PKG_LICENSE=Zlib
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -1 +0,0 @@
INCLUDES += -I$(PKGDIRBASE)/emlib/emlib/inc -I$(PKGDIRBASE)/emlib/emlib-extra/inc

View File

@ -1,6 +0,0 @@
/**
* @defgroup pkg_emlib Vendor library for EFM/EFR/EZR32 MCUs by Silicon Labs
* @ingroup pkg
* @brief Vendor library for EFM/EFR/EZR32 targets by Silicon Labs
* @see https://github.com/SiliconLabs/Gecko_SDK
*/

15
pkg/gecko_sdk/Makefile Normal file
View File

@ -0,0 +1,15 @@
PKG_NAME=gecko_sdk
PKG_URL=https://github.com/basilfx/RIOT-gecko-sdk
PKG_VERSION=f8a90e4db4680984b5f9d3dd44ca528772458456
PKG_LICENSE=Zlib
ifneq ($(CPU),efm32)
$(error This package can only be used with EFM32 CPUs)
endif
.PHONY: all
all: git-download
"$(MAKE)" -C $(PKG_BUILDDIR)/dist
include $(RIOTBASE)/pkg/pkg.mk

View File

@ -0,0 +1,5 @@
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib/inc
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib-extra/inc
USEMODULE += gecko_sdk_emlib
USEMODULE += gecko_sdk_emlib_extra

6
pkg/gecko_sdk/doc.txt Normal file
View File

@ -0,0 +1,6 @@
/**
* @defgroup pkg_gecko_sdk Vendor library for EFM/EFR/EZR32 MCUs
* @ingroup pkg
* @brief Vendor library for EFM/EFR/EZR32 targets by Silicon Labs
* @see https://siliconlabs.github.io/Gecko_SDK_Doc/
*/