mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-28 04:07:47 +00:00
[IR] Add Normal plugin set with only IR TX extended
With RX ommited we can have the NORMAL plugin set and IR with 93% space usage.
This commit is contained in:
@@ -52,6 +52,7 @@ for ENV in \
|
||||
minimal_IRext_ESP8266_1M\
|
||||
minimal_IRext_ESP8266_4M1M\
|
||||
minimal_IRext_ESP8266_4M2M\
|
||||
normal_IRext_no_rx_ESP8266_4M2M\
|
||||
minimal_core_242_ESP8266_1M_OTA\
|
||||
minimal_core_242_ESP8285_1M_OTA\
|
||||
minimal_core_252_ESP8266_1M_OTA\
|
||||
|
||||
+13
-8
@@ -307,6 +307,11 @@ platform = ${ir.platform}
|
||||
build_flags = ${ir.build_flags} -DPLUGIN_BUILD_IR_EXTENDED
|
||||
lib_ignore = ${ir.lib_ignore}
|
||||
|
||||
[normal_ir_extended_no_rx]
|
||||
platform = ${ir.platform}
|
||||
build_flags = ${ir.build_flags} -DPLUGIN_BUILD_IR_EXTENDED_NO_RX
|
||||
lib_ignore = ${ir.lib_ignore}
|
||||
|
||||
[testing]
|
||||
platform = ${regular_platform.platform}
|
||||
build_flags = ${regular_platform.build_flags} -DPLUGIN_BUILD_TESTING
|
||||
@@ -713,14 +718,14 @@ board_build.flash_mode = ${esp8266_4M2M.board_build.flash_mode}
|
||||
; NORMAL IR: 4096k version --------------------------
|
||||
; Build including IR libraries, INCLUDING extended AC commands
|
||||
; Includes Extended IR AC commands (takes a lot more program space)
|
||||
; [env:normal_IRext_ESP8266_4M1M]
|
||||
; platform = ${normal_ir_extended.platform}
|
||||
; lib_ignore = ${normal_ir_extended.lib_ignore}
|
||||
; build_flags = ${normal_ir_extended.build_flags} ${esp8266_4M1M.build_flags}
|
||||
; build_unflags = ${esp8266_4M1M.build_unflags}
|
||||
; board = ${esp8266_4M1M.board}
|
||||
; board_build.f_cpu = ${esp8266_4M1M.board_build.f_cpu}
|
||||
; board_build.flash_mode = ${esp8266_4M1M.board_build.flash_mode}
|
||||
[env:normal_IRext_no_rx_ESP8266_4M2M]
|
||||
platform = ${normal_ir_extended_no_rx.platform}
|
||||
lib_ignore = ${normal_ir_extended_no_rx.lib_ignore}
|
||||
build_flags = ${normal_ir_extended_no_rx.build_flags} ${esp8266_4M2M.build_flags}
|
||||
build_unflags = ${esp8266_4M2M.build_unflags}
|
||||
board = ${esp8266_4M2M.board}
|
||||
board_build.f_cpu = ${esp8266_4M2M.board_build.f_cpu}
|
||||
board_build.flash_mode = ${esp8266_4M2M.board_build.flash_mode}
|
||||
|
||||
|
||||
;
|
||||
|
||||
@@ -238,6 +238,15 @@ To create/register a plugin, you have to :
|
||||
#define USES_P088 //ToniA IR plugin
|
||||
#endif
|
||||
|
||||
#ifdef PLUGIN_BUILD_IR_EXTENDED_NO_RX
|
||||
#ifndef PLUGIN_DESCR
|
||||
#endif // PLUGIN_DESCR
|
||||
#define USES_P035 // IRTX
|
||||
// The following define is needed for extended decoding of A/C Messages and or using standardised common arguments for controlling all deeply supported A/C units
|
||||
#define P016_P035_Extended_AC
|
||||
#define USES_P088 //ToniA IR plugin
|
||||
#endif
|
||||
|
||||
/******************************************************************************\
|
||||
* Devices ********************************************************************
|
||||
\******************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user