Loading...
Searching...
No Matches
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.
 

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.

◆ MTD_0

#define MTD_0   mtd_dev_get(0)

Default MTD device definition.

Definition at line 92 of file board_common.h.

◆ SPIFFS_ALIGNED_OBJECT_INDEX_TABLES

#define SPIFFS_ALIGNED_OBJECT_INDEX_TABLES   1

Definition at line 113 of file board_common.h.

◆ SPIFFS_CACHE

#define SPIFFS_CACHE   1

Definition at line 117 of file board_common.h.

◆ SPIFFS_HAL_CALLBACK_EXTRA

#define SPIFFS_HAL_CALLBACK_EXTRA   1

Definition at line 116 of file board_common.h.

◆ SPIFFS_READ_ONLY

#define SPIFFS_READ_ONLY   0

Definition at line 114 of file board_common.h.

◆ SPIFFS_SINGLETON

#define SPIFFS_SINGLETON   0

Definition at line 115 of file board_common.h.

◆ STDIO_UART_BAUDRATE

#define STDIO_UART_BAUDRATE   (115200)

Default baudrate of UART for stdio.

Definition at line 65 of file board_common.h.