From e76766d761d267fcabfb1fc69c8304e2562db40a Mon Sep 17 00:00:00 2001 From: Ton Huisman Date: Fri, 9 Aug 2024 16:05:14 +0200 Subject: [PATCH 1/2] [Build] Remove P094 from ESP8266 Collection D for size reasons --- docs/source/Plugin/_plugin_sets_overview.repl | 1 - docs/source/Plugin/_plugin_substitutions_p09x.repl | 2 +- src/src/CustomBuild/define_plugin_sets.h | 4 +++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/source/Plugin/_plugin_sets_overview.repl b/docs/source/Plugin/_plugin_sets_overview.repl index e074f473c..063d1aea1 100644 --- a/docs/source/Plugin/_plugin_sets_overview.repl +++ b/docs/source/Plugin/_plugin_sets_overview.repl @@ -487,7 +487,6 @@ Build set: :yellow:`COLLECTION D` ":ref:`P082_page`","P082" ":ref:`P089_page`","P089" ":ref:`P093_page`","P093" - ":ref:`P094_page`","P094" ":ref:`P095_page`","P095" ":ref:`P098_page`","P098" ":ref:`P114_page`","P114" diff --git a/docs/source/Plugin/_plugin_substitutions_p09x.repl b/docs/source/Plugin/_plugin_substitutions_p09x.repl index 9c9dfc742..0154a7f40 100644 --- a/docs/source/Plugin/_plugin_substitutions_p09x.repl +++ b/docs/source/Plugin/_plugin_substitutions_p09x.repl @@ -50,7 +50,7 @@ .. |P094_name| replace:: :cyan:`CUL Reader` .. |P094_type| replace:: :cyan:`Communication` .. |P094_typename| replace:: :cyan:`Communication - CUL Reader` -.. |P094_status| replace:: :yellow:`COLLECTION D` +.. |P094_status| replace:: :yellow:`MAX` .. |P094_github| replace:: P094_CULReader.ino .. _P094_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P094_CULReader.ino .. |P094_usedby| replace:: `.` diff --git a/src/src/CustomBuild/define_plugin_sets.h b/src/src/CustomBuild/define_plugin_sets.h index 5e6d785f7..e8c84eb67 100644 --- a/src/src/CustomBuild/define_plugin_sets.h +++ b/src/src/CustomBuild/define_plugin_sets.h @@ -1577,7 +1577,9 @@ To create/register a plugin, you have to : #ifdef PLUGIN_SET_COLLECTION_D #define USES_P093 // Mitsubishi Heat Pump - #define USES_P094 // CUL Reader + #ifdef ESP32 + #define USES_P094 // CUL Reader + #endif #ifndef USES_P098 #define USES_P098 // PWM motor #endif From 3c73cb8f3de75e5ffd8122e2311d23500629a279 Mon Sep 17 00:00:00 2001 From: Ton Huisman Date: Fri, 9 Aug 2024 16:13:20 +0200 Subject: [PATCH 2/2] [Build] Remove P094 also from ESP32 Collection D builds --- src/src/CustomBuild/define_plugin_sets.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/src/CustomBuild/define_plugin_sets.h b/src/src/CustomBuild/define_plugin_sets.h index e8c84eb67..242570c77 100644 --- a/src/src/CustomBuild/define_plugin_sets.h +++ b/src/src/CustomBuild/define_plugin_sets.h @@ -1577,9 +1577,9 @@ To create/register a plugin, you have to : #ifdef PLUGIN_SET_COLLECTION_D #define USES_P093 // Mitsubishi Heat Pump - #ifdef ESP32 - #define USES_P094 // CUL Reader - #endif + // #ifdef ESP32 + // #define USES_P094 // CUL Reader + // #endif #ifndef USES_P098 #define USES_P098 // PWM motor #endif