193 Commits

Author SHA1 Message Date
Matthias Ringwald
07b2f89f99 esp32: ignore volume control until audio initialized 2022-11-18 17:01:25 +01:00
Matthias Ringwald
319b8e483e esp32: fix audio driver for sink + source mode 2022-11-17 21:44:22 +01:00
Matthias Ringwald
5524a00429 esp32: update port, only add required files to esp-idf component 2022-11-16 12:27:53 +01:00
Matthias Ringwald
2490d60885 esp32: fix build 2022-11-15 21:18:16 +01:00
Matthias Ringwald
76a7b6f546 esp32: adapt i2s buffer size to sample rate 2022-11-14 16:14:51 +01:00
Matthias Ringwald
40da0d63fc esp32: make Classic support compatible with esp-idf v5.x 2022-11-13 18:58:03 +01:00
Matthias Ringwald
6d1fa2f01b esp32: avoid duplicate hci_dump_embedded_stdout.c 2022-11-11 09:12:56 +01:00
Matthias Ringwald
d7b812f078 esp32: map btstack_assert to regular assert 2022-11-10 23:04:30 +01:00
Matthias Ringwald
cc0b01d098 esp32: avoid blocking on i2s_write 2022-11-10 23:00:12 +01:00
Matthias Ringwald
766aac70d9 esp32: fix create samples 2022-11-10 10:57:13 +01:00
Matthias Ringwald
b7313a6ea3 esp32: avoid duplicate hci_dump_embedded_stdout.c 2022-11-09 18:07:44 +01:00
Matthias Ringwald
0f9627d6f9 esp32: fix compile of non-btstack examples after adding component/btstack 2022-11-05 17:11:45 +01:00
Matthias Ringwald
5e4e31166e esp32: fix printf warnings 2022-11-02 10:40:55 +01:00
Matthias Ringwald
2cbd4c4f94 esp32: enable CTKD if configured for dual-mode 2022-10-30 14:05:08 +01:00
Matthias Ringwald
742d8ed7e7 esp32: update es8388 driver for esp-idf v5.0 2022-10-25 17:28:48 +02:00
Matthias Ringwald
3a8f1ab21b esp32: add driver as private dependency 2022-10-10 15:03:56 +02:00
Matthias Ringwald
5451dc6db6 esp32: fix init for BR/EDR only mode 2022-10-10 14:26:04 +02:00
Matthias Ringwald
c518ce542f esp32: enable L2CAP ERTM for avrcp_browsing_client 2022-10-05 09:57:57 +02:00
Matthias Ringwald
59200c1c2d esp32: update readme and chipset documentation 2022-06-08 12:02:36 +02:00
Matthias Ringwald
c50041a4d4 esp32: make btstack_config depend on esp-idf sdkconfig and target mcu 2022-06-08 11:55:40 +02:00
Matthias Ringwald
cbd6aad84f esp32: map audio i2s to gpios 8,9,10,45 on esp32-s3 as on ESP32-S3-Korvo-2 V3.0 board 2022-06-08 11:55:02 +02:00
Matthias Ringwald
791126f9b6 esp32: map audio i2s to gpios 2,8,9,10 on esp32-c3 2022-06-08 11:25:25 +02:00
Matthias Ringwald
f0c8ae42c3 esp32: use #defines for I2S audio gpios 2022-06-08 11:25:25 +02:00
Matthias Ringwald
b0e734402b esp32: support LE-only versions 2022-06-08 11:25:25 +02:00
Matthias Ringwald
f83e233b86 esp32: register vhci callback after enabling controller 2022-06-08 11:25:25 +02:00
Matthias Ringwald
cb0081eb43 esp32: fix build 2022-05-23 18:15:55 +02:00
Matthias Ringwald
d39264f239 port: avoid HCI_EVENT_IS_COMMAND_COMPLETE macro 2022-05-09 21:54:36 +02:00
Matthias Ringwald
f961481b01
Merge pull request #392 from ricardoquesada/cmakefile
esp32: update CMakeLists.txt file to use new idf_component_register
2021-12-30 11:01:51 +01:00
Matthias Ringwald
61796fbee7 esp32: only process one tx/rx done event per timer handler 2021-12-29 12:06:06 +01:00
Matthias Ringwald
0e9aac8b6b esp32: support mic gain on LyraT v4.3 board 2021-12-29 12:06:06 +01:00
Matthias Ringwald
2668b53221 esp32: use PLL_CLK clock source for I2S 2021-12-29 12:06:06 +01:00
Matthias Ringwald
2116cb5fab esp32: use double-buffer for audio 2021-12-29 12:06:06 +01:00
Matthias Ringwald
52a720ae15 esp32: audio use I2S config from LyraT v4.3 board 2021-12-29 12:06:05 +01:00
Matthias Ringwald
ea6419f9b7 esp32: validate audio samplerate on stream start 2021-12-29 12:05:17 +01:00
Matthias Ringwald
ec71250290 esp32: support mono audio output 2021-12-29 12:05:17 +01:00
Matthias Ringwald
c93c6de44c esp32: support mono audio input 2021-12-29 12:04:30 +01:00
Matthias Ringwald
b57bbaee10 esp32: add audio source 2021-12-29 12:04:29 +01:00
Matthias Ringwald
e9b96b79ca esp32: setup i2s config and pins based on sink/source state 2021-12-29 11:20:04 +01:00
Matthias Ringwald
421550a67c esp32: update sdkconfig for esp-idf v4.3, disable Bluedroid host stack 2021-12-29 11:19:27 +01:00
Matthias Ringwald
aaf84b48fb esp32: handle MIC_GAIN_MIN and MIC_GAIN_MAX in es8388_set_mic_gain, set gain for both channels 2021-12-28 21:39:42 +01:00
Matthias Ringwald
559544deb6 esp32: generalize i2s queue handling 2021-12-28 21:39:42 +01:00
Matthias Ringwald
8e0e81b08a esp32: extract btstack_audio_esp32_init for sink and source 2021-12-28 21:39:42 +01:00
Matthias Ringwald
14b6dd1808 esp32: prefix audio sink globals 2021-12-28 21:39:42 +01:00
Matthias Ringwald
3cf75f39dc esp32: extract btstack_audio_esp32_es8388_initialized 2021-12-28 21:39:42 +01:00
Matthias Ringwald
c3492fad84 esp32: cleanup audio code 2021-12-28 21:39:42 +01:00
Matthias Ringwald
0ea7c42523 esp32: implement volume control for LyraT v4.3 board 2021-12-28 21:39:42 +01:00
Tim Koers
0e83ff1de7 esp32: enable BR/EDR, LE, or BR/EDR?LE based on sdkconfig 2021-12-25 22:28:38 +01:00
Ricardo Quesada
4b08a03afa esp32: update CMakeLists.txt file
This commit updates the esp32 CMakeLists.txt so that it is compatible
with the new way of creating CMakeLists.txt files in ESP-IDF.

Basically it replaces the old register_component() with
idf_component_register().

It also removes the relative references to lwip. This is because some
projects might want to puse btstack directly in their private "components"
folder (instead of being placed in the esp-idf/component folder)

It has been tested both by:
 - placing btstack in esp-idf/components
 - placing btstack in my_own_project/components

 and it compiled Ok using "idf.py build"

 Tested "pan_lwip_http_server" and compiled Ok as well.
2021-12-25 09:41:12 -08:00
Milanka Ringwald
077fecbb6e ports: add link to documentation in btstack_config.h 2021-12-09 16:42:48 +01:00
Matthias Ringwald
54317d10cc esp32: add yml to cmake build 2021-12-08 20:05:29 +01:00