board_common.h File Reference

Board definitions that are common for all ESP8266 boards. More...

Detailed Description

Board definitions that are common for all ESP8266 boards.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file board_common.h.

#include <stdint.h>
#include "cpu.h"
#include "periph_conf.h"
#include "periph_conf_common.h"
#include "periph/gpio.h"
#include "board_modules.h"
+ Include dependency graph for board_common.h:

Go to the source code of this file.

Functions

void board_print_config (void)
 Print the board configuration in a human readable format.
 

STDIO configuration

#define STDIO_UART_BAUDRATE   (115200)
 Default baudrate of UART for stdio.
 

MTD device configuration

Internal flash memory can be used as MTD device.

For that purpose a system MTD device has to be defined.

#define MTD_0   mtd_dev_get(0)
 Default MTD device definition.
 
#define CONFIG_SDCARD_GENERIC_MTD_OFFSET   1
 MTD offset for SD Card interfaces. More...
 

SPIFFS configuration

Configuration of the SPIFFS that can be used on the system MTD device.

#define SPIFFS_ALIGNED_OBJECT_INDEX_TABLES   1
 
#define SPIFFS_READ_ONLY   0
 
#define SPIFFS_SINGLETON   0
 
#define SPIFFS_HAL_CALLBACK_EXTRA   1
 
#define SPIFFS_CACHE   1
 

Macro Definition Documentation

◆ CONFIG_SDCARD_GENERIC_MTD_OFFSET

#define CONFIG_SDCARD_GENERIC_MTD_OFFSET   1

MTD offset for SD Card interfaces.

MTD_1 is used for SD Card.

Definition at line 100 of file board_common.h.