Search found 4 matches

by aldami
Tue Jun 18, 2024 10:15 am
Forum: ESP-IDF
Topic: Reducing Classic Bluetooth library size
Replies: 0
Views: 246

Reducing Classic Bluetooth library size

Adding support for classic BT a2dp increases flash usage by more than half a megabyte. As reported by idf_size.py --archives : With debug logs: Archive File DRAM .data & 0.bss IRAM0 .text & 0.vectors ram_st_total Flash .text & .rodata & .rodata_noload & .appdesc flash_total libbt.a 4723 2387 1725 0 ...
by aldami
Fri Feb 16, 2024 3:24 pm
Forum: ESP-IDF
Topic: Disabling -Wno-error=unused-variable for main component
Replies: 1
Views: 742

Disabling -Wno-error=unused-variable for main component

I have enabled -Werror for my main component, but during build something enables -Wno-error=unused-variable (seen on compile_commands.json) which causes unused var warnings to not be considered as errors. As far as I can see, that is set in esp-idf\make\project.mk:390 (v4.4): # Warnings-related flag...
by aldami
Thu Feb 15, 2024 4:07 pm
Forum: ESP-ADF
Topic: Use I2C bus which controls the CODEC
Replies: 2
Views: 2997

Re: Use I2C bus which controls the CODEC

liaifat85 wrote:
Thu Feb 15, 2024 3:18 pm
You can use the I2C bus in a multi-master configuration, where both the ES8388 driver and your code can share access to the bus.
Thank you.
Would that be thread safe ?
Could you maybe point me to some docs about the multi master conf ?
by aldami
Thu Feb 15, 2024 9:21 am
Forum: ESP-ADF
Topic: Use I2C bus which controls the CODEC
Replies: 2
Views: 2997

Use I2C bus which controls the CODEC

Hi, I am trying to use the same I2C bus which is used for codec controll to communicate with another IC I cannot figure out however how the driver should be set up. If I use i2c_driver_install for the same bus and same settings it seems to conflict with the initalization that has already been perfor...