mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
Merge branch 'feature/freertos_timer_task_optional' into 'master'
freertos: save up to 4 kB of RAM if timer functionality is not used by the app See merge request espressif/esp-idf!10721
This commit is contained in:
@@ -5137,3 +5137,8 @@ TickType_t uxReturn;
|
||||
#include "tasks_test_access_functions.h"
|
||||
#endif
|
||||
|
||||
/* If timers.c is not referenced anywhere, don't create the timer task to save RAM */
|
||||
BaseType_t __attribute__((weak)) xTimerCreateTimerTask( void )
|
||||
{
|
||||
return pdPASS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user