How to modify CONFIG_FREERTOS_HZ definition?

marekg
Posts: 10
Joined: Thu Apr 18, 2019 2:08 pm

How to modify CONFIG_FREERTOS_HZ definition?

Postby marekg » Wed Apr 24, 2019 6:58 am

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

ESP_Angus
Posts: 2344
Joined: Sun May 08, 2016 4:11 am

Re: How to modify CONFIG_FREERTOS_HZ definition?

Postby ESP_Angus » Wed Apr 24, 2019 7:20 am

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.)

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: How to modify CONFIG_FREERTOS_HZ definition?

Postby ESP_Sprite » Wed Apr 24, 2019 7:21 am

Make menuconfig -> component config -> FreeRTOS -> Tick rate (hz)

Edit: Hi Angus! *wave*

marekg
Posts: 10
Joined: Thu Apr 18, 2019 2:08 pm

Re: How to modify CONFIG_FREERTOS_HZ definition?

Postby marekg » Wed Apr 24, 2019 10:14 am

Hello guys,

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

Who is online

Users browsing this forum: No registered users and 141 guests