From a1914ddd220e6fe29566f2a42d1b64f331b0aa7f Mon Sep 17 00:00:00 2001 From: TheChatty Date: Sat, 1 Oct 2022 12:10:18 +0200 Subject: [PATCH] Specify ModBus Bridge code sizes With Tasmota 12.1.1 code size will increase by 4.608 bytes with MODBUS_BRIDGE and by further 2.160 bytes with MODBUS_BRIDGE_TCP --- tasmota/my_user_config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index bac7413c2..1d9c2dd4a 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -762,8 +762,8 @@ #define SR04_MAX_SENSOR_DISTANCE 500 // Set sensor max detection distance //#define USE_DYP // Add support for DYP ME-007 ultrasonic distance sensor, serial port version (+0k5 code) #define USE_SERIAL_BRIDGE // Add support for software Serial Bridge (+0k8 code) -//#define USE_MODBUS_BRIDGE // Add support for software Modbus Bridge (+3k code) -//#define USE_MODBUS_BRIDGE_TCP // Add support for software Modbus TCP Bridge (Also enable Modbus Bridge!) (? code) +//#define USE_MODBUS_BRIDGE // Add support for software Modbus Bridge (+4.5k code) +//#define USE_MODBUS_BRIDGE_TCP // Add support for software Modbus TCP Bridge (also enable Modbus TCP Bridge) (+2k code) //#define USE_TCP_BRIDGE // Add support for Serial to TCP bridge (+1.3k code) //#define USE_MP3_PLAYER // Use of the DFPlayer Mini MP3 Player RB-DFR-562 commands: play, pause, stop, track, volume and reset #define MP3_VOLUME 30 // Set the startup volume on init, the range can be 0..100(max)