Skip to content

Commit 03d1e55

Browse files
committed
pkg: gecko_sdk: replace emlib with gecko_sdk
emlib is a subset of gecko_sdk. gecko_sdk contains more.
1 parent 16e2829 commit 03d1e55

File tree

6 files changed

+26
-18
lines changed

6 files changed

+26
-18
lines changed

pkg/emlib/Makefile

Lines changed: 0 additions & 11 deletions
This file was deleted.

pkg/emlib/Makefile.include

Lines changed: 0 additions & 1 deletion
This file was deleted.

pkg/emlib/doc.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

pkg/gecko_sdk/Makefile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
PKG_NAME=gecko_sdk
2+
PKG_URL=https://github.com/basilfx/RIOT-gecko-sdk
3+
PKG_VERSION=f8a90e4db4680984b5f9d3dd44ca528772458456
4+
PKG_LICENSE=Zlib
5+
6+
ifneq ($(CPU),efm32)
7+
$(error This package can only be used with EFM32 CPUs)
8+
endif
9+
10+
.PHONY: all
11+
12+
all: git-download
13+
"$(MAKE)" -C $(PKG_BUILDDIR)/dist
14+
15+
include $(RIOTBASE)/pkg/pkg.mk

pkg/gecko_sdk/Makefile.include

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib/inc
2+
INCLUDES += -I$(PKGDIRBASE)/gecko_sdk/dist/emlib-extra/inc
3+
4+
USEMODULE += gecko_sdk_emlib
5+
USEMODULE += gecko_sdk_emlib_extra

pkg/gecko_sdk/doc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* @defgroup pkg_gecko_sdk Vendor library for EFM/EFR/EZR32 MCUs
3+
* @ingroup pkg
4+
* @brief Vendor library for EFM/EFR/EZR32 targets by Silicon Labs
5+
* @see https://siliconlabs.github.io/Gecko_SDK_Doc/
6+
*/

0 commit comments

Comments
 (0)