[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:
jimmys01
2019-09-09 13:26:51 +03:00
parent a68dc433a3
commit 6028628b33
3 changed files with 23 additions and 8 deletions
+1
View File
@@ -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
View File
@@ -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}
;
+9
View File
@@ -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 ********************************************************************
\******************************************************************************/