aboutsummaryrefslogtreecommitdiff
path: root/bin (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-09-18added a compile flag to fix compatibility with GCC 7/8/9's new semantics for ↵Selene ToyKeeper1-2/+2
"inline" (should fix builds on newer compilers, I think)
2019-08-28added arbitrary ramp shape powers to level_calc.py, to more easily hit ↵Selene ToyKeeper1-3/+11
specific values
2019-08-05added scripts to flash attiny1634, which were missing beforeSelene ToyKeeper2-0/+12
2019-08-05replaced deprecated avr-size with avr-objdump in build.shSelene ToyKeeper1-1/+3
2019-03-26added seventh-root shape to level_calc.pySelene ToyKeeper1-2/+3
2019-03-08level_calc.py: Combined log_2 and log_e into just log, because all logs have ↵Selene ToyKeeper1-4/+5
the same curve shape.
2018-12-14Enable BOD on attiny85 by default, because it matters on the FW3A and ↵Selene ToyKeeper1-1/+1
doesn't really hurt other lights. (on FW3A, it's very difficult to exit momentary mode without BOD enabled)
2018-11-03Added a help message to build.sh and flash.shSelene ToyKeeper2-0/+13
2018-11-03added a wrapper to flash fuses and firmware at the same time, like the old ↵Selene ToyKeeper1-0/+12
scripts did
2018-11-03Reduced duplication across build scripts, replaced per-MCU scripts with a ↵Selene ToyKeeper4-84/+36
tiny wrapper for the main script.
2018-11-03Split flashing scripts into firmware vs fuses, to help prevent accidental ↵Selene ToyKeeper8-6/+29
bricking. (some people had errors happen during the fuse parts, and ended up with bricks)
2018-11-03Renamed flash/build scripts to better indicate MCU type.Selene ToyKeeper7-0/+1
2018-09-30Made level_calc.py's ramp shape configurable from the command line, instead ↵Selene ToyKeeper1-1/+6
of having to edit the source.
2018-08-22Reduced ROM size back to pre-branch levelsSelene ToyKeeper3-3/+3
(aside from 6 extra bytes to fix interaction between aux LEDs and lockout moon). Fixed typos: lightening, tactial. Replaced new switch/case clauses with if/else clauses, to reduce ROM size. Added -fshort-enums to gcc options to reduce ROM size.
2018-06-25Made it easier to change ramp shape in bin/level_calc.py .Selene ToyKeeper1-10/+13
2018-06-24Added script to build all supported Anduril targets.Selene ToyKeeper3-6/+18
2017-10-14Made level_calc.py support both python2.7 and python3.Selene ToyKeeper1-6/+19
Fixed bug when user specified 'FET' instead of 'fet'.
2017-09-24Reduced standby power by 700X by turning off brownout detection.Selene ToyKeeper1-1/+1
(from 24.7 uA to 0.35 uA)
2017-08-30Reorganized FSM files, one dir per UI.Selene ToyKeeper1-1/+1
2016-09-20Extra parents in include path.Selene ToyKeeper1-1/+1
2016-09-09Updated Mike C's X85 firmware (new version 2016-06-22, IIRC).Selene ToyKeeper2-0/+30
2016-09-09level_calc minor formatting fixSelene ToyKeeper1-1/+1
2016-09-09Flash ROM last, set fuses first. Switched from low=0xe2 to low=0xd2.Selene ToyKeeper1-2/+2
2016-09-09Add more parents to include path.Selene ToyKeeper1-1/+1
2016-07-03Added extra parent includes to gcc path.Selene ToyKeeper1-1/+1
2016-05-22Fixed level_calc N-channel calculations to fix all errors I could find.Selene ToyKeeper1-13/+43
Fixed the case with multiple 7135 channels (they should add up). Fixed the calculation of moon mode. Fixed boundary cases, including below-zero PWM. Had to ask the user for the type (FET/7135) of each channel.
2016-05-22Made level_calc.py work with any number of power channels.Selene ToyKeeper1-96/+96
Results are slightly different than before, and I'm not sure if I broke something or fixed something. Hard to tell. Regardless, it seems to work fine.
2015-11-08Different tiny25 fuses: No brownout detection, and slower startup.Selene ToyKeeper1-1/+1
(am trying to reduce power use and hopefully prevent accidental resets)
2015-10-18Removed the need to specify header file paths.Selene ToyKeeper2-2/+2
Makes it easier to put all the files into one dir for building outside the repository.
2015-09-30made visually-linear curve function configurable in level_calc.pySelene ToyKeeper1-6/+22
2015-09-10Made offtime-cap work on attiny25 in addition to the attiny13 it already ↵Selene ToyKeeper2-4/+6
supported. Added attiny type as a build script option, so the code will automatically select the right options.
2015-09-10Added attiny25-compatible build and flash scripts.Selene ToyKeeper3-1/+30
Tested (and works) with Tom E's eswitch_NOINIT.c for attiny25.
2015-04-19Added "-c -std=gnu99" to build script, made some small 'inline' changes to ↵Selene ToyKeeper1-2/+3
sources, and made output even smaller.
2015-04-19Added nicer avr-size output during builds.Selene ToyKeeper1-1/+1
2015-04-06Added dual PWM support to level_calc.py, and made it work better when run ↵Selene ToyKeeper1-12/+82
via an icon in Windows. Fixed estimation formulas to better account for high minimum modes.
2015-04-06Moved level_calc.py to bin/ since it's useful for general purposes.Selene ToyKeeper1-0/+61
Made level_calc.py prompt the user for input interactively, or get values from the command line if possible.
2014-11-05Convenience script for compiling attiny13a firmwares.Selene ToyKeeper1-0/+24
2014-10-15verify images after flashing them (oops, requires 6 pins, not 5)Selene ToyKeeper1-1/+1
2014-07-23Er, don't try to verify after flashing. At least on my setup, this failsSelene ToyKeeper1-1/+1
and then it aborts the fuse steps. So, no verification.
2014-07-22Added a dir to hold generally-useful utilities.Selene ToyKeeper1-0/+3
Includes a short script to flash a .hex file onto an attiny13a using the usbasp device.