aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster (follow)
Commit message (Collapse)AuthorAgeFilesLines
* merged recent anduril updates into rampingiosv3 (and vice-versa)Selene ToyKeeper2018-09-054-39/+77
|
* Fixed bug: stepped ramp sometimes acted weird with specific values.Selene ToyKeeper2018-09-051-1/+1
|
* Reduced ROM size another 10 bytes by removing redundant call to nearest_level().Selene ToyKeeper2018-09-011-5/+5
| | | | | Added some comments to clarify what lowest and highest level mean.
* Fixed bug introduced in trunk r211.1.9, where Anduril's goodnight mode ↵Selene ToyKeeper2018-09-011-2/+6
| | | | | | | | didn't work sometimes. The problem was that goodnight's EV_enter was executing before battcheck's loop() finished. This meant battcheck's exit code would turn the emitter off right after goodnight's init set it to the desired level.
* Reduced moon-during-lockout code size by 10 bytes.Selene ToyKeeper2018-09-011-4/+3
|
* Added support for the BLF/Lumintop GT Mini.Selene ToyKeeper2018-08-313-0/+16
| | | | | (same as the Emisar D1S, but with a lighted button)
* added a stepped ramp calculator for Anduril,Selene ToyKeeper2018-08-231-0/+51
| | | | because people keep asking
* Made anduril.c no longer executable.Selene ToyKeeper2018-08-221-0/+0
|
* Reduced ROM size by making successive nice_delay_ms calls collapse any time ↵Selene ToyKeeper2018-08-224-14/+20
| | | | | | | | | the user completes an input sequence. All nice delays then get aborted until the next trip through the main() loop. Eliminates the need to wrap nice_delay_ms() calls and handle the exit condition. Also eliminates the risk of getting the UI out of sync with button events.
* Rearranged strobe group mode order, fixed party strobe.Selene ToyKeeper2018-08-221-53/+58
| | | | | | Was broken due to some remaining hardcoded stuff about the mode numbers. Lost the 20 bytes saved earlier, but that was only reduced due to accidentally compiling out the party strobe code.
* Replaced hardcoded eeprom index values with auto-calculated enums.Selene ToyKeeper2018-08-223-46/+73
|
* Reduced ROM size another 20 bytes by moving candle mode to index 0. Made it ↵Selene ToyKeeper2018-08-221-29/+72
| | | | possible to disable all strobe-group modes.
* Reduced ROM size back to pre-branch levelsSelene ToyKeeper2018-08-221-225/+158
| | | | | | | | (aside from 6 extra bytes to fix interaction between aux LEDs and lockout moon). Fixed typos: lightening, tactial. Replaced new switch/case clauses with if/else clauses, to reduce ROM size. Added -fshort-enums to gcc options to reduce ROM size.
* should stop coding for today, undo custom changes not to be commitedThomas Arthofer2018-08-221-3/+3
|
* New IDE, replace tabs with spaces to match existing codeThomas Arthofer2018-08-221-236/+236
|
* Also remove FIXME hint for aux-led pattern changeThomas Arthofer2018-08-221-2/+0
|
* Fix Change-Aux-LED Pattern, Fix Strobe ModesThomas Arthofer2018-08-221-142/+250
|
* Removed symlinks to fix Windows checkouts. Copies those files from their ↵Selene ToyKeeper2018-08-1817-16/+26
| | | | originals on each build instead.
* Added more driver types to Anduril.Selene ToyKeeper2018-08-062-0/+11
|
* Moved RampingIOS V3 code into its own directory.Selene ToyKeeper2018-08-0613-1/+32
|
* merged upstream fsm branchSelene ToyKeeper2018-08-067-0/+730
|\
| * Added a momentary + Werner-style UI for FSM, because why not.Selene ToyKeeper2018-07-037-0/+730
| | | | | | | | | | Based on Anduril, but with most of the features removed.
* | Added UI diagram for RampingIOS V3.Selene ToyKeeper2018-08-062-0/+4113
| |
* | Added special 219c build. Fixed bug with forgetting memorized brightness ↵Selene ToyKeeper2018-07-143-1/+15
| | | | | | | | | | | | | | | | | | | | after changing aux LED mode. (it was actually rebooting after the aux LED change, because it got into an infinite loop of changing state in its leave_state event, which caused a stack overflow... ... so don't change state in a catch-all "else" event handling clause, oops)
* | Moved "next aux LED mode" to 7 clicks instead of 14 clicks.Selene ToyKeeper2018-07-011-11/+7
| | | | | | | | | | | | Shorter, easier, and has sort of an odd symmetry to "next lockout aux LED mode", which is 4 clicks, a pause, and then 3 clicks.
* | merged upstream fsm changesSelene ToyKeeper2018-07-019-22/+49
|\|
| * Added hardware profiles and build targets for Emisar D1 and D1S.Selene ToyKeeper2018-07-013-0/+14
| | | | | | | | | | (same as D4, except with lower power-to-mass ratio)
| * Made it easier to define thermal parameters per driver type.Selene ToyKeeper2018-07-015-20/+34
| | | | | | | | | | | | | | | | | | | | Renamed THERM_DOUBLE_SPEED_LEVEL to THERM_FASTER_LEVEL, since it's not really 2X speed, it's 4X or more. This parameter defines approximately how bright the light can be without being considered risky or "turbo". Or the threshold between optimizing for rapid response vs optimizing for no oscillations.
* | Higher thermal elbow. This light has some decent thermal mass, and the ↵Selene ToyKeeper2018-07-011-2/+2
| | | | | | | | curve here is pretty steep and low-biased.
* | merged updates from fsm branch, applied fixes to rampingiosv3 tooSelene ToyKeeper2018-06-305-41/+81
|\|
| * Fixed bug: moon mode flickered a bit in momentary modeSelene ToyKeeper2018-06-301-10/+8
| | | | | | | | | | | | due to constant MCU clock speed adjustments. (also, reduced code size and made it harder for similar bugs to appear in the future)
| * Fixed thermal regulation bug, where it used the wrong target to determine ↵Selene ToyKeeper2018-06-303-3/+34
| | | | | | | | | | | | | | | | adjustment speed. Added a THERM_HARD_TURBO_DROP option, but after fixing the previous bug I'm not sure it's really needed. Decreased default temperature ceiling to 45 C (was 50).
| * Just in case, overheating in muggle mode triggers an immediate drop to the ↵Selene ToyKeeper2018-06-301-0/+12
| | | | | | | | | | | | | | floor. Because WTF. This basically can't happen unless someone is doing something very stupid.
| * Oops, not sure how it even compiled with this typo.Selene ToyKeeper2018-06-291-1/+1
| |
| * Made high levels regulate down even faster. Added missing save_config() at ↵Selene ToyKeeper2018-06-272-13/+14
| | | | | | | | | | | | | | the end of, um, config modes. Fixed ramp table indentation.
* | Ramp down even faster on high modes. Actually save to eeprom after config ↵Selene ToyKeeper2018-06-271-1/+4
| | | | | | | | modes.
* | merged FSM upstream changesSelene ToyKeeper2018-06-277-66/+128
|\|
| * Move driver-specific ramp tables into the driver's config file.Selene ToyKeeper2018-06-276-42/+98
| | | | | | | | | | Added a method to allow driver configs to override default ramp tables.
* | Fixed return from therm_config state, removed unused eeprom slots, ↵Selene ToyKeeper2018-06-271-24/+37
| | | | | | | | reorganized some #defines to be more robust.
* | Forgot to change lockout mode exit mapping and remove off_state aux LED UI ↵Selene ToyKeeper2018-06-261-32/+2
| | | | | | | | in lockout mode.
* | Mostly got Emisar UI working... I think. Not yet tested.Selene ToyKeeper2018-06-262-629/+130
| |
* | Started removing features to match Emisar UI.Selene ToyKeeper2018-06-261-24/+19
| |
* | Copied anduril to rampingiosv3 so I can start removing features.Selene ToyKeeper2018-06-261-0/+1753
| |
* | re-applied D4S-specific config, got lost in the mergeSelene ToyKeeper2018-06-242-3/+26
| |
* | merged updates from FSM branchSelene ToyKeeper2018-06-245-49/+87
|\|
| * Refactored driver/hardware definition code to be one file per driver type.Selene ToyKeeper2018-06-244-9/+6
| |
| * Moved driver-specific details to separate header files.Selene ToyKeeper2018-06-245-37/+88
| | | | | | | | | | | | | | General code cleanup and notes. Fixed build when thermal regulation is turned off. May have fixed (or at least improved) issue with main LED interfering with aux LEDs during aux LED config.
* | Added D4S to the build-all script.Selene ToyKeeper2018-06-241-0/+1
| |
* | Initial D4S support for Anduril. (but only the parts which can't be public yet)Selene ToyKeeper2018-06-242-2/+37
|/
* Added script to build all supported Anduril targets.Selene ToyKeeper2018-06-242-5/+17
|