aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-10fast-blink the aux LED in standby when battery is lowSelene ToyKeeper5-34/+54
3.3V and up: normal aux LED modes 2.9V to 3.3V: fast blink under 2.9V: off (only on lights with no RGB aux)
2022-10-21fixed voltage calibration resolution on SP10 ProSelene ToyKeeper1-2/+2
and other devices which use a voltage divider (it was 0.1V per step, and is now 0.05V per step)
2022-07-29allow supporting single-color and RGB side button in the same buildSelene ToyKeeper7-12/+46
(new D1v2 comes in both flavors, and it's easier for everyone if they can use the same firmware) Also, removed lockout-abort bug on D1v2 (and DM11, I think). Hopefully some day I'll have time to update to a newer compiler, and then hopefully it won't have this issue any more... but for now, it still uses a kludge to trick the compiler into working.
2022-07-29added Emisar D1v2 models (old FET+7135, new linear+FET, new linear-only)Selene ToyKeeper4-6/+52
2022-04-14sp10-pro: hard reset phase while turning off, fixes shutoff bug without a delaySelene ToyKeeper1-8/+17
(also, made phase hacks individually selectable)
2022-04-14moved fuses from cfg to hwdef, renamed LED_EN/DISABLE_DELAY to LED_ON/OFF_DELAYSelene ToyKeeper2-32/+22
(also really should rename LED_* to CH1_* and LED2_* to CH2_*)
2022-04-13Created LED_DISABLE_DELAY option and enabled it for SP10 Pro to hopefully ↵Gabriel Hart2-1/+5
eliminate flashes when turning off at certain levels
2022-04-12Added FUSES section to SP10 Pro for building ELF file with BOD Active fuse ↵Gabriel Hart2-4/+16
setting
2022-04-09revert spurious change to version.hSelene ToyKeeper1-1/+4
(forgot to revert it after build test, before merge commit)
2022-04-09k9.3 tint-toggle build is broken, generate a better fail error (until it's ↵Selene ToyKeeper2-0/+2
fixed)
2022-03-30added KR4-12V build, fixed model number for DM11-SBT90 buildSelene ToyKeeper3-1/+73
2022-03-24added Noctigon DM11-SBT90.2 buildSelene ToyKeeper1-0/+73
(which is mostly like the regular linear+FET build, but has the switch on a different pin for some reason)
2022-01-29Tweak a few MT35Mini settingsGabriel Hart3-2/+54
2022-01-05Experimental: add optional delay when using LED_ENABLE_PIN to avoid flashes ↵Gabriel Hart2-2/+12
of light (this time for LED2_ENABLE pin)
2022-01-04Experimental: add optional delay when using LED_ENABLE_PIN to avoid flashes ↵Gabriel Hart2-1/+11
of light
2021-12-13fixed bug where tint-ramping could end up 1 brightness ramp step different ↵Selene ToyKeeper1-1/+3
than it started
2021-12-13Added "Lockout 3C -> Off", changed Lockout 4H blink (light) to a blip (dark),Selene ToyKeeper4-1/+28
adjusted a couple builds which overflowed.
2021-12-08enabled SOS mode on lights which have enough room for itSelene ToyKeeper3-2/+4
2021-12-08added a compile option for USE_LOWPASS_WHILE_ASLEEP,Selene ToyKeeper5-5/+32
but it doesn't actually fix the issue I was hoping it'd fix, so it's disabled by default (when the battery is right on a threshold between colors for aux LED "voltage" mode, it can bounce between colors until the cell isn't on the boundary any more... but a simple lowpass doesn't really help) (but I also didn't want to throw out the code, in case it's useful later as a reference for a more effective solution)
2021-12-08fixed Ramp 3H with Anduril 2 style turboSelene ToyKeeper3-0/+16
(it was going to ceiling instead of full power) (also had to disable battcheck calibration on some large builds to make room)
2021-11-13enabled manual memory and timer by default;Selene ToyKeeper1-0/+6
reset to ~6 lm (level 50/150) after being off for 10 minutes This sets the factory-reset default settings and affects Simple UI, so it will likely need confirmation from Sofirn.
2021-11-13increased SP10 PWM speed as much as possible without making ramp bumpy, and ↵Selene ToyKeeper3-5/+13
made party strobe pulses much faster Reduced max PWM TOP to 3072, because 2048 wasn't enough and 4096 was more than necessary. Also, Ch1 lumens / 256 / ch2 lumens = 6, so 256 * 6 * 2 is the lowest value which allows ch1 to start at half of ch2's power. I tried 1536 initially, but it made the ramp visibly malformed at the channel boundary. However, 3072 seems about right. Implemented a non-linear PWM_TOP ramp-down in level_calc, to allow it to converge faster and reduce the number of levels with visible pulses. Added an option to keep the regulator chips on between strobe pulses, by keeping the LEDs at moon instead of turning completely off. This allows the SP10 party strobe to use much shorter, more consistent pulses.
2021-11-12a bit more fine-tuning for DM11Selene ToyKeeper3-8/+9
2021-11-12added DM11 to MODELS fileSelene ToyKeeper1-0/+3
2021-11-12fine-tuned DM11-12V build a bit based on actual measurementsSelene ToyKeeper1-7/+11
2021-11-06reduced SP10 firefly/moon power usage slightly, by keeping CPU underclocked ↵Selene ToyKeeper1-1/+1
more until ch2 activates
2021-11-06reduced SP10 downward ramp flicker even moreSelene ToyKeeper1-4/+4
(reduced PWM_TOP minimum timing window to 32 cpu cycles, to allow TOP value of 64 to work better)
2021-11-06greatly smoothed out SP10 ramp, and configured defaultsSelene ToyKeeper1-16/+24
also fixed random ramp stuttering, by adding phase-reset register to hwdef (though it still has a brief stutter sometimes while ramping down across the channel boundary, at least it always seems to be smooth while going up now)
2021-11-03fixed KR4-tintramp build (switch wasn't working) and added it to MODELSSelene ToyKeeper1-0/+1
2021-11-03reset tint while changing tint ramp styleSelene ToyKeeper1-1/+5
2021-11-03added runtime config to choose tint-ramping or tint-toggleSelene ToyKeeper8-32/+54
(Off->9H option 1, 0=smooth, 1=toggle)
2021-11-03added KR4-tintramp buildSelene ToyKeeper1-0/+12
(is basically identical to D4Sv2-tintramp, but with the switch on a different pin, and no button LED)
2021-10-31documented number entry 1H action (add 10) in UI tableSelene ToyKeeper1-0/+1
2021-10-31made d4sv2-tintramp-fet work the same as no-fet version, but with added FET ↵Selene ToyKeeper2-9/+17
from ramp step 141 to 150 (0 to 100% power from 1 to 130, 101% to 200% from 131 to 150, and +DD FET from 141 to 150) also calibrated candle mode a bit better
2021-10-31fixed flicker on inactive tint ramp channel during rampingSelene ToyKeeper1-2/+8
2021-10-31added "200%" turbo on tint-ramping lights: D4S and LT1Selene ToyKeeper4-35/+69
Normal ramp from 0% to 100% power on levels 1 to 130, then 101% to 200% power at levels 131 to 150 using both channels at maximum for turbo. When either channel would go over 100%, the extra spills over to the other channel.
2021-10-29Add thefreeman's DAC linear driver (beta); also update Sofirn bilds to use ↵Gabriel Hart5-7/+52
the new 2C_STYLE defines
2021-10-28Clarified Ramp->2C behavior a bit more.Selene ToyKeeper1-4/+4
(old wording was confusing people)
2021-10-25fixed too-slow thermal regulation bug introduced in d4sv2-tintramp branchSelene ToyKeeper1-0/+2
(2021-09-10 r619.1.11) The gradual_target var was getting clobbered and causing thermal regulation to stop until the next thermal warning event, every time it reached a new ramp step. So... save/restore it to prevent it from getting clobbered.
2021-10-14don't blink when toggling tintSelene ToyKeeper1-1/+1
2021-10-12renamed MD11 -> DM11 because Hank changed the product nameSelene ToyKeeper3-6/+6
2021-10-09don't hardcode 2.9V for aux LED shutoffSelene ToyKeeper1-1/+1
(use the same value as LVP; easier to configure if it's in only one place)
2021-10-04added early initial attempt at a boost/12V/6V version of the MD11Selene ToyKeeper1-0/+70
(had to guess about some hardware details, unsure if correct)
2021-09-24added MD11-noFET, tweaked values in MD11-FET build tooSelene ToyKeeper2-3/+46
2021-09-24added dynamic PWM and FET to MD11Selene ToyKeeper1-14/+25
2021-09-24just a few adjustments to start withSelene ToyKeeper1-12/+11
2021-09-24copied Noctigon K1 -> MD11 to start defining a new lightSelene ToyKeeper1-0/+61
2021-09-22added attiny type to the MODELS file, rewrote how MODELS file gets generatedSelene ToyKeeper3-60/+128
(because it's kind of important to know which MCU each light uses, and because this will be helpful later when the build system is rewritten)
2021-09-20SP10 Pro: lower AA LVP to 0.7vGabriel Hart1-1/+1
2021-09-19SP10 Pro: use dynamic PWM, add hidden firefly, adjust candle amplitude, and ↵Gabriel Hart2-13/+17
tweak party strobe & LVP level