ESPixelStick Firmware
Firmware for the ESPixelStick
Loading...
Searching...
No Matches
GPIO_Defs_ESP8266_Generic.hpp
Go to the documentation of this file.
1#pragma once
2/*
3* GPIO_Defs_ESP8266_Generic.hpp - Output Management class
4*
5* Project: ESPixelStick - An ESP8266 / ESP32 and E1.31 based pixel driver
6* Copyright (c) 2021-2026 Shelby Merrick
7* http://www.forkineye.com
8*
9* This program is provided free for you to use in any way that you wish,
10* subject to the laws and regulations where you are using it. Due diligence
11* is strongly suggested before using this code. Please give credit where due.
12*
13* The Author makes no warranty of any kind, express or implied, with regard
14* to this program or the documentation contained in this document. The
15* Author shall not be liable in any event for incidental or consequential
16* damages in connection with, or arising out of, the furnishing, performance
17* or use of these programs.
18*
19*/
20
21#define FPP_VARIANT_NAME "ESP8266_Generic"
22
23//Output Manager
24// MAX 1 Serial port on ESP8266
26{
27 {OM_PortId_t(0), OM_PortType_t::OM_SERIAL, {gpio_num_t::GPIO_NUM_2}},
28 {OM_PortId_t(0), OM_PortType_t::OM_RELAY, {gpio_num_t::GPIO_NUM_2}},
29};
30
31// File Manager
32#define SUPPORT_SD
33#define SD_CARD_MISO_PIN gpio_num_t::GPIO_NUM_12
34#define SD_CARD_MOSI_PIN gpio_num_t::GPIO_NUM_13
35#define SD_CARD_CLK_PIN gpio_num_t::GPIO_NUM_14
36#define SD_CARD_CS_PIN gpio_num_t::GPIO_NUM_15
37
38// Output Types
39// Not Finished - #define SUPPORT_OutputProtocol_TLS3001 // OM_SERIAL
40// #define SUPPORT_OutputProtocol_APA102 // OM_SPI
41#define SUPPORT_OutputProtocol_DMX // OM_SERIAL
42#define SUPPORT_OutputProtocol_GECE // OM_SERIAL
43#define SUPPORT_OutputProtocol_GS8208 // OM_SERIAL
44#define SUPPORT_OutputProtocol_Renard // OM_SERIAL
45#define SUPPORT_OutputProtocol_Serial // OM_SERIAL
46// #define SUPPORT_OutputProtocol_TM1814 // OM_SERIAL
47// #define SUPPORT_OutputProtocol_UCS1903 // OM_SERIAL
48// #define SUPPORT_OutputProtocol_UCS8903 // OM_SERIAL
49// #define SUPPORT_OutputProtocol_WS2801 // OM_SPI
50#define SUPPORT_OutputProtocol_WS2811 // OM_SERIAL
51#define SUPPORT_OutputProtocol_Relay // OM_RELAY
52// #define SUPPORT_OutputProtocol_Servo_PCA9685 // OM_I2C
53#define SUPPORT_OutputProtocol_FireGod // OM_SERIAL
54// #define SUPPORT_OutputProtocol_GRINCH // OM_SPI
const OM_OutputPortDefinition_t OM_OutputPortDefinitions[]
Definition GPIO_Defs_ESP8266_Generic.hpp:25
@ OM_SERIAL
Definition OutputMgrPortDefs.hpp:75
@ OM_RELAY
Definition OutputMgrPortDefs.hpp:76
uint8_t OM_PortId_t
Definition OutputMgrPortDefs.hpp:71
Definition OutputMgrPortDefs.hpp:90