hi
What is Meant by PRO CPU and APP CPU ?
PRO AND APP CPU
Re: PRO AND APP CPU
Those are how the two cores are named.
core 0 - PRO
core 1 - APP
core 0 - PRO
core 1 - APP
-
- Posts: 9727
- Joined: Thu Nov 26, 2015 4:08 am
Re: PRO AND APP CPU
Note that it's a legacy name. The initial design for the ESP32 called for an asymmetric multiprocessor setup, with CPU0 running all the PROtocol handling code, while the APPlication would run on CPU1. We changed that to a symmetric multiprocessor setup later on, and at the moment the two CPUs are (with very few small exceptions) fully inter-exchangable, and the PRO and APP names are nothing but some names remaining from the earlier design.
Re: PRO AND APP CPU
Hello @ESP_Sprite,ESP_Sprite wrote: ↑Fri Dec 21, 2018 2:51 amNote that it's a legacy name. The initial design for the ESP32 called for an asymmetric multiprocessor setup, with CPU0 running all the PROtocol handling code, while the APPlication would run on CPU1. We changed that to a symmetric multiprocessor setup later on, and at the moment the two CPUs are (with very few small exceptions) fully inter-exchangable, and the PRO and APP names are nothing but some names remaining from the earlier design.
From what ESP-IDF version the two cores are symmetric?
Does it means that WiFi and BT tasks now can run on CPU1 as well (not pinned only to PRO cpu)?
Thanks
Re: PRO AND APP CPU
Hi davdav,
these are the options you can use to move various system tasks between the two cores:
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_CHOICE
CONFIG_BLUEDROID_PINNED_TO_CORE_CHOICE
CONFIG_TCPIP_TASK_AFFINITY
CONFIG_ESP32_WIFI_TASK_CORE_ID
these are the options you can use to move various system tasks between the two cores:
CONFIG_BTDM_CONTROLLER_PINNED_TO_CORE_CHOICE
CONFIG_BLUEDROID_PINNED_TO_CORE_CHOICE
CONFIG_TCPIP_TASK_AFFINITY
CONFIG_ESP32_WIFI_TASK_CORE_ID
Who is online
Users browsing this forum: Majestic-12 [Bot] and 97 guests