aboutsummaryrefslogtreecommitdiff
path: root/hw/sofirn/sp10-pro/anduril.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-11-03moved ATTINY and MODEL_NUMBER into $target/arch and $target/model,Selene ToyKeeper1-2/+0
and updated other scripts and files accordingly
2023-11-03renamed cfg.h -> anduril.h so each UI can have its own cfg (part 1)Selene ToyKeeper1-0/+0
(still need to update file contents afterward, but doing it in a separate commit so git can detect renames easier)
2023-11-02got things to compile again, renamed #includesSelene ToyKeeper1-1/+1
(also modified the build scripts to work with the new file structure)
2023-11-02reorganized project files (part 1)Selene ToyKeeper1-0/+0
(just moved files, didn't change the contents yet, and nothing will work without updating #includes and build scripts and stuff)
2023-10-12misc comments, spacing, documentationSelene ToyKeeper1-1/+1
2023-10-09converted sofirn-sp10-pro to new APISelene ToyKeeper1-32/+30
2023-04-17switched the rest of FSM + Anduril to use SPDX license headersSelene ToyKeeper1-0/+4
instead of full GPL headers (or all too often, nothing at all) There are a few "FIXME" entries where I'm not sure about the correct copyright.
2023-04-07merging gchart's changes, part 1...Selene ToyKeeper1-0/+6
+ 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)
2022-04-14moved fuses from cfg to hwdef, renamed LED_EN/DISABLE_DELAY to LED_ON/OFF_DELAYSelene ToyKeeper1-15/+0
(also really should rename LED_* to CH1_* and LED2_* to CH2_*)
2022-04-12Added FUSES section to SP10 Pro for building ELF file with BOD Active fuse ↵Gabriel Hart1-0/+15
setting
2021-11-13enabled manual memory and timer by default;Selene ToyKeeper1-0/+6
reset to ~6 lm (level 50/150) after being off for 10 minutes This sets the factory-reset default settings and affects Simple UI, so it will likely need confirmation from Sofirn.
2021-11-13increased SP10 PWM speed as much as possible without making ramp bumpy, and ↵Selene ToyKeeper1-4/+5
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.
2021-11-06reduced SP10 firefly/moon power usage slightly, by keeping CPU underclocked ↵Selene ToyKeeper1-1/+1
more until ch2 activates
2021-11-06greatly smoothed out SP10 ramp, and configured defaultsSelene ToyKeeper1-16/+24
also fixed random ramp stuttering, by adding phase-reset register to hwdef (though it still has a brief stutter sometimes while ramping down across the channel boundary, at least it always seems to be smooth while going up now)
2021-09-19SP10 Pro: use dynamic PWM, add hidden firefly, adjust candle amplitude, and ↵Gabriel Hart1-12/+16
tweak party strobe & LVP level
2021-08-15Adjusted more Sofirn SP10 config values (party strobe, candle amp, max_1x7135)Gabriel Hart1-2/+8
2021-08-15Adjusted Sofirn SP10 ramp valuesGabriel Hart1-1/+2
2021-08-12Finalized SP10S and renamed to SP10 Pro. Updated Sofirn settings to include SOS.Gabriel Hart1-0/+44