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

pkg: add ATWINC15x0 vendor driver as package

fixup! pkg: add ATWINC15x0 vendor driver as package

fixup! pkg: add ATWINC15x0 vendor driver as package
This commit is contained in:
Gunar Schorcht 2020-06-26 12:17:24 +02:00
parent c0925294d8
commit 649b315214
9 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,19 @@
PKG_NAME=driver_atwinc15x0
PKG_URL=https://github.com/arduino-libraries/WiFi101
PKG_VERSION=3301d03f82e53f60e07434a9f07ca677d992d121
PKG_LICENSE=LGPL-2.1
include $(RIOTBASE)/pkg/pkg.mk
CFLAGS += -Wno-discarded-qualifiers
CFLAGS += -Wno-empty-body
CFLAGS += -Wno-old-style-definition
CFLAGS += -Wno-unused-parameter
CFLAGS += -Wno-incompatible-pointer-types-discards-qualifiers
CFLAGS += -DETH_MODE
CFLAGS += -I$(PKG_SOURCE_DIR)/src
all:
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/driver/source -f $(RIOTBASE)/Makefile.base MODULE=driver_atwinc15x0
"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/common/source -f $(RIOTBASE)/Makefile.base MODULE=driver_atwinc15x0_common

View File

@ -0,0 +1,5 @@
FEATURES_REQUIRED += periph_gpio_irq
FEATURES_REQUIRED += periph_spi
USEMODULE += driver_atwinc15x0
USEMODULE += driver_atwinc15x0_common

View File

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

View File

@ -0,0 +1,6 @@
/**
* @defgroup pkg_driver_atwinc15x0 ATWINC15x0 WiFi Module Vendor Driver Package
* @ingroup pkg
* @brief ATWINC15x0 WiFi vendor driver from the Arduino WiFi101 library
* @see https://github.com/arduino-libraries/WiFi101
*/