crankyoldgit / IRremoteESP8266

Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/
GNU Lesser General Public License v2.1
2.84k stars 810 forks source link

library.json specifies libCompatMode strict #2111

Closed rob-deutsch closed 6 days ago

rob-deutsch commented 1 week ago

This PR is based on platformio's documentation. I will test it next week.

This PR instructs platformio to pay attention to both the frameworks AND platforms specification before trying to compile IRremoteESP8266.

I would've thought that platformio would do this check by default, but apparently not. By default it only checks frameworks. Source: https://docs.platformio.org/en/latest/manifests/library-json/fields/platforms.html

The documentation for libCompatMode can be found here: https://docs.platformio.org/en/latest/manifests/library-json/fields/build/libcompatmode.html#manifest-library-json-build-libcompatmode

crankyoldgit commented 6 days ago

BTW, thanks for this.