summaryrefslogtreecommitdiff
path: root/examples/host/cdc_msc_hid
diff options
context:
space:
mode:
authorhathach <[email protected]>2026-08-21 11:06:38 +0700
committerhathach <[email protected]>2026-08-21 11:06:38 +0700
commitb646a9decfcac5345b77c74b6b0e2d217add756f (patch)
treeb5d6297a3847b67ae3846dcf943847e5ded0fbb7 /examples/host/cdc_msc_hid
parent565263ef1c8744232561ce297dabbdff3e3d284c (diff)
examples: restore host builds on samd2x_l2x
Nine examples/host/*/only.txt gate on family:samd21, but 2a8811ebb merged the samd2x and saml2x BSPs into hw/bsp/samd2x_l2x. skip_example takes `family:` from the directory name, so since that rename every one of these examples has been skipped on every board of the family, under make as well as cmake - although hw/bsp/samd2x_l2x/family.cmake wires src/portable/microchip/samd/hcd_samd.c. 107 host firmware images were being compiled nowhere. The merged family is wider than the old samd21 one, so three boards need an explicit skip rather than the rename alone: atsaml21_xpro, saml22_feather, sensorwatch_m0 - not samd21, so hcd_samd.c is not compiled for them (previous commit); SAML22 has no host controller at all curiosity_nano - SAMD21 with 16 KB RAM; msc_file_explorer_freertos overflows it by 3688 bytes (ram 122.51%). Only that one example; the other eight fit. Verified across the whole family: cmake 11 boards x 9/9 examples + curiosity_nano 8/9, three boards skipped, 0 failures; make 98 OK / 0 failed (was 98/9 before). Device examples on saml21 and saml22 are unaffected.
Diffstat (limited to 'examples/host/cdc_msc_hid')
-rw-r--r--examples/host/cdc_msc_hid/only.txt2
-rw-r--r--examples/host/cdc_msc_hid/skip.txt3
2 files changed, 4 insertions, 1 deletions
diff --git a/examples/host/cdc_msc_hid/only.txt b/examples/host/cdc_msc_hid/only.txt
index a2f4f273a..c4a23328e 100644
--- a/examples/host/cdc_msc_hid/only.txt
+++ b/examples/host/cdc_msc_hid/only.txt
@@ -1,5 +1,5 @@
family:hpmicro
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:CH32V20X
mcu:KINETIS_KL
diff --git a/examples/host/cdc_msc_hid/skip.txt b/examples/host/cdc_msc_hid/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/cdc_msc_hid/skip.txt
+++ b/examples/host/cdc_msc_hid/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0