Loading...
Searching...
No Matches
board.h File Reference

Board specific definitions for SparkFun ESP8266 Thing boards. More...

Detailed Description

Board specific definitions for SparkFun ESP8266 Thing boards.

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

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.

On-board LED configuration and control definitions

#define LED0_PIN   GPIO5
 GPIO5 is used as LED Pin.
 
#define LED0_ACTIVE   (1)
 LED is high active.
 

SPI configuration

#define SPI0_CS0_GPIO   GPIO16
 GPIO15 is not available on SparkFun Thing Dev.
 

Macro Definition Documentation

◆ LED0_ACTIVE

#define LED0_ACTIVE   (1)

LED is high active.

Definition at line 32 of file board.h.

◆ LED0_PIN

#define LED0_PIN   GPIO5

GPIO5 is used as LED Pin.

Definition at line 31 of file board.h.

◆ SPI0_CS0_GPIO

#define SPI0_CS0_GPIO   GPIO16

GPIO15 is not available on SparkFun Thing Dev.

Therefore another GPIO is define as default CS signal for HSPI interface SPI_DEV(0). HSPI / SPI_DEV(0) CS default pin, only used when cs parameter in spi_acquire is GPIO_UNDEF

Definition at line 47 of file board.h.