Replies: 5 comments
-
@oscalcmen Sorry I missed this one. Fix in #97645 |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello Sylvio,
It compiles correctly but BLE cannot be initialized it gives an error
I (138) boot: libc heap size 336 kB.
I (138) spi_flash: detected chip: boya
I (139) spi_flash: flash io: dio
W (139) spi_flash: Detected size(16384k) larger than the size in the
binary image header(8192k). Using the size in the binary image header.
*** Booting Zephyr OS build v4.2.0-3009-g1f3fb17a77bc ***
Bluetooth init failed (err -5)
thanks
…On Tue, Oct 14, 2025 at 9:59 PM Sylvio Alves ***@***.***> wrote:
@oscalcmen <https://github.com/oscalcmen> Sorry I missed this one.
Please, enable FLASH as in below to make it work. I'll provide a Pr to fix
this later.
CONFIG_FLASH=yCONFIG_FLASH_MAP=y
—
Reply to this email directly, view it on GitHub
<#96829 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWAVUBMHV22HH36JVPDT3D3XXID7AVCNFSM6AAAAACH6ZPBV6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINRYGI4DAMY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
--
Oscar Alcántara Méndez
México
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hello,
adding log info
*** Booting Zephyr OS build v4.2.0-3009-g1f3fb17a77bc ***
[00:00:00.000,000] <inf> esp32_bt_adapter: Using main XTAL as clock source,
chip ver: 1
[00:00:00.000,000] <inf> esp32_bt_adapter: ble controller commit:[35fe65f]
[00:00:00.005,000] <inf> esp32_bt_adapter: Bluetooth MAC: 40:4c:ca:5e:cc:c0
[00:00:02.084,000] <err> bt_hci_driver_esp32: Send packet timeout error
[00:00:02.084,000] <err> bt_hci_core: Unable to send to driver (err -116)
[00:00:02.084,000] <wrn> bt_hci_core: opcode 0x1003 status 0x1f
Bluetooth init failed (err -5)
…On Sat, Oct 18, 2025 at 5:54 AM Oscar Alcantara ***@***.***> wrote:
Hello Sylvio,
It compiles correctly but BLE cannot be initialized it gives an error
I (138) boot: libc heap size 336 kB.
I (138) spi_flash: detected chip: boya
I (139) spi_flash: flash io: dio
W (139) spi_flash: Detected size(16384k) larger than the size in the binary image header(8192k). Using the size in the binary image header.
*** Booting Zephyr OS build v4.2.0-3009-g1f3fb17a77bc ***
Bluetooth init failed (err -5)
thanks
On Tue, Oct 14, 2025 at 9:59 PM Sylvio Alves ***@***.***>
wrote:
> @oscalcmen <https://github.com/oscalcmen> Sorry I missed this one.
> Please, enable FLASH as in below to make it work. I'll provide a Pr to fix
> this later.
>
> CONFIG_FLASH=yCONFIG_FLASH_MAP=y
>
> —
> Reply to this email directly, view it on GitHub
> <#96829 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAWAVUBMHV22HH36JVPDT3D3XXID7AVCNFSM6AAAAACH6ZPBV6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINRYGI4DAMY>
> .
> You are receiving this because you were mentioned.Message ID:
> <zephyrproject-rtos/zephyr/repo-discussions/96829/comments/14682803@
> github.com>
>
--
Oscar Alcántara Méndez
México
--
Oscar Alcántara Méndez
México
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, can you provide me:
Thanks. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Sylvio,
Yes, i did west update, Zephyr SDK version 0.17.4, i did not add any other
module to Zephyr besides the blob espressif libs. I'm not so sure how to
get the full log. Adding CONFIG_LOG_DEFAULT_LEVEL=4 to the prj.conf,
terminal showed the below text at booting. (Is there any guide on how to do
it? (sorry for my ignorance, kind of new to Zephyr, I'm a EE not a SW guy)
I (141) boot: libc heap size 326 kB.
I (142) spi_flash: detected chip: boya
I (142) spi_flash: flash io: dio
W (142) spi_flash: Detected size(16384k) larger than the size in the binary
image header(8192k). Using the size in the binary image header.
Previous to adding CONFIG_LOG_DEFAULT_LEVEL=4 the terminal showed this:
*** Booting Zephyr OS build v4.2.0-3009-g1f3fb17a77bc ***
[00:00:00.000,000] <inf> esp32_bt_adapter: Using main XTAL as clock source,
chip ver: 1
[00:00:00.000,000] <inf> esp32_bt_adapter: ble controller commit:[35fe65f]
[00:00:00.005,000] <inf> esp32_bt_adapter: Bluetooth MAC: 40:4c:ca:5e:cc:c0
[00:00:02.085,000] <err> bt_hci_driver_esp32: Send packet timeout error
[00:00:02.085,000] <err> bt_hci_core: Unable to send to driver (err -116)
[00:00:02.085,000] <wrn> bt_hci_core: opcode 0x1003 status 0x1f
Bluetooth init failed (err -5)
CONFIG_ESP_SIMPLE_BOOT=y
CONFIG_BOOTLOADER_MCUBOOT=n
CONFIG_LOG=y
CONFIG_LOG_DEFAULT_LEVEL=4
CONFIG_BT=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_SMP=y
CONFIG_BT_DEVICE_NAME="ESP peripheral"
CONFIG_BT_DIS=y
CONFIG_BT_DIS_PNP=y
CONFIG_BT_BAS=y
CONFIG_BT_DEVICE_APPEARANCE=768
CONFIG_ENTROPY_ESP32_RNG=y
CONFIG_ENTROPY_GENERATOR=y
CONFIG_FLASH=y
CONFIG_FLASH_MAP=y
# CONFIG_MBEDTLS=y
# CONFIG_MBEDTLS_BUILTIN=y
# CONFIG_MBEDTLS_ENABLE_HEAP=y
# CONFIG_MBEDTLS_HEAP_SIZE=6000
# CONFIG_MBEDTLS_SHA256=y
# CONFIG_MBEDTLS_PSA_CRYPTO_C=y
# #CONFIG_ZEPHYR_MBEDTLS_MODULE=y
# CONFIG_MBEDTLS_ENABLE_HEAP=y
# CONFIG_MBEDTLS_CIPHER_AES_ENABLED=y
# CONFIG_MBEDTLS_CIPHER=y
# #CONFIG_MBEDTLS_LIBRARY=y
# #CONFIG_MBEDTLS_ZEPHYR_ENTROPY=y
# CONFIG_MBEDTLS_CFG_FILE="config-mbedtls.h"
CONFIG_I2C=y
…On Sat, Oct 18, 2025 at 6:50 AM Sylvio Alves ***@***.***> wrote:
Hi, can you provide me:
1. Current Zephyr branch revision/sha (have you run west update?)
2. Full log output
3. Any extra conf you added into the sample code
Thanks.
—
Reply to this email directly, view it on GitHub
<#96829 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAWAVUCCR4VUGMP5OUAKLZ33YJASVAVCNFSM6AAAAACH6ZPBV6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTINZRG4ZDINI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***
.com>
--
Oscar Alcántara Méndez
México
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello , I used ESP32C3 with BLE peripheral_esp and peripheral_csc no issues at all, then I swap for the ESP32C6 but found and error
/home/oscalcmen/zephyrproject/modules/hal/espressif/zephyr/esp32c6/src/bt/esp_bt_adapter.c:954:10: fatal error: mbedtls/aes.h: No such file or directory
954 | #include "mbedtls/aes.h"
I have enabled several CONFIG but nothing solve the issue, has anyone some advise on this?
CONFIG_ESP_SIMPLE_BOOT=n
CONFIG_BOOTLOADER_MCUBOOT=y
#CONFIG_ESP32_USE_UNSUPPORTED_REVISION=y
#CONFIG_ESPTOOLPY_HEADER_FLASHSIZE_UPDATE=y
CONFIG_LOG=y
CONFIG_ESP_SPIRAM=y
CONFIG_SHARED_MULTI_HEAP=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_TYPE_ESPPSRAM64=y
CONFIG_SPIRAM_SPEED_80M=y
CONFIG_ESP32S3_DATA_CACHE_64KB=y
CONFIG_ESP_SPIRAM_MEMTEST=y
For ESP32C6
CONFIG_PSA_WANT_KEY_TYPE_AES=y
CONFIG_MBEDTLS_LIBRARY=y
CONFIG_MBEDTLS_CIPHER_AES_ENABLED=y
CONFIG_MBEDTLS_AES_ROM_TABLES=y
CONFIG_MBEDTLS=y
CONFIG_MBEDTLS_SHA256=y
#CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_MBEDTLS_BUILTIN=y
CONFIG_CUSTOM_MBEDTLS_CFG_FILE=y
CONFIG_MBEDTLS_CFG_FILE="config-mbedtls.h"
CONFIG_MBEDTLS_HEAP_SIZE=8192
#CONFIG_HEAP_MEM_POOL_SIZE=4096
CONFIG_MBEDTLS_ENABLE_HEAP=y
CONFIG_ESP32_BT_LE_CRYPTO_STACK_MBEDTLS=y
CONFIG_ESP32_BT_LE_SECURITY_ENABLE=y
#CONFIG_BT_HCI=y
CONFIG_BT_DRIVERS=y
#CONFIG_APP_LINK_WITH_MBEDTLS=y
#CONFIG_MBEDTLS_HASH_ALL_ENABLED=y
#CONFIG_FLASH_AREA_CHECK_INTEGRITY_MBEDTLS=y
#CONFIG_PSA_WANT_ALG_CMAC=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_BT=y
CONFIG_BT_SMP=y
CONFIG_BT_PERIPHERAL=y
CONFIG_BT_DIS=y
CONFIG_BT_DIS_PNP=n
CONFIG_BT_BAS=y
CONFIG_BT_DEVICE_NAME="CSC peripheral"
CONFIG_BT_DEVICE_APPEARANCE=1157
CONFIG_CONSOLE=y
CONFIG_LOG=y
Beta Was this translation helpful? Give feedback.
All reactions