Closed oddlama closed 4 months ago
v5.2
and just changing the target to riscv32imac-esp-espidf
?esp-idf-matter
repository please?@ivmarkov you can transfer the issue with the transfer-issue button on the right
- Does the compile work when using esp idf
v5.2
and just changing the target toriscv32imac-esp-espidf
?
Unfortunately not, it leads to exactly the same error.
- Can you re-open the issue in the
esp-idf-matter
repository please?
Of course, it was hard to tell what crate is the true cause of the issue, so since esp-idf-svc failed first I reported it here initially. It may also very well be that I still have a wrong environment setup.
@Vollbrecht Does this work if the other repository is not part of the same org?
Closing this and re-opening here: https://github.com/ivmarkov/esp-idf-matter/issues/5
I'm trying to compile this project (https://github.com/ivmarkov/esp-idf-matter) as-is, but - no matter what I do - it fails to compile esp-idf-svc complaining about some bluetooth-related defines that are apparently missing.
(full error log below)
Is there anything obvious I am missing? I am compiling for
MCU=esp32c6
by usingcargo build --target riscv32imac-esp-espidf
and made sure to use a fresh clone of esp-idf v5.2.2 where esp-idf-sys compiles just fine. The sdkconfig.defaults of the project contains the following:cargo build output
``` Compiling esp-idf-svc v0.49.0 error[E0425]: cannot find value `ESP_BT_CTRL_CONFIG_MAGIC_VAL` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:497:32 | 497 | magic: crate::sys::ESP_BT_CTRL_CONFIG_MAGIC_VAL, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `ESP_BT_CTRL_CONFIG_VERSION` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:498:34 | 498 | version: crate::sys::ESP_BT_CTRL_CONFIG_VERSION, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_PINNED_TO_CORE` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:501:50 | 501 | controller_task_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `CONFIG_BLUEDROID_PINNED_TO_CORE` | ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:1167:1 | 1167 | pub const CONFIG_BLUEDROID_PINNED_TO_CORE: u32 = 0; | ---------------------------------------------- similarly named constant `CONFIG_BLUEDROID_PINNED_TO_CORE` defined here error[E0425]: cannot find value `CONFIG_BT_CTRL_MODE_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:502:41 | 502 | bluetooth_mode: crate::sys::CONFIG_BT_CTRL_MODE_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_BLE_MAX_ACT_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:503:38 | 503 | ble_max_act: crate::sys::CONFIG_BT_CTRL_BLE_MAX_ACT_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_SLEEP_MODE_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:504:37 | 504 | sleep_mode: crate::sys::CONFIG_BT_CTRL_SLEEP_MODE_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_SLEEP_CLOCK_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:505:38 | 505 | sleep_clock: crate::sys::CONFIG_BT_CTRL_SLEEP_CLOCK_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:506:47 | 506 | ble_st_acl_tx_buf_nb: crate::sys::CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_HW_CCA_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:507:43 | 507 | ble_hw_cca_check: crate::sys::CONFIG_BT_CTRL_HW_CCA_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_ADV_DUP_FILT_MAX` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:508:47 | 508 | ble_adv_dup_filt_max: crate::sys::CONFIG_BT_CTRL_ADV_DUP_FILT_MAX as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:509:38 | 509 | ce_len_type: crate::sys::CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_HCI_TL_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:510:38 | 510 | hci_tl_type: crate::sys::CONFIG_BT_CTRL_HCI_TL_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:512:36 | 512 | txant_dft: crate::sys::CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:513:36 | 513 | rxant_dft: crate::sys::CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:514:36 | 514 | txpwr_dft: crate::sys::CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CFG_MASK` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:515:35 | 515 | cfg_mask: crate::sys::CFG_MASK, | ^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `SCAN_DUPLICATE_MODE` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:516:46 | 516 | scan_duplicate_mode: crate::sys::SCAN_DUPLICATE_MODE as _, | ^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `SCAN_DUPLICATE_TYPE_VALUE` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:517:46 | 517 | scan_duplicate_type: crate::sys::SCAN_DUPLICATE_TYPE_VALUE as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `NORMAL_SCAN_DUPLICATE_CACHE_SIZE` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:518:42 | 518 | normal_adv_size: crate::sys::NORMAL_SCAN_DUPLICATE_CACHE_SIZE as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `MESH_DUPLICATE_SCAN_CACHE_SIZE` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:519:40 | 519 | mesh_adv_size: crate::sys::MESH_DUPLICATE_SCAN_CACHE_SIZE as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:521:29 | 521 | crate::sys::CONFIG_BT_CTRL_COEX_PHY_CODED_TX_RX_TLIM_EFF as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF` | ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:754:1 | 754 | pub const CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF: u32 = 0; | --------------------------------------------------------- similarly named constant `CONFIG_BT_LE_COEX_PHY_CODED_TX_RX_TLIM_EFF` defined here error[E0425]: cannot find value `BLE_HW_TARGET_CODE_CHIP_ECO0` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:522:41 | 522 | hw_target_code: crate::sys::BLE_HW_TARGET_CODE_CHIP_ECO0 as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `SLAVE_CE_LEN_MIN_DEFAULT` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:523:43 | 523 | slave_ce_len_min: crate::sys::SLAVE_CE_LEN_MIN_DEFAULT as _, | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `AGC_RECORRECT_EN` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:524:42 | 524 | hw_recorrect_en: crate::sys::AGC_RECORRECT_EN as _, | ^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `CONFIG_BT_CTRL_HW_CCA_VAL` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:525:37 | 525 | cca_thresh: crate::sys::CONFIG_BT_CTRL_HW_CCA_VAL as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `BT_CTRL_50_FEATURE_SUPPORT` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:528:43 | 528 | ble_50_feat_supp: crate::sys::BT_CTRL_50_FEATURE_SUPPORT != 0, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `EXT_CSD_SEC_FEATURE_SUPPORT` | ::: /home/nixuser/projects/embedded/esp-idf-matter/target/riscv32imac-esp-espidf/debug/build/esp-idf-sys-c8d14348dff4d490/out/bindings.rs:4935:1 | 4935 | pub const EXT_CSD_SEC_FEATURE_SUPPORT: u32 = 231; | ------------------------------------------ similarly named constant `EXT_CSD_SEC_FEATURE_SUPPORT` defined here error[E0425]: cannot find value `DUPL_SCAN_CACHE_REFRESH_PERIOD` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:529:50 | 529 | dup_list_refresh_period: crate::sys::DUPL_SCAN_CACHE_REFRESH_PERIOD as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0425]: cannot find value `BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX` in module `crate::sys` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:530:53 | 530 | scan_backoff_upperlimitmax: crate::sys::BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `crate::sys` error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `magic` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:497:13 | 497 | magic: crate::sys::ESP_BT_CTRL_CONFIG_MAGIC_VAL, | ^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `version` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:498:13 | 498 | version: crate::sys::ESP_BT_CTRL_CONFIG_VERSION, | ^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `controller_task_run_cpu` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:501:13 | 501 | controller_task_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _, | ^^^^^^^^^^^^^^^^^^^^^^^ unknown field | help: a field with a similar name exists | 501 | controller_run_cpu: crate::sys::CONFIG_BT_CTRL_PINNED_TO_CORE as _, | ~~~~~~~~~~~~~~~~~~ error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `bluetooth_mode` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:502:13 | 502 | bluetooth_mode: crate::sys::CONFIG_BT_CTRL_MODE_EFF as _, | ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_max_act` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:503:13 | 503 | ble_max_act: crate::sys::CONFIG_BT_CTRL_BLE_MAX_ACT_EFF as _, | ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `sleep_mode` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:504:13 | 504 | sleep_mode: crate::sys::CONFIG_BT_CTRL_SLEEP_MODE_EFF as _, | ^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `sleep_clock` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:505:13 | 505 | sleep_clock: crate::sys::CONFIG_BT_CTRL_SLEEP_CLOCK_EFF as _, | ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_st_acl_tx_buf_nb` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:506:13 | 506 | ble_st_acl_tx_buf_nb: crate::sys::CONFIG_BT_CTRL_BLE_STATIC_ACL_TX_BUF_NB as _, | ^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_hw_cca_check` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:507:13 | 507 | ble_hw_cca_check: crate::sys::CONFIG_BT_CTRL_HW_CCA_EFF as _, | ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_adv_dup_filt_max` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:508:13 | 508 | ble_adv_dup_filt_max: crate::sys::CONFIG_BT_CTRL_ADV_DUP_FILT_MAX as _, | ^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ce_len_type` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:509:13 | 509 | ce_len_type: crate::sys::CONFIG_BT_CTRL_CE_LENGTH_TYPE_EFF as _, | ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hci_tl_type` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:510:13 | 510 | hci_tl_type: crate::sys::CONFIG_BT_CTRL_HCI_TL_EFF as _, | ^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hci_tl_funcs` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:511:13 | 511 | hci_tl_funcs: core::ptr::null_mut(), | ^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `txant_dft` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:512:13 | 512 | txant_dft: crate::sys::CONFIG_BT_CTRL_TX_ANTENNA_INDEX_EFF as _, | ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `rxant_dft` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:513:13 | 513 | rxant_dft: crate::sys::CONFIG_BT_CTRL_RX_ANTENNA_INDEX_EFF as _, | ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `txpwr_dft` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:514:13 | 514 | txpwr_dft: crate::sys::CONFIG_BT_CTRL_DFT_TX_POWER_LEVEL_EFF as _, | ^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `cfg_mask` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:515:13 | 515 | cfg_mask: crate::sys::CFG_MASK, | ^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_duplicate_mode` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:516:13 | 516 | scan_duplicate_mode: crate::sys::SCAN_DUPLICATE_MODE as _, | ^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_duplicate_type` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:517:13 | 517 | scan_duplicate_type: crate::sys::SCAN_DUPLICATE_TYPE_VALUE as _, | ^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `normal_adv_size` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:518:13 | 518 | normal_adv_size: crate::sys::NORMAL_SCAN_DUPLICATE_CACHE_SIZE as _, | ^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `mesh_adv_size` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:519:13 | 519 | mesh_adv_size: crate::sys::MESH_DUPLICATE_SCAN_CACHE_SIZE as _, | ^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hw_target_code` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:522:13 | 522 | hw_target_code: crate::sys::BLE_HW_TARGET_CODE_CHIP_ECO0 as _, | ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `slave_ce_len_min` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:523:13 | 523 | slave_ce_len_min: crate::sys::SLAVE_CE_LEN_MIN_DEFAULT as _, | ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `hw_recorrect_en` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:524:13 | 524 | hw_recorrect_en: crate::sys::AGC_RECORRECT_EN as _, | ^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `cca_thresh` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:525:13 | 525 | cca_thresh: crate::sys::CONFIG_BT_CTRL_HW_CCA_VAL as _, | ^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `coex_param_en` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:526:13 | 526 | coex_param_en: false, | ^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `coex_use_hooks` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:527:13 | 527 | coex_use_hooks: false, | ^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `ble_50_feat_supp` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:528:13 | 528 | ble_50_feat_supp: crate::sys::BT_CTRL_50_FEATURE_SUPPORT != 0, | ^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `dup_list_refresh_period` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:529:13 | 529 | dup_list_refresh_period: crate::sys::DUPL_SCAN_CACHE_REFRESH_PERIOD as _, | ^^^^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others error[E0560]: struct `esp_idf_hal::sys::esp_bt_controller_config_t` has no field named `scan_backoff_upperlimitmax` --> /home/nixuser/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/esp-idf-svc-0.49.0/src/bt.rs:530:13 | 530 | scan_backoff_upperlimitmax: crate::sys::BT_CTRL_SCAN_BACKOFF_UPPERLIMITMAX as _, | ^^^^^^^^^^^^^^^^^^^^^^^^^^ `esp_idf_hal::sys::esp_bt_controller_config_t` does not have this field | = note: available fields are: `config_version`, `ble_ll_resolv_list_size`, `ble_hci_evt_hi_buf_count`, `ble_hci_evt_lo_buf_count`, `ble_ll_sync_list_cnt` ... and 46 others Some errors have detailed explanations: E0425, E0560. For more information about an error, try `rustc --explain E0425`. error: could not compile `esp-idf-svc` (lib) due to 58 previous errors ```