Closed khoa-io closed 5 years ago
this board should have media disk. Upload port should be a path to it.
I don't think this board have one. This is output of ls -la /dev/ttyACM0
:
crw-rw----. 1 root dialout 166, 0 Aug 17 2017 /dev/ttyACM0
It's a character device! p/s: Link from board: freescale.com/FRDM-KL46Z.
If I don't specify --upload-port /dev/ttyACM0
then following error happens:
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
I'm using Fedora and I looked in /run/media/<user>
but it's empty!
For anyone else having this issue, I had to mount the drive in order to flash it. Check in something like gnome-disks
if you have a drive show up and mount it. Platformio should find it when you try to upload agian.
@Iambecomeroot thanks for the solution!
Hi all. I'm trying to run an example on a Freescale board. Building is OK but I can't upload file to the board. Here is my upload command and its output:
I searched a lot on Google but there's no information can help me. So I create an issue here. Thank you!