Commit graph

138 commits

Author SHA1 Message Date
Ben V. Brown
3fdfaf815b Create clang-format spec 2023-01-31 21:22:20 +11:00
Ben V. Brown
19faa5dc4c Create format actions in make file 2023-01-31 21:19:12 +11:00
Ben V. Brown
40227d53c0 Add clang-format to docker file 2023-01-31 21:18:56 +11:00
Ben V. Brown
8be2eaf4cb Draft ci action 2023-01-31 08:17:02 +11:00
Ben V. Brown
4166b13d54
Merge pull request #28 from ThatcherC/build-from-mp3s-squash
Build from Sound Files
2023-01-31 07:24:00 +11:00
Ben V. Brown
764cffbaae
Merge pull request #27 from pine64/aarch64
Pull arch appropriate compiler build
2023-01-31 07:23:31 +11:00
Thatcher Chamberlin
5c393ec945 Updated README with sound instructions 2023-01-29 11:27:03 -05:00
Thatcher Chamberlin
90ed5cea80 Squashed commit of the following:
commit d21b9279462a63f292c8a6ef7d72f60bf83ea6df
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Sun Jan 29 11:12:31 2023 -0500

    Switched from WAVs to MP3s

commit 8a407aa29a6b636d8afe407089a80fc5a3f6e1b2
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Fri Jan 27 07:35:00 2023 -0500

    Re-added -j flag

commit 654b56be791ba7e9ab7407a084601a0b4f8f9619
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 23 20:40:08 2023 -0500

    Cleaned up build.mk

commit 112175c3fe8168860908c5fcd1b2b8fea0493231
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 23 20:36:18 2023 -0500

    Changed used variable names to match generated variable names

commit 0dfe30e5b66185671eb85930c8a7f63b1880f0c7
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Sun Jan 22 20:10:25 2023 -0500

    Zeroth cut at a better sound build system that makes better use of the .o/.cpp build system

commit f8131f371535e636b02b6aaef853154efff837aa
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 23:42:14 2023 -0500

    Removed parallel make - this is the only way I found to get wav->txt to run before the .txt files are included elsewhere

commit 934a42c0abd31e59bbebd6193a1db25e773d01ae
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 23:41:56 2023 -0500

    Deleted some reference code

commit 9d6a4c6638b6f74bd27f87af35451ad06de4cea8
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 23:39:02 2023 -0500

    Fixed include error and absolute paths of generated .txt files

commit ffc5d7178d8f4bbf4e76c91623c1aba85d83c1e7
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 23:38:29 2023 -0500

    Added txt to the windows-only branch

commit 1fea961998365c1483e23644cef60793cfe10e45
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 22:09:43 2023 -0500

    Renamed wav objects for consistency

commit e8d47b082a425074f0f16a29d0e54726aac1fa68
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Thu Jan 12 18:26:18 2023 -0500

    Changed out.raw to out.sbc and commented out the usage of the sbcinfo command

commit 2a0ff6569dd81f74f9f30714de8309013b4f8d9a
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 20:37:29 2023 -0500

    Added hash to out.raw so that `make -j` doesn't fail

commit 80b2c18d5d848c216a76398ab615dace029506fd
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 18:13:41 2023 -0500

    Deleted .txt sounds and fixed Make system to make them!

commit 319732a808d72dc70e03ebf8ce993ffdf7a01327
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 17:34:04 2023 -0500

    Standardized out.raw name

commit e48edd26d6a103e8b51c804416a3281122cde974
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 17:28:14 2023 -0500

    Added .wav files to tracking

commit 6a8c25eef4bf2ac477316629b37322188ba75762
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 17:26:33 2023 -0500

    Force ffmpeg overwrite

commit 03b50a544d579dadc573fb75e138ee0561d733f2
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 08:45:41 2023 -0500

    Removed extraneous slashes

commit b4670dc68a274d572005d093e471e4a1c982ed16
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 08:44:41 2023 -0500

    Added explicit verbosity

commit 2c8cdeea6ecbfbffc7cc4dc4ccb1bd4ac50c7f8a
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 08:11:02 2023 -0500

    Annotate xxd command args

commit 51d97b1033afcb561b89586fd7d8ffd78a35d43a
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 08:04:04 2023 -0500

    Added -aq audio quality flag to keep file sizes the same

commit 1e2b28a42fa6752d181b69fa655a165195d8e8d6
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Tue Jan 10 08:03:48 2023 -0500

    Fixed -ar audio rate flag

commit 4b19a367acc4fc6ee47777bbf5560de2fbbf86e7
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 9 21:50:40 2023 -0500

    Annotated ffmpeg args

commit 363ad5ceffc7580843728cff2ae87450233a473c
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 9 21:12:21 2023 -0500

    Modified Makefile (system) to auto-build wav files from txt files

    NOTE: this is kind of the opposite of what we want, so the next step
    will be to reverse to order and build txt files from wave files each time
    instead

commit 462a57a3ca2e328f3208c75468f68af4c946d42c
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 9 20:46:43 2023 -0500

    Added missing quotes

commit 965a4b96d274b1e0b1aeb3fec400a55743765d25
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 9 20:43:01 2023 -0500

    Updated convert.sh help message

commit ef84de0b949e76e37b81db15da57f924777c30dd
Author: Thatcher Chamberlin <j.thatcher.c@gmail.com>
Date:   Mon Jan 9 20:42:41 2023 -0500

    Added output name to convert.sh
2023-01-29 11:16:07 -05:00
Ben Brown
16c5ae9b20 Pull arch appropriate compiler build 2023-01-22 20:51:53 +11:00
Ben V. Brown
cede4b1c01
Merge pull request #13 from ThatcherC/typos
A couple README typo fixes
2023-01-08 13:05:24 +11:00
Thatcher Chamberlin
879d4f0daa Spelling changes 2023-01-07 20:41:25 -05:00
Thatcher Chamberlin
6b80082fbe 200,000 -> 2,000,000 baud 2023-01-07 20:41:05 -05:00
Ben V. Brown
d9ade9c938
Merge pull request #6 from open-morphs/add-devcontainer
Initial commit for the Development Container config
2023-01-08 10:01:26 +11:00
Dom Rodriguez
533b8b39e2
Initial commit for the Development Container config
This commit adds a .devcontainer directory, with the Dockerfile in the
configuration told to use the Dockerfile in the parent directory.

Using Development Containers means the environment is reproducible on
developer machines,
and reduces the barrier to entry for development. It also allows GitHub
Codespaces to be used.

Signed-off-by: Dom Rodriguez <shymega@shymega.org.uk>
2023-01-07 15:50:09 +00:00
Ben V. Brown
b63fe2481e
Merge pull request #9 from Spagett1/main
Improving the EQ values
2023-01-07 21:19:04 +11:00
Spagett
d448e6ac91
Merge branch 'pine64:main' into main 2023-01-07 20:46:47 +10:30
Ben V. Brown
33d9ba11bc
Merge pull request #12 from open-morphs/refactor-dockerfile
Refactor Dockerfile - see description
2023-01-07 13:50:46 +11:00
Ben V. Brown
afca9d809e
Merge pull request #10 from open-morphs/add-github-action-containers
Add support for GH Actions container build workflow
2023-01-07 13:24:37 +11:00
Ben V. Brown
2bbea8af88
Merge pull request #11 from open-morphs/add-dependabot
Add support for Dependabot
2023-01-07 13:23:01 +11:00
Dom Rodriguez
af08f3dbda
Merge pull request #2 from ThatcherC/no-docker-compose-command
Remove "command: bash" line
2023-01-06 20:21:03 +00:00
Thatcher Chamberlin
6fdfed449d Removed the "command: bash" line so that ./start_dev.sh works 2023-01-06 15:02:46 -05:00
Dom Rodriguez
71fedffbad
Refactor Dockerfile - see description
- Use Debian Bullseye as `base` image.
- Use proper `LABEL` for authors/maintainers.
- Multi-stage builds.
- Download Rust via rustup.
- Combine RUN commands to reduce layers.
2023-01-06 19:11:56 +00:00
Dom Rodriguez
01f547aa90
Add support for Dependabot
This commit adds support for Dependabot, which will automatically make
PRs on a weekly basis (if necessary) for GitHub Actions and the
Dockerfile.
2023-01-06 19:10:23 +00:00
Dom Rodriguez
fdbb384178
Add support for GH Actions container build workflow
This commit adds support for a container build workflow, that, upon
pushes to the repo, but *not* pull requests, builds a container image at
one at a time, and pushes to GitHub Registry.
2023-01-06 19:05:01 +00:00
Spagett
982883253b
Merge branch 'pine64:main' into main 2023-01-06 02:23:47 +10:30
Ben V. Brown
d3a6ef0784
Merge pull request #8 from ThatcherC/add-backup
Add backup script
2023-01-05 14:43:48 +11:00
Thatcher Chamberlin
d987f5f9f1 Added backup instructions 2023-01-04 21:48:10 -05:00
Thatcher Chamberlin
cc1738ef0b Added backup.sh script 2023-01-04 20:55:59 -05:00
Laar3
afeb59776e Improved the EQ values 2023-01-04 11:08:38 +10:30
Ben V. Brown
56d75943a1
Merge pull request #5 from ThatcherC/playback-typo
Fixed a typo where 'playback' was sometimes spelled 'palyback'
2023-01-02 08:43:35 +11:00
Thatcher
3f03dc7731 Fixed a typo where 'playback' was sometimes spelled 'palyback' 2023-01-01 13:18:59 -05:00
Ben V. Brown
1e252be66e
Merge pull request #4 from pure5665/main
Add xxd and ffmpeg for convert.sh
2022-12-31 17:13:41 +11:00
pure
07ef1d0a09
Add xxd and ffmpeg for convert.sh 2022-12-31 07:04:46 +01:00
Ben V. Brown
2cc53ca4f5 Merge branch 'main' of github.com:Ralim/PineBuds-Open-SDK 2022-12-30 23:19:45 +11:00
Ben V. Brown
65de1f6637
Merge pull request #3 from Laar3/main
Added script to convert wav files for use in firmware.
2022-12-30 23:19:33 +11:00
Laar3
cab6c2c429 added script to convert wav files for use in firmware. 2022-12-30 22:41:52 +10:30
Ben V. Brown
8bdaa27267 Remove old button handlers 2022-12-30 22:57:25 +11:00
Ben V. Brown
8838372781 Long hold => ANC 2022-12-30 22:42:58 +11:00
Ben V. Brown
5af64d048c Update README.md 2022-12-30 22:33:47 +11:00
Ben V. Brown
bce934e8ca Add handlers for forward/reverse events 2022-12-30 22:24:39 +11:00
Ben V. Brown
1c7d914285 Update hal_key.h 2022-12-30 22:23:34 +11:00
Ben V. Brown
1e0e9848ca Update README.md 2022-12-30 21:11:11 +11:00
Joe Maples
ebc8e23da0 Redo the EQ, big improvement
Configured Peace to gernerate peak filters, and all 13 bands it provides by default
2022-12-30 21:09:49 +11:00
Joe Maples
24ffc8f78b Add custom EQ values
Signed-off-by: Joe Maples <joe@maples.dev>
2022-12-30 21:09:40 +11:00
Ben V. Brown
87ba448f54 TWS swap more reliable 2022-12-30 21:01:38 +11:00
Ben V. Brown
bc29fb1aaa use local vol change 2022-12-30 20:30:59 +11:00
Ben V. Brown
e426342bc1 have to be a better mock
It seems to assert >0 for success
2022-12-30 20:30:51 +11:00
Ben V. Brown
06543e9899 Stubs for anc to build with keyboard off 2022-12-30 20:23:10 +11:00
Ben V. Brown
19df067d84 Turn on indicators; turn off debug bt addr; turn off enumeration as a keyboard 2022-12-30 20:22:47 +11:00
Ben V. Brown
28c94ee276 Perform TWS handoff before shutting down the bud
Fixes audio pausing when you put one of them away
2022-12-29 23:17:17 +11:00