Ref: https://github.com/esp8266/Arduino/pull/8358#discussion_r740554661 (after #8358 is merged)