WXK
2025-01-22 255c51174a0571340ef470184064a5c75d261d27
01_SDK/nimble/config/FreeRTOSConfig.h
@@ -56,13 +56,13 @@
/* Constants that describe the hardware and memory usage. */
#define configCPU_CLOCK_HZ                    (SystemCoreClock)
extern uint32_t clk_32k_count;
extern uint32_t clk_32k_freq;
#if ( configUSE_TICKLESS_IDLE == 1 )
    #if (CONFIG_LOW_SPEED_CLOCK_SRC == 1)
    #define configTICK_RATE_HZ                    ((TickType_t)clk_32k_count) /*XTL*/
    #define configTICK_RATE_HZ                    ((TickType_t)clk_32k_freq) /*XTL*/
    #else
    #define configTICK_RATE_HZ                    ((TickType_t)clk_32k_count) /*RCL*/
    #define configTICK_RATE_HZ                    ((TickType_t)clk_32k_freq) /*RCL*/
    #endif
#define configTICK_ON_WAKING_RATE_HZ          ((uint32_t)50)
#else
@@ -81,7 +81,9 @@
/* Constants related to the behaviour or the scheduler. */
#ifndef configMAX_PRIORITIES
#define configMAX_PRIORITIES                  8
#endif
#define configUSE_PREEMPTION                  1
#define configUSE_TIME_SLICING                1
#define configIDLE_SHOULD_YIELD               1