aboutsummaryrefslogtreecommitdiff
path: root/hw/sofirn/blf-lt1/cfg.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-03renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)Selene ToyKeeper1-105/+0
(still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
2023-11-02got things to compile again, renamed #includesSelene ToyKeeper1-1/+1
(also modified the build scripts to work with the new file structure)
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-0/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2023-10-26converted Sofirn LT1-t1616 to new API, using SiteRelEnby's branch for referenceSelene ToyKeeper1-4/+5
(needs further updates though, to improve ramping, since this version is basically a straight conversion of the old t85 code with 8-bit ramps)
2023-10-26improved blf-lt1 ramp and fixed issue with missed button pressesSelene ToyKeeper1-4/+2
(it seems t85 doesn't like having timer overflow interrupts enabled in standby?)
2023-10-25rewrote blf-lantern (blf-lt1) code to use multi-channel and PWM+DSM,Selene ToyKeeper1-41/+56
which required ... a few pretty significant changes: - no dynamic underclocking (it isn't compatible with DSM yet) - no tint ramping brightness correction (removed to save space) - removed ramp blinks (to save space, and because they're annoying) - removed momentary mode (to save space) - removed SOS mode (to save space) - removed (to save space) some other relatively recent features which weren't present in the original production firmware ... but some other things improved: + added smooth steps + extended Simple UI + added stepped tint ramping + added 13H factory reset, to save wear on threads + lower lows + smoother ramp + much higher tint ramp resolution in low modes I'm not entirely happy with this yet, so it probably needs additional work later in order to adjust the weird ramp shape (these 7135 chips have a weird response curve), add dynamic underclocking, cut down the ROM size if possible, re-add tint ramping brightness correction, etc. Multi-channel stuff in particular added a lot to the size. This is a pretty big change from the previous working build, so some users may want to stick with the last pre-multi-channel version. Non-trivial sacrifices were made to bring in more recent features.
2023-04-17switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper1-0/+4
instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
2023-03-28added a "tactical mode" on "Off -> 6C"Selene ToyKeeper1-0/+3
Tactical Mode is similar to Momentary Mode or Lockout Mode, but it has three mode slots which are independent of other config values. The default is a classic tactical setup with "high, low, strobe", each with immediate activation as soon as the button is pressed. Each slot can be a regular ramp level 1 to 150, or a strobe-group mode. To exit, press 6C or loosen/tighten the tailcap. Aux LEDs follow the same pattern as Lockout Mode. To configure, use 7H. There are 3 options, one for each slot. Enter a number 1 to 150 for a ramp mode, 0 for current strobe, or 151+ for a specific strobe mode.
2021-10-31added "200%" turbo on tint-ramping lights: D4S and LT1Selene ToyKeeper1-9/+15
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 Hart1-2/+2
the new 2C_STYLE defines
2021-09-08got BLF LT1 working again, using new tint-ramping codeSelene ToyKeeper1-20/+3
2021-08-29Add 2C Turbo for BLF Lantern (LT1)Gabriel Hart1-0/+3
2021-04-14aux LED config cleaning...Selene ToyKeeper1-4/+0
- use fancy blinking mode by default (define USE_OLD_BLINKING_INDICATOR if old slow mode is wanted) - remove TICK_DURING_STANDBY from all cfg-*.h files because it's enabled automatically by other features anyway (autolock, memory timer) - remove STANDBY_TICK_SPEED from cfg-*.h because all the values matched the default anyway so it was redundant - set rot66 button LED to high+blinking instead of high+off (it was only "off" because it ran out of space, and that was resolved) - enabled fancier indicator by default on fireflies-ui and rampingiosv3, since its other #define clauses were removed (not sure if those older UIs still compile, but if so, it's worth at least trying not to break it)
2020-08-31added model numbers to each build target, and to version check functionSelene ToyKeeper1-0/+1
2020-08-20raised ceiling levels for simple UI in each build targetSelene ToyKeeper1-2/+4
(the idea is "high but not crazy", or around 100% to 150% of thermally-sustainable level) ... and set the default steps to 5 instead of 3
2020-08-05organized config defaults, added some ramp options to default configSelene ToyKeeper1-1/+3
2020-07-12cleaned up s/ceiling/ceil/ and s/muggle_/simple_ui_/ in config filesSelene ToyKeeper1-6/+6
2019-12-03adjusted lantern tint ramping power correction again, based on measurements ↵Selene ToyKeeper1-1/+1
of the previous attempt
2019-11-29adjusted BLF Lantern (Sofirn LT1) tint ramping power correction factor to ↵Selene ToyKeeper1-0/+4
match production units (also made the factor configurable per build target)
2019-11-18added SOS mode to the BLF LT1 Lantern build, because people wanted itSelene ToyKeeper1-0/+3
2019-10-02made lantern's muggle mode brighter (matches default stepped ramp level 4 of 5)Selene ToyKeeper1-0/+3
and made the floor slightly lower (almost as low as level 1 of 5) because this light doesn't run hot enough for the previous limit to make sense (was roughly step 2.9 of 5)
2019-05-14added auto-tint modes, refactored some indicator blinks into "blip()", ↵Selene ToyKeeper1-3/+4
enabled blink at ceiling for lantern
2019-05-13made tint ramping blink at ends of ramp, made lantern default to stepped ↵Selene ToyKeeper1-1/+2
mode, lowered lantern floor, made beacon blink shorter
2019-05-10reworked candle mode a bit more, now specifies the amplitude of each wave in ↵Selene ToyKeeper1-2/+2
percent, with a higher potential brightness but more of a low bias overall (looks good on the lantern; haven't tried it elsewhere yet)
2019-05-10made candle mode amplitude configurable at compile time,Selene ToyKeeper1-0/+3
and increased the magnitude for the lantern build
2018-12-19configured lantern stepped ramp and button LED mode, set default tint to 128 ↵Selene ToyKeeper1-1/+7
(balanced)
2018-11-08added lantern pin layoutSelene ToyKeeper1-0/+8
2018-09-13ramp tint faster, remember after battery changeSelene ToyKeeper1-2/+2
also, fixed typo while setting default ramp values
2018-09-13oops, forgot to add lantern config fileSelene ToyKeeper1-0/+59