I can upload one code to many NodeMCU same time by use port /dev/ttyUSB0 , /dev/ttyUSB1 …
There are a few options:
- Create multiple environments and use different upload_port options
- Call platformio run --upload-port command with the different upload ports