Go to the documentation of this file.
10 #define BOARD_COMMON_H
26 #include "periph_conf.h"
39 #define LED0_MASK (BIT(LED0_PIN))
40 #define LED0_TOGGLE (gpio_toggle(LED0_PIN))
41 #define LED0_ON (gpio_write(LED0_PIN, LED0_ACTIVE))
42 #define LED0_OFF (gpio_write(LED0_PIN, !LED0_ACTIVE))
46 #define LED1_MASK (BIT(LED1_PIN))
47 #define LED1_TOGGLE (gpio_toggle(LED1_PIN))
48 #define LED1_ON (gpio_write(LED1_PIN, LED1_ACTIVE))
49 #define LED1_OFF (gpio_write(LED1_PIN, !LED1_ACTIVE))
53 #define LED2_MASK (BIT(LED2_PIN))
54 #define LED2_TOGGLE (gpio_toggle(LED2_PIN))
55 #define LED2_ON (gpio_write(LED2_PIN, LED2_ACTIVE))
56 #define LED2_OFF (gpio_write(LED2_PIN, !LED2_ACTIVE))
65 #ifndef STDIO_UART_BAUDRATE
66 #define STDIO_UART_BAUDRATE (115200)
76 #if defined(MODULE_ESP_SW_TIMER)
77 #define XTIMER_BACKOFF (100U)
78 #define XTIMER_ISR_BACKOFF (100U)
85 #if defined(MODULE_MTD) || defined(DOXYGEN)
105 #if defined(MODULE_SPIFFS) || defined(DOXYGEN)
112 #define SPIFFS_ALIGNED_OBJECT_INDEX_TABLES 1
113 #define SPIFFS_READ_ONLY 0
114 #define SPIFFS_SINGLETON 0
115 #define SPIFFS_HAL_CALLBACK_EXTRA 1
116 #define SPIFFS_CACHE 1
void board_init(void)
Initialize board specific hardware, including clock, LEDs and std-IO.
Configurations of the MCU periphery that are common for all ESP8266 boards.
mtd_dev_t * mtd0
Pointer to the default MTD drive structure.
Definitions for optional off-board hardware modules that can be used with all ESP8266 boards.
Low-level GPIO peripheral driver interface definitions.
void board_print_config(void)
Print the board configuration in a human readable format.