I working by ESP8266_RTOS_SDK, and I try to modify "configTICK_RATE_HZ" value in the file "FreeRTOSConfig.h",and rebuild the libfreerots.a, but the app not change of task ticks. so, how to change os tick in code ?
我用ESP8266_RTOS_SDK进行代码编译,可以正常工作,但是感觉os的tick太长,默认是10ms调度一次。我尝试修改宏定义configTICK_RATE_HZ,并且重新编译了库文件libfreerots.a,但是程序运行后,tick并没有改变,请问我该怎么做?
how to change freerots tick period?
-
donghengqaz
- Posts: 5
- Joined: Tue Jun 13, 2017 11:40 am
Re: how to change freerots tick period?
Postby donghengqaz » Wed Jul 11, 2018 6:05 pm
你只是改了FreeRTOS 的tick周期,并没有修改硬件定时器的周期,所以你只要修改硬件定时器的tick就可以了。
Who is online
Users browsing this forum: No registered users and 132 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.