Wrote a hwdef for anduril for the boost driver DM11 firmware and made a few custom builds.
@ToyKeeper you’ll probably be able to improve on it in some way, but here’s it so far: Comparing d28b94e60717c528466955720ecc478cc78d8421..b2c714b09a4cca558ee0c43ba978f4d8d5f667ed · SiteRelEnby/anduril2 · GitHub . It’s using set_level_legacy()
because I wasn’t sure about writing a hardware-specific set_level but hopefully got some of the changes needed. Also has the previous channel function if you were considering integrating that somewhere, and I also added a new voltage config item to configure where the voltage aux switches from high to low (e.g. I keep it always high on my lights since they use high aux when off anyway).
Also working on handling voltage aux differently in off vs lockout state but that’s still buggy at the moment.