forked from Makuna/NeoPixelBus
Method File Cleanup (#683)
This commit is contained in:
@@ -39,47 +39,8 @@ const uint16_t PixelIndex_OutOfBounds = 0xffff;
|
||||
#include "internal/NeoColorFeatures.h"
|
||||
#include "internal/NeoTopologies.h"
|
||||
#include "internal/NeoBuffers.h"
|
||||
|
||||
#include "internal/NeoBusChannel.h"
|
||||
|
||||
#include "internal/DotStarGenericMethod.h"
|
||||
#include "internal/Lpd8806GenericMethod.h"
|
||||
#include "internal/Lpd6803GenericMethod.h"
|
||||
#include "internal/Ws2801GenericMethod.h"
|
||||
#include "internal/P9813GenericMethod.h"
|
||||
#include "internal/Tlc5947GenericMethod.h"
|
||||
#include "internal/Sm16716GenericMethod.h"
|
||||
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
|
||||
#include "internal/NeoEsp8266DmaMethod.h"
|
||||
#include "internal/NeoEsp8266I2sDmx512Method.h"
|
||||
#include "internal/NeoEsp8266UartMethod.h"
|
||||
#include "internal/NeoEspBitBangMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
|
||||
#include "internal/NeoEsp32I2sMethod.h"
|
||||
#include "internal/NeoEsp32RmtMethod.h"
|
||||
#include "internal/NeoEspBitBangMethod.h"
|
||||
#include "internal/DotStarEsp32DmaSpiMethod.h"
|
||||
#include "internal/NeoEsp32I2sXMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_NRF52840) // must be before __arm__
|
||||
|
||||
#include "internal/NeoNrf52xMethod.h"
|
||||
|
||||
#elif defined(__arm__) // must be before ARDUINO_ARCH_AVR due to Teensy incorrectly having it set
|
||||
|
||||
#include "internal/NeoArmMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
|
||||
|
||||
#include "internal/NeoAvrMethod.h"
|
||||
|
||||
#else
|
||||
#error "Platform Currently Not Supported, please add an Issue at Github/Makuna/NeoPixelBus"
|
||||
#endif
|
||||
#include "internal/NeoMethods.h"
|
||||
|
||||
|
||||
template<typename T_COLOR_FEATURE, typename T_METHOD> class NeoPixelBus
|
||||
|
70
src/internal/NeoMethods.h
Normal file
70
src/internal/NeoMethods.h
Normal file
@@ -0,0 +1,70 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
NeoMethods includes all the classes that describe pulse/data sending methods using
|
||||
bitbang, SPI, or other platform specific hardware peripherl support.
|
||||
|
||||
Written by Michael C. Miller.
|
||||
|
||||
I invest time and resources providing this open source code,
|
||||
please support me by dontating (see https://github.com/Makuna/NeoPixelBus)
|
||||
|
||||
-------------------------------------------------------------------------
|
||||
This file is part of the Makuna/NeoPixelBus library.
|
||||
|
||||
NeoPixelBus is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU Lesser General Public License as
|
||||
published by the Free Software Foundation, either version 3 of
|
||||
the License, or (at your option) any later version.
|
||||
|
||||
NeoPixelBus is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU Lesser General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with NeoPixel. If not, see
|
||||
<http://www.gnu.org/licenses/>.
|
||||
-------------------------------------------------------------------------*/
|
||||
#pragma once
|
||||
|
||||
// Generic Two Wire (clk and data) methods
|
||||
//
|
||||
#include "methods/DotStarGenericMethod.h"
|
||||
#include "methods/Lpd8806GenericMethod.h"
|
||||
#include "methods/Lpd6803GenericMethod.h"
|
||||
#include "methods/Ws2801GenericMethod.h"
|
||||
#include "methods/P9813GenericMethod.h"
|
||||
#include "methods/Tlc5947GenericMethod.h"
|
||||
#include "methods/Sm16716GenericMethod.h"
|
||||
|
||||
// Platform specific and One Wire (data) methods
|
||||
//
|
||||
#if defined(ARDUINO_ARCH_ESP8266)
|
||||
|
||||
#include "methods/NeoEsp8266DmaMethod.h"
|
||||
#include "methods/NeoEsp8266I2sDmx512Method.h"
|
||||
#include "methods/NeoEsp8266UartMethod.h"
|
||||
#include "methods/NeoEspBitBangMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_ESP32)
|
||||
|
||||
#include "methods/NeoEsp32I2sMethod.h"
|
||||
#include "methods/NeoEsp32RmtMethod.h"
|
||||
#include "methods/NeoEspBitBangMethod.h"
|
||||
#include "methods/DotStarEsp32DmaSpiMethod.h"
|
||||
#include "methods/NeoEsp32I2sXMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_NRF52840) // must be before __arm__
|
||||
|
||||
#include "methods/NeoNrf52xMethod.h"
|
||||
|
||||
#elif defined(__arm__) // must be before ARDUINO_ARCH_AVR due to Teensy incorrectly having it set
|
||||
|
||||
#include "methods/NeoArmMethod.h"
|
||||
|
||||
#elif defined(ARDUINO_ARCH_AVR) || defined(ARDUINO_ARCH_MEGAAVR)
|
||||
|
||||
#include "methods/NeoAvrMethod.h"
|
||||
|
||||
#else
|
||||
#error "Platform Currently Not Supported, please add an Issue at Github/Makuna/NeoPixelBus"
|
||||
#endif
|
@@ -28,8 +28,8 @@ License along with NeoPixel. If not, see
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "NeoSettings.h"
|
||||
#include "NeoBusChannel.h"
|
||||
#include "../NeoSettings.h"
|
||||
#include "../NeoBusChannel.h"
|
||||
#include "NeoEsp32RmtMethod.h"
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP32
|
File diff suppressed because it is too large
Load Diff
@@ -25,7 +25,7 @@ License along with NeoPixel. If not, see
|
||||
-------------------------------------------------------------------------*/
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "NeoUtil.h"
|
||||
#include "../NeoUtil.h"
|
||||
#include "NeoEsp8266I2sMethodCore.h"
|
||||
|
||||
#ifdef ARDUINO_ARCH_ESP8266
|
@@ -27,7 +27,7 @@ License along with NeoPixel. If not, see
|
||||
#ifdef ARDUINO_ARCH_ESP8266
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "NeoSettings.h"
|
||||
#include "../NeoSettings.h"
|
||||
#include "NeoEsp8266UartMethod.h"
|
||||
#include <utility>
|
||||
extern "C"
|
Reference in New Issue
Block a user