diff options
| author | hathach <[email protected]> | 2026-08-21 11:06:26 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2026-08-21 11:06:26 +0700 |
| commit | 565263ef1c8744232561ce297dabbdff3e3d284c (patch) | |
| tree | 9703a7269abbb44e7cd66e61ac6cd8e01171034f /docs | |
| parent | a57f857f811e054e7a240fc55520648192349c2b (diff) | |
samd2x_l2x: build hcd_samd.c for samd21 only, as family.mk already does
family.cmake listed src/portable/microchip/samd/hcd_samd.c twice: once
unconditionally, and once inside `if(SAM_FAMILY STREQUAL "samd21")` under the
comment "Add HCD support for SAMD21 (has host capability)". The unconditional copy
defeated the gate, so cmake compiled the host controller driver for saml21 and
saml22 while family.mk compiled it for samd21 alone - and SAML22 has no host
controller at all (hcd_samd.c fails there with `unknown type name
'UsbHostDescriptor'`).
Nothing built the host examples on this family, so the divergence was invisible;
the next commit makes it matter.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
