Programmer USB to serial UART connections with EmonTx shield using Arduino IDE on Mac OSX

I can’t comment about platformio. As I’ve previously said, I threw it out when it fouled up my system and cost me several hours work to restore.