~toykeeper/flashlight-firmware/fsm

« back to all changes in this revision

Viewing changes to ToyKeeper/spaghetti-monster/anduril/ChangeLog.md

  • Committer: Selene ToyKeeper
  • Date: 2023-11-04 15:09:10 UTC
  • mfrom: (483.1.175 anduril2)
  • Revision ID: bzr@toykeeper.net-20231104150910-ddd3afw4nhfvof2l
merged anduril2 branch -> fsm, with *years* of changes
(this also means this code is now Anduril 2 instead of Anduril 1)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# ChangeLog
 
2
 
 
3
Items should be sorted roughly in order of most to least important, with 
 
4
model-specific changes at the bottom.  Most items should use one of these 
 
5
formats:
 
6
 
 
7
  - Breaking change:
 
8
  - Added
 
9
  - Fixed
 
10
  - Removed
 
11
  - Changed
 
12
  - Documented
 
13
  - @brand-model: Hardware-specific change (NNNN, NNNN, ...)
 
14
 
 
15
# Next
 
16
 
 
17
# 2023-10-31
 
18
 
 
19
General:
 
20
 
 
21
- Finally finished converting all lights to the multi-channel API.
 
22
  (but a few are untested due to hardware being unavailable)
 
23
- Enabled smooth steps on almost all supported lights, including old ones.
 
24
  (in some cases, on old t85 lights, some other things may have been removed
 
25
   to make room)
 
26
- Made smooth steps work better, and fixed several bugs.
 
27
- Added/fixed RGB aux voltage on dual-fuel AA/li-ion drivers.
 
28
- Fixed delay timing on all supported MCUs, so 1 "second" is closer to an
 
29
  actual second (like in beacon mode or biking mode).
 
30
  (especially attiny1616, which was 17% too slow)
 
31
- Raised default thermal limit to 50C on attiny1616-based lights, since
 
32
  it doesn't need as big an error margin as older MCUs.
 
33
- Fixed missing item in globals menu on some lights.
 
34
- Misc internal improvements and per-light tweaks.
 
35
- Added a ChangeLog.md, to periodically summarize changes in a format which is
 
36
  more readable than the raw commit logs.
 
37
 
 
38
New lights:
 
39
 
 
40
- @thefreeman-boost21-6a: Added.  (1631)
 
41
  (very nice HDR boost driver which fits into a FW3A)
 
42
- @thefreeman-boost-fwaa: Added.  (1632)
 
43
  (very nice AA/li-ion HDR boost driver which fits into a FWAA)
 
44
 
 
45
Hardware-specific changes:
 
46
 
 
47
- Upgraded several builds to use delta-sigma modulation (DSM), for
 
48
  lower lows and smoother ramping with less flicker or ripple:
 
49
  - @blf-lt1  (0621)
 
50
  - @blf-lt1-t1616  (0622)
 
51
  - @emisar-d4k-3ch  (0151)
 
52
    (**dramatically** improves resolution and low modes on its 8-bit channel)
 
53
  - @noctigon-dm11-boost  (0273)
 
54
  - @noctigon-kr4-boost  (0216)
 
55
  - @noctigon-k1-boost  (0253)
 
56
  - @noctigon-m44  (0143)
 
57
 
 
58
- Upgraded some builds to use dynamic PWM, for lower lows and smoother ramping:
 
59
  - @blf-q8-t1616,  @sofirn-sp36-t1616  (0613, 0614)
 
60
  - @gchart-fet1-t1616  (1618)
 
61
  - @noctigon-k1-sbt90  (0252)
 
62
 
 
63
- @wurkkos-ts10, @wurkkos-ts10-rgbaux: Fixed too-high default ceiling.  (0713, 0714)
 
64
 
 
65
# 2023-10-01
 
66
 
 
67
General:
 
68
 
 
69
- Updated a bunch of lights to work with the new multi-channel API.
 
70
- Added "smooth steps" a.k.a. "soft start", to make on/off and step changes
 
71
  smooth.  (enabled by default, can be turned off in Ramp Extras menu)
 
72
- User can save a different channel mode for each strobe-group mode.
 
73
- Made strobes/blinkies more responsive in Tactical Mode.
 
74
- Fixed bug: Tactical Mode clobbers strobe group memory.
 
75
- Fixed some minor post-off voltage display bugs.
 
76
- Made RGB button brightness update faster in blinky modes.
 
77
- Fixed bug: Wrong channel after colored factory reset.
 
78
- @attiny1616, @attiny1634: Partially fixed oscillating aux LED voltage 
 
79
  colors while off.  Better than before, but can still happen in some cases.
 
80
- @attiny1616: Fixed spurious voltage warnings in sleep mode.  (it could 
 
81
  sometimes go from Lockout mode to Off mode by itself)
 
82
- Lots of internal refactoring.
 
83
 
 
84
New lights:
 
85
 
 
86
- @emisar-2ch-fet: Added.  (0136)
 
87
- @emisar-d4k-3ch: Added.  (0151)
 
88
- @noctigon-m44: Added.  (0143)
 
89
- @wurkkos-ts10-rgbaux: Added.  (0713)
 
90
 
 
91
Hardware-specific changes:
 
92
 
 
93
- @ff-e01, @ff-pl47, @ff-pl47g2: Enabled smooth steps instead of SOS mode.
 
94
  (0421, 0422, 0423, 0441)
 
95
- @emisar-2ch, @noctigon-m44: Added RGB aux channel modes.  (0135, 0143)
 
96
- @emisar-2ch-fet, @noctigon-k9.3: New ramps with better-calibrated shape.
 
97
  (0136, 0261)
 
98
- @emisar-d4v2-nofet: New ramp table.  (0115)
 
99
- @emisar-d4sv2-tintramp: Removed / renamed.  (0135, 0136)
 
100
- @noctigon-k9.3: Fixed years-old mess.  Merged builds, converted to
 
101
  multi-channel, removed old builds, generally got K9.3 working quite a bit
 
102
  better.  (0261, 0262, 0263, 0265, 0266, 0267)
 
103
- @noctigon-m44: Lower moon, and greatly reduced flicker.  (0143)
 
104
- @sofirn-lt1s-pro: Allow configuring the blink channel.  (0623)
 
105
- @wurkkos: Raised default temperature limit to 50 C.  (07xx)
 
106
- @wurkkos-ts10: Better / smoother ramp.  (0713, 0714)
 
107
 
 
108
# 2023-06-29
 
109
 
 
110
- Fixed red aux blink on 1st frame of post-off voltage display
 
111
- Removed Harry Potter references because its author (J.K. Rowling) spreads 
 
112
  hate
 
113
- @noctigon-kr4: Fixed thermal regulation (0211, 0212, 0213, 0214, 0215, 0216)
 
114
 
 
115
# 2023-05-30
 
116
 
 
117
- Breaking change: Changed version check from YYYYMMDDXXXX to XXXX.YYYY-MM-DD, 
 
118
  where the punctuation makes a "buzz" instead of number blinks.
 
119
- Fixed issue where some lights always thought they were overheating (when 
 
120
  cold, or after a factory reset)
 
121
- Fixed aux pre-flash
 
122
- Fixed a rare corner case where gradual brightness adjustments stopped at 99% 
 
123
  power instead of 100% power while going up from level 149/150 to 150/150 on 
 
124
  some lights
 
125
- Changed "0" digit readout to use the same timing as other short blinks, to 
 
126
  help ensure it works on all lights.
 
127
- Minor code changes with no runtime impact
 
128
- Documented new version check format
 
129
- @wurkkos: Added red+blue police strobe (0715, 0716, 0717)
 
130
- @noctigon-kr4: Broke thermal regulation (oops) (0211, 0212, 0213, 0214, 
 
131
  0215, 0216)
 
132
- @noctigon-kr4: Use 7 aux channel modes instead of 3 (0211, 0212, 0213, 0214, 
 
133
  0215, 0216)
 
134
- @emisar-d4v2: Changed number blinks from aux to main LEDs by default (0113, 
 
135
  0114, 0115, 0123)
 
136
 
 
137
# 2023-05-17
 
138
 
 
139
- @noctigon-dm11-12v: Renamed to noctigon-dm11-boost (0273)
 
140
- @noctigon-dm11-boost: Now supported in multi-channel branch (0273)
 
141
 
 
142
# 2023-05-02
 
143
 
 
144
- Added ability to set channel mode for number readouts (batt check, temp 
 
145
  check, version check). Press 3C in batt check mode to change the blink 
 
146
  channel.
 
147
- Changed post-off voltage display:
 
148
  - Display for 4s by default, not 5s
 
149
  - Made timing user-configurable in battcheck 7H menu item 2
 
150
    (1 click per second the display should last)
 
151
  - Use low brightness when torch was at moon level before
 
152
  - Skip the voltage display after UI actions which didn't change the mode 
 
153
    (like "Off -> 7C" to change aux LED settings)
 
154
- Changed RGB button behavior: While torch is on, use low mode below a 
 
155
  configured level for real-time voltage color display, instead of always 
 
156
  using high mode
 
157
- Fixed bug: Channel change could stick when activating a config menu from 
 
158
  battcheck (the blink function changed the channel, then the config menu 
 
159
  saved it, then the blink function restored it, then the config menu restored 
 
160
  it to the value it saved, which was wrong)
 
161
- Documented ramp 6C, ramp 4C, ramp 4H, lockout 3H, battcheck 3C, and post-off 
 
162
  voltage display config
 
163
- @emisar-d4v2: Added the rest of the aux RGB colors as channel modes, and set 
 
164
  aux "white" as the mode it uses to blink out numbers (0113, 0114, 0115, 
 
165
  0123)
 
166
- @wurkkos-ts10: Converted to multi-channel, and gave it a new ramp with 
 
167
  better low modes (0714)
 
168
- @wurkkos-ts25: Converted to multi-channel, and gave it a smoother ramp 
 
169
  (0715)
 
170
- @wurkkos: Added Wurkkos FC13 and TS11 (0716, 0717)
 
171
 
 
172
# 2023-04-29
 
173
 
 
174
- Changed lockout mode:
 
175
  - Fixed manual memory timer and tint
 
176
  - Added 3H for next channel (to change channels without unlocking, was 
 
177
    possible before but needed to be updated for the new channel system)
 
178
  - Made 3H+ use mem level instead of lowest moon (this is needed for
 
179
    making the channel discernible, and also helps make aux LED controls
 
180
    stand out more)
 
181
- @emisar, @noctigon: Added Extended Simple UI to Hank's config, so a few more 
 
182
  features are allowed in simple mode
 
183
- @emisar-d4v2, @noctigon-kr4: Slightly smaller ROM size
 
184
- @emisar-d4sv2: Converted to multi-channel, and updated it to use dynamic PWM 
 
185
  for a smoother ramp with lower lows (0133, 0134)
 
186
- @noctigon-kr4: Converted to multi-channel (0211, 0212, 0213, 0214)
 
187
- @noctigon-kr4: Don't blink at top of regulated power (0211, 0213, 0214)
 
188
 
 
189
# 2023-04-28
 
190
 
 
191
- Added voltage display (by color) on RGB aux LEDs after turning the main LEDs 
 
192
  off
 
193
- Changed RGB aux: Always preview in high mode while changing color or pattern
 
194
- Changed default RGB aux color in lockout mode: Uses blinking voltage, 
 
195
  instead of blinking disco (unless model-specific config defines a different 
 
196
  default)
 
197
- Changed tactical mode default config: only use 2-color strobe if it's on 
 
198
  main LEDs, not aux LEDs
 
199
- @emisar-d4v2: Smoother ramp (0113, 0114)
 
200
- @emisar-d4v2: Added hidden channel modes for RGB aux LEDs (0113, 0114, 0115)
 
201
 
 
202
# 2023-04-27
 
203
 
 
204
- Changed channel mode menu to preview channels during configuration
 
205
- Changed tactical mode default config: use 2-color police strobe if it 
 
206
  exists, instead of single-color strobe
 
207
- Fixed unnecessary flickering when changing channel modes from/to the same 
 
208
  value
 
209
- Fixed sleep voltage measurement on attiny1616
 
210
- @noctigon-kr4-tintramp: Converted to multi-channel, renamed to 
 
211
  noctigon-kr4-2ch (0215)
 
212
 
 
213
# 2023-04-25
 
214
 
 
215
- Fixed old old bug(s) with voltage measurement while asleep, while also 
 
216
  adding other improvements:
 
217
  - Fixed oscillating RGB aux colors while asleep in voltage mode, mostly.  
 
218
    Some much smaller oscillations are still possible, but the primary issue 
 
219
    has been fixed, I think.
 
220
  - Fixed old old bug which could cause spurious low-voltage warnings while 
 
221
    asleep (previously required a messy code workaround).
 
222
  - Reduced avg standby power by ~15uA.
 
223
  - Now measures voltage every 1s instead of 8s while asleep.
 
224
  - Changed RGB aux behavior: Puts aux LEDs in high mode for 3 seconds after 
 
225
    light goes to sleep (much easier to see the voltage this way)
 
226
    (this change was obsoleted soon by a better post-off voltage display)
 
227
  - Broke sleep voltage measurement on attiny1616 (oops)
 
228
- Changed internal details for how gradual ramping works
 
229
- @emisar-d4sv2-tintramp: Converted to multi-channel, renamed to emisar-2ch. 
 
230
  (0135)
 
231
- @sofirn-lt1s-pro: Updated to use today's new code internals (0623)
 
232
 
 
233
# 2023-04-19
 
234
 
 
235
- Added stepped tint ramping
 
236
- Documented new channel modes system
 
237
- @sofirn-lt1s-pro: Added white-only auto-tint mode (0623)
 
238
 
 
239
# Older: TODO
 
240
 
 
241
- Need to import old commit logs as changelog items
 
242
 
 
243
 
 
244
<!-- vim: set textwidth=78 shiftwidth=2 -->
 
245