Repository navigation
feat: add Raspberry Pi Pico 2 (RP2350) to supported devices - #1004
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1004 +/- ##
==========================================
+ Coverage 67.44% 67.70% +0.26%
==========================================
Files 25 25
Lines 4764 4772 +8
==========================================
+ Hits 3213 3231 +18
+ Misses 1551 1541 -10
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
pico2SupportedDeviceentry (Raspberry Pi Pico 2,rp2350, VID2e8a/ PID000f) and appends it tosupported_devices. Closes SupportedDevice : pico_2_rp2350 SupportedDevice #973.boards.txt(rpipico2.pid.0). Detection matches on VID only, so other2e8adevices will also match this entry.SupportedDevice.__init__now normalizes VID/PID (lower case, strips0x, zero-pads to 4 digits), with a unit test inmeshtastic/tests/test_supported_device.py.Summary by CodeRabbit
0xprefixes are removed, and nonempty identifiers shorter than four characters are padded. Missing identifiers remain unchanged.