summaryrefslogtreecommitdiff
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
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.
-rw-r--r--examples/host/bare_api/only.txt2
-rw-r--r--examples/host/bare_api/skip.txt3
-rw-r--r--examples/host/cdc_msc_hid/only.txt2
-rw-r--r--examples/host/cdc_msc_hid/skip.txt3
-rw-r--r--examples/host/cdc_msc_hid_freertos/only.txt2
-rw-r--r--examples/host/cdc_msc_hid_freertos/skip.txt3
-rw-r--r--examples/host/device_info/only.txt2
-rw-r--r--examples/host/device_info/skip.txt3
-rw-r--r--examples/host/hid_controller/only.txt2
-rw-r--r--examples/host/hid_controller/skip.txt3
-rw-r--r--examples/host/midi2_host/only.txt2
-rw-r--r--examples/host/midi2_host/skip.txt3
-rw-r--r--examples/host/midi_rx/only.txt2
-rw-r--r--examples/host/midi_rx/skip.txt3
-rw-r--r--examples/host/msc_file_explorer/only.txt2
-rw-r--r--examples/host/msc_file_explorer/skip.txt3
-rw-r--r--examples/host/msc_file_explorer_freertos/only.txt2
-rw-r--r--examples/host/msc_file_explorer_freertos/skip.txt4
18 files changed, 37 insertions, 9 deletions
diff --git a/examples/host/bare_api/only.txt b/examples/host/bare_api/only.txt
index a2ff93be5..3287df65a 100644
--- a/examples/host/bare_api/only.txt
+++ b/examples/host/bare_api/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/bare_api/skip.txt b/examples/host/bare_api/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/bare_api/skip.txt
+++ b/examples/host/bare_api/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
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
diff --git a/examples/host/cdc_msc_hid_freertos/only.txt b/examples/host/cdc_msc_hid_freertos/only.txt
index 4ab8a906e..09b0125b0 100644
--- a/examples/host/cdc_msc_hid_freertos/only.txt
+++ b/examples/host/cdc_msc_hid_freertos/only.txt
@@ -1,5 +1,5 @@
family:espressif
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:LPC175X_6X
mcu:LPC177X_8X
diff --git a/examples/host/cdc_msc_hid_freertos/skip.txt b/examples/host/cdc_msc_hid_freertos/skip.txt
index f0be07d25..f5fe146c8 100644
--- a/examples/host/cdc_msc_hid_freertos/skip.txt
+++ b/examples/host/cdc_msc_hid_freertos/skip.txt
@@ -1,3 +1,6 @@
mcu:CH32F20X
board:lpcxpresso54114
mcu:FT90X
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/device_info/only.txt b/examples/host/device_info/only.txt
index 7f30218df..2c9c8834a 100644
--- a/examples/host/device_info/only.txt
+++ b/examples/host/device_info/only.txt
@@ -1,6 +1,6 @@
family:espressif
family:hpmicro
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:CH32V20X
mcu:KINETIS_KL
diff --git a/examples/host/device_info/skip.txt b/examples/host/device_info/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/device_info/skip.txt
+++ b/examples/host/device_info/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/hid_controller/only.txt b/examples/host/hid_controller/only.txt
index 45ca6846f..7b4f14863 100644
--- a/examples/host/hid_controller/only.txt
+++ b/examples/host/hid_controller/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/hid_controller/skip.txt b/examples/host/hid_controller/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/hid_controller/skip.txt
+++ b/examples/host/hid_controller/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/midi2_host/only.txt b/examples/host/midi2_host/only.txt
index c71aacd87..8ffe1cd04 100644
--- a/examples/host/midi2_host/only.txt
+++ b/examples/host/midi2_host/only.txt
@@ -1,5 +1,5 @@
family:hpmicro
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:CH32V20X
mcu:ESP32P4
diff --git a/examples/host/midi2_host/skip.txt b/examples/host/midi2_host/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/midi2_host/skip.txt
+++ b/examples/host/midi2_host/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/midi_rx/only.txt b/examples/host/midi_rx/only.txt
index 65ef8fac9..b467c6e3b 100644
--- a/examples/host/midi_rx/only.txt
+++ b/examples/host/midi_rx/only.txt
@@ -1,5 +1,5 @@
family:hpmicro
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:CH32V20X
mcu:ESP32P4
diff --git a/examples/host/midi_rx/skip.txt b/examples/host/midi_rx/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/midi_rx/skip.txt
+++ b/examples/host/midi_rx/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/msc_file_explorer/only.txt b/examples/host/msc_file_explorer/only.txt
index a2ff93be5..3287df65a 100644
--- a/examples/host/msc_file_explorer/only.txt
+++ b/examples/host/msc_file_explorer/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/msc_file_explorer/skip.txt b/examples/host/msc_file_explorer/skip.txt
index 308796869..dc3c2981d 100644
--- a/examples/host/msc_file_explorer/skip.txt
+++ b/examples/host/msc_file_explorer/skip.txt
@@ -1 +1,4 @@
board:lpcxpresso54114
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
diff --git a/examples/host/msc_file_explorer_freertos/only.txt b/examples/host/msc_file_explorer_freertos/only.txt
index 519ac2ebd..4f4f8fe6b 100644
--- a/examples/host/msc_file_explorer_freertos/only.txt
+++ b/examples/host/msc_file_explorer_freertos/only.txt
@@ -1,5 +1,5 @@
family:espressif
-family:samd21
+family:samd2x_l2x
family:samd5x_e5x
mcu:LPC175X_6X
mcu:LPC177X_8X
diff --git a/examples/host/msc_file_explorer_freertos/skip.txt b/examples/host/msc_file_explorer_freertos/skip.txt
index a8c9bea2a..06afcf825 100644
--- a/examples/host/msc_file_explorer_freertos/skip.txt
+++ b/examples/host/msc_file_explorer_freertos/skip.txt
@@ -2,3 +2,7 @@ mcu:CH32F20X
board:lpcxpresso54114
mcu:FT90X
board:stm32h7s3nucleo
+board:atsaml21_xpro
+board:saml22_feather
+board:sensorwatch_m0
+board:curiosity_nano