M5Stack easy setup: Use the device manager to install this https://bit.ly/2q6JZey Then expand that in your libraries folder: https://bit.ly/2q34DNx Finally, alongside libraries, create hardware/espressif and expand this https://bit.ly/2GyEsom in it - DONE!