Definitions for Wemos stackable hardware modules (shields) More...
Definitions for Wemos stackable hardware modules (shields)
The board can be used with lots of optional stackable hardware modules. This file contains the default configurations for those hardware modules that have been tested. Most of these configurations can be overridden by an application-specific configuration.
The configurations of the respective hardware modules only take place if the corresponding driver modules are used.
Definition in file board_modules.h.
Go to the source code of this file.
MRF24J40 shield configuration | |
Configuration for the MRF24J40 shield when module MRF24J40 module uses SPI_DEV(0) and according pins on this board to be compatible with the Wemos D1 mini MRF24J40 shield.
| |
#define | MRF24J40_PARAM_SPI SPI_DEV(0) |
SPI_DEV(0) is used (fixed) | |
#define | MRF24J40_PARAM_SPI_CLK SPI_CLK_1MHZ |
SPI bus speed used (can be overridden) | |
#define | MRF24J40_PARAM_CS GPIO26 |
MRF24J40 CS signal (can be overridden) | |
#define | MRF24J40_PARAM_INT GPIO17 |
MRF24J40 INT signal (can be overridden) | |
#define | MRF24J40_PARAM_RESET GPIO16 |
MRF24J40 RESET signal (can be overridden) | |
SD-Card shield configuration | |
Configuration of the SD-Card interface when module SD card interface uses SPI_DEV(0) on this board to be compatible with the Wemos D1 mini micro SD card shield. The D8 pin (GPIO5) is used as default CS signal.
| |
#define | SDCARD_SPI_PARAM_SPI SPI_DEV(0) |
SPI_DEV(0) is used (fixed) | |
#define | SDCARD_SPI_PARAM_CLK SPI0_SCK |
SPI_DEV(0) SCK is used (fixed) | |
#define | SDCARD_SPI_PARAM_MOSI SPI0_MOSI |
SPI_DEV(0) MOSI is used (fixed) | |
#define | SDCARD_SPI_PARAM_MISO SPI0_MISO |
SPI_DEV(0) MISO is used (fixed) | |
#define | SDCARD_SPI_PARAM_POWER GPIO_UNDEF |
power control is not used (fixed) | |
#define | SDCARD_SPI_PARAM_CS SPI0_CS0 |
SD-Card CS signal (override it) | |
#define MRF24J40_PARAM_CS GPIO26 |
MRF24J40 CS signal (can be overridden)
Definition at line 52 of file board_modules.h.
#define MRF24J40_PARAM_INT GPIO17 |
MRF24J40 INT signal (can be overridden)
Definition at line 55 of file board_modules.h.
#define MRF24J40_PARAM_RESET GPIO16 |
MRF24J40 RESET signal (can be overridden)
Definition at line 58 of file board_modules.h.
#define MRF24J40_PARAM_SPI SPI_DEV(0) |
SPI_DEV(0) is used (fixed)
Definition at line 46 of file board_modules.h.
#define MRF24J40_PARAM_SPI_CLK SPI_CLK_1MHZ |
SPI bus speed used (can be overridden)
Definition at line 49 of file board_modules.h.
#define SDCARD_SPI_PARAM_CLK SPI0_SCK |
SPI_DEV(0) SCK is used (fixed)
Definition at line 79 of file board_modules.h.
#define SDCARD_SPI_PARAM_CS SPI0_CS0 |
SD-Card CS signal (override it)
Definition at line 85 of file board_modules.h.
#define SDCARD_SPI_PARAM_MISO SPI0_MISO |
SPI_DEV(0) MISO is used (fixed)
Definition at line 81 of file board_modules.h.
#define SDCARD_SPI_PARAM_MOSI SPI0_MOSI |
SPI_DEV(0) MOSI is used (fixed)
Definition at line 80 of file board_modules.h.
#define SDCARD_SPI_PARAM_POWER GPIO_UNDEF |
power control is not used (fixed)
Definition at line 82 of file board_modules.h.
#define SDCARD_SPI_PARAM_SPI SPI_DEV(0) |
SPI_DEV(0) is used (fixed)
Definition at line 78 of file board_modules.h.