Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
wip

DSP settings trough menuconfig

Latest binaries by github-actions

Update README.md

added esp-audio builds. new installer landing

missing configs

build fix

build fix

template fix

parallel build

Features/fix-for-ipv6-lookup-fail (#9)

* Removed hardcoded ipv4 snapserver discovery

* Enabled DSP/EQ on esparagus boards

---------

Co-authored-by: Andriy Malyshenko <[email protected]>
Co-authored-by: github-actions <[email protected]>

Latest binaries by github-actions

Latest binaries by github-actions

Latest binaries by github-actions

DSP settings trough menuconfig

Latest binaries by github-actions

added esp-audio builds. new installer landing

build fix

wip

build fix

build fix #2

build fix

build fix pią, 25 paź 2024, 15:18:58 CEST

Latest binaries by github-actions

build fix pią, 25 paź 2024, 15:27:34 CEST

build fix pią, 25 paź 2024, 15:28:55 CEST

build fix pią, 25 paź 2024, 15:34:33 CEST

Latest binaries by github-actions

added configs pią, 25 paź 2024, 22:31:27 CEST

added configs pią, 25 paź 2024, 22:32:08 CEST

Latest binaries by github-actions

updated devices.json

Features/fix-for-ipv6-lookup-fail (#9)

* Removed hardcoded ipv4 snapserver discovery

* Enabled DSP/EQ on esparagus boards

---------

Co-authored-by: Andriy Malyshenko <[email protected]>
Co-authored-by: github-actions <[email protected]>
  • Loading branch information
Andriy Malyshenko and github-actions committed Oct 26, 2024
1 parent b552750 commit 9546e78
Show file tree
Hide file tree
Showing 435 changed files with 61,469 additions and 4,644 deletions.
35 changes: 20 additions & 15 deletions .github/workflows/build-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,30 +21,35 @@ jobs:
with:
submodules: 'true'

- run: |
git config --global --add safe.directory /__w/esparagus-snapclient/esparagus-snapclient
git config user.name github-actions
git config user.email [email protected]
- run: |
datestring=$(date '+%Y-%m-%d')
. $IDF_PATH/export.sh
for config in 'hifi-esparagus' 'loud-esparagus' 'louder-esparagus' 'lyra-t-4.2' 'lyra-t-4.3' 'lyra-t-mini' 'korvo' 'esp-ai-thinker' ; do
echo Building $config
for config_file in configs/sdkconfig.*; do
config=${config_file#configs/sdkconfig.}
if [[ "$config" == "old" ]]; then
continue
fi
echo Building $config
cp sdkconfig.$config sdkconfig
idf.py build
cp $config_file sdkconfig
idf.py build
cp build/snapclient.bin ./docs/artifacts/$config-snapclient-$datestring-snapclient.bin
cp build/storage.bin ./docs/artifacts/$config-snapclient-$datestring-storage.bin
cp build/ota_data_initial.bin ./docs/artifacts/$config-snapclient-$datestring-ota_data_initial.bin
cp build/bootloader/bootloader.bin ./docs/artifacts/$config-snapclient-$datestring-bootloader.bin
cp build/partition_table/partition-table.bin ./docs/artifacts/$config-snapclient-$datestring-partition-table.bin
cp build/snapclient.bin ./docs/artifacts/binaries/$config-snapclient-$datestring-snapclient.bin
cp build/storage.bin ./docs/artifacts/binaries/$config-snapclient-$datestring-storage.bin
cp build/ota_data_initial.bin ./docs/artifacts/binaries/$config-snapclient-$datestring-ota_data_initial.bin
cp build/bootloader/bootloader.bin ./docs/artifacts/binaries/$config-snapclient-$datestring-bootloader.bin
cp build/partition_table/partition-table.bin ./docs/artifacts/binaries/$config-snapclient-$datestring-partition-table.bin
sed -e "s/latest/$datestring/g" ./docs/artifacts/templates/manifest-$config-template.json > ./docs/artifacts/manifest-$config-latest.json
sed -e "s/latest/$datestring/g" ./docs/artifacts/templates/manifest-$config-template.json > ./docs/artifacts/manifest-$config-latest.json
done
- run: |
git config --global --add safe.directory /__w/esparagus-snapclient/esparagus-snapclient
git config user.name github-actions
git config user.email [email protected]
- run: |
git add ./docs/artifacts
git commit -m "Latest binaries by github-actions"
Expand Down
20,943 changes: 20,943 additions & 0 deletions .vscode-ctags

Large diffs are not rendered by default.

10 changes: 9 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
"tas5805m.h": "c",
"audio_volume.h": "c",
"i2c_bus.h": "c",
"esp_log.h": "c"
"esp_log.h": "c",
"cstdint": "c",
"board.h": "c",
"random": "c",
"tas5805m_2.0+agl_-12db.h": "c",
"tas5805m_1.0+3-band_drc+agl_-12db.h": "c",
"tas5805m_0.1+eq_40hz_cutoff.h": "c",
"tas5805m_1.1+eq_60hz_cutoff+left.h": "c",
"tas5805m_2.0+minimal.h": "c"
}
}
70 changes: 59 additions & 11 deletions components/audio_board/Kconfig.projbuild
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ menu "Audio Board"
config DAC_TAS5805M
bool "Texas Instruments TAS5805M"

config DAC_PT8211
bool "Princeton Technology PT8211"
select I2S_USE_MSB_FORMAT
config DAC_PT8211
bool "Princeton Technology PT8211"
select I2S_USE_MSB_FORMAT
endchoice

menu "DAC I2C control interface"
Expand Down Expand Up @@ -171,14 +171,62 @@ menu "Audio Board"

endmenu

menu "DAC-Operation-Mode"
depends on DAC_TAS5805M

config DAC_BRIDGE_MODE
bool "Enable Bridge-Mode"
default false if DAC_TAS5805M
help
If enabled left channel will be played with more power. To use the right channel please change Word-Select-Setting in Logic-Level-Settings.
menu "DAC DSP Mode"
depends on DAC_TAS5805M

choice DAC_TAS5805M_DSP
prompt "TAS5805M DSP configuration"
default DAC_TAS5805M_DSP_STEREO
help
Select a DAC DSP settings, including mixer configuration, output mode, EQ, Loudness and AGL settings

config DAC_TAS5805M_DSP_STEREO
bool "Flat STEREO mode with no processing"

config DAC_TAS5805M_DSP_STEREO_AGL
bool "Flat STEREO mode with Automatic Gain Limiter"

config DAC_TAS5805M_DSP_STEREO_DRC
bool "Flat STEREO mode with Dynamic Range Compression"

config DAC_TAS5805M_DSP_STEREO_DRC_AGL
bool "Flat STEREO mode with both Dynamic Range Compression and Automatic Gain Limiter"


config DAC_TAS5805M_DSP_MONO
bool "Flat BRIDGED MONO mode with (L+R)/2 routing"

config DAC_TAS5805M_DSP_MONO_AGL
bool "Flat BRIDGED MONO mode with (L+R)/2 routing and Automatic Gain Limiter"

config DAC_TAS5805M_DSP_MONO_DRC
bool "Flat BRIDGED MONO mode with (L+R)/2 routing and Dynamic Range Compression"

config DAC_TAS5805M_DSP_MONO_DRC_AGL
bool "Flat BRIDGED MONO mode with (L+R)/2 routing, Dynamic Range Compression and Automatic Gain Limiter"

config DAC_TAS5805M_DSP_SUBWOOFER_40
bool "Subwoofer BRIDGED MONO mode with (L+R)/2 routing and 40 Hz cutout"

config DAC_TAS5805M_DSP_SUBWOOFER_60
bool "Subwoofer BRIDGED MONO mode with (L+R)/2 routing and 60 Hz cutout"

config DAC_TAS5805M_DSP_SUBWOOFER_100
bool "Subwoofer BRIDGED MONO mode with (L+R)/2 routing and 100 Hz cutout"

config DAC_TAS5805M_DSP_SUBWOOFER_100_AGL
bool "Subwoofer BRIDGED MONO mode with (L+R)/2 routing, 100 Hz cutout and Automatic Gain Limiter"

config DAC_TAS5805M_DSP_BIAMP
bool "Bi-Amp MONO mode with (L+R)/2 routing and 60Hz crossover"

config DAC_TAS5805M_DSP_BIAMP_60_LEFT
bool "Bi-Amp MONO mode with LEFT channel only and 60Hz crossover"

config DAC_TAS5805M_DSP_BIAMP_60_RIGHT
bool "Bi-Amp MONO mode with RIGHT channel only and 60Hz crossover"

endchoice
endmenu

menu "I2S slave interface"
Expand Down
5 changes: 0 additions & 5 deletions components/custom_board/tas5805m/include/tas5805m.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@
#include "esp_err.h"
#include "esp_log.h"
#include "board.h"
// #include "tas5805m_2.0+minimal.h"
// #include "tas5805m_2.0+3-band_drc.h"
// #include "tas5805m_2.0+3-band_drc+agl_-12db.h"
// #include "tas5805m_0.1+eq_60Hz_cutoff.h"
// #include "tas5805m_0.1+eq_100Hz_cutoff+drc.h"

#ifdef __cplusplus
extern "C"
Expand Down
3 changes: 2 additions & 1 deletion components/custom_board/tas5805m/include/tas5805m_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,5 @@ extern "C"
#define TAS5805M_PIN_CONTROL1_REGISTER 0x74
#define TAS5805M_PIN_CONTROL2_REGISTER 0x75
#define TAS5805M_MISC_CONTROL_REGISTER 0x76
#define TAS5805M_FAULT_CLEAR_REGISTER 0x78
#define TAS5805M_FAULT_CLEAR_REGISTER 0x78

Loading

0 comments on commit 9546e78

Please sign in to comment.