diff --git a/pkg/driver_atwinc15x0/Makefile b/pkg/driver_atwinc15x0/Makefile new file mode 100644 index 0000000000..39d75a31a5 --- /dev/null +++ b/pkg/driver_atwinc15x0/Makefile @@ -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 diff --git a/pkg/driver_atwinc15x0/Makefile.dep b/pkg/driver_atwinc15x0/Makefile.dep new file mode 100644 index 0000000000..487b9134f4 --- /dev/null +++ b/pkg/driver_atwinc15x0/Makefile.dep @@ -0,0 +1,5 @@ +FEATURES_REQUIRED += periph_gpio_irq +FEATURES_REQUIRED += periph_spi + +USEMODULE += driver_atwinc15x0 +USEMODULE += driver_atwinc15x0_common diff --git a/pkg/driver_atwinc15x0/Makefile.include b/pkg/driver_atwinc15x0/Makefile.include new file mode 100644 index 0000000000..280d4fc67a --- /dev/null +++ b/pkg/driver_atwinc15x0/Makefile.include @@ -0,0 +1 @@ +INCLUDES += -I$(PKGDIRBASE)/driver_atwinc15x0/src diff --git a/pkg/driver_atwinc15x0/doc.txt b/pkg/driver_atwinc15x0/doc.txt new file mode 100644 index 0000000000..b001166e50 --- /dev/null +++ b/pkg/driver_atwinc15x0/doc.txt @@ -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 + */ diff --git a/pkg/driver_atwinc15x0/patches/0001-change-CONST-to-_CONST_.patch b/pkg/driver_atwinc15x0/patches/0001-change-CONST-to-_CONST_.patch new file mode 100644 index 0000000000..5660ee2dfd Binary files /dev/null and b/pkg/driver_atwinc15x0/patches/0001-change-CONST-to-_CONST_.patch differ diff --git a/pkg/driver_atwinc15x0/patches/0002-remove-platform-files.patch b/pkg/driver_atwinc15x0/patches/0002-remove-platform-files.patch new file mode 100644 index 0000000000..42d441d142 Binary files /dev/null and b/pkg/driver_atwinc15x0/patches/0002-remove-platform-files.patch differ diff --git a/pkg/driver_atwinc15x0/patches/0003-change-default-debug-config.patch b/pkg/driver_atwinc15x0/patches/0003-change-default-debug-config.patch new file mode 100644 index 0000000000..4c40cf4a82 Binary files /dev/null and b/pkg/driver_atwinc15x0/patches/0003-change-default-debug-config.patch differ diff --git a/pkg/driver_atwinc15x0/patches/0004-fix-ETH_MODE-compilation-problem.patch b/pkg/driver_atwinc15x0/patches/0004-fix-ETH_MODE-compilation-problem.patch new file mode 100644 index 0000000000..185d2e338c Binary files /dev/null and b/pkg/driver_atwinc15x0/patches/0004-fix-ETH_MODE-compilation-problem.patch differ diff --git a/pkg/driver_atwinc15x0/patches/0005-remove-dependency-from-spi_flash-module.patch b/pkg/driver_atwinc15x0/patches/0005-remove-dependency-from-spi_flash-module.patch new file mode 100644 index 0000000000..b70b8905e3 Binary files /dev/null and b/pkg/driver_atwinc15x0/patches/0005-remove-dependency-from-spi_flash-module.patch differ