aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* make-release.sh should use version-string.sh instead of duplicating codeSelene ToyKeeper2024-03-311-3/+1
|
* Merge branch 'emisar-d3aa' into trunkSelene ToyKeeper2024-03-318-2/+567
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added support for new Emisar D3AA torch. * emisar-d3aa: d3aa: fixed voltage calculation to use 0.02V units instead of 0.025V d3aa weak battery test: blink 3x instead of 2x, and omit number readout weak battery detection: use different thresholds for AA and Li-Ion (also, fixed bug where a totally empty li-ion didn't get limited) d3aa: got weak battery detection actually working, and not letting the magic smoke out of updi adapters any more (probably) dammit, got alkaline detection half working and then my flashing adapter died (saving progress here so I can work on a different branch) d3aa fine-tuning: - new ramp - production style config defaults (simple mode, Hank config) - candle tuning - fixed way-too-fast thermal regulation (might still be a bit fast, but it's a lot better) d3aa: fixed voltage measurement d3aa: made it easy to switch between vddio2 and external voltage divider emisar-d3aa: new model number, since this is a new product line added initial code for emisar-d3aa torch
| * d3aa: fixed voltage calculation to use 0.02V units instead of 0.025VSelene ToyKeeper2024-03-292-7/+5
| |
| * Merge branch 'trunk' into emisar-d3aaSelene ToyKeeper2024-03-2920-95/+103
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | FIXME: The d3aa's voltage calculator needs to be fixed after this merge. * trunk: use smooth steps in lockout mode, if enabled fixed Tactical Mode's strobes when Momentary Mode not enabled increased voltage precision from 0.025V to 0.02V (so 0 to 255 now goes from 0.00V to 5.10V) fixed inaccurate comment (thanks to xikteny for spotting it) Allow manually running GitHub actions workflows Bugfix: Prevent switching channel modes when in tactical mode Bugfix: Tactical mode has a dependency on momentary mode
* | use smooth steps in lockout mode, if enabledSelene ToyKeeper2024-03-291-2/+2
| | | | | | | | | | Based on [SammysHP's patch](https://github.com/ToyKeeper/anduril/pull/18), but only for lockout mode, not tactical.
* | Merge branch 'pr52-SiteRelEnby-manual-actions' into trunkSelene ToyKeeper2024-03-291-1/+1
|\ \ | | | | | | | | | | | | * pr52-SiteRelEnby-manual-actions: Allow manually running GitHub actions workflows
| * | Merge branch 'manual-actions' of github.com:SiteRelEnby/anduril into ↵Selene ToyKeeper2024-03-291-1/+1
|/| | | | | | | | | | | | | | | | | | | | pr52-SiteRelEnby-manual-actions * 'manual-actions' of github.com:SiteRelEnby/anduril: Allow manually running GitHub actions workflows
| * | Allow manually running GitHub actions workflowsSiteRelEnby2024-02-291-1/+1
| | | | | | | | | | | | https://docs.github.com/en/actions/using-workflows/manually-running-a-workflow
* | | Merge branch 'pr46-SiteRelEnby-bugfix-tacmode-without-momentary' into trunkSelene ToyKeeper2024-03-282-6/+8
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Allows user to disable Momentary Mode at compile time, while keeping Tactical Mode. * pr46-SiteRelEnby-bugfix-tacmode-without-momentary: fixed Tactical Mode's strobes when Momentary Mode not enabled Bugfix: Tactical mode has a dependency on momentary mode
| * | | fixed Tactical Mode's strobes when Momentary Mode not enabledSelene ToyKeeper2024-03-281-3/+5
| | | |
| * | | 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 'pr49-SiteRelEnby-tactical-mode-3c-fix' into trunkSelene ToyKeeper2024-03-281-0/+5
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes [bug #40](https://github.com/ToyKeeper/anduril/issues/40) Don't change channel during 3C in Tactical Mode. * pr49-SiteRelEnby-tactical-mode-3c-fix: Bugfix: Prevent switching channel modes when in tactical 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-2715-86/+87
| | | | | | | | | | | | (so 0 to 255 now goes from 0.00V to 5.10V)
* | | fixed inaccurate comment (thanks to xikteny for spotting it)Selene ToyKeeper2024-03-231-1/+1
| | |
| | * d3aa weak battery test: blink 3x instead of 2x, and omit number readoutSelene ToyKeeper2024-03-293-5/+18
| | |
| | * weak battery detection: use different thresholds for AA and Li-IonSelene ToyKeeper2024-03-262-12/+17
| | | | | | | | | | | | (also, fixed bug where a totally empty li-ion didn't get limited)
| | * d3aa: got weak battery detection actually working,Selene ToyKeeper2024-03-264-40/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and not letting the magic smoke out of updi adapters any more (probably) The alkaline detection might be a little too lenient though; it could potentially fail to activate limits when the cell is completely full or stronger than an average alkaline. One of my test cells measured at 72 / 75, so if it was just a little stronger it'd pass... but most alkalines I tried were in the 40 to 60 range and failed easily. OTOH, if I make it easier to fail, it's likely to trip on normal li-ion cells, and I don't want that. So as a future enhancement idea, maybe it should have a smaller sag threshold for AA and a larger threshold for li-ion. That would reduce false negatives for AA, while still preventing false positives for li-ion.
| | * dammit, got alkaline detection half working and then my flashing adapter diedSelene ToyKeeper2024-03-255-2/+91
| | | | | | | | | | | | (saving progress here so I can work on a different branch)
| | * d3aa fine-tuning:Selene ToyKeeper2024-03-113-46/+35
| | | | | | | | | | | | | | | | | | | | | | | | - new ramp - production style config defaults (simple mode, Hank config) - candle tuning - fixed way-too-fast thermal regulation (might still be a bit fast, but it's a lot better)
| | * d3aa: fixed voltage measurementSelene ToyKeeper2024-03-043-4/+5
| | |
| | * Merge branch 'trunk' into emisar-d3aaSelene ToyKeeper2024-03-0420-29/+633
| | |\ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trunk: enabled eeprom read/write stabilization by default on recent MCUs, to prevent corrupt data thefreeman-avr32dd20-devkit: enable boost bypass at boot, so AA/NiMH can boot avr32dd20-devkit: use unimplemented "CH" pin as a boost bypass control added "emisar-2ch-fet-joined" build, for D4S w/ lighted switch documented FW3X swapped pins better documented Wurkkos TS25/TS11/FC13 distinctions build.sh: don't require DFPs, newer avr-libc doesn't need them use BLIP_LEVEL instead of 0 for "blip"s clarified which-hex-file.md a bit; make sure the model number matches fw3x: reduced pulsing on low modes
* | | enabled eeprom read/write stabilization by default on recent MCUs,Selene ToyKeeper2024-02-022-4/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to prevent corrupt data This was enabled on more build targets before, but the *_ENABLE_PIN definition names changed and the eeprom code didn't, so it was not compiled in for a few months on some lights which probably needed it. To fix that, it's now enabled by default on everything bigger than attiny85, since it doesn't really hurt anything if it's enabled when not needed.
* | | thefreeman-avr32dd20-devkit: enable boost bypass at boot, so AA/NiMH can bootSelene ToyKeeper2024-02-021-0/+1
|/ /
* | avr32dd20-devkit: use unimplemented "CH" pin as a boost bypass controlSelene ToyKeeper2024-01-302-2/+33
| | | | | | | | | | | | | | For 3V LEDs on a boost/buck dual fuel driver, this allows routing power around the boost converter in li-ion mode, to reduce resistance and increase maximum output. The AA/NiMH mode is unaffected, and boosts as normal.
* | added "emisar-2ch-fet-joined" build, for D4S w/ lighted switchSelene ToyKeeper2024-01-106-0/+512
| | | | | | | | (it's an odd case with a 2 channel driver which only uses 1 set of LEDs)
* | documented FW3X swapped pins betterSelene ToyKeeper2023-12-171-3/+7
| |
* | documented Wurkkos TS25/TS11/FC13 distinctionsSelene ToyKeeper2023-12-174-6/+44
| |
* | build.sh: don't require DFPs, newer avr-libc doesn't need themSelene ToyKeeper2023-12-151-6/+8
| |
* | use BLIP_LEVEL instead of 0 for "blip"sSelene ToyKeeper2023-12-153-2/+7
| | | | | | | | | | This helps when using a regulator which doesn't like being turned off and back on quickly.
* | clarified which-hex-file.md a bit; make sure the model number matchesSelene ToyKeeper2023-12-111-4/+7
| |
* | fw3x: reduced pulsing on low modesSelene ToyKeeper2023-12-101-2/+2
| |
| * Merge branch 'trunk' into emisar-d3aaSelene ToyKeeper2023-12-0515-246/+506
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * trunk: moved version string calculation to bin/version-string.sh forgot one item in the ChangeLog ChangeLog: added 2023-12-03 release notes, converted @modelname to &modelname docs: expanded / reorganized info on Version Check formats updated MODELS, bin/models.py, and hw/BRANDS... fw3x: document how it ships with the wrong fuse values, and how to fix it github CI: fetch history too, to allow detection of version tags build-all: handle the case where "git describe" can't get any tags run CI on all branches, not just on trunk fetch tags on CI checkout, so 'git describe' can work added docs/battery-rainbow.png from old repo, since it's still relevant added bin/make-release.sh to generate a .zip file ready for release build-all.sh: re-indented, started organizing code into functions changed version number to use the latest release tag instead of build date
* | moved version string calculation to bin/version-string.shSelene ToyKeeper2023-12-053-13/+63
| | | | | | | | | | | | Also updated the format slightly, so this rev is: `2023-12-03+2#1` +N for commits since tag #1 for dirty
* | forgot one item in the ChangeLogSelene ToyKeeper2023-12-051-0/+2
| |
* | ChangeLog: added 2023-12-03 release notes, converted @modelname to &modelnameSelene ToyKeeper2023-12-031-52/+115
| | | | | | | | | | (because the @ was causing people to get tagged when their username happened to be the same as a brand or model name)
* | docs: expanded / reorganized info on Version Check formatsSelene ToyKeeper2023-12-032-44/+63
| |
* | updated MODELS, bin/models.py, and hw/BRANDS...Selene ToyKeeper2023-12-033-81/+112
| | | | | | | | | | | | | | | | - changed column order to (model, mcu, name) - changed column sizes (auto-sized w/ 2 spaces between columns) - made it handle hex digits in model numbers - reserved 1900 to 2199 for years only, not model numbers - noted gChart and thefreeman sharing a brand ID
* | fw3x: document how it ships with the wrong fuse values, and how to fix itSelene ToyKeeper2023-12-031-0/+5
| |
* | Merge branch 'github-ci-fix-version-tags' into trunkSelene ToyKeeper2023-12-022-4/+16
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed missing version strings during github CI builds. Made "git describe" work within github's CI environment, so it can detect the most recent release tag and generate a version number for each build. * github-ci-fix-version-tags: github CI: fetch history too, to allow detection of version tags build-all: handle the case where "git describe" can't get any tags run CI on all branches, not just on trunk fetch tags on CI checkout, so 'git describe' can work
| * | github CI: fetch history too, to allow detection of version tagsSelene ToyKeeper2023-12-021-1/+2
| | | | | | | | | | | | | | | | | | It needs history to determine which tag precedes the current commit. This could be expensive on large repos, but for Anduril it seems to only increase the checkout size by about 40% or so. (11 MiB -> 15 MiB)
| * | build-all: handle the case where "git describe" can't get any tagsSelene ToyKeeper2023-12-021-0/+5
| | | | | | | | | | | | Resulting revision is "$MODEL-0.$HASH" where the hash is the commit short ID
| * | run CI on all branches, not just on trunkSelene ToyKeeper2023-12-021-4/+7
| | |
| * | fetch tags on CI checkout, so 'git describe' can workSelene ToyKeeper2023-12-021-0/+3
|/ /
* | added docs/battery-rainbow.png from old repo, since it's still relevantSelene ToyKeeper2023-12-011-0/+0
| |
* | added bin/make-release.sh to generate a .zip file ready for releaseSelene ToyKeeper2023-12-012-1/+56
| |
* | build-all.sh: re-indented, started organizing code into functionsSelene ToyKeeper2023-11-301-75/+84
| | | | | | | | | | (still needs a proper rewrite, but at least the version.h code is in a separate function now)
* | changed version number to use the latest release tag instead of build dateSelene ToyKeeper2023-11-303-5/+19
| | | | | | | | | | | | | | Before: 2023-11-30 (build date) After: 2023-10-31-98.1 (latest release tag + number of commits since + dirty flag)