aboutsummaryrefslogtreecommitdiff
path: root/ui (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'bugfix-tacmode-without-momentary' of ↵Selene ToyKeeper2024-03-282-3/+3
|\ | | | | | | | | | | | | github.com:SiteRelEnby/anduril into pr46-SiteRelEnby-bugfix-tacmode-without-momentary * 'bugfix-tacmode-without-momentary' of github.com:SiteRelEnby/anduril: Bugfix: Tactical mode has a dependency on momentary mode
| * Bugfix: Tactical mode has a dependency on momentary modeSiteRelEnby2024-02-022-3/+3
| | | | | | | | | | | | | | Use case 1: Updating a t85 light, where tactical mode is useful but takes some squeezing, and momentary is less useful Use case 2: Custom builds for people who don't like/want momentary mode
* | Merge branch 'tactical-mode-3c-fix' of github.com:SiteRelEnby/anduril into ↵Selene ToyKeeper2024-03-281-0/+5
|\ \ | | | | | | | | | | | | | | | | | | pr49-SiteRelEnby-tactical-mode-3c-fix * 'tactical-mode-3c-fix' of github.com:SiteRelEnby/anduril: Bugfix: Prevent switching channel modes when in tactical mode
| * | Bugfix: Prevent switching channel modes when in tactical modeSiteRelEnby2024-02-141-0/+5
| |/ | | | | | | Fixes issue https://github.com/ToyKeeper/anduril/issues/40
* / increased voltage precision from 0.025V to 0.02VSelene ToyKeeper2024-03-271-21/+18
|/ | | | (so 0 to 255 now goes from 0.00V to 5.10V)
* use BLIP_LEVEL instead of 0 for "blip"sSelene ToyKeeper2023-12-152-2/+6
| | | | | This helps when using a regulator which doesn't like being turned off and back on quickly.
* fixed RGB aux turning on in momentary mode when post-off voltage was enabledSelene ToyKeeper2023-11-301-6/+9
|
* saner defaults for the default biking levelSelene ToyKeeper2023-11-302-11/+9
| | | | | | | - set DEFAULT_BIKING_LEVEL in bike mode's header file - use RAMP_SIZE/3 by default - limit to MAX_BIKING_LEVEL if necessary - get rid of any ties to MAX_1x7135 because it's kind of an obsolete symbol
* Merge branch 'fix-nofet-bikeflash' of github.com:digitalcircuit/anduril into ↵Selene ToyKeeper2023-11-301-1/+9
|\ | | | | | | | | | | | | pr23-digitalcircuit-fix-nofet-bikeflash * 'fix-nofet-bikeflash' of github.com:digitalcircuit/anduril: bikeflash: Cap default brightness to max, define
| * bikeflash: Cap default brightness to max, defineShane Synan2023-11-281-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cap fallback default bike flasher brightness to stay below MAX_BIKING_LEVEL, fixing noFET/boost driver builds where MAX_1x7135 is above MAX_BIKING_LEVEL. Add the optional define DEFAULT_BIKING_LEVEL to set the default bike flasher brightness. This is NOT checked against MAX_BIKING_LEVEL, for simplicity. Alternatively, strobe-modes.c could be updated to check if the value exceeds MAX_BIKING_LEVEL at runtime. However, that might take up more flash space. Migrated from https://code.launchpad.net/~digitalcircuit/flashlight-firmware/anduril2_fix_nofet_bikeflash/+merge/408124
* | prevent future issues like the FW3X hadSelene ToyKeeper2023-11-281-4/+5
| | | | | | | | | | | | | | 1/3rd of the ramp size is probably a more reliable default than MAX_1x7135. The 7135-based reference points need to eventually be removed entirely and replaced by something more universal, but for now at least don't fail when a thermal stepdown isn't defined.
* | ADC voltage: battcheck 3 digits, fixed t1616, switched back to 8-bit ↵Selene ToyKeeper2023-11-223-17/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | internal volt unit Before this branch, `voltage` was 6 bits: Volts * 10 A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24 That costs too much extra ROM on attiny85 though, for extra precision it doesn't even use... so I switched back to an 8-bit value. It's still more precise than before though: Volts * 40 ... and battcheck displays an extra digit now, on devices with ROM for it. ... and battcheck waits a second to get a more accurate measurement before displaying the first value. It has *much* less variation between first and later readings now. Also: - got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa) - upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling) - removed expensive temp conversion from t1616 ADC interrupt - recalibrated t1616 bogomips again; runs faster after interrupt fix - increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V) - fixed sloppy setting of Vref bits I still need to test / update other t1616 builds, and fix all the t85 + t1634 code and build targets.
* | 1.55V AA battery should not show as "white" voltage color, only purpleSelene ToyKeeper2023-11-211-1/+1
| |
* | ramp-mode: allow hwdef to adjust gradual tick speedSelene ToyKeeper2023-11-192-1/+7
| | | | | | | | | | | | | | | | The gradual tick frequency was written for 8-bit PWM, but it can be too slow on hardware with more bits. The hwdef can compensate by using larger steps, but that makes adjustments more visible... So this provides an option to increase speed without visibility.
* | version check: allow hex digitsSelene ToyKeeper2023-11-191-1/+4
| |
* | refactor checkpoint: splitting MCU-specific code into arch/$MCU.[ch]Selene ToyKeeper2023-11-102-10/+14
|/ | | | Phew, that's a lot of changes! And there's still a lot more to do...
* shortened unnecessarily long explanationSelene ToyKeeper2023-11-071-5/+1
|
* Merge branch 'momentary-turbo' of github.com:SammysHP/anduril into ↵Selene ToyKeeper2023-11-071-0/+5
|\ | | | | | | | | | | | | pr-16-SammysHP-momentary-turbo * 'momentary-turbo' of github.com:SammysHP/anduril: Allow turbo in momentary mode
| * Allow turbo in momentary modeSammysHP2023-11-071-0/+5
| |
* | Changed bash and sh shebangs to /usr/bin/envIgor Bulekov2023-11-073-3/+3
|/
* more consistent syntax, to avoid failed builds when various options are usedSelene ToyKeeper2023-11-051-14/+12
|
* Merge branch 'bugfix/no-simple-ui-error' of github.com:johnou/anduril into ↵Selene ToyKeeper2023-11-051-2/+5
|\ | | | | | | | | | | | | johnou-bugfix/no-simple-ui-error * 'bugfix/no-simple-ui-error' of github.com:johnou/anduril: Fix compile error when Simple UI is undefined.
| * Fix compile error when Simple UI is undefined.Johno Crawford2023-11-061-2/+5
| |
* | fixed build errors when #undef USE_MANUAL_MEMORYSelene ToyKeeper2023-11-053-7/+7
| | | | | | | | (previous commit still failed)
* | Fixes syntax errors when USE_MANUAL_MEMORY is undefined.Durval Menezes2023-11-051-1/+7
|/
* documentation updates...Selene ToyKeeper2023-11-031-501/+0
| | | | | | | | - fleshed out main README.md a bit - improved github formatting for docs/which-hex-file.md - added 'make docs' to preview .md files as .html - ignore html files generated by 'make docs' - removed rampingios-v3.html file generated years ago
* renamed tk*.h in file contents, and deleted unused filesSelene ToyKeeper2023-11-034-4/+4
|
* got things to compile again, renamed #includesSelene ToyKeeper2023-11-0225-78/+78
| | | | (also modified the build scripts to work with the new file structure)
* reorganized project files (part 1)Selene ToyKeeper2023-11-0277-0/+16328
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)