Commit f738d9f
add TUP_USBIP_FSDEV_HAS_HOST define for FSDEV MCUs with host support
Add TUP_USBIP_FSDEV_HAS_HOST to tusb_mcu.h for STM32 C0, G0, H5, U3,
and U5 (fsdev variants) that have DRD host mode capability. Use this
define in hcd_stm32_fsdev.c compile guard instead of enumerating MCUs
with TU_CHECK_MCU, so new host-capable FSDEV MCUs only need to define
TUP_USBIP_FSDEV_HAS_HOST in tusb_mcu.h.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e336045 commit f738d9f
File tree
2 files changed
+6
-2
lines changed- src
- common
- portable/st/stm32_fsdev
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| 205 | + | |
205 | 206 | | |
206 | 207 | | |
207 | 208 | | |
| |||
278 | 279 | | |
279 | 280 | | |
280 | 281 | | |
| 282 | + | |
281 | 283 | | |
282 | 284 | | |
283 | 285 | | |
| |||
293 | 295 | | |
294 | 296 | | |
295 | 297 | | |
| 298 | + | |
296 | 299 | | |
297 | 300 | | |
298 | 301 | | |
| |||
366 | 369 | | |
367 | 370 | | |
368 | 371 | | |
| 372 | + | |
369 | 373 | | |
370 | 374 | | |
371 | 375 | | |
372 | 376 | | |
373 | 377 | | |
374 | 378 | | |
375 | 379 | | |
| 380 | + | |
376 | 381 | | |
377 | 382 | | |
378 | 383 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
| 41 | + | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments