aboutsummaryrefslogtreecommitdiff
path: root/bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* added -fwhole-program gcc flag, suggested by Agro. Signficantly reduces ROM ↵Selene ToyKeeper2019-11-221-1/+1
| | | | size! :)
* merged updates from trunk, including gcc7/8/9 compatibilitySelene ToyKeeper2019-09-182-5/+13
|\
| * added a compile flag to fix compatibility with GCC 7/8/9's new semantics for ↵Selene ToyKeeper2019-09-181-2/+2
| | | | | | | | | | | | | | "inline" (should fix builds on newer compilers, I think)
| * added arbitrary ramp shape powers to level_calc.py, to more easily hit ↵Selene ToyKeeper2019-08-281-3/+11
| | | | | | | | specific values
* | level_calc.py: note the highest level for each channel before the next ↵Selene ToyKeeper2019-09-151-0/+10
|/ | | | | | channel starts, so it'll be easier to identify the channel transition points
* added scripts to flash attiny1634, which were missing beforeSelene ToyKeeper2019-08-052-0/+12
|
* replaced deprecated avr-size with avr-objdump in build.shSelene ToyKeeper2019-08-051-1/+3
|
* merged from trunkSelene ToyKeeper2019-03-261-4/+5
|\
| * level_calc.py: Combined log_2 and log_e into just log, because all logs have ↵Selene ToyKeeper2019-03-081-4/+5
| | | | | | | | the same curve shape.
* | added seventh-root shape to level_calc.pySelene ToyKeeper2019-03-261-2/+3
|/
* Enable BOD on attiny85 by default, because it matters on the FW3A and ↵Selene ToyKeeper2018-12-141-1/+1
| | | | | | doesn't really hurt other lights. (on FW3A, it's very difficult to exit momentary mode without BOD enabled)
* Added a help message to build.sh and flash.shSelene ToyKeeper2018-11-032-0/+13
|
* added a wrapper to flash fuses and firmware at the same time, like the old ↵Selene ToyKeeper2018-11-031-0/+12
| | | | scripts did
* Reduced duplication across build scripts, replaced per-MCU scripts with a ↵Selene ToyKeeper2018-11-034-84/+36
| | | | tiny wrapper for the main script.
* Split flashing scripts into firmware vs fuses, to help prevent accidental ↵Selene ToyKeeper2018-11-038-6/+29
| | | | | | bricking. (some people had errors happen during the fuse parts, and ended up with bricks)
* Renamed flash/build scripts to better indicate MCU type.Selene ToyKeeper2018-11-037-0/+1
|
* Made level_calc.py's ramp shape configurable from the command line, instead ↵Selene ToyKeeper2018-09-301-1/+6
| | | | of having to edit the source.
* Reduced ROM size back to pre-branch levelsSelene ToyKeeper2018-08-223-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.
* merged updates from fsm branch, including RampingIOS V3 and Werner UIs...Selene ToyKeeper2018-08-063-6/+18
|\ | | | | | | | | ... plus a bunch of other updates, fixes, improvements, etc.
| * Added script to build all supported Anduril targets.Selene ToyKeeper2018-06-243-6/+18
| |
* | Made it easier to change ramp shape in bin/level_calc.py .Selene ToyKeeper2018-06-251-10/+13
|/
* merged trunk, prep for merging backSelene ToyKeeper2018-05-081-6/+19
|\
| * Made level_calc.py support both python2.7 and python3.Selene ToyKeeper2017-10-141-6/+19
| | | | | | | | | | Fixed bug when user specified 'FET' instead of 'fet'.
* | Reduced standby power by 700X by turning off brownout detection.Selene ToyKeeper2017-09-241-1/+1
| | | | | | | | | | (from 24.7 uA to 0.35 uA)
* | Reorganized FSM files, one dir per UI.Selene ToyKeeper2017-08-301-1/+1
|/
* Extra parents in include path.Selene ToyKeeper2016-09-201-1/+1
|
* Merged in Mike C's X85 firmware.Selene ToyKeeper2016-09-092-0/+30
|\ | | | | | | | | It's pretty full-featured and advanced, but requires a special driver. Still needs more info in its "meta" file.
| * Updated Mike C's X85 firmware (new version 2016-06-22, IIRC).Selene ToyKeeper2016-09-092-0/+30
| |
* | level_calc minor formatting fixSelene ToyKeeper2016-09-091-1/+1
| |
* | Flash ROM last, set fuses first. Switched from low=0xe2 to low=0xd2.Selene ToyKeeper2016-09-091-2/+2
| |
* | Add more parents to include path.Selene ToyKeeper2016-09-091-1/+1
| |
* | Fixed level_calc N-channel calculations to fix all errors I could find.Selene ToyKeeper2016-05-221-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.
* | Made level_calc.py work with any number of power channels.Selene ToyKeeper2016-05-221-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.
* | Different tiny25 fuses: No brownout detection, and slower startup.Selene ToyKeeper2015-11-081-1/+1
|/ | | | (am trying to reduce power use and hopefully prevent accidental resets)
* Removed the need to specify header file paths.Selene ToyKeeper2015-10-182-2/+2
| | | | Makes it easier to put all the files into one dir for building outside the repository.
* made visually-linear curve function configurable in level_calc.pySelene ToyKeeper2015-09-301-6/+22
|
* Made offtime-cap work on attiny25 in addition to the attiny13 it already ↵Selene ToyKeeper2015-09-102-4/+6
| | | | | | supported. Added attiny type as a build script option, so the code will automatically select the right options.
* Added attiny25-compatible build and flash scripts.Selene ToyKeeper2015-09-103-1/+30
| | | | | Tested (and works) with Tom E's eswitch_NOINIT.c for attiny25.
* Added "-c -std=gnu99" to build script, made some small 'inline' changes to ↵Selene ToyKeeper2015-04-191-2/+3
| | | | sources, and made output even smaller.
* Added nicer avr-size output during builds.Selene ToyKeeper2015-04-191-1/+1
|
* Added dual PWM support to level_calc.py, and made it work better when run ↵Selene ToyKeeper2015-04-061-12/+82
| | | | | | via an icon in Windows. Fixed estimation formulas to better account for high minimum modes.
* Moved level_calc.py to bin/ since it's useful for general purposes.Selene ToyKeeper2015-04-061-0/+61
| | | | | Made level_calc.py prompt the user for input interactively, or get values from the command line if possible.
* Convenience script for compiling attiny13a firmwares.Selene ToyKeeper2014-11-051-0/+24
|
* verify images after flashing them (oops, requires 6 pins, not 5)Selene ToyKeeper2014-10-151-1/+1
|
* Er, don't try to verify after flashing. At least on my setup, this failsSelene ToyKeeper2014-07-231-1/+1
| | | | | and then it aborts the fuse steps. So, no verification.
* Added a dir to hold generally-useful utilities.Selene ToyKeeper2014-07-221-0/+3
Includes a short script to flash a .hex file onto an attiny13a using the usbasp device.
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.