adding compile-time messages when extra features are enabled

This commit is contained in:
Frank
2024-05-01 02:11:28 +02:00
parent bf5c95646c
commit 08d73646fd
4 changed files with 5 additions and 0 deletions

View File

@@ -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) {

View File

@@ -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

View File

@@ -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

View File

@@ -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