Skip to content

Commit

Permalink
Include new branch of IRremoteESP8266 to save 21k (#582)
Browse files Browse the repository at this point in the history
This saves 21024 bytes of program space
  • Loading branch information
Def3nder authored and Aircoookie committed Jan 10, 2020
1 parent 32c10e5 commit a7a1002
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,18 @@ build_flags =
-w ; supresses all C/C++ warnings
; -D VERSION=0.8.5
; -D DEBUG
#build_flags for the IRremoteESP8266 library (enabled decoders have to appear here)
-D _IR_ENABLE_DEFAULT_=false
-D DECODE_HASH=true
-D DECODE_NEC=true
-D DECODE_SONY=true
-D DECODE_PANASONIC=true
-D DECODE_JVC=true
-D DECODE_SAMSUNG=true
-D DECODE_LG=true
-D DECODE_SANYO=true
-D DECODE_SHARP=true
-D DECODE_DENON=true
# TODO replace libs in /lib with managed libs in here if possible.
# If they are not changed it's just a matter of setting the correct version and change the import statement
lib_deps_external =
Expand All @@ -39,7 +51,9 @@ lib_deps_external =
AsyncTCP@1.0.3
Esp Async WebServer@1.2.0
#ArduinoJson@5.13.5
IRremoteESP8266@2.7.2
#IRremoteESP8266@2.7.2
#For saving 20k program space the brnach "compile_flags" will be used:
https://github.com/crankyoldgit/IRremoteESP8266.git#compile_flags
#Time@1.5
#Timezone@1.2.1
#For use SSD1306 0.91" OLED display uncomment following
Expand Down

0 comments on commit a7a1002

Please sign in to comment.