aboutsummaryrefslogtreecommitdiff
path: root/hwdef-emisar-2ch.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-210/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2023-08-03fixed accidental reversal of two deprecated k9.3-tintramp model numbersSelene ToyKeeper1-2/+2
2023-08-03converted all K9.3 builds and D4Sv2-tintramp-fet (now emisar-2ch-fet)Selene ToyKeeper1-10/+18
to multi-channel, and removed old K9.3 builds which aren't relevant any more, and old D4Sv2-tintramp builds
2023-07-10refactored how channel modes are defined, and converted emisar-2ch buildSelene ToyKeeper1-36/+17
2023-04-29Noctigon KR4: updated to use new channel systemSelene ToyKeeper1-58/+57
(also tweaked D4v2 build to match KR4 as much as possible) (also added Extended Simple UI to Hank's config)
2023-04-25updated D4Sv2-tintramp -> Emisar 2-channel build target ...Selene ToyKeeper1-67/+100
... and reworked how gradual_tick() works ... and updated LT1S Pro to use new method
2023-04-17switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper1-4/+5
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.
2022-04-14applied new phase-hack flags to other builds where relevantSelene ToyKeeper1-0/+3
2021-11-03fixed KR4-tintramp build (switch wasn't working) and added it to MODELSSelene ToyKeeper1-0/+2
2021-11-03added KR4-tintramp buildSelene ToyKeeper1-1/+2
(is basically identical to D4Sv2-tintramp, but with the switch on a different pin, and no button LED)
2021-09-10added D4Sv2-tintramp-FET build, which uses a FET on one set of LEDs for ↵Selene ToyKeeper1-6/+10
turbo modes (it's weird, but Hank wants it) also reworked gradual tint adjustment a bit, so some complex parts go in set_level() instead (probably needs more testing)
2021-09-08changed D4Sv2-tintramp from 255 to 511 for lowest PWM TOP value,Selene ToyKeeper1-2/+2
to make its thermal regulation smoother and generally increase tint ramp resolution in middle modes (also, tried thermal regulation, and it works)
2021-09-08fixed D4Sv2-tintramp PWM_TOP (should be set to the value it needs during ↵Selene ToyKeeper1-2/+2
thermal regulation)
2021-09-08got D4Sv2 tint ramping to work, with dynamic PWM (PFM)Selene ToyKeeper1-8/+14
and (maybe) thermal regulation (untested) (also broke BLF LT1 in the process; need to fix that now) Rewrote how tint ramping works, so it provides a virtual "PWM1_LVL" for other code to use, and it translates that internally into actual hardware controls. This should, in theory, allow smooth thermal regulation (gradual_tick) to work on tint-ramp lights.
2021-09-07adjusted hwdef settings for tint-ramping D4Sv2Selene ToyKeeper1-17/+25
(initial rev, will almost certainly need changes later)
2021-09-07copied hwdef from K9.3 for new tint-ramping D4Sv2Selene ToyKeeper1-0/+0
2020-10-18nope, the pins weren't swapped... the wires on the prototype were reversedSelene ToyKeeper1-12/+12
(code was correct before, but the test hardware was wrong)
2020-10-16swapped PWM1 and PWM3 channels on K9.3, because I may have had them backwardSelene ToyKeeper1-12/+12
2020-10-14got K9.3 2nd LEDs working (and modified FSM to allow this sort of thing)Selene ToyKeeper1-1/+1
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
2020-10-14configured K9.3 cfg (mostly), assigned a model number, fixed typo in hwdefSelene ToyKeeper1-2/+2
(main LEDs work now; 2nd LEDs not yet) (aux and button LEDs work too, plus switch)
2020-10-14configured K9.3 hwdefSelene ToyKeeper1-34/+48
2020-10-14copied KR4 hwdef to K9.3Selene ToyKeeper1-0/+0
2020-07-08minor formatting cleanupSelene ToyKeeper1-2/+1
2020-07-08added Emisar D4v2.5 support (D4v2 with a KR4 driver, same as KR4 but with ↵Selene ToyKeeper1-3/+9
lighted button indicator LED support)
2020-04-29removed unused TEMP_CHANNEL thing from FSM-related codeSelene ToyKeeper1-2/+0
2020-04-26applied ADC rewrite updates to most recent build targetsSelene ToyKeeper1-1/+1
2020-03-06fixed the ADC channel for voltage measurementSelene ToyKeeper1-2/+2
2020-03-06KR4: added FET channel, measured output, calibrated rampSelene ToyKeeper1-3/+3
2020-03-05initial support for Noctigon KR4Selene ToyKeeper1-20/+31
(not complete, but far enough that it installs and runs) New hardware support features: - allow using PCINT other than 0 (PCINT1, PCINT2, etc) - option to ignore voltage ADC while the button is pressed (because my prototype shorts the voltage divider to 0 while the button is down)
2019-11-25renamed Emisar D1S V2 -> Noctigon K1Selene ToyKeeper1-3/+4
2019-11-25calibrated Noctigon K1, changed voltage divider calibration values to 10-bit ↵Selene ToyKeeper1-2/+4
(was 8-bit before)
2019-09-28remapped D1S V2 pins to match new driverSelene ToyKeeper1-16/+16
(and changed a bit about how ADC / DIDR definitions work, since this now uses DIDR1 instead of DIDR0)
2019-08-06un-hardcoded 255 as the highest PWM level, and used a "PWM_TOP" value insteadSelene ToyKeeper1-0/+1
(should make gradual adjustments work better on devices with more than 8 bits of PWM resolution)
2019-08-05fixed voltage measurement on D1S v2Selene ToyKeeper1-3/+21
2019-07-30fsm-ramping: turn opamp chip on and off automatically based on ramp levelSelene ToyKeeper1-1/+2
2019-07-30added an early version of Emisar D1S v2 hwdef and cfg filesSelene ToyKeeper1-0/+113
(it compiles, but most likely doesn't actually work because it's far from finished)