mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
freertos: Expose TCB & Stack memory capabilities as macro, fix task delete test
Test was failing if task was allocating TCB & Stack memory from DMA only pool which is not MALLOC_CAP_DEFAULT.
This commit is contained in:
committed by
Angus Gratton
parent
ad9db6ff1c
commit
c5d6845c5a
@@ -23,7 +23,8 @@
|
||||
|
||||
#define NO_OF_TSKS 3
|
||||
#define DELAY_TICKS 2
|
||||
#define HEAP_CAPS (MALLOC_CAP_INTERNAL|MALLOC_CAP_DEFAULT)
|
||||
/* Caps of all memory which is allocated from when a task is created */
|
||||
#define HEAP_CAPS (portTcbMemoryCaps | portStackMemoryCaps)
|
||||
|
||||
#define DELAY_US_ITERATIONS 1000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user