Created by Selene ToyKeeper and last modified
Get this branch:
bzr branch lp:~toykeeper/flashlight-firmware/anduril2
Only Selene ToyKeeper can upload to this branch. If you are Selene ToyKeeper please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Selene ToyKeeper
Flashlight Firmware Repository

Recent revisions

659. By Selene ToyKeeper <email address hidden>

This branch is abandoned. Development of Anduril and FSM has moved to:
... and in case it moves again, this link redirects to the current platform:
So go there instead of Launchpad.

658. By Selene ToyKeeper <email address hidden>

merged multi-channel branch with a major refactor and half a year of updates

657. By Selene ToyKeeper <email address hidden>

added a "tactical mode" on "Off -> 6C"

Tactical Mode is similar to Momentary Mode or Lockout Mode, but it has
three mode slots which are independent of other config values. The default
is a classic tactical setup with "high, low, strobe", each with immediate
activation as soon as the button is pressed.

Each slot can be a regular ramp level 1 to 150, or a strobe-group mode.

To exit, press 6C or loosen/tighten the tailcap.

Aux LEDs follow the same pattern as Lockout Mode.

To configure, use 7H. There are 3 options, one for each slot.
Enter a number 1 to 150 for a ramp mode, 0 for current strobe,
or 151+ for a specific strobe mode.

656. By Selene ToyKeeper <email address hidden>

strobe modes: added 4C to cycle backward through strobes

655. By Selene ToyKeeper <email address hidden>

just whitespace / comments

654. By Selene ToyKeeper <email address hidden>

fast-blink the aux LED in standby when battery is low
3.3V and up: normal aux LED modes
2.9V to 3.3V: fast blink
under 2.9V: off
(only on lights with no RGB aux)

653. By Selene ToyKeeper <email address hidden>

fixed voltage calibration resolution on SP10 Pro
and other devices which use a voltage divider
(it was 0.1V per step, and is now 0.05V per step)

652. By Selene ToyKeeper <email address hidden>

allow supporting single-color and RGB side button in the same build
(new D1v2 comes in both flavors, and it's easier for everyone if
 they can use the same firmware)

Also, removed lockout-abort bug on D1v2 (and DM11, I think).
Hopefully some day I'll have time to update to a newer compiler,
and then hopefully it won't have this issue any more... but for now,
it still uses a kludge to trick the compiler into working.

651. By Selene ToyKeeper <email address hidden>

added Emisar D1v2 models (old FET+7135, new linear+FET, new linear-only)

650. By Selene ToyKeeper <email address hidden>

fixed level_calc.py when using --pwm with 4 args instead of 5

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.