Skip to content

Building WiFi provisioning example for P4 board (IDFGH-16565) (IEC-398) #592

@ohmtech-rdi

Description

@ohmtech-rdi

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi,

I'm trying to run the provisioning/wifi_prov_mgr v5.5 example for the P4 board, with BLE only.

I understand that the P4 doesn't have WiFi functionality, and that the C6 is used for that, and the board C6 has pre-flashed firmware to allow that.

I also understand that the provisioning/wifi_prov_mgr example doesn't support ESP32-P4 natively.

I followed the instructions in the two-chip solution but there are many problems that tend to indicate the example can't work with those instructions:

  1. CONFIG_BTDM_CTRL_MODE_BLE_ONLY, CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY, and CONFIG_BTDM_CTRL_MODE_BTDM are "unknown kconfig symbols". But I guess because those kconfig symbols only make sense for the remote? (as the host doesn't support Bluetooth)

  2. Then the build will error when trying to link, as it can't find the wifi_provisioning symbols, while it being properly listed in the CMakeLists PRIV_REQUIRES (alongside esp_wifi and all the other requirements which link properly). Same thing, I guess this code would only make sense for the remote?

I saw all the provisioning example directory disappeared on master, that wifi_provisioning is deprecated in favor of the espressif/network_provisioning component, but its wifi_prov example doesn't have ESP32-P4 listed in its supported targets either.

So I'm completely stuck. I'm new to the ESP32 platform, and this is my first example after the blink/hello-world.

Any chance to have ESP32-P4 support for the provisioning/wifi_prov_mgr example? Or any other pointers?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions