2023-12-03
This release is somewhat higher risk than usual, because so many large things
changed deep in the code. I did major restructuring and refactoring across the
entire project. It should work fine, but be on the lookout for any weird
problems.
General:
- Moved from Bzr + Launchpad to Git + GitHub, by popular request.
- Completely reorganized the project files. Really, a massive amount of
restructuring. The flashlight end-user interface is still the same, but
expect to have to learn the code layout from scratch. Read the [README.md]
for info about getting started with the new project layout. - Added support for AVR DD MCUs like avr32dd20. This is the recommended
MCU to use in new flashlights. - Added ability to use turbo in momentary mode.
- Upgraded battery voltage resolution from 0.1V steps to 0.025V steps.
Battery check has an extra digit which can be 0, 2, 5, or 7 (for example, for
3.70V, 3.725V, .3.75V, and 3.775V). - Made Battery Check more consistent, so it's less likely to give different
values on the 1st and 2nd readout. - Re-calibrated timing on each MCU type, so a 1-second beacon flasher should be
closer to 1 actual second now... mostly. Timing still varies significantly
from one light to another. - Fixed default bike flasher brightness on some builds. It was sometimes way
too high. - Fixed RGB aux turning on during momentary mode sometimes.
- Converted documentation to markdown format, and rewrote a lot of it.
- Fixed some build issues with specific compile-time options.
- Changed the format of version numbers. It now uses the most recent
release tag instead of the build date, and may have additional numbers at
the end to indicate distance from the last official release, and whether
the repo was clean or dirty. Today's release isMODEL-2023-12-03
. A
derivative built 52 commits later in a dirty repo would look like
MODEL-2023-12-03-52-1
.
New lights:
- Added &thefreeman-avr32dd20-devkit. It's only used for development purposes,
but otherwise it's pretty neat. It'll be the basis for many new lights in
the future. (model 1632dd20)
Hardware-specific changes:
- Improved idle efficiency on attiny1616, which was spending entirely too much
time doing math it didn't actually need. - &hank-*-boost: Fixed flicker while holding button at moon level. Reduced
ripple on low modes. (0216, 0253, 0273) - &lumintop-blf-gt: Added smooth steps. Removed a couple other things to make
room. (0321) - &lumintop-fw3x: Multiple fixes and upgrades... (0314, 0315)
- Fixed thermal regulation. Also fixed the external temperature sensor.
- Made moon much lower, and made ramp much smoother, by upgrading to DSM.
- Fixed the aux RGB pinouts because Lumintop got the wiring backward.
- Added a second build target for people who fixed the wires manually.
- Added red/blue police color strobe.
- Made low modes more efficient with underclocking. Moon should run at least
4X as long as it did before. - Fixed party strobe being blurry.
- Added documentation for the FW3X's multiple, uh, quirks.
- &sofirn-lt1s-pro: Disabled manual memory, memory timer, and extended simple
UI by default. Simple mode is simpler, and the factory settings should be
more consistent with other lights now. (0623)