Specify 'upload_port' on NXP LPC1768 board (linux)


I’m trying to upload the mbed-blink example to my mbed NXP LPC1768 board. I’m using linux and VisualStudioCode with platformIO plugin.

According to documentation i have all packages installed (Known issues) and installed udev rules. But everytime i try to upload i get following error:

Error: Please specify `upload_port` for environment or use global `--upload-port` option. For some development platforms it can be a USB flash drive (i.e. /media/<user>/<device name>) *** [upload] Explicit exit, status 1    

According to other posts with similar issue there need to be installed correct drivers for Mac and Windows machines, but what to do on linux. Though the device is even visible in platformio → devices → Serial.

I tried to upload project on a VM and native linux machine, both faild. Tested with windows machine, everything worked fine.

can provide more information if necessary.

thanks in advance,