How to set more UART, SPI and I2C on a customed design based on mkr wifi 1010?

Thanks! for your reply.. and How can I know the syntax of 'variant.cpp' in order to re-write my own version ? (seems like c++ ) not really sure which book or guideline to read? any suggestions please?