-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linking ESP32 with anything which contains mbedtls fail #72651
Comments
I confirm the issue, I have the same on another platform. |
In zephyrproject-rtos#72651, build fails due to conflict when enabling mbedTLS components. Current Wi-Fi implementation for ESP32 can discard those selected cryptos. Signed-off-by: Sylvio Alves <[email protected]>
Folks, would you be able to check this? |
@boaretti I recommend you to also change the following values: CONFIG_MBEDTLS_HEAP_SIZE=20480
CONFIG_NET_MGMT_EVENT_STACK_SIZE=4096 |
@sylvioalves you pushed just after my message, I check at your modification for my own use case, this help me too :) |
Hi all, sadly it didn`t work. Still the same issue. I will post bellow the the confs used for mqtt_azure example ( using it as base ) but other custom project share the same issue when mbedtls added. CONFIG_NETWORKING=y Disable IPv6 supportCONFIG_NET_IPV6=n Enable IPv4 supportCONFIG_NET_IPV4=y Enable TCP supportCONFIG_NET_TCP=y Enable Sockets supportCONFIG_NET_SOCKETS=y Enable DHCPv4 supportCONFIG_NET_DHCPV4=y Enable SOCKS5 proxy supportCONFIG_SOCKS=n Enable MQTT Lib supportCONFIG_MQTT_LIB=y Enable Mbed TLS configurationCONFIG_MBEDTLS=y Network configurationCONFIG_NET_CONFIG_SETTINGS=y Network connection managerCONFIG_NET_CONNECTION_MANAGER=y CONFIG_NET_MGMT_EVENT_STACK_SIZE=1024 CONFIG_DNS_RESOLVER=y CONFIG_INIT_STACKS=y CONFIG_MAIN_STACK_SIZE=4096 Enable Logging supportCONFIG_LOG_MODE_IMMEDIATE=y esp_procpu.conf: CONFIG_NETWORKING=y CONFIG_NET_IPV6=n CONFIG_NET_LOG=y
Thanks All [ ] |
@boaretti What do you mean by it didnt work? I tested here and was able to run azure_mqtt sample code without any issue. Humm, did you apply the PR linked in this issue? |
Sorry, I have commented but didn't see the PR. I will test it soon. Thank you so much! |
In #72651, build fails due to conflict when enabling mbedTLS components. Current Wi-Fi implementation for ESP32 can discard those selected cryptos. Signed-off-by: Sylvio Alves <[email protected]>
In zephyrproject-rtos#72651, build fails due to conflict when enabling mbedTLS components. Current Wi-Fi implementation for ESP32 can discard those selected cryptos. Signed-off-by: Sylvio Alves <[email protected]>
bug:
Linking ESP32 with anything which contains mbedtls fail
Using:
Windows 11
Zephyr version: 3.6.99 / SDK 0.16.5
To Reproduce:
Steps to reproduce the behavior:
...net\cloud\mqtt_azure>west build -b esp32 -p
Expected behavior:
Linking Ok.
Impact:
Showstopper
Logs and console output
Windows
Zephyr version: 3.6.99 / SDK 0.16.5
Additional context
This is use wifi. Only fails if overlay conf with wifi added.
Thanks in advance
The text was updated successfully, but these errors were encountered: