aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* bikeflash: Cap default brightness to max, defineShane Synan2023-11-281-1/+9
| | | | | | | | | | | | | | | | Cap fallback default bike flasher brightness to stay below MAX_BIKING_LEVEL, fixing noFET/boost driver builds where MAX_1x7135 is above MAX_BIKING_LEVEL. Add the optional define DEFAULT_BIKING_LEVEL to set the default bike flasher brightness. This is NOT checked against MAX_BIKING_LEVEL, for simplicity. Alternatively, strobe-modes.c could be updated to check if the value exceeds MAX_BIKING_LEVEL at runtime. However, that might take up more flash space. Migrated from https://code.launchpad.net/~digitalcircuit/flashlight-firmware/anduril2_fix_nofet_bikeflash/+merge/408124
* 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
| | |
| * | help CI detect build failuresSelene ToyKeeper2023-11-053-3/+4
| | | | | | | | | | | | | | | | | | 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
| * | initial test to fix branch names and see if actions workSelene ToyKeeper2023-11-051-6/+11
| | |
| * | Merge branch 'actions' of github.com:gretel/anduril-tk into gretel-actionsSelene ToyKeeper2023-11-051-0/+33
|/| | | | | | | | | | | | | | | | | | | | | | | https://github.com/ToyKeeper/anduril/pull/1 "simple github actions workflow for continous integration" * 'actions' of github.com:gretel/anduril-tk: basic compile workflow publishing artifacts to test
| * | basic compile workflow publishing artifacts to testTom Hensel2023-11-051-0/+33
| | |
* | | make clean: don't remove files in arch/dfp/Selene ToyKeeper2023-11-051-2/+2
| | |
* | | docs: added info on contributing, fixed minor formatting issuesSelene ToyKeeper2023-11-052-14/+48
| | |
| | * Fixes syntax errors when USE_MANUAL_MEMORY is undefined.Durval Menezes2023-11-051-1/+7
| |/ |/|
* | detect-mcu.sh: don't hang when MCU isn't found; exit with an error insteadSelene ToyKeeper2023-11-041-0/+4
| |
* | added missing noctigon-k9.3 files hidden by an overzealous .gitignore ruleSelene ToyKeeper2023-11-045-2/+4
|/
* renamed anduril-manual.txt -> anduril-manual.mdSelene ToyKeeper2023-11-042-1/+1
|
* converted anduril-manual.txt to markdown formatSelene ToyKeeper2023-11-041-510/+595
|
* improved DFP setup and support:Selene ToyKeeper2023-11-046-30/+118
| | | | | | | | - `./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.
* @hank-*-boost: reduced ripple on low modesSelene ToyKeeper2023-11-042-4/+8
| | | | | | | | | | | | by raising MCU clock speed to half at levels 2+ instead of the previous value of 1/4th speed I tried full speed too, which makes ripple much smaller and faster... but it also causes a big jump in brightness between levels 1 and 2. My lux meter shows ~350 at 1/150 or ~500 at 2/150, but at half speed it's ~650 at 2/150, and at full speed it's ~1100 at 2/150. So I went for a happy medium to balance ripple, brightness, and runtime.
* @hank-*-boost: fixed flicker while holding button at moonSelene ToyKeeper2023-11-041-0/+2
| | | | | @hank-noctigon-kr4-boost, @hank-noctigon-k1-boost, @hank-noctigon-dm11-boost (0216, 0253, 0273)
* detect-mcu.sh: oops, that line of help text wasn't supposed to be executedSelene ToyKeeper2023-11-031-1/+1
|
* documentation updates...Selene ToyKeeper2023-11-036-517/+113
| | | | | | | | - fleshed out main README.md a bit - improved github formatting for docs/which-hex-file.md - added 'make docs' to preview .md files as .html - ignore html files generated by 'make docs' - removed rampingios-v3.html file generated years ago
* added docs/which-hex-file.md to answer the #1 FAQSelene ToyKeeper2023-11-031-0/+39
|
* './make clean' should remove generated .cpp files tooSelene ToyKeeper2023-11-031-2/+2
| | | | (C preprocessor output files, used only for debugging)
* renamed tk*.h in file contents, and deleted unused filesSelene ToyKeeper2023-11-0313-269/+13
|
* renamed tk*.h to arch/*.h or fsm/*.h (part 1)Selene ToyKeeper2023-11-036-0/+0
| | | | to get them out of the root dir, and to start cleaning up mcu/arch code