Error undefined reference to `Serial' in arduino IDE with XIAO nRF52840 Sense

Thank you very much. your solution made my day.