Board definitions for the Adafruit Metro ESP32-S3 board. More...
Board definitions for the Adafruit Metro ESP32-S3 board.
The board definitions in this file are valid for the Adafruit Metro ESP32-S3 board with 16 MB Flash and 8 MB PSRAM.
Any modifications required for specific applications can be overridden by application-specific board configuration.
Definition in file board.h.
#include <stdint.h>#include "board_common.h"
Include dependency graph for board.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Button pin definitions | |
| #define | BTN0_PIN GPIO0 |
| Default button GPIO pin definition. | |
| #define | BTN0_MODE GPIO_IN_PU |
| Default button GPIO mode definition. | |
| #define | BTN0_INT_FLANK GPIO_FALLING |
| Default interrupt flank definition for the button GPIO. | |
| #define | BUTTON0_PIN BTN0_PIN |
| Definition for compatibility with previous versions. | |
LED (on-board) configuration | |
The Adafruit Metro ESP32-S3 board has a red LED labeled | |
| #define | LED0_PIN GPIO13 |
Red LED L | |
| #define | LED0_ACTIVE (1) |
| Red LED is high active. | |
| #define | WS281X_PARAM_PIN (GPIO46) |
| GPIO pin connected to the NeoPixel. | |
| #define | WS281X_PARAM_NUMOF (1U) |
| Number of LEDs chained. | |
SD-Card interface configuration | |
The microSD card slot is connected to SPI_DEV(0), which is also routed to the ICSP header. | |
| #define | SDCARD_SPI_PARAM_SPI SPI_DEV(0) |
| SPI device. | |
| #define | SDCARD_SPI_PARAM_CS SPI0_CS0 |
| SD_CS (GPIO45) | |
| #define | SDCARD_SPI_PARAM_CLK SPI0_SCK |
| SCK (GPIO39) | |
| #define | SDCARD_SPI_PARAM_MOSI SPI0_MOSI |
| MOSI (GPIO42) | |
| #define | SDCARD_SPI_PARAM_MISO SPI0_MISO |
| MISO (GPIO21) | |
| #define | SDCARD_SPI_PARAM_POWER GPIO_UNDEF |
| not used | |
| #define BTN0_INT_FLANK GPIO_FALLING |
| #define BTN0_MODE GPIO_IN_PU |
| #define BTN0_PIN GPIO0 |
| #define BUTTON0_PIN BTN0_PIN |
| #define SDCARD_SPI_PARAM_POWER GPIO_UNDEF |