三寸刀
获得 0 次赞
帮助过1人
今天,调试一个SPI程序,出现下面的错误,高手帮帮忙。 #Download the file. host_file_name=$2 $fixed_path/lsz.exe --escape --binary --overwrite $host_file_name $tty_port_id 1>&0 C:arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 34: /dev/ttyS2: No such file or directory #mv the downloaded file to /sketch/sketch.elf target_download_name="${host_file_name##*/}" echo "Moving downloaded file to /sketch/sketch.elf on target" Moving downloaded file to /sketch/sketch.elf on target #$fixed_path/lsz.exe --escape -c "cp sketch /sketch/sketch.elf" $tty_port_id 1>&0 $fixed_path/lsz.exe --escape -c "mv $target_download_name /sketch/sketch.elf; chmod +x /sketch/sketch.elf" $tty_port_id 1>&0 C:arduino-1.5.3/hardware/arduino/x86/tools/izmir/clupload_win.sh: line 40: /dev/ttyS2: No such file or directory 但是新建了目录还是不行啊?