Hello friends, experts,
I am using ESP_WROM_32 module with VS code included PlatformIO as the IDE.
As the data sheet, the ESP_WROM_32 has 2 core: 1 core called PRO_CPU and the other called APP_CPU.
For my application, I intend to use PRO_CPU to handle wireless stack such as: Bluetooth, Wifi... and the APP_CPU is used to read sensor, control motor and do some other things.
May I ask in the IDE, how can I configure to do like that.
Best regards,
Phuoc
how to make an application run on a core
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: how to make an application run on a core
You can use xCreateTaskPinnedToCore(...., 1) to start a task on the app CPU.
Re: how to make an application run on a core
Thank you for your reply.
What is the default value for function xCreateTaskPinnedToCore()? Is that core 0 or core 1?
Are there any utility to check what task is running on each core and how many percentage of CPU is used at a time.
Best regards
What is the default value for function xCreateTaskPinnedToCore()? Is that core 0 or core 1?
Are there any utility to check what task is running on each core and how many percentage of CPU is used at a time.
Best regards
Who is online
Users browsing this forum: Bing [Bot] and 117 guests