From 89ea4e6f8ac15d3cb12d5562df9681c9d650b5f8 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 22 Sep 2024 16:46:40 -0600 Subject: cherry-picked hank-lume-x1 code from https://github.com/loneoceans/anduril/commit/d83ebb75dab8c462b7efa841bccc00a136ff15a2 The [PR](https://github.com/ToyKeeper/anduril/pull/37) has a lot of other stuff in it, so I'm just picking out the parts needed for this particular light, and leaving the rest for later. Will need further edits before merging into trunk. --- MODELS | 1 + 1 file changed, 1 insertion(+) (limited to 'MODELS') diff --git a/MODELS b/MODELS index caa4bf5..0e099b2 100644 --- a/MODELS +++ b/MODELS @@ -43,6 +43,7 @@ Model MCU Name 0272 attiny1634 hank-noctigon-dm11-nofet 0273 attiny1634 hank-noctigon-dm11-boost 0274 attiny1634 hank-noctigon-dm11-sbt90 +0281 avr32dd20 hank-lume-x1 (40W boost) 0311 attiny85 lumintop-fw3a 0312 attiny85 lumintop-fw3a-219 0313 attiny85 lumintop-fw3a-nofet -- cgit v1.2.3 From 6be8fff532c4be83126517a6e3b7b725548761c2 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sun, 22 Sep 2024 17:15:47 -0600 Subject: hank-lume-x1 cleanup and calibration, part 1: - changed model number from 0281 to 0171 - cleaned up blink_negative and AUXLED_RGB_DIFFERENT_PORTS a little (but the latter needs a complete refactor, as soon as the hardware abstraction code can handle aux LEDs better) - cleaned up USE_LONG_BLINK_FOR_NEGATIVE_SIGN a little - removed USE_OTG_IN_MOMENTARY since it's not actually used - moved hw/loneoceans/lume-x1-avr32dd20/* files into hw/hank/lume-x1/ - superficial cleanup on hank/lume-x1/hwdef.* - removed some of the extra stuff from hank/lume-x1/anduril.h - adjusted calibration (especially ramp table) on hank-lume-x1 (ramp shape is pretty close to a D4K-boost now, but with more firefly modes) (calibration is based on a sample size of 1, further testing needed) --- MODELS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MODELS') diff --git a/MODELS b/MODELS index 0e099b2..0099b29 100644 --- a/MODELS +++ b/MODELS @@ -24,6 +24,7 @@ Model MCU Name 0143 attiny1634 hank-noctigon-m44 0151 attiny1634 hank-emisar-d4k-3ch 0161 avr32dd20 hank-emisar-d3aa +0171 avr32dd20 hank-lume-x1 0211 attiny1634 hank-noctigon-kr4 0212 attiny1634 hank-noctigon-kr4-nofet 0213 attiny1634 hank-noctigon-kr4-219 @@ -43,7 +44,6 @@ Model MCU Name 0272 attiny1634 hank-noctigon-dm11-nofet 0273 attiny1634 hank-noctigon-dm11-boost 0274 attiny1634 hank-noctigon-dm11-sbt90 -0281 avr32dd20 hank-lume-x1 (40W boost) 0311 attiny85 lumintop-fw3a 0312 attiny85 lumintop-fw3a-219 0313 attiny85 lumintop-fw3a-nofet -- cgit v1.2.3