lp:~digitalcircuit/flashlight-firmware/anduril2_opt_disable_autocal_therm

Created by Shane Synan and last modified
Get this branch:
bzr branch lp:~digitalcircuit/flashlight-firmware/anduril2_opt_disable_autocal_therm
Only Shane Synan can upload to this branch. If you are Shane Synan please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Shane Synan
Project:
Flashlight Firmware Repository
Status:
Merged

Recent revisions

595. By Shane Synan

added #define USE_THERM_AUTOCALIBRATE to opt out

Moved factory reset thermal auto-calibration behind a new default-on
config #define USE_THERM_AUTOCALIBRATE. Commenting this out or the
usual #ifdef/#undef in a cfg-[...].h build file allows for manually
calibrating the temperature offset.

This may be useful for factory-calibrated temperature sensors or for
those who regularly flash custom builds and don't want to recalibrate
each time.

Determining the correct temperature offset for a given flashlight
first requires flashing a build with auto-calibrate disabled, using
that to determine the offset, which can then be baked in to future
firmware builds.

594. By Selene Scriven <email address hidden>

rewrote hybrid memory (manual memory timer) to eliminate corner cases

Old method:
  - at 1-click power-on, choose a brightness based on off-time
    (manual level or last-ramped level)

New method:
  - when off longer than the timer, set last-ramped level to manual level

This fixes a bug:
  - turn light off
  - wait for timer
  - turn light on with a shortcut to moon
  - turn light off
  - turn light on
  - pre-patch, light went to last-ramped level instead of manual level

This change also reduces the ROM size slightly.

593. By Selene Scriven <email address hidden>

added Emisar D18 Nichia 219 build target (same as normal but reduced FET power)

592. By Selene Scriven <email address hidden>

set Emisar/Noctigon "219" builds to 65% FET power
(was 75% or 80% before)
(change requested by Emisar)

591. By Selene Scriven <email address hidden>

added missing ifdefs for compiling without USE_SIMPLE_UI
(compiles now, but isn't tested on hardware)

590. By Selene Scriven <email address hidden>

oops, somehow I forgot to add this earlier... Hank's UI preferences (applies to all Emisar / Noctigon lights)

589. By Selene Scriven <email address hidden>

made manual memory remember tint too, not just brightness

588. By Selene Scriven <email address hidden>

aux LED config cleaning...

- use fancy blinking mode by default
  (define USE_OLD_BLINKING_INDICATOR if old slow mode is wanted)

- remove TICK_DURING_STANDBY from all cfg-*.h files because it's
  enabled automatically by other features anyway (autolock, memory timer)

- remove STANDBY_TICK_SPEED from cfg-*.h because all the values
  matched the default anyway so it was redundant

- set rot66 button LED to high+blinking instead of high+off
  (it was only "off" because it ran out of space, and that was resolved)

- enabled fancier indicator by default on fireflies-ui and rampingiosv3,
  since its other #define clauses were removed
  (not sure if those older UIs still compile, but if so, it's worth
  at least trying not to break it)

587. By Selene Scriven <email address hidden>

config updates for Hank (Emisar / Noctigon):
- use cycling rainbow mode by default on lights with RGB LEDs
  (instead of voltage, because it's better for impressing new users)
- use 2C turbo instead of 2C ceiling (Anduril 1 style instead of Anduril 2 style)

also some other minor housekeeping...
- make all K1 models use consistent rainbow cycling speed
- enable auto-lock and manual memory timer on Emisar D1v2
- remove redundant RGB config on Lume1 (it had incorrect comments anyway)

586. By Selene Scriven <email address hidden>

fixed missing ifdef for simple UI

Branch metadata

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

Subscribers