Page 1 of 1

How to modify CONFIG_FREERTOS_HZ definition?

Posted: Wed Apr 24, 2019 6:58 am
by marekg
Hello,
I would need to modify parameter CONFIG_FREERTOS_HZ in file sdkconfig.h from default 100 to value 1000.
This file is generated automatically and therefore it is not recommended to change it.
If I modify this parameter in my header file, I get warning from compiler.

Is there any legal method how to override this parameter, please?

Thank you

Re: How to modify CONFIG_FREERTOS_HZ definition?

Posted: Wed Apr 24, 2019 7:20 am
by ESP_Angus
Run "make menuconfig" to edit the sdkconfig file, the header file is generated from this:
https://docs.espressif.com/projects/esp ... -configure

Note the "/" keyboard shortcut which you can use to search for the option you want (press a number key on the search results page to go that result.)

Re: How to modify CONFIG_FREERTOS_HZ definition?

Posted: Wed Apr 24, 2019 7:21 am
by ESP_Sprite
Make menuconfig -> component config -> FreeRTOS -> Tick rate (hz)

Edit: Hi Angus! *wave*

Re: How to modify CONFIG_FREERTOS_HZ definition?

Posted: Wed Apr 24, 2019 10:14 am
by marekg
Hello guys,

thank you so much. It works ;)
Have a nice day.