nordic官方历程自带了FreeRTOS,移植FreeRTOS参考:https://www.cnblogs.com/zy-slient/archive/2019/03/21/10569464.html
在此感谢此博主...
移植FreeRTOS后,实测电流偏大,ma级别,而裸机情况下,低功耗模式为3ua(最小系统电路情况下)。
查阅FreeRTOSConfig.h文件,发现使用的为RTC时钟,与裸机一致,如下代码:
/*-----------------------------------------------------------
* Possible configurations for system timer
*/
#define FREERTOS_USE_RTC 0 /**< Use real time clock for the system */
#define FREERTOS_USE_SYSTICK 1 /**< Use SysTick timer for system */
/*-----------------------------------------------------------
* Application specific definitions.
*
* These definitions should be adjusted for your particular hardware and
* application requirements.
*
* THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE
*