We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab40e4d commit b0364b3Copy full SHA for b0364b3
k210-run
@@ -26,7 +26,7 @@ fi
26
FW="$(dirname "$ELF")/firmware.bin"
27
riscv64-unknown-elf-objcopy -O binary "$ELF" "$FW"
28
29
-dir=$(dirname $(readlink -f $0))
+dir=$(python3 -c 'import os,sys;print(os.path.realpath(sys.argv[1]))' ..)
30
31
declare -a known_serial_ids
32
@@ -36,6 +36,9 @@ known_serial_ids[0]=/dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
36
# Sipeed MAIX bit, CH340 based, board
37
known_serial_ids[1]=/dev/serial/by-id/usb-Kongou_Hikari_Sipeed-Debug_A1525D0091-if00-port0
38
39
+# Sipeed MAIX bit, on macOS
40
+known_serial_ids[2]=/dev/tty.usbserial-00320000000
41
+
42
SERIAL_DEV=""
43
for serial_dev in "${known_serial_ids[@]}"
44
do
0 commit comments