Serial monitor works when uploaded from Arduino IDE, but prints gibberish when uploaded from PlatformIO

if I set it to 115200 the following is printed: