components/freertos: using the optimized task selection on esp32s2beta

components/freertos: cleaned up multicore option scheduler.

components/freertos:  more cleanup and test optimization to present realistic results

components/freertos: remove unused macros of optimized task selection when multicore is used
This commit is contained in:
Felipe Neves
2019-11-08 13:27:02 +08:00
parent 77bf1ff1c0
commit 2c612ec1dc
4 changed files with 29 additions and 28 deletions

View File

@@ -176,15 +176,11 @@ int xt_clock_freq(void) __attribute__((deprecated));
//#define configCPU_CLOCK_HZ 80000000
/* This has impact on speed of search for highest priority */
#ifdef configUSE_PORT_OPTIMISED_TASK_SELECTION
#ifdef SMALL_TEST
#define configMAX_PRIORITIES ( 7 )
#else
#define configMAX_PRIORITIES ( 25 )
#endif
#else
#define configMAX_PRIORITIES ( 32 )
#endif
#ifndef CONFIG_APPTRACE_ENABLE
#define configMINIMAL_STACK_SIZE 768