From 071615b059858feb45afc093a62f7852f846ddcd Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Fri, 9 Dec 2016 19:44:27 +0800 Subject: [PATCH] freertos: fix TLS delete callback test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit “Full” printf uses more stack space than “nano” printf, and more space than available in the idle task. This caused stack overflow in TLS delete test. Replacing printf with ets_printf. --- components/freertos/test/test_tls_deletecb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/freertos/test/test_tls_deletecb.c b/components/freertos/test/test_tls_deletecb.c index 5277b761ab..8628f42ec9 100644 --- a/components/freertos/test/test_tls_deletecb.c +++ b/components/freertos/test/test_tls_deletecb.c @@ -16,7 +16,7 @@ static void tskdelcb(int no, void *arg) { - printf("Delete callback: %d = %p!\n", no, arg); + ets_printf("Delete callback: %d = %p!\n", no, arg); }