Commit Graph

177 Commits

Author SHA1 Message Date
Ben V. Brown 833de0f666 Make LED toggle part of config 2024-05-12 20:25:04 +10:00
Ben V. Brown 7365d8e6b8 Merge branch 'main' into anc-testing 2024-05-12 19:14:16 +10:00
Ben V. Brown 0751b1cf75
Merge pull request #101 from nicka101/main
Functional UART logging both inside and outside dev container
2024-05-12 18:57:33 +10:00
Nick Anstee b61712a01c Functional UART logging both inside and outside dev container
Adds minicom and sudo to the docker image
Switches the shebang line to bash to fix a bug in uart_log.sh when
 inside the container (-n option to read requires bash)
2024-05-10 18:05:30 +02:00
Ben V. Brown d8be791cad
Merge pull request #100 from nicka101/main
Enable LDAC in the build
2024-05-10 13:22:05 +10:00
nicka101 839d513367 Enable LDAC in the build
Permit LDAC to be enabled independenly of LHDC
Fix a bug/oversight in bt_sbc_player which caused system frequencies above 52M to be ignored
2024-05-10 04:22:21 +02:00
Ben V. Brown 61f736b66b
Merge pull request #99 from nicka101/patch-1
Update uart_log.sh for easier debugging
2024-05-10 08:47:37 +10:00
Nick Anstee 3e95c41c0d
Update uart_log.sh
Pick the serial device by ID, allowing us to safely predict the paths to find the left and right bud at
Also improve the script so it asks which bud we'd like to debug
Specify necessary minicom options, so it opens even if the default configuration is invalid
2024-05-09 19:00:34 +02:00
Ben V. Brown ea0d5b067a Update target.mk 2024-02-07 12:04:14 +11:00
Haxk20 851fb95dcb anc: Fix enable/disable from slave bud
Switching ANC on or off from master bud has always worked
since we could just straight up enable it and no command had to be
sent.

When switching from slave bud we had to send the command to enable
or disable it via app_anc_key. Issue is the handling of this request
is from app_anc_cmd_receive_process which is not called without
APP_ANC being defined.

This commit cleans up the way ANC is enabled and also fixes slave
bud ANC switching by implementing the actual code path :)
2024-02-07 12:04:14 +11:00
Ben V. Brown bc68d1628e Turn off resample for now (to avoid 56k profile) 2024-02-07 12:03:38 +11:00
Ben V. Brown 9f5d2d6956 Port fb tuning values 2024-02-07 12:03:38 +11:00
Ben V. Brown c76a31e13a Update decoder 2024-02-07 12:03:38 +11:00
Ben V. Brown 5bc29ea41e Port some rough anc numbers from firmware dump 2024-02-07 12:03:38 +11:00
Ben V. Brown b540007bcc Scratching debug tool for anc poking 2024-02-07 12:03:38 +11:00
Ben V. Brown 802822fbb6 Note WNR is off 2024-02-07 12:03:38 +11:00
Ben V. Brown fd2c9386c7 Try higher gain for anc 2024-02-07 12:03:38 +11:00
Ben V. Brown 725dcc4421 Update target.mk 2024-02-07 12:03:38 +11:00
Ben V. Brown c1dd03c127 Update target.mk 2024-02-07 12:03:38 +11:00
Ben V. Brown 68c0f2e047 Update analog_best2300p.c 2024-02-07 12:03:38 +11:00
Ben V. Brown b63b1b3a39 Add logging to anc init 2024-02-07 12:03:38 +11:00
Ben V. Brown 9f525debd0 Cant do inline comments on makefile target config 2024-02-07 12:03:38 +11:00
Ben V. Brown fb1dd221d5 Make warning on no anc VMIC 2024-02-07 12:03:38 +11:00
Ben V. Brown 7b21c7bcb5 Edit config for mics 2024-02-07 12:03:38 +11:00
Ben V. Brown eb232e87ed Annotate config options 2024-02-07 12:03:38 +11:00
Ben Brown 124f0545f8 Creating Multi Arch Container 2024-01-26 09:47:47 +11:00
Ben V. Brown 42451f7f7d
Merge pull request #85 from pine64/dependabot/github_actions/actions/upload-artifact-4
chore(ci): bump actions/upload-artifact from 3 to 4
2023-12-18 12:46:25 +11:00
dependabot[bot] 2cb04b7925
chore(ci): bump actions/upload-artifact from 3 to 4
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 01:21:21 +00:00
Ben V. Brown 7facfe997c
Merge pull request #65 from pine64/dependabot/github_actions/actions/checkout-4
chore(ci): bump actions/checkout from 3 to 4
2023-09-11 12:18:49 +10:00
dependabot[bot] 0d9a87fc90
chore(ci): bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 01:24:38 +00:00
Ben V. Brown 936fc4c98f
Merge pull request #61 from MultiBuds/limit-container-workflow-to-main
Limit container workflow runs to `main` branch *only*
2023-07-05 12:41:34 +10:00
Dom Rodriguez f7087764d0
Limit container workflow runs to `main` branch *only* 2023-07-02 20:03:19 +01:00
Ben V. Brown 1aba951de6
Merge pull request #56 from MultiBuds/fix-container-build-on-forks
Fix container builds on forks
2023-06-27 09:12:24 +10:00
Ben V. Brown 26ed719d5d
Merge pull request #59 from MultiBuds/clarify-readme-osi
Clarify README regarding open-source license
2023-06-27 09:11:08 +10:00
Dom Rodriguez c82babe9c7
Fix container builds on forks
This PR changes the 'build-and-push-to-registry' workflow to only run on
the Pine64 repository, which prevents image pushing errors occurring.

By doing this, we ensure the container images only come from the Pine64
OpenPineBuds repository.
2023-06-26 17:08:33 +01:00
Dom Rodriguez 244265c72b
Clarify README regarding open-source license
This is related to #18.
2023-06-26 16:37:14 +01:00
Ben V. Brown 73a0cebe0e
Merge pull request #58 from MultiBuds/use-docker-image-compose
compose: Use repository's container image for dev env
2023-06-25 18:48:46 +10:00
Dom Rodriguez eb63bce0f4
compose: Use repository's container image for dev env
This changes the `docker-compose.yml` file to use the Pine64
OpenPineBuds repository's container image for the development
environment, but the user has the option to build from scratch.
2023-06-20 17:51:25 +01:00
Ben V. Brown 70966479f6
Merge pull request #57 from nik012003/main
Updated to docker compose
2023-06-17 12:06:49 +10:00
Nicola Guerrera dd511a4303 Updated to docker compose 2023-06-16 21:49:24 +02:00
Ben V. Brown 53f77ed9d1
Merge pull request #48 from FintasticMan/no_blue_light_when_connected
Don't flash blue LED when connected to bluetooth
2023-05-20 15:06:49 +10:00
Ben V. Brown 172eb15036
Merge pull request #53 from MultiBuds/mkfile-use-shell-builtins
fix(makefile): Use shell-builtins in Makefile
2023-05-19 10:12:20 +10:00
Ben V. Brown 7b19212153
Merge pull request #54 from MultiBuds/use-usr-bin-env-for-scripts
refactor(scripts): Use `#!/usr/bin/env` as part of shebang
2023-05-19 10:11:49 +10:00
Dom Rodriguez 0de5c65497
fix(makefile): Use shell-builtins in Makefile
This improves portability, especially on systems like NixOS, where
`/bin/pwd` and `/usr/bin/printf` do not exist.
2023-05-19 00:46:44 +01:00
Dom Rodriguez 8e3ac20145
refactor(scripts): Use `#!/usr/bin/env` as part of shebang
This resolves build errors in systems like NixOS, where `/bin/bash`
doesn't exist.
2023-05-19 00:45:38 +01:00
Finlay Davidson 380da2a74d Add note in README about blue LED when connected 2023-03-01 01:13:35 +01:00
Ben V. Brown 185cc2bc29
Merge pull request #49 from FintasticMan/apply_shellcheck
Apply changes suggested by shellcheck
2023-02-21 07:16:21 +11:00
Finlay Davidson e5d98d072f Add compile option for blue light when connected 2023-02-20 11:30:10 +01:00
Finlay Davidson 0b58ae6cb2 Don't flash blue LED when connected to bluetooth 2023-02-20 11:17:35 +01:00
Finlay Davidson 49f3e2a10c Switch to find over ls -l 2023-02-20 11:13:48 +01:00