Skip to content

hwinfo: usb: unify serial numbers - #678

Open
andreagilardoni wants to merge 4 commits into
arduino:mainfrom
andreagilardoni:usb-sn
Open

andreagilardoni wants to merge 4 commits into
arduino:mainfrom
andreagilardoni:usb-sn

Conversation

@andreagilardoni

@andreagilardoni andreagilardoni commented Oct 5, 2026 •

Copy link
Copy Markdown

Created a zephyr module to hold custom hwinfo specification, in order to make device id (thus usb serial number) compliant with older cores and current bootloader definition. In this way we are able to use the serial number in dfu-util and avoid issues when more than one board of the same kind are connected in bootloader mode

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Built 1.0.1-0.pr.678.261005t0852z+gce996880

CI run PASSED 🟢

ArtifactBoardCoreTestsRAMSketchesWarningsErrors
✅ zephyr_contrib ek_ra8d1 1 🏷️ ✅

12.0%

2--
frdm_mcxn947 7 🏷️ ✅

53.4%

2--
frdm_rw612 3 🏷️ ✅

76.5%

2--
✅* zephyr_main giga 11 🏷️ ✅*

39.6%

802-
nano33ble 6 🏷️ ✅

78.8%

42--
nano_connect 4 🏷️ ✅

48.5%

32--
nano_matter 4 🏷️ ✅

⚠️ 86.5%

22--
nicla_sense 4 🏷️ ✅

⚠️ 88.5%

18--
nicla_vision 11 🏷️ ✅*

38.7%

642-
opta 11 🏷️ ✅

42.3%

76--
portentac33 6 🏷️ ✅

⚠️ 100.0%

72--
portentah7 10 🏷️ ✅*

40.7%

962-
✅ zephyr_unoq unoq 2 🏷️ ✅

43.5%

56--
ventunoq 5 🏷️ ✅

23.7%

48--
Legend

BoardTestStatus description
🔥 🔥 Test run failed to complete.
❌ 🔴 Test completed with unexpected errors.
⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated.
✔️* 🚫 Test completed with errors, but all are known/expected.
✅* 🟡 Test completed with some warnings; no errors detected.
✅ 🟢 Test passed successfully, with no warnings or errors.
🌑 🌑 Test was skipped.

@andreagilardoni andreagilardoni changed the title hwinfo: usb unify serial numbers hwinfo: usb: unify serial numbers Oct 5, 2026
added library to calculate hwinfo device id in order to be compatible
with bootloader and older cores
disable zephyr hwinfo in favor of our implementation
using usb serial number in dfu util to differentiate between multiple
boards of the same kind connected at the same time in bootloader mode
improted zephyr additional hwinfo functions
@github-actions

Copy link
Copy Markdown

Built 1.0.1-0.pr.678.261016t1102z+g84c2ab62

CI run PASSED 🟢

ArtifactBoardCoreTestsRAMSketchesWarningsErrors
✅ zephyr_contrib ek_ra8d1 1 🏷️ ✅

12.0%

2--
frdm_mcxn947 7 🏷️ ✅

53.4%

2--
frdm_rw612 3 🏷️ ✅

76.5%

2--
✅* zephyr_main giga 10 🏷️ ✅*

45.9%

862-
nano33ble 6 🏷️ ✅

78.8%

44--
nano_connect 5 🏷️ ✅

68.9%

38--
nano_matter 4 🏷️ ✅

⚠️ 86.5%

22--
nicla_sense 4 🏷️ ✅

⚠️ 88.5%

18--
nicla_vision 11 🏷️ ✅

40.4%

68--
opta 11 🏷️ ✅

42.3%

76--
portentac33 6 🏷️ ✅

⚠️ 100.0%

72--
portentah7 10 🏷️ ✅*

51.2%

1022-
✅ zephyr_unoq unoq 2 🏷️ ✅

43.5%

56--
ventunoq 5 🏷️ ✅

23.7%

48--
Legend

BoardTestStatus description
🔥 🔥 Test run failed to complete.
❌ 🔴 Test completed with unexpected errors.
⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated.
✔️* 🚫 Test completed with errors, but all are known/expected.
✅* 🟡 Test completed with some warnings; no errors detected.
✅ 🟢 Test passed successfully, with no warnings or errors.
🌑 🌑 Test was skipped.

@pillo79
pillo79 force-pushed the usb-sn branch 2 times, most recently from 4c27ce8 to 84c2ab6 Compare October 19, 2026 10:43
@github-actions

Copy link
Copy Markdown

Built 1.0.1-0.pr.678.261019t1044z+g84c2ab62

CI run PASSED 🟢

ArtifactBoardCoreTestsRAMSketchesWarningsErrors
✅ zephyr_contrib ek_ra8d1 1 🏷️ ✅

12.0%

2--
frdm_mcxn947 7 🏷️ ✅

53.4%

2--
frdm_rw612 3 🏷️ ✅

76.5%

2--
✅* zephyr_main giga 10 🏷️ ✅*

45.9%

862-
nano33ble 6 🏷️ ✅

78.8%

44--
nano_connect 5 🏷️ ✅

68.9%

38--
nano_matter 4 🏷️ ✅

⚠️ 86.5%

22--
nicla_sense 4 🏷️ ✅

⚠️ 88.5%

18--
nicla_vision 11 🏷️ ✅

40.4%

68--
opta 11 🏷️ ✅

42.3%

76--
portentac33 6 🏷️ ✅

⚠️ 100.0%

72--
portentah7 10 🏷️ ✅*

51.2%

1022-
✅ zephyr_unoq unoq 2 🏷️ ✅

43.5%

56--
ventunoq 5 🏷️ ✅

23.7%

48--
Legend

BoardTestStatus description
🔥 🔥 Test run failed to complete.
❌ 🔴 Test completed with unexpected errors.
⁉️ ⁉️ Test was expected to fail but passed; exception entry is outdated.
✔️* 🚫 Test completed with errors, but all are known/expected.
✅* 🟡 Test completed with some warnings; no errors detected.
✅ 🟢 Test passed successfully, with no warnings or errors.
🌑 🌑 Test was skipped.

@pillo79
pillo79 force-pushed the usb-sn branch 2 times, most recently from 53f0da1 to 84c2ab6 Compare October 20, 2026 10:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant