aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
| * | configured K9.3 cfg (mostly), assigned a model number, fixed typo in hwdefSelene ToyKeeper2020-10-143-18/+20
| | | | | | | | | | | | | | | | | | (main LEDs work now; 2nd LEDs not yet) (aux and button LEDs work too, plus switch)
| * | copied KR4 cfg to K9.3 cfgSelene ToyKeeper2020-10-141-0/+65
| | |
| * | configured K9.3 hwdefSelene ToyKeeper2020-10-141-34/+48
| | |
| * | renamed LED_ENABLE2_* to LED2_ENABLE_*Selene ToyKeeper2020-10-143-11/+11
| | |
| * | copied KR4 hwdef to K9.3Selene ToyKeeper2020-10-141-0/+150
| | |
| | * Add RGB Aux functionality for 1-SeriesGabriel Hart2021-02-014-29/+47
| | |
| | * Updated the Sofirn SP10S Anduril boardGabriel Hart2021-02-013-16/+12
| | |
| | * Clean up a couple unnecessary #defines in gchart fet1 config fileGabriel Hart2021-01-121-8/+0
| | |
| | * Add the override of ATTINY setting to 1616 for the new T1616 config filesGabriel Hart2021-01-123-0/+3
| | |
| | * Add hwdef for BLF Q8 with t1616 and cfg files for the Q8, Lantern, and SP36Gabriel Hart2021-01-125-0/+267
| | |
| | * Rename SP10Ss hwdef file to align with othersGabriel Hart2021-01-122-1/+1
| | |
| | * Add Sofirn SP10S (adapter) and dual-voltage logicGabriel Hart2021-01-125-1/+160
| | |
| | * Fix 1-Series standby tick speed, use 2C TurboGabriel Hart2020-12-203-3/+6
| | |
| | * Add AVR 1-Series and t1616 board and scriptsGabriel Hart2020-12-1813-8/+320
| |/ |/|
* | added model number to Lume1 FW3X build targetSelene ToyKeeper2020-10-182-0/+5
| |
* | merged fsm branch, mostly to get Lume1 driver supportSelene ToyKeeper2020-10-186-30/+299
|\ \
| * \ merged lume1 branch for LoneOceans' FW3A-Lume1 driver supportSelene ToyKeeper2020-10-184-3/+294
| |\ \
| | * | cleaned up cfg-fw3x-lume1.h a little:Selene ToyKeeper2020-09-071-19/+9
| | | | | | | | | | | | | | | | | | | | | | | | - removed old thermal definitions which aren't used any more - rearranged a couple options to group them better
| | * | adjusted Lume1 (FW3X) cfg and hwdef according to what seems right for itSelene ToyKeeper2020-09-072-57/+45
| | | | | | | | | | | | | | | | | | | | | | | | (but it's not tested since I have no relevant hardware... need to get it tested by someone who has the hardware)
| | * | added support for LED_ENABLE_PIN having a min/max ramp level where it turns onSelene ToyKeeper2020-09-071-3/+21
| | | |
| | * | added support for external thermal sensors in fsm-adc.cSelene ToyKeeper2020-09-071-0/+14
| | | |
| | * | imported cfg and hwdef files for lume1Selene ToyKeeper2020-09-022-0/+281
| | | |
| * | | minor update to anduril-ui.png (added clarification of what "3H" means)Selene ToyKeeper2020-10-182-27/+5
| | | |
* | | | added ramp 3H -> momentary turboSelene ToyKeeper2020-10-162-0/+16
| |_|/ |/| |
* | | improved docs, changed blinky order: Battcheck, Tempcheck, Beacon, SOSSelene ToyKeeper2020-09-306-94/+127
| | |
* | | fixed factory reset (forgot one line in previous commit)Selene ToyKeeper2020-09-271-0/+1
| | |
* | | reworked nice_delay interrupt system and fixed some old issues:Selene ToyKeeper2020-09-277-37/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added set_state_deferred(), to avoid timing issues when changing state in loop() (fixes bug where first button press after version check was sometimes ignored, and similar issue after battcheck in simple UI) - reduced chance of eating first button press after simple UI's battcheck, because it spent an extra second waiting after finishing the readout, and it wasn't intuitive for a single click to go from "post-battcheck darkness" to "off" during that period - made interrupt_nice_delays() happen every time the state changes, instead of having nice_delay() explicitly check for state changes while it waits... (because the explicit check was buggy and used more ROM) - made nice_delay_ms() abort immediately when interrupt is set, instead of waiting 1ms before it even checks for the interrupt condition... this makes aborted animations end a lot faster, with less visible flickering - made blink_num() smaller and simpler, because changes listed above make it possible - slightly changed order of events in main(), to accommodate for changes above - fixed issue where battcheck would keep trying to blink out numbers while the user was holding 10H for voltage config mode - ... and reduced ROM size by about 38 bytes
* | | fixed bug: momentary bike mode could sometimes get stuck on for a few ↵Selene ToyKeeper2020-09-271-0/+1
| | | | | | | | | | | | seconds after releasing button
* | | merged from fsm to get K1-12V thermal fixSelene ToyKeeper2020-09-251-2/+6
|\| |
| * | reduced temperature limit for Noctigon K1-12V, to avoid overheating the ↵Selene ToyKeeper2020-09-251-2/+6
| |/ | | | | | | boost circuit
* | tiny clarification in the manual about memorySelene ToyKeeper2020-09-251-0/+5
| | | | | | | | | | (committed despite being tiny, so I can do a merge in a moment)
* | removed ROM-size reduction options from larger build targets; not needed any ↵Selene ToyKeeper2020-09-253-11/+0
| | | | | | | | more
* | reduced ROM size by ~58 to ~88 bytes by making lookup tables constSelene ToyKeeper2020-09-251-5/+5
| | | | | | | | | | | | | | patch by SammysHP and Grumsel: https://gist.github.com/SammysHP/48347a770995921444a6e91b187cb55b http://budgetlightforum.com/comment/1699350#comment-1699350
* | reduced ROM 4 bytes by rearranging thermal_config_save() logic a bitSelene ToyKeeper2020-09-251-7/+6
| | | | | | | | | | | | patch is from SammysHP: https://gist.github.com/SammysHP/48347a770995921444a6e91b187cb55b
* | documentation improvements:Selene ToyKeeper2020-09-246-35/+122
| | | | | | | | | | | | | | | | | | | | - moved MODELS to BRANDS - added MODELS file generated from "make models" - added version check info to manual - clarified how memory options work - fixed docs for auto-lock feature - small code comment clarifications
* | reduced ROM another 24 bytes by refactoring config-mode.cSelene ToyKeeper2020-09-241-16/+4
| | | | | | | | | | | | | | | | | | | | (also fixed a corner case bug with calling savefunc() with a config step of 0 if the user has frame-perfect timing) (and a bug which could have affected later revisions, calling savefunc(0,N) when invoked via click instead of hold) Patch contributed by SammysHP: https://gist.github.com/SammysHP/78af437c6723112ddfdc6b6d6b5e3022
* | fixed bug: zero clicks in ceiling config set ceiling to nonsense valueSelene ToyKeeper2020-09-241-3/+3
| |
* | re-added features to build targets which were too big beforeSelene ToyKeeper2020-09-243-4/+4
| |
* | changed menu style and moved menus from "click" events to "hold" eventsSelene ToyKeeper2020-09-2411-175/+180
| | | | | | | | | | (also reduced ROM size by 126 bytes)
* | clearer comments about "Ramp 2C" behaviors with each build optionSelene ToyKeeper2020-09-181-6/+7
| |
* | added USE_2C_MAX_TURBO option from Tom ESelene ToyKeeper2020-09-182-4/+19
| | | | | | | | | | | | | | | | | | Makes "Ramp 2C" behave like Anduril1 instead of Anduril2. So it goes to full power turbo in the advanced UI, or ceiling in the simple UI. Otherwise, default Anduril2 behavior is for "Ramp 2C" to go to/from the ceiling level... unless already ramped up to that level in advanced mode, in which case it'll go to full turbo.
* | forgot to add hybrid memory to the documentationSelene ToyKeeper2020-09-151-3/+14
| |
* | added hybrid memory option (a.k.a. manual memory timer)Selene ToyKeeper2020-09-1511-12/+91
| | | | | | | | | | | | | | | | | | | | Hybrid memory is a combination of automatic and manual, depending on how long the light was off. If it was a short time, automatic mem is used. For a longer time, it resets to the manual memory level. Also tweaked some of the larger build targets again to make sure they fit in ROM.
* | added "disco" mode to RGB aux LEDs (fast random colors)Selene ToyKeeper2020-09-147-16/+14
| | | | | | | | | | | | | | (patch to aux-leds.c contributed by SammysHP as "acid" mode) (also removed RGB config for a few lights because they were just duplicating the defaults, and were redundant)
* | merged upstream fsm branch to get fix for laggy voltage readings on FW3ASelene ToyKeeper2020-09-145-12/+16
|\| | | | | | | | | (and other build targets which don't use sleep ticks during standby)
| * steps.py: fixed python3 floating-point errorSelene ToyKeeper2020-08-301-1/+1
| | | | | | | | | | (division of integers produces floats in python3, but not python2... so make int result explicit)
| * attempt to fix laggy voltage readings right after waking, on FW3ASelene ToyKeeper2020-08-234-11/+15
| | | | | | | | | | | | | | | | | | (with no sleep ticks, the voltage value never gets reset to the raw value, and instead only goes through the lowpass filter) (this fix is not yet tested... will test before uploading) (also carries a risk of messing up thermal values after being asleep, so that needs to be tested too)
* | reorganized code in fsm-events.* to put things in a more coherent orderSelene ToyKeeper2020-09-143-87/+95
| | | | | | | | | | | | (no functional changes, but it does change the order of some code in ROM, so the compiled md5sum is different now)
* | fixed bug: ticks_since_last_event wasn't getting reset on button hold releaseSelene ToyKeeper2020-09-144-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The visible symptom was: Ramp up for 1s or longer, release, wait more than 1s, then hold again. It should ramp up, but it would ramp down instead. The clause for resetting ramp_direction wasn't happening, because the EV_tick counter started at a value higher than 1s where it would normally trigger. The underlying cause was a bit complicated. Recent changes in PCINT_inner() were causing ticks_since_last_event to get set to 0 (at push_event()) and then back to its previous value (at emit_current_event()). The EV_tick counter would then start at whatever the button release event used. The fix involved removing the part of emit_current_event() where it would set ticks_since_last_event to "arg". That line was a very old bug which simply hadn't caused any visible issues until recently. Instead, it needs to set ticks_since_last_event more carefully, at other locations. Specifically, it resets to 0 now in empty_event_sequence() and one more location in the deferred WDT handler (when HOLD_TIMEOUT triggers). Additionally, push_event() was only ever used from PCINT_inner()... so I moved the tick reset logic to PCINT_inner() instead. This allows us to decrease size by about 10 bytes, since PCINT_inner() no longer needs to copy the counter before it gets reset. However, it also means push_event() should never be called from any other function.