-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
28 lines (25 loc) · 1 KB
/
Makefile.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[tasks.flash]
script = [
"cargo objcopy --features right --bin yuki --release -- -O binary yuki.bin",
"echo \"press enter after the RIGHT board is in dfu ...\"",
"read",
"sudo dfu-util -d 0483:df11 -a 0 --dfuse-address 0x08000000:leave -D yuki.bin",
"cargo objcopy --bin yuki --release -- -O binary yuki.bin",
"echo \"press enter after the LEFT board is in dfu ...\"",
"read",
"sudo dfu-util -d 0483:df11 -a 0 --dfuse-address 0x08000000:leave -D yuki.bin"
]
[tasks.right]
script = [
"cargo objcopy --features right --bin yuki --release -- -O binary yuki.bin",
"echo \"press enter after the reset button has been pressed ...\"",
"read",
"sudo dfu-util -d 0483:df11 -a 0 --dfuse-address 0x08000000:leave -D yuki.bin"
]
[tasks.left]
script = [
"cargo objcopy --bin yuki --release -- -O binary yuki.bin",
"echo \"press enter after the reset button has been pressed ...\"",
"read",
"sudo dfu-util -d 0483:df11 -a 0 --dfuse-address 0x08000000:leave -D yuki.bin"
]