particle-iot / particle-usb

A library for accessing Particle USB devices
Apache License 2.0
5 stars 1 forks source link

Use device-constants in Particle USB #44

Closed monkbroc closed 2 years ago

monkbroc commented 2 years ago

Story details: https://app.shortcut.com/particle/story/89893

Pull in all the platform information needed to generate particle-usb classes from the device-constants package to make adding new platforms easier.

Additional changes:

Open questions:

TODO

monkbroc commented 2 years ago

Thanks for the reviews. I'm not going to be able to prioritize this for a couple days, but at least it shows we're directionally aligned on how to add device-constants support to particle-usb.

sergeuz commented 2 years ago

Thanks for addressing the comments, @busticated. I added a mixin for Gen 3 devices as discussed with Julien. I'm going to merge this PR and test the library with the recent node-usb.