File tree Expand file tree Collapse file tree 1 file changed +31
-6
lines changed Expand file tree Collapse file tree 1 file changed +31
-6
lines changed Original file line number Diff line number Diff line change @@ -246,14 +246,14 @@ static uint8_t const USBD_PRODUCT_FS_STRING[] = {
246
246
'e' , 0 ,
247
247
'x' , 0 ,
248
248
};
249
- #elif defined(TARGET_APEX )
249
+ #elif defined(TARGET_APEX_P )
250
250
#ifndef HAVE_LEGACY_PID
251
- #define USBD_PID 0x7000
251
+ #define USBD_PID 0x8000
252
252
#else // HAVE_LEGACY_PID
253
- #define USBD_PID 0x0007
253
+ #define USBD_PID 0x0008
254
254
#endif // HAVE_LEGACY_PID
255
255
static uint8_t const USBD_PRODUCT_FS_STRING [] = {
256
- 11 * 2 + 2 ,
256
+ 13 * 2 + 2 ,
257
257
USB_DESC_TYPE_STRING ,
258
258
'L' , 0 ,
259
259
'e' , 0 ,
@@ -262,10 +262,35 @@ static uint8_t const USBD_PRODUCT_FS_STRING[] = {
262
262
'e' , 0 ,
263
263
'r' , 0 ,
264
264
' ' , 0 ,
265
- 'F ' , 0 ,
266
- 'l ' , 0 ,
265
+ 'A ' , 0 ,
266
+ 'p ' , 0 ,
267
267
'e' , 0 ,
268
268
'x' , 0 ,
269
+ ' ' , 0 ,
270
+ 'P' , 0 ,
271
+ };
272
+ #elif defined(TARGET_APEX_M )
273
+ #ifndef HAVE_LEGACY_PID
274
+ #define USBD_PID 0x9000
275
+ #else // HAVE_LEGACY_PID
276
+ #define USBD_PID 0x0009
277
+ #endif // HAVE_LEGACY_PID
278
+ static uint8_t const USBD_PRODUCT_FS_STRING [] = {
279
+ 13 * 2 + 2 ,
280
+ USB_DESC_TYPE_STRING ,
281
+ 'L' , 0 ,
282
+ 'e' , 0 ,
283
+ 'd' , 0 ,
284
+ 'g' , 0 ,
285
+ 'e' , 0 ,
286
+ 'r' , 0 ,
287
+ ' ' , 0 ,
288
+ 'A' , 0 ,
289
+ 'p' , 0 ,
290
+ 'e' , 0 ,
291
+ 'x' , 0 ,
292
+ ' ' , 0 ,
293
+ 'M' , 0 ,
269
294
};
270
295
#else
271
296
#error unknown TARGET_NAME
You can’t perform that action at this time.
0 commit comments