mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
boards/mkr1000: add ATWINC15x0 WiFi driver
This commit is contained in:
parent
1ee0b8ccf4
commit
35c0524aff
@ -1,3 +1,7 @@
|
||||
USEMODULE += boards_common_arduino-mkr
|
||||
|
||||
ifneq (,$(filter gnrc_netdev_default,$(USEMODULE)))
|
||||
USEMODULE += atwinc15x0
|
||||
endif
|
||||
|
||||
include $(RIOTBOARD)/common/arduino-mkr/Makefile.dep
|
||||
|
@ -50,6 +50,18 @@ extern "C" {
|
||||
#define LED0_NAME "LED(Green)"
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* @name Board configuration for ATWINC15x0 WiFi netdev driver
|
||||
* @{
|
||||
*/
|
||||
#define ATWINC15X0_PARAM_SPI SPI_DEV(1)
|
||||
#define ATWINC15X0_PARAM_SSN_PIN GPIO_PIN(0, 14)
|
||||
#define ATWINC15X0_PARAM_RESET_PIN GPIO_PIN(0, 27)
|
||||
#define ATWINC15X0_PARAM_CHIP_EN_PIN GPIO_PIN(0, 28)
|
||||
#define ATWINC15X0_PARAM_WAKE_PIN GPIO_PIN(1, 8)
|
||||
#define ATWINC15X0_PARAM_IRQ_PIN GPIO_PIN(1, 9)
|
||||
/** @} */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user