Wio Lite MG126 - errors when compiling

For Mac users the path to the platform.txt is:

~/Library/Arduino15/packages/Seeeduino/hardware/Seeeduino_Wio_Lite_MG126/1.0.0/platform.txt