mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04: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:
commit
4289ca3e0e
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user