Created
January 20, 2016 14:55
-
-
Save latsku/8d2daef7e9276eb1a4f0 to your computer and use it in GitHub Desktop.
RIOT-OS project Makefile additions for ENC28J60 ethernet adapter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configuration to enable ENC28J60 ethernet adapter. | |
USEMODULE += enc28j60 | |
USEMODULE += gnrc_netdev2 | |
CFLAGS += -DENC28J60_PARAM_SPI=SPI_0 | |
CFLAGS += -DENC28J60_PARAM_CS="GPIO_PIN(PORT_B,6)" | |
CFLAGS += -DENC28J60_PARAM_INT="GPIO_PIN(PORT_C,7)" | |
CFLAGS += -DENC28J60_PARAM_RESET="GPIO_PIN(PORT_A,9)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment