aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* made dynamic PWM phase-correct; replaced brute-force phase reset to avoid ↵Selene ToyKeeper2021-08-161-19/+22
| | | | | | | flickering (I didn't see any flickering on my lights, but SammysHP reported it was visible)
* set KR4 default floor higher at Hank's request,Selene ToyKeeper2021-08-142-8/+8
| | | | | | | | | | | and reduced the jump-start-moon power a bit too (he says both are good now, but I don't have hardware to measure it myself) The higher floor is because, when the driver is really hot from being on turbo, going directly to moon causes the LEDs to turn off for a while until the driver cools. The new floor is the lowest level where post-turbo activation works reliably. However, it should turn on even at the level 1/150 when it's not hot.
* clarified the new level_calc calculations a bit, experimented to make sure ↵Selene ToyKeeper2021-08-141-26/+32
| | | | things are right
* calibrated KR4 jump-start-moon, may be too high on some older hardwareSelene ToyKeeper2021-08-122-2/+2
|
* KR4 thermal regulation no longer needs overrides, because dynamic PWM makes ↵Selene ToyKeeper2021-08-121-2/+3
| | | | | | | the defaults work better (the overrides were mostly needed as a side effect of having 1024 PWM steps instead of 256)
* got PFM / dynamic PWM actually working on Noctigon KR4Selene ToyKeeper2021-08-128-33/+89
| | | | | | (and also added "jump start moon" to it) (and generally finished adding dynamic PWM support to FSM)
* changed Noctigon KR4 from fixed to dynamic PWM TOP value, for later useSelene ToyKeeper2021-08-121-2/+9
|
* made PWM TOP value configurable at command line in level_calc.py, and added ↵Selene ToyKeeper2021-08-121-9/+70
| | | | | | | | a "dynamic PWM" feature (uses a different PWM TOP at each of the first N ramp levels, to increase resolution at bottom end of ramp)
* added a "jump start moon" option for hold-from-off, for lights with ↵Selene ToyKeeper2021-08-121-0/+13
| | | | | | slow-activating circuits (briefly pulses the light at a higher level to wake up the circuit faster)
* made blink_once() brightness configurable per buildSelene ToyKeeper2021-08-121-2/+5
|
* document the actual maximum for manual memory timer (~140 minutes, not 255)Selene ToyKeeper2021-08-122-1/+6
|
* added Nichia 219B build for KR4 and K9.3, adjusted 219C builds, for intl-outdoorSelene ToyKeeper2021-07-255-5/+38
|
* allow building only some targets, instead of always doing allSelene ToyKeeper2021-07-251-0/+13
|
* summarize results at end of batch build processSelene ToyKeeper2021-07-221-1/+30
|
* give a more useful error message when t1616 files aren't installedSelene ToyKeeper2021-07-221-2/+11
|
* rewrote hybrid memory (manual memory timer) to eliminate corner casesSelene ToyKeeper2021-07-111-15/+14
| | | | | | | | | | | | | | | | | | | | Old method: - at 1-click power-on, choose a brightness based on off-time (manual level or last-ramped level) New method: - when off longer than the timer, set last-ramped level to manual level This fixes a bug: - turn light off - wait for timer - turn light on with a shortcut to moon - turn light off - turn light on - pre-patch, light went to last-ramped level instead of manual level This change also reduces the ROM size slightly.
* added Emisar D18 Nichia 219 build target (same as normal but reduced FET power)Selene ToyKeeper2021-07-112-0/+15
|
* set Emisar/Noctigon "219" builds to 65% FET powerSelene ToyKeeper2021-07-095-8/+20
| | | | | | (was 75% or 80% before) (change requested by Emisar)
* added missing ifdefs for compiling without USE_SIMPLE_UISelene ToyKeeper2021-05-231-1/+9
| | | | | (compiles now, but isn't tested on hardware)
* oops, somehow I forgot to add this earlier... Hank's UI preferences ↵Selene ToyKeeper2021-05-131-0/+21
| | | | (applies to all Emisar / Noctigon lights)
* made manual memory remember tint too, not just brightnessSelene ToyKeeper2021-05-075-17/+33
|
* aux LED config cleaning...Selene ToyKeeper2021-04-1426-107/+15
| | | | | | | | | | | | | | | | | | | | - 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)
* config updates for Hank (Emisar / Noctigon):Selene ToyKeeper2021-04-1312-7/+11
| | | | | | | | | | | | - use cycling rainbow mode by default on lights with RGB LEDs (instead of voltage, because it's better for impressing new users) - use 2C turbo instead of 2C ceiling (Anduril 1 style instead of Anduril 2 style) also some other minor housekeeping... - make all K1 models use consistent rainbow cycling speed - enable auto-lock and manual memory timer on Emisar D1v2 - remove redundant RGB config on Lume1 (it had incorrect comments anyway)
* fixed missing ifdef for simple UISelene ToyKeeper2021-04-131-1/+4
|
* fixed wrong word in manual (turbo is in full UI only)Selene ToyKeeper2021-04-131-1/+1
|
* merged gchart's Tiny1 series branch for t1616 supportSelene ToyKeeper2021-04-0219-16/+849
|\
| * re-numbered t1616 builds to reflect manufacturer betterSelene ToyKeeper2021-04-025-8/+8
| | | | | | | | | | (all the Sofirn ones are pre-production builds intended to go on new Sofirn-produced hardware)
| * fixed blinking aux LED on gchart-fet1-t1616 (was fast and bright, now uses ↵Selene ToyKeeper2021-04-021-0/+5
| | | | | | | | 2-level heartbeat pattern)
| * need to do some measurements sometime to determine if fast or phase-correct ↵Selene ToyKeeper2021-04-021-0/+3
| | | | | | | | PWM is better on t1616
| * added attiny1616 flashing instructions, and made flash-tiny1616.sh ↵Selene ToyKeeper2021-04-012-3/+45
| | | | | | | | configurable via environment variables
| * reverted version.h back to generic originalSelene ToyKeeper2021-04-011-1/+4
| |
| * minor formatting cleanup on t1616 hwdef filesSelene ToyKeeper2021-04-013-27/+31
| |
| * Renamed gchart-fet1-t16 to t1616, to make it consistent with other t1616 models.Selene ToyKeeper2021-04-013-4/+4
| |
| * slightly reorganized declaration of PCINT to make it easier to readSelene ToyKeeper2021-04-011-16/+10
| |
| * touched up a bit of formatting and a note for later optimizationSelene ToyKeeper2021-04-012-4/+8
| |
| * Added attiny1616 info to the README, and made bin/build.sh support more ↵Selene ToyKeeper2021-04-012-3/+31
| | | | | | | | | | | | flexible. Set ATTINY_DFP environment variable in your shell to the location of the unzipped DFP files.
| * merged gchart's Tiny1 series branch for tiny1616 supportSelene ToyKeeper2021-04-0119-8/+758
|/|
| * Merge TKs changes from 2021-01-25Gabriel Hart2021-02-0115-16/+492
| |\ | |/ |/|
* | updated MODELS file with missing K9.3-nofet build targetSelene ToyKeeper2021-01-251-0/+1
| |
* | removed redundant function call, added missing commentSelene ToyKeeper2021-01-252-4/+1
| |
* | bug pseudo-fix: K9.3 lockout mode failed in blinking single-color modeSelene ToyKeeper2021-01-252-0/+12
| | | | | | | | | | | | because of what appears to be compiler jank or a race condition or some other highly unusual issue (fixed by eating up extra clock cycles in the affected code path)
* | merged noctigon k9.3 branchSelene ToyKeeper2021-01-2414-15/+481
|\ \
| * | noctigon k9.3: default to aux RGB rainbow mode, and automatic memorySelene ToyKeeper2020-12-131-2/+3
| | |
| * | enabled memory timer and resetting tint after timeout on K9.3Selene ToyKeeper2020-10-223-2/+15
| | | | | | | | | | | | | | | (unsure if I'll keep it this way though, or if the old way was better)
| * | nope, the pins weren't swapped... the wires on the prototype were reversedSelene ToyKeeper2020-10-181-12/+12
| | | | | | | | | | | | | | | (code was correct before, but the test hardware was wrong)
| * | swapped PWM1 and PWM3 channels on K9.3, because I may have had them backwardSelene ToyKeeper2020-10-161-12/+12
| | |
| * | added K9.3-noFET build target (for models with E21A as main LEDs)Selene ToyKeeper2020-10-162-1/+55
| | |
| * | start tint at 0 instead of 128 on lights with toggle instead of rampSelene ToyKeeper2020-10-161-0/+4
| | |
| * | made gradual_tick() work on K9.3 (via override), fixed strobe config,Selene ToyKeeper2020-10-154-9/+87
| | | | | | | | | | | | | | | made blink_once() more configurable (and more reliable on K9.3)
| * | got K9.3 2nd LEDs working (and modified FSM to allow this sort of thing)Selene ToyKeeper2020-10-146-2/+86
| | | | | | | | | | | | | | | | | | | | | | | | added a way to include per-model code overrides added an override mechanism for logic inside set_level() wrote K9.3's set_level() function added TINT_RAMP_TOGGLE_ONLY mode for tint ramping