aboutsummaryrefslogtreecommitdiff
path: root/bin (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build-all: handle the case where "git describe" can't get any tagsSelene ToyKeeper2023-12-021-0/+5
| | | | Resulting revision is "$MODEL-0.$HASH" where the hash is the commit short ID
* added bin/make-release.sh to generate a .zip file ready for releaseSelene ToyKeeper2023-12-011-0/+55
|
* build-all.sh: re-indented, started organizing code into functionsSelene ToyKeeper2023-11-301-75/+84
| | | | | (still needs a proper rewrite, but at least the version.h code is in a separate function now)
* changed version number to use the latest release tag instead of build dateSelene ToyKeeper2023-11-302-5/+17
| | | | | | | Before: 2023-11-30 (build date) After: 2023-10-31-98.1 (latest release tag + number of commits since + dirty flag)
* oops, flashing script should actually flash ... not just echo a commandSelene ToyKeeper2023-11-301-1/+1
|
* made the avr32dd20 flashing script more universalSelene ToyKeeper2023-11-301-5/+32
|
* added dac-scale.py: short script to calculate avrdd DAC+Vref values from ↵Selene ToyKeeper2023-11-191-0/+89
| | | | level_calc.py ramp data
* added *unfinished* support for avr32dd20, plus a build target for a dev kitSelene ToyKeeper2023-11-191-0/+13
| | | | | ADC doesn't work yet. No voltage, no temperature. I need to do a lot of refactoring on the ADC code. :(
* refactor checkpoint: splitting MCU-specific code into arch/$MCU.[ch]Selene ToyKeeper2023-11-101-2/+2
| | | | Phew, that's a lot of changes! And there's still a lot more to do...
* added md5sum to build-all.sh output per targetSelene ToyKeeper2023-11-101-2/+5
| | | | (to make it easier to detect when builds did or didn't change)
* shell script cleanup (fix lint warnings, remove unused scripts)Selene ToyKeeper2023-11-0715-82/+56
|
* Changed bash and sh shebangs to /usr/bin/envIgor Bulekov2023-11-075-5/+5
|
* memesSelene ToyKeeper2023-11-061-0/+2
|
* build-all.sh: don't err when search term starts with a dashSelene ToyKeeper2023-11-061-1/+1
|
* help CI detect build failuresSelene ToyKeeper2023-11-051-0/+1
| | | | | | made 'make' and 'build-all.sh' exit with an error on fail, so CI can hopefully detect it... and added an intentional source bug to make it fail for testing purposes
* detect-mcu.sh: don't hang when MCU isn't found; exit with an error insteadSelene ToyKeeper2023-11-041-0/+4
|
* improved DFP setup and support:Selene ToyKeeper2023-11-042-13/+54
| | | | | | | | - `./make dfp` downloads and installs Atmel DFPs for each supported MCU - build.sh detects and uses attiny or avrdd, and others are simple to add - updated setup info in /README.md ... also some other small documentation updates.
* detect-mcu.sh: oops, that line of help text wasn't supposed to be executedSelene ToyKeeper2023-11-031-1/+1
|
* moved ATTINY and MODEL_NUMBER into $target/arch and $target/model,Selene ToyKeeper2023-11-037-53/+95
| | | | and updated other scripts and files accordingly
* moved variant builds under their parent, like "d4-219" -> "d4/219"Selene ToyKeeper2023-11-031-4/+5
|
* fixed compile scripts and added a "./make" wrapper for convenienceSelene ToyKeeper2023-11-032-15/+24
| | | | (instead of a Makefile, which isn't really needed for this project)
* renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)Selene ToyKeeper2023-11-031-2/+2
| | | | | (still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
* got things to compile again, renamed #includesSelene ToyKeeper2023-11-022-15/+28
| | | | (also modified the build scripts to work with the new file structure)
* reorganized project files (part 1)Selene ToyKeeper2023-11-023-0/+179
| | | | | (just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
* build.sh: use busybox-compatible grep argsSelene ToyKeeper2023-10-301-1/+1
|
* kludgy attempt to factor PWM rise/fall time into level_calc.pySelene ToyKeeper2023-07-211-7/+38
| | | | | (to reduce the ramp bumps at halfspeed / quarterspeed levels)
* with each build, dump a .cpp file with the source after preprocessingSelene ToyKeeper2023-05-301-1/+5
| | | | | (for easier whole-program debugging)
* bin/flash-1616.py: added shebang header and +x bitSelene ToyKeeper2023-05-021-1/+3
|
* merging gchart's changes, part 1...Selene ToyKeeper2023-04-071-0/+76
| | | | | | | | | | | | | | | | + added Sofirn LT1S Pro + added Sofirn SC21 Pro + added Wurkkos TS10 + added Wurkkos TS25 * small changes to other models * improved dual voltage support + added attiny1616 flashing python script w/ pymcuprog These changes are incomplete. It does not yet include: - extended simple UI - t1616 WDT reset detection - gchart's OUTPUT_MUX code (I plan to rewrite the entire tint system)
* fixed level_calc.py when using --pwm with 4 args instead of 5Selene ToyKeeper2022-04-281-1/+1
|
* avrdude fails when .fuse section is included, so omit that when copying elf ↵Selene ToyKeeper2022-04-141-1/+1
| | | | to hex
* increased SP10 PWM speed as much as possible without making ramp bumpy, and ↵Selene ToyKeeper2021-11-131-1/+7
| | | | | | | | | | | | | | | | | made party strobe pulses much faster Reduced max PWM TOP to 3072, because 2048 wasn't enough and 4096 was more than necessary. Also, Ch1 lumens / 256 / ch2 lumens = 6, so 256 * 6 * 2 is the lowest value which allows ch1 to start at half of ch2's power. I tried 1536 initially, but it made the ramp visibly malformed at the channel boundary. However, 3072 seems about right. Implemented a non-linear PWM_TOP ramp-down in level_calc, to allow it to converge faster and reduce the number of levels with visible pulses. Added an option to keep the regulator chips on between strobe pulses, by keeping the LEDs at moon instead of turning completely off. This allows the SP10 party strobe to use much shorter, more consistent pulses.
* added -mrelax to build.sh; saves ~330 bytes on t1634 buildsSelene ToyKeeper2021-09-101-1/+1
| | | | | | (suggested by solrize) (doesn't seem to reduce size of t85 builds though)
* fixed spurious warnings in level_calc on multi-channel lightsSelene ToyKeeper2021-08-161-1/+3
| | | | | (also fixed reported values being too low by a factor of channel.pwm_min)
* clarified the new level_calc calculations a bit, experimented to make sure ↵Selene ToyKeeper2021-08-141-26/+32
| | | | things are right
* got PFM / dynamic PWM actually working on Noctigon KR4Selene ToyKeeper2021-08-121-1/+1
| | | | | | (and also added "jump start moon" to it) (and generally finished adding dynamic PWM support to FSM)
* made PWM TOP value configurable at command line in level_calc.py, and added ↵Selene ToyKeeper2021-08-121-9/+70
| | | | | | | | a "dynamic PWM" feature (uses a different PWM TOP at each of the first N ramp levels, to increase resolution at bottom end of ramp)
* give a more useful error message when t1616 files aren't installedSelene ToyKeeper2021-07-221-2/+11
|
* added attiny1616 flashing instructions, and made flash-tiny1616.sh ↵Selene ToyKeeper2021-04-011-1/+12
| | | | configurable via environment variables
* Added attiny1616 info to the README, and made bin/build.sh support more ↵Selene ToyKeeper2021-04-011-3/+8
| | | | | | flexible. Set ATTINY_DFP environment variable in your shell to the location of the unzipped DFP files.
* Add AVR 1-Series and t1616 board and scriptsGabriel Hart2020-12-182-2/+6
|
* merged upstream fsm branchSelene ToyKeeper2019-11-251-1/+1
|\
| * added -fwhole-program gcc flag, suggested by Agro. Signficantly reduces ROM ↵Selene ToyKeeper2019-11-221-1/+1
| | | | | | | | size! :)
* | merged from fsm branch to get safety ramp-down and version check functions, ↵Selene ToyKeeper2019-09-292-6/+16
|\| | | | | | | among other updates
| * 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
| |