mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 20:41:14 +00:00
system: enable shared stack watchpoint
Enable shared stack watchpoint for overflow detection Enable unit tests: * "test printf using shared buffer stack" for C3 * "Test vTaskDelayUntil" for S2 * "UART can do poll()" for C3
This commit is contained in:
@@ -26,8 +26,6 @@ void another_external_stack_function(void)
|
||||
shared_stack_sp = (StackType_t *)get_sp();
|
||||
}
|
||||
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C3)
|
||||
|
||||
TEST_CASE("test printf using shared buffer stack", "[newlib]")
|
||||
{
|
||||
portSTACK_TYPE *shared_stack = malloc(SHARED_STACK_SIZE);
|
||||
@@ -60,5 +58,3 @@ TEST_CASE("test printf using shared buffer stack", "[newlib]")
|
||||
vSemaphoreDelete(printf_lock);
|
||||
free(shared_stack);
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user