Temporary workaround for using Arduino M5Stack core in ESP-IDF 4.0