~toykeeper/flashlight-firmware/fsm

  • Committer: Selene Scriven
  • Date: 2019-11-19 07:44:14 UTC
  • mfrom: (451.1.14 irq-refactor)
  • Revision ID: bzr@toykeeper.net-20191119074414-a2hz9hbjalq0v1ek
merged irq-refactor branch, which fixes some small but long-standing issues:
- fixed occasional short/aborted frames in aux LED sleep animation
- fixed rare case of bogus voltage and/or temperature values
- fixed issue where nice_delay_ms() didn't work in setup()
- fixed theoretical possibility of extra-noisy buttons causing a hang
- fixed reboot loop which happened after any crashes
- fixed issue where button press in sleep mode could occasionally crash
  (but the issue may have been created by this branch before being fixed by it)
- reduced occasional missed button events while asleep
  (still seems to happen but not nearly as much)

Also does some other things:
- cleans up the ADC code significantly
- cleans up the WDT code
- adds a voltage stabilizer/lowpass option (enabled on t1634 builds)
- greatly reduces time spent per interrupt,
  which might make a future PWM-DSM technique possible
- moves most interrupt-handling logic to a non-critical code path,
  deferring that code until timing doesn't matter as much
- sped up button state measurements
- very slightly reduces power used in sleep mode
Filename Latest Rev Last Changed Committer Comment Size
..
File build-tiny13.sh 188.1.33 6 years ago Selene Scriven Reduced duplication across build scripts, replaced 61 bytes Diff Download File
File build-tiny25.sh 188.1.33 6 years ago Selene Scriven Reduced duplication across build scripts, replaced 61 bytes Diff Download File
File build-tiny85.sh 188.1.33 6 years ago Selene Scriven Reduced duplication across build scripts, replaced 61 bytes Diff Download File
File build.sh 188.4.19 5 years ago Selene Scriven added a compile flag to fix compatibility with GCC 1.1 KB Diff Download File
File flash-tiny13-fuses.bat 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 62 bytes Diff Download File
File flash-tiny13-fuses.sh 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 450 bytes Diff Download File
File flash-tiny13.bat 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 43 bytes Diff Download File
File flash-tiny13.sh 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 69 bytes Diff Download File
File flash-tiny1634-fuses.sh 438 5 years ago Selene Scriven added scripts to flash attiny1634, which were miss 331 bytes Diff Download File
File flash-tiny1634.sh 438 5 years ago Selene Scriven added scripts to flash attiny1634, which were miss 71 bytes Diff Download File
File flash-tiny25-fuses.sh 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 485 bytes Diff Download File
File flash-tiny25.sh 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 69 bytes Diff Download File
File flash-tiny85-fuses.sh 394 6 years ago Selene Scriven Enable BOD on attiny85 by default, because it matt 486 bytes Diff Download File
File flash-tiny85.sh 188.1.32 6 years ago Selene Scriven Split flashing scripts into firmware vs fuses, to 69 bytes Diff Download File
File flash.sh 188.1.36 6 years ago Selene Scriven Added a help message to build.sh and flash.sh 457 bytes Diff Download File
File generate-index.py 273 7 years ago Selene Scriven Fixed inconsistencies in INDEX (meta file contents 3.2 KB Diff Download File
File level_calc.py 443 5 years ago Selene Scriven merged updates from trunk, including gcc7/8/9 comp 7.3 KB Diff Download File
meta 124.1.3 10 years ago Selene Scriven Mostly complete metadata and index tool. 102 bytes Diff Download File
File voltage_dividers.py 188.1.8 7 years ago Selene Scriven Added voltage_dividers.py to help calculate resist 2.5 KB Diff Download File