File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -146,25 +146,25 @@ bool gd32f1_probe(target_s *target)
146
146
size_t block_size = 0x400 ;
147
147
148
148
switch (device_id ) {
149
- case 0x414U : /* Gigadevice gd32f303 */
150
- case 0x430U : /* XL-density */
149
+ case 0x414U : /* GD32F30x_HD, High density */
150
+ case 0x430U : /* GD32F30x_XD, XL-density */
151
151
target -> driver = "GD32F3" ;
152
152
block_size = 0x800 ;
153
153
break ;
154
- case 0x418U :
154
+ case 0x418U : /* Connectivity Line */
155
155
target -> driver = "GD32F2" ;
156
156
block_size = 0x800 ;
157
157
break ;
158
- case 0x410U : /* Gigadevice gd32f103, gd32e230 */
158
+ case 0x410U : /* Medium density */
159
159
if ((target -> cpuid & CORTEX_CPUID_PARTNO_MASK ) == CORTEX_M23 )
160
- target -> driver = "GD32E230" ;
160
+ target -> driver = "GD32E230" ; /* GD32E230, 64 KiB max in 1 KiB pages */
161
161
else if ((target -> cpuid & CORTEX_CPUID_PARTNO_MASK ) == CORTEX_M4 ) {
162
162
target -> driver = "GD32F3" ;
163
163
block_size = 0x800 ;
164
164
} else
165
- target -> driver = "GD32F1" ;
165
+ target -> driver = "GD32F1" ; /* GD32F103, 1 KiB pages */
166
166
break ;
167
- case 0x444U : /* Gigadevice gd32e50x */
167
+ case 0x444U : /* GD32E50x_CL, 512 KiB max in 8 KiB pages */
168
168
target -> driver = "GD32E5" ;
169
169
block_size = 0x2000 ;
170
170
break ;
You can’t perform that action at this time.
0 commit comments