| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | fixed bug: zero clicks in ceiling config set ceiling to nonsense value | Selene ToyKeeper | 2020-09-24 | 1 | -3/+3 |
| | | |||||
| * | re-added features to build targets which were too big before | Selene ToyKeeper | 2020-09-24 | 3 | -4/+4 |
| | | |||||
| * | changed menu style and moved menus from "click" events to "hold" events | Selene ToyKeeper | 2020-09-24 | 11 | -175/+180 |
| | | | | | | (also reduced ROM size by 126 bytes) | ||||
| * | clearer comments about "Ramp 2C" behaviors with each build option | Selene ToyKeeper | 2020-09-18 | 1 | -6/+7 |
| | | |||||
| * | added USE_2C_MAX_TURBO option from Tom E | Selene ToyKeeper | 2020-09-18 | 2 | -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 documentation | Selene ToyKeeper | 2020-09-15 | 1 | -3/+14 |
| | | |||||
| * | added hybrid memory option (a.k.a. manual memory timer) | Selene ToyKeeper | 2020-09-15 | 11 | -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 ToyKeeper | 2020-09-14 | 7 | -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 FW3A | Selene ToyKeeper | 2020-09-14 | 5 | -12/+16 |
| |\ | | | | | | | | | (and other build targets which don't use sleep ticks during standby) | ||||
| | * | steps.py: fixed python3 floating-point error | Selene ToyKeeper | 2020-08-30 | 1 | -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 FW3A | Selene ToyKeeper | 2020-08-23 | 4 | -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 order | Selene ToyKeeper | 2020-09-14 | 3 | -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 release | Selene ToyKeeper | 2020-09-14 | 4 | -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. | ||||
| * | | fixed bug: ramp 2H at floor went up instead of staying at floor | Selene ToyKeeper | 2020-09-14 | 1 | -3/+3 |
| | | | | | | | | | | | (thanks to SammysHP for suggesting this fix) | ||||
| * | | added model numbers to each build target, and to version check function | Selene ToyKeeper | 2020-08-31 | 39 | -2/+79 |
| | | | |||||
| * | | reduced size 18 bytes by removing unnecessary duplications of blink_once() | Selene ToyKeeper | 2020-08-31 | 2 | -5/+1 |
| | | | |||||
| * | | removed blink_confirm() because it's not used any more | Selene ToyKeeper | 2020-08-31 | 2 | -2/+12 |
| | | | | | | | | | | | (only commented out though, for now) | ||||
| * | | removed unnecessary blink_once calls, made blink_once a bit less bright | Selene ToyKeeper | 2020-08-31 | 3 | -4/+1 |
| | | | |||||
| * | | made manual memory work when unlocking light | Selene ToyKeeper | 2020-08-31 | 1 | -0/+5 |
| | | | |||||
| * | | made text manual consistent with UI reference table | Selene ToyKeeper | 2020-08-25 | 1 | -38/+54 |
| | | | |||||
| * | | set more sensible defaults for simple UI levels | Selene ToyKeeper | 2020-08-24 | 1 | -2/+2 |
| | | | |||||
| * | | changed "Off 2H" to "ceil or turbo, based on simple UI active", and | Selene ToyKeeper | 2020-08-24 | 3 | -9/+18 |
| | | | | | | | | | | | changed "Full UI Ramp 2C" to "ceil or turbo, based on whether already ramped up or not" | ||||
| * | | raised ceiling levels for simple UI in each build target | Selene ToyKeeper | 2020-08-20 | 27 | -26/+152 |
| | | | | | | | | | | | | | (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 | ||||
| * | | made FF ROT66G2 and MF01-Mini build targets fit in 8192 bytes again | Selene ToyKeeper | 2020-08-18 | 2 | -2/+2 |
| | | | | | | | | | | | (they were slightly too big) | ||||
| * | | fixed auto-lock timings again, based on measurement averages of several lights | Selene ToyKeeper | 2020-08-18 | 1 | -6/+6 |
| | | | | | | | | | | | (it turns out they're not very consistent) | ||||
| * | | fixed auto-lock timing, this time based on measurements of a D4v2 instead of ↵ | Selene ToyKeeper | 2020-08-18 | 1 | -6/+6 |
| | | | | | | | | | just data sheets and math | ||||
| * | | fixed timing of auto-lock function, added SLEEP_TICKS_PER_MINUTE constants | Selene ToyKeeper | 2020-08-18 | 2 | -1/+14 |
| | | | |||||
| * | | shuffled functions around to make 4C lockout and 3C battcheck again | Selene ToyKeeper | 2020-08-18 | 4 | -40/+62 |
| | | | | | | | | | | | | | | | | | | | | | | | | | - moved all battcheck to 3C - moved all lockout to 4C - moved all unlock to 4C/4H - moved manual mem from 4C/4H to 10C/10H - moved auto-lock from 5C/5H to 10C/10H - added ramp 4C -> lockout - added ramp 5C -> momentary - added lockout 5C -> ramp ceiling | ||||
| * | | remapped "Off -> 2H" to momentary ceiling | Selene ToyKeeper | 2020-08-09 | 2 | -4/+10 |
| | | | | | | | | | | | (instead of going to ceiling in ramp mode, and ramping down) | ||||
| * | | Added a reference table to the manual, listing all button mappings | Selene ToyKeeper | 2020-08-06 | 1 | -0/+77 |
| | | | |||||
| * | | many button remappings: | Selene ToyKeeper | 2020-08-06 | 5 | -53/+98 |
| | | | | | | | | | | | | | | | | | | | | | | | - swapped lockout and battcheck - 3C/3H to exit lockout instead of 4C/4H - 4C/4H for manual mem instead of 5C/5H - 5C from ramp to momentary - 5H for sunset timer instead of 4H Also added tint ramping info to the manual. | ||||
| * | | documented new Anduril2 changes in anduril-manual.txt | Selene ToyKeeper | 2020-08-05 | 1 | -89/+218 |
| | | | |||||
| * | | changed sunset timer unit from 10m to 5m | Selene ToyKeeper | 2020-08-05 | 2 | -2/+2 |
| | | | |||||
| * | | moved Simple UI actions from 8C/8H -> 10C/10H... and removed ↵ | Selene ToyKeeper | 2020-08-05 | 11 | -36/+4 |
| | | | | | | | | | | | | | | | USE_TENCLICK_THERMAL_CONFIG (the tenclick thermal thing isn't relevant ever since factory reset was added) | ||||
| * | | re-enabled voltage correction on D18 and ROT66G2, because it fits now | Selene ToyKeeper | 2020-08-05 | 2 | -19/+1 |
| | | | | | | | | | | | (but removed aux LED support from D18, because the stock version has none) | ||||
| * | | organized config defaults, added some ramp options to default config | Selene ToyKeeper | 2020-08-05 | 3 | -18/+39 |
| | | | |||||
| * | | made lockout momentary always use lowest first, and use manual mem level on ↵ | Selene ToyKeeper | 2020-08-05 | 2 | -18/+13 |
| | | | | | | | | | second click if enabled | ||||
| * | | added support for 1-step ramps in stepped ramp mode | Selene ToyKeeper | 2020-08-05 | 1 | -4/+11 |
| | | | | | | | | | | | (uses the midpoint between floor and ceiling) | ||||
| * | | made a couple actions use blink_once() instead of blip(), for better consistency | Selene ToyKeeper | 2020-08-05 | 2 | -3/+3 |
| | | | |||||
| * | | reduced rom 34 bytes by merging ramp-up code with ramp-down code | Selene ToyKeeper | 2020-08-05 | 2 | -79/+10 |
| | | | | | | | | | | | (also removed USE_REVERSING option) | ||||
| * | | reduced ROM 10 bytes by cleaning up blink_confirm() calls | Selene ToyKeeper | 2020-08-05 | 6 | -19/+21 |
| | | | |||||
| * | | fixed bug: main LEDs stayed on while setting aux LED color in lockout mode | Selene ToyKeeper | 2020-08-01 | 1 | -1/+1 |
| | | | |||||
| * | | removed cfg-*.THIS, added by accident a while ago... oops | Selene ToyKeeper | 2020-07-31 | 2 | -118/+0 |
| | | | |||||
| * | | 3 build targets were too big... fixed by turning off voltage calibration ↵ | Selene ToyKeeper | 2020-07-31 | 3 | -1/+10 |
| | | | | | | | | | mode on those. | ||||
| * | | Block the auto-lock function in Simple UI. | Selene ToyKeeper | 2020-07-31 | 1 | -3/+9 |
| | | | |||||
| * | | Block the sunset timer in Simple UI. | Selene ToyKeeper | 2020-07-31 | 1 | -0/+5 |
| | | | |||||
| * | | made Emisar D18 build fit in ROM again (it was 6 bytes over; now it's 8 ↵ | Selene ToyKeeper | 2020-07-31 | 1 | -1/+1 |
| | | | | | | | | | bytes under) | ||||
| * | | made simple UI's ramp configurable, and fixed bug where it wouldn't remember ↵ | Selene ToyKeeper | 2020-07-31 | 3 | -8/+23 |
| | | | | | | | | | if simple UI was enabled | ||||
| * | | added a voltage calibration / correction function, 7C from battcheck to ↵ | Selene ToyKeeper | 2020-07-31 | 7 | -2/+64 |
| | | | | | | | | | configure | ||||
| * | | fixed bug: sunset timer didn't adjust MCU clock speed at low levels, | Selene ToyKeeper | 2020-07-31 | 2 | -3/+6 |
| | | | | | | | | | | | so the moon level was way too dim and used too much power also fixed some sunset timer comments | ||||
