aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* FW3X: multiple upgrades...Selene ToyKeeper2023-11-274-54/+132
| | | | | | | | - upgraded to DSM: lower lows, *much* smoother ramp - made lows more efficient with underclocking - fixed party strobe being too blurry - calibrated UI speed / bogomips multiplier - added readme to document this hardware's multiple quirks
* fw3x: fixed swapped red+blue, fixed battery measurements, added police color ↵Selene ToyKeeper2023-11-272-13/+29
| | | | strobe
* fixed ADC on sp10-proSelene ToyKeeper2023-11-271-2/+5
|
* fixed ADC on attiny85 and related buildsSelene ToyKeeper2023-11-275-23/+80
| | | | (also enabled smooth steps on BLF GT, but had to remove stuff to make room)
* fixed ADC on attiny1634 and related buildsSelene ToyKeeper2023-11-2713-328/+181
|
* more ADC / DAC / MCU progress...Selene ToyKeeper2023-11-2413-157/+136
| | | | | | | | - fixed t1616 Vref values getting clobbered sometimes, wrapped setting those in a #define'd function for ease and consistency - moved some DAC definitions from hw/ to arch/ to reduce repetition - fixed thefreeman's other builds - switched from PWM_TOPS to PWM2_LEVELS (I'm trying to phase out _TOPS)
* avr32dd20-devkit: make the defaults a bit more dev friendlySelene ToyKeeper2023-11-221-1/+5
| | | | (realtime voltage colors, and no simple UI by default)
* ADC voltage: battcheck 3 digits, fixed t1616, switched back to 8-bit ↵Selene ToyKeeper2023-11-2213-112/+207
| | | | | | | | | | | | | | | | | | | | | | | | | internal volt unit Before this branch, `voltage` was 6 bits: Volts * 10 A couple patches ago, I upgraded it to 16 bits: 65535 * Volts / 10.24 That costs too much extra ROM on attiny85 though, for extra precision it doesn't even use... so I switched back to an 8-bit value. It's still more precise than before though: Volts * 40 ... and battcheck displays an extra digit now, on devices with ROM for it. ... and battcheck waits a second to get a more accurate measurement before displaying the first value. It has *much* less variation between first and later readings now. Also: - got t1616 builds working again (tested fc13 and thefreeman-boost-fwaa) - upgraded t1616 voltage and temp to 12-bit (10 bits + 4x oversampling) - removed expensive temp conversion from t1616 ADC interrupt - recalibrated t1616 bogomips again; runs faster after interrupt fix - increased t1616 internal VDD measurement resolution by 36% (1.5V Vref, not 1.1V) - fixed sloppy setting of Vref bits I still need to test / update other t1616 builds, and fix all the t85 + t1634 code and build targets.
* got ADC voltage+temp working on avrdd... but broke all other builds/MCUsSelene ToyKeeper2023-11-215-34/+97
| | | | | | | | | | | | | | | | | This patch changes the ADC code to use two internal standard units, and everything else must convert to these units: - FSM Volts: centiVolts << 6 (range 0 to 10.24 V per cell) - FSM Kelvin: Kelvin << 6 (range 0 to 1024 K) UI-level voltage is still "Volts * 10", and temperature is still Celsius. FSM expects functions to be provided, to convert from the hardware's raw ADC measurements to these internal units: `voltage_raw2cooked()` and `temp_raw2cooked()`. Defaults will be provided by arch/*.[ch] for each MCU type, or the hwdef can make its own. Anyway, gotta go fix all the other MCUs and builds now. :(
* 1.55V AA battery should not show as "white" voltage color, only purpleSelene ToyKeeper2023-11-211-1/+1
|
* started refactoring fsm/adc.*, but need a checkpoint before continuingSelene ToyKeeper2023-11-192-24/+14
|
* 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-198-0/+822
| | | | | ADC doesn't work yet. No voltage, no temperature. I need to do a lot of refactoring on the ADC code. :(
* thefreeman/boost*: define Vref values more explicitly without magic numbersSelene ToyKeeper2023-11-194-18/+22
|
* moved prevent_reboot_loop() and some other junk out of fsm/main.cSelene ToyKeeper2023-11-197-47/+42
|
* temporary fix for aux LEDs on avrdd; needs proper refactoringSelene ToyKeeper2023-11-191-3/+6
|
* missed a "include -> HWDEF_H" conversion earlierSelene ToyKeeper2023-11-191-1/+2
|
* ramp-mode: allow hwdef to adjust gradual tick speedSelene ToyKeeper2023-11-192-1/+7
| | | | | | | | The gradual tick frequency was written for 8-bit PWM, but it can be too slow on hardware with more bits. The hwdef can compensate by using larger steps, but that makes adjustments more visible... So this provides an option to increase speed without visibility.
* version check: allow hex digitsSelene ToyKeeper2023-11-191-1/+4
|
* refactor checkpoint: splitting MCU-specific code into arch/$MCU.[ch]Selene ToyKeeper2023-11-1057-642/+862
| | | | 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)
* added a Makefile, so either `make` or `./make` can be used for most tasksSelene ToyKeeper2023-11-071-0/+28
| | | | | | | | | | | | | | | | | | | `make` doesn't always work, like when the user tries to do certain types of CLI args, but it's handy to have as a convenience sometimes. What works: - make - make clean - make hank boost - make me a sandwich What doesn't work: - make foo --bar - make foo BAR=1 The `make` program eats some types of arguments.
* oops, missed a venv name change in the readmeSelene ToyKeeper2023-11-071-1/+1
|
* Merge branch 'pr-16-SammysHP-momentary-turbo' into trunkSelene ToyKeeper2023-11-071-0/+1
|\ | | | | | | | | | | | | | | Super simple, easy method for allowing turbo in Momentary Mode. * pr-16-SammysHP-momentary-turbo: shortened unnecessarily long explanation Allow turbo in momentary mode
| * shortened unnecessarily long explanationSelene ToyKeeper2023-11-071-5/+1
| |
| * Merge branch 'momentary-turbo' of github.com:SammysHP/anduril into ↵Selene ToyKeeper2023-11-071-0/+5
|/| | | | | | | | | | | | | pr-16-SammysHP-momentary-turbo * 'momentary-turbo' of github.com:SammysHP/anduril: Allow turbo in momentary mode
| * Allow turbo in momentary modeSammysHP2023-11-071-0/+5
| |
* | fail pull requests if author accidentally committed a new version.hSelene ToyKeeper2023-11-071-0/+4
| |
* | recommend .venv/ instead of env/ for python depsSelene ToyKeeper2023-11-072-4/+7
| |
* | shell script cleanup (fix lint warnings, remove unused scripts)Selene ToyKeeper2023-11-0716-90/+64
| |
* | Merge branch 'pull15' into trunkSelene ToyKeeper2023-11-079-9/+9
|\ \ | |/ |/| | | | | | | | | | | | | Using '#!/usr/bin/env foo' is a good idea in general, and it might fix builds on MacOS and other non-debian platforms. * pull15: Changed bash and sh shebangs to /usr/bin/env Update make shebang for portability
| * Merge branch 'trunk' of github.com:GarikFirst/anduril into pull15Selene ToyKeeper2023-11-079-9/+9
|/| | | | | | | | | | | | | | | | | Fixes bug 13 maybe? https://github.com/ToyKeeper/anduril/issues/13 * 'trunk' of github.com:GarikFirst/anduril: Changed bash and sh shebangs to /usr/bin/env Update make shebang for portability
| * Changed bash and sh shebangs to /usr/bin/envIgor Bulekov2023-11-078-8/+8
| |
| * Update make shebang for portabilityGarik First2023-11-071-1/+1
| |
* | made build fail if eeprom data bigger than MCU's eeprom sizeSelene ToyKeeper2023-11-073-38/+49
|/ | | | | Based on techniques suggested by DurvalMenezes here: https://github.com/ToyKeeper/anduril/pull/4
* memesSelene ToyKeeper2023-11-061-0/+2
|
* build-all.sh: don't err when search term starts with a dashSelene ToyKeeper2023-11-061-1/+1
|
* fixed invalid characters in github artifact namesSelene ToyKeeper2023-11-051-1/+1
| | | | | | | | | | This failed just a couple runs after adding CI, giving an error when someone had a slash in their pull request title: Error: Artifact name is not valid: build all-6/merge-4d210ad-8. Contains the following character: Forward slash / But the filename seems plenty unique even without the ${GITHUB_REF_NAME}, so I removed it.
* Merge branch 'johnou-bugfix/no-simple-ui-error' into trunkSelene ToyKeeper2023-11-051-9/+10
|\ | | | | | | | | | | * johnou-bugfix/no-simple-ui-error: more consistent syntax, to avoid failed builds when various options are used Fix compile error when Simple UI is undefined.
| * more consistent syntax, to avoid failed builds when various options are usedSelene ToyKeeper2023-11-051-14/+12
| |
| * Merge branch 'bugfix/no-simple-ui-error' of github.com:johnou/anduril into ↵Selene ToyKeeper2023-11-051-2/+5
|/| | | | | | | | | | | | | johnou-bugfix/no-simple-ui-error * 'bugfix/no-simple-ui-error' of github.com:johnou/anduril: Fix compile error when Simple UI is undefined.
| * Fix compile error when Simple UI is undefined.Johno Crawford2023-11-061-2/+5
| |
* | Merge branch 'DurvalMenezes-undef_USE_MANUAL_MEMORY_fix' into trunkSelene ToyKeeper2023-11-053-5/+11
|\ \ | |/ |/| | | | | | | * DurvalMenezes-undef_USE_MANUAL_MEMORY_fix: fixed build errors when #undef USE_MANUAL_MEMORY (previous commit still failed) Fixes syntax errors when USE_MANUAL_MEMORY is undefined.
| * fixed build errors when #undef USE_MANUAL_MEMORYSelene ToyKeeper2023-11-053-7/+7
| | | | | | | | (previous commit still failed)
| * Merge branch 'trunk' into DurvalMenezes-undef_USE_MANUAL_MEMORY_fixSelene ToyKeeper2023-11-055-18/+102
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | * trunk: removed test branch from action triggers (the action works and seems ready to merge) test: is apt-get any faster than apt? github actions: cache the Atmel DFP files between runs fixed intentional error, because CI build-fail test worked correctly help CI detect build failures initial test to fix branch names and see if actions work make clean: don't remove files in arch/dfp/ docs: added info on contributing, fixed minor formatting issues basic compile workflow publishing artifacts to test
* | Merge branch 'gretel-actions' into trunkSelene ToyKeeper2023-11-053-2/+52
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | adds basic CI to ensure all build targets compile * gretel-actions: removed test branch from action triggers (the action works and seems ready to merge) test: is apt-get any faster than apt? github actions: cache the Atmel DFP files between runs fixed intentional error, because CI build-fail test worked correctly help CI detect build failures initial test to fix branch names and see if actions work basic compile workflow publishing artifacts to test
| * | removed test branch from action triggersSelene ToyKeeper2023-11-051-1/+1
| | | | | | | | | | | | (the action works and seems ready to merge)
| * | test: is apt-get any faster than apt?Selene ToyKeeper2023-11-051-3/+3
| | |
| * | github actions: cache the Atmel DFP files between runsSelene ToyKeeper2023-11-051-2/+13
| | |
| * | fixed intentional error, because CI build-fail test worked correctlySelene ToyKeeper2023-11-051-1/+1
| | |