Commit a49fa5a
authored
Fix Upload Firmware batch file path to tools subdirectory (#2)
* Fix Upload Firmware batch file path to tools subdirectory
The build_release.sh script places upload_firmware.ps1 in the tools/
subdirectory, but the batch file was looking for it in the root directory.
Updated batch file to reference tools\upload_firmware.ps1.
* Fix empty device display in PowerShell upload script
When multiple USB devices are detected, the device names were not displaying
properly, showing empty entries. Now displays the COM port number at minimum,
and includes the full device name if available.
This fixes the issue where users see empty device listings when connecting
multiple USB devices to their computer.
* Fix firmware path in PowerShell upload script
The script was looking for firmware in tools/arduino instead of
source/arduino. Updated to find the source folder relative to the
release package root directory.
Path now correctly resolves to: release_root/source/arduino/JudgeController
* Remove flash firmware support - only support Arduino upload
The pre-compiled firmware and flash scripts are untested and unused.
Only support the Arduino CLI compile-from-source upload method.
Changes:
- Remove firmware compilation from build_release.sh
- Remove flash_firmware.sh and flash_firmware.ps1
- Remove Flash Firmware (Windows).bat from release package
- Update build_release.sh to only include source code and upload tools
- Simplify UPLOAD_GUIDE.md to show only Arduino upload method
- Update README.txt template to reflect source-only approach1 parent 6a4ffd4 commit a49fa5a
4 files changed
Lines changed: 36 additions & 121 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
| 12 | + | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
21 | 20 | | |
22 | 21 | | |
23 | 22 | | |
24 | | - | |
| 23 | + | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
| 27 | + | |
29 | 28 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 29 | + | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 33 | | |
69 | 34 | | |
70 | 35 | | |
| |||
106 | 71 | | |
107 | 72 | | |
108 | 73 | | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 74 | + | |
116 | 75 | | |
117 | | - | |
118 | 76 | | |
119 | 77 | | |
120 | 78 | | |
121 | 79 | | |
122 | | - | |
| 80 | + | |
123 | 81 | | |
124 | 82 | | |
125 | 83 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
| 71 | + | |
101 | 72 | | |
102 | 73 | | |
103 | 74 | | |
104 | 75 | | |
105 | 76 | | |
106 | 77 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 78 | | |
113 | 79 | | |
114 | 80 | | |
| |||
132 | 98 | | |
133 | 99 | | |
134 | 100 | | |
135 | | - | |
| 101 | + | |
136 | 102 | | |
137 | 103 | | |
138 | 104 | | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | 105 | | |
150 | 106 | | |
151 | | - | |
| 107 | + | |
152 | 108 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
165 | 112 | | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 113 | + | |
171 | 114 | | |
172 | 115 | | |
173 | | - | |
174 | | - | |
175 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
176 | 119 | | |
177 | 120 | | |
178 | 121 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
360 | | - | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
| 367 | + | |
| 368 | + | |
| 369 | + | |
361 | 370 | | |
362 | 371 | | |
363 | 372 | | |
| |||
366 | 375 | | |
367 | 376 | | |
368 | 377 | | |
369 | | - | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
370 | 384 | | |
371 | 385 | | |
372 | 386 | | |
| |||
0 commit comments