I have tried following the suggestions on this post at ESPRESSIF however I have still been unsuccessful in connecting to the campus network which requires a WPA2 authentication.
I placed a post on the M5Stack community forum. https://community.m5stack.com/topic/3101/connecting-to-eduroam-ssid
I also opened a ticket with the TUM IT department. They weren't very helpful, only recommended to use the WLANBayern network instead.
Still no luck.