Page 1 of 1

ESP32 task privilege change

Posted: Wed May 02, 2018 9:13 am
by nbmaiti
What is task privileges of esp-idf tasks in current implementation of freertos?

How can I change privilege of tasks using pid controller? As far my under standing the tasks are running on 0th pid,
Can the scheduler can do the pid changes? Please advice.

I could find _get_pid_r as defined in rom ld script amd getpid(), which is not helping. Can you please provide data on these?

Re: ESP32 task privilege change

Posted: Thu May 03, 2018 3:57 am
by ESP_Sprite
FWIW, the hardware PID generator is entirely unused in the current esp-idf setups.

Re: ESP32 task privilege change

Posted: Fri May 04, 2018 4:02 am
by nbmaiti
mmu_init(n) prorom codes are not available on esp edf, is it available online somewhere?

Re: ESP32 task privilege change

Posted: Fri May 04, 2018 11:01 am
by ESP_Sprite
Okay, I feel we're running into an XY problem. What is it you actually want to achieve here; what is the reason you're asking about privileges/priorities?