adding compile-time messages when extra features are enabled
This commit is contained in:
@@ -481,6 +481,7 @@ void BusNetwork::cleanup() {
|
||||
// ***************************************************************************
|
||||
|
||||
#ifdef WLED_ENABLE_HUB75MATRIX
|
||||
#warning "HUB75 driver enabled (experimental)"
|
||||
|
||||
BusHub75Matrix::BusHub75Matrix(BusConfig &bc) : Bus(bc.type, bc.start, bc.autoWhite) {
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "wled.h"
|
||||
|
||||
#ifdef WLED_ENABLE_DMX_INPUT
|
||||
#pragma message "DMX physical input driver enabled"
|
||||
|
||||
#ifdef ESP8266
|
||||
#error DMX input is only supported on ESP32
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
|
||||
|
||||
#ifdef WLED_USE_ETHERNET
|
||||
#pragma message "Ethernet support enabled"
|
||||
|
||||
// The following six pins are neither configurable nor
|
||||
// can they be re-assigned through IOMUX / GPIO matrix.
|
||||
// See https://docs.espressif.com/projects/esp-idf/en/latest/esp32/hw-reference/esp32/get-started-ethernet-kit-v1.1.html#ip101gri-phy-interface
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#ifdef WLED_DISABLE_ESPNOW
|
||||
void handleRemote(){}
|
||||
#else
|
||||
#pragma message "ESP-NOW remote driver enabled"
|
||||
|
||||
#if !defined(ARDUINO_ARCH_ESP32) && !defined(ESP_OK)
|
||||
#define ESP_OK 0 // add missing constant for stupid esp8266
|
||||
|
||||
Reference in New Issue
Block a user