heap: add test case for region overlap check condition

This commit is contained in:
Mahavir Jain
2022-03-24 19:55:11 +05:30
parent f13e25d156
commit 98b8ca6475
2 changed files with 18 additions and 0 deletions

View File

@@ -162,6 +162,7 @@ esp_err_t heap_caps_add_region(intptr_t start, intptr_t end)
return ESP_ERR_NOT_FOUND;
}
/* This API is used for internal test purpose and hence its not marked as static */
bool heap_caps_check_add_region_allowed(intptr_t heap_start, intptr_t heap_end, intptr_t start, intptr_t end)
{
/*