aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | reduced ROM another 12+6 bytes with more non-volatile varsSelene ToyKeeper2020-07-302-3/+3
| | | | | | | | | | (because they don't need to be volatile any more)
* | reduced ROM size 56 bytes by making actual_level non-volatileSelene ToyKeeper2020-07-291-1/+1
| | | | | | | | | | (seems unnecessary now; doesn't change in the middle of an event handler any more)
* | reduced ROM 42 bytes by making "emissions" non-volatileSelene ToyKeeper2020-07-291-1/+3
| | | | | | | | | | (doesn't seem to be needed any more, ever since the IRQ rewrite a few months ago)
* | reduced ROM size slightly by making strobe vars non-volatileSelene ToyKeeper2020-07-284-10/+8
| | | | | | | | | | (they didn't need to be; it was just wasting bytes)
* | s/DEFAULT_SIMPLE_UI/SIMPLE_UI/ in a file I forgot to update earlierSelene ToyKeeper2020-07-281-12/+12
| |
* | reorganized some code to make it cleaner...Selene ToyKeeper2020-07-283-72/+99
| | | | | | | | | | | | | | | | | | | | - moved FF strobe loop() logic to an inline function in ff-strobe-modes file - changed function order in anduril.c to put setup+loop first - put common/default case first in setup() - added support for tint ramping on dual-switch lights with power clicky (even though no such lights exist yet) - comment gardening
* | moved candle mode to its own file, since it's kinda bigSelene ToyKeeper2020-07-284-138/+194
| |
* | renamed strobes.* to strobe-modes.*Selene ToyKeeper2020-07-286-22/+22
| |
* | moved aux LED code into its own fileSelene ToyKeeper2020-07-283-238/+290
| |
* | renamed off-state.* -> off-mode.*Selene ToyKeeper2020-07-223-10/+10
| |
* | renamed ramping.* -> ramp-mode.*Selene ToyKeeper2020-07-224-14/+20
| |
* | renamed lockout.* -> lockout-mode.*, moved user-configurable lockout options ↵Selene ToyKeeper2020-07-224-13/+15
| | | | | | | | to config-default.h
* | added "make todo" to remind me about stuff I still need to finishSelene ToyKeeper2020-07-221-1/+4
| |
* | renamed beacon.* -> beacon-mode.*Selene ToyKeeper2020-07-223-10/+10
| |
* | renamed cfg-default.h to config-default.h, cleaned up some comments, ↵Selene ToyKeeper2020-07-222-31/+51
| | | | | | | | organized definitions
* | more progress on refactoring Anduril into separate files... nearly done with ↵Selene ToyKeeper2020-07-2230-1357/+2016
| | | | | | | | the initial split
* | started refactoring anduril into individual files...Selene ToyKeeper2020-07-2119-1028/+1548
| | | | | | | | | | | | | | ... messy and very incomplete, but it's a start, and at least it still compiles. (the overall structure is ... weird. mostly because of compiling the entire program plus libraries in a single step, as a single file, to make -fwhole-program work)
* | merged fsm branch (mostly because D4v2.5 build targets were merged into KR4,Selene ToyKeeper2020-07-146-16/+24
|\| | | | | | | | | and merging now will be easier than resolving conflicts later)
| * merged Emisar D4v2.5 build targets with Noctigon KR4 build targetsSelene ToyKeeper2020-07-145-133/+19
| | | | | | | | | | (because they're close enough that they can use the same code)
| * merged trunkSelene ToyKeeper2020-07-141-1/+5
| |\
| | * added oweban's flashing guides to the READMESelene ToyKeeper2020-07-081-1/+5
| | |
| | * merged nearly a year of updates from the fsm branch, including the new ↵Selene ToyKeeper2020-07-0673-680/+2561
| | |\ | | | | | | | | | | | | product map
* | | | removed beacon config mode... replaced "click N times" with "hold for N ↵Selene ToyKeeper2020-07-121-28/+26
| | | | | | | | | | | | | | | | seconds" to configure it
* | | | fixed bug: button release events were sending 0 as the arg instead of the ↵Selene ToyKeeper2020-07-121-10/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | number of ticks the button was held (bug had no effect in any current UIs, but I needed it fixed for a feature I want to add)
* | | | moved all config modes and aux LED config actions to 7C / 7HSelene ToyKeeper2020-07-121-19/+22
| | | |
* | | | allowed simple UI to use stepped ramp, reduced size,Selene ToyKeeper2020-07-121-63/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed wrong initial brightness on boot or after changing UI style, started making simple UI ramp configurable, made floor/ceil/steps for smooth/stepped/simple use arrays instead of individual vars, generally refactored a bit of ramp-related code
* | | | added lockout 4C -> on, lockout 4H -> floor, and strobe 5C -> momentarySelene ToyKeeper2020-07-121-2/+16
| | | |
* | | | cleaned up s/ceiling/ceil/ and s/muggle_/simple_ui_/ in config filesSelene ToyKeeper2020-07-1223-77/+77
| | | |
* | | | limited simple UI floor and ceiling to muggle mode levels,Selene ToyKeeper2020-07-121-52/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | moved floor/ceiling calculations (mostly) to use only "ramp_floor" and "ramp_ceil" which update based on current mode, s/simple_mode/simple_ui/, made "ceil" vs "ceiling" more consistent
* | | | removed muggle mode, replaced it with simple mode (first pass, incomplete)Selene ToyKeeper2020-07-121-252/+136
|/ / /
* | | made lighted button go low/high based on DEFAULT_LEVEL instead of MAX_1x7135,Selene ToyKeeper2020-07-084-7/+9
| | | | | | | | | | | | | | | | | | | | | because the MAX_1x7135 level is wrong on some lights (like the D4v2.5) ... and generally adjusted anything else necessary to make that work. (including a lower default on D18 and D4Sv2, which were both too high)
* | | fixed D4v2.5 button LED behaviorSelene ToyKeeper2020-07-081-5/+3
| | |
* | | minor formatting cleanupSelene ToyKeeper2020-07-082-8/+7
| | |
* | | added Emisar D4v2.5 support (D4v2 with a KR4 driver, same as KR4 but with ↵Selene ToyKeeper2020-07-084-3/+141
| |/ |/| | | | | lighted button indicator LED support)
* | merged in support for Noctigon K1-SBT90.2Selene ToyKeeper2020-06-012-0/+204
|\ \
| * \ merged from fsm to get latest updatesSelene ToyKeeper2020-06-0127-70/+109
| |\ \ | |/ / |/| |
* | | "SOS" is treated as one "letter" in Morse code... it's not three lettersSelene ToyKeeper2020-06-011-1/+2
| | | | | | | | | | | | | | | (so, don't put the normal inter-letter gap between)
* | | fixed compile error when all strobe modes are disabledSelene ToyKeeper2020-05-141-0/+6
| | |
* | | gave Werner's UI a simple MakefileSelene ToyKeeper2020-05-141-0/+7
| | |
* | | fixed builds of Werner's UI on targets which had been failing (Noctigon K1, ↵Selene ToyKeeper2020-05-142-3/+10
| | | | | | | | | | | | BLF LT1 Lantern, and all attiny1634 targets)
* | | fixed eeprom_wl functions on attiny1634Selene ToyKeeper2020-05-141-10/+10
| | | | | | | | | | | | | | | (didn't build before, due to a data type mismatch)
* | | fixed build of "momentary" example UISelene ToyKeeper2020-05-142-2/+1
| | |
* | | fixed build when USE_GOODNIGHT_MODE not enabledSelene ToyKeeper2020-05-141-0/+14
| | |
* | | removed unused TEMP_CHANNEL thing from FSM-related codeSelene ToyKeeper2020-04-2913-30/+3
| | |
* | | merged Noctigon KR4 and K1-12V (XHP35) branchesSelene ToyKeeper2020-04-2714-23/+542
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (also includes some minor thermal updates to make it faster, more stable, and easier to tweak per host) (and some code to prevent eeprom corruption while turning power chips on/off) (and enables reboot function on tiny1634) (and makes rainbow aux RGB mode speed configurable per host) (and calibrates the original K1 a bit better)
* | | | added a noFET build for D4v2, by requestSelene ToyKeeper2020-04-132-1/+35
| | | |
* | | | recalibrated timing of nice_delay_ms() based on strobe speed measurements...Selene ToyKeeper2020-04-132-5/+5
| | | | | | | | | | | | | | | | gets very close to 24.2 Hz and 10.0 Hz for default strobe settings now
* | | | apparently the D1 can also be purchased with a D4v2 driver... so it's ↵Selene ToyKeeper2020-03-221-0/+17
| | | | | | | | | | | | | | | | basically a D1v2
* | | | merged Noctigon K1 branch, which changes a few things...Selene ToyKeeper2020-03-1810-69/+354
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added support for 10-bit PWM - 10-bit ADC voltage divider calibration values instead of 8-bit - added ability to use different DIDR channels on different hardware - made dynamic underclocking configurable per build target - expanded RGB aux LED support - increased resolution of RGB voltage readout (6 colors instead of 3) - made party strobe ontime configurable per build target - added support for an enable/disable pin for a regulator chip
| * \ \ \ merged fsm branch, mostly to get new ADC code (thermal regulation and ↵Selene ToyKeeper2020-03-1635-443/+368
| |\ \ \ \ | |/ / / / |/| | | | | | | | | voltage monitoring)