From a4ec28046cfda5c7cc30f23e8abb2ec0f1c0d387 Mon Sep 17 00:00:00 2001 From: ccli8 Date: Tue, 18 Dec 2018 11:11:43 +0800 Subject: [PATCH] Change main thread stack size to default for stack size unification NANO130 just has 16 KiB SRAM. User application may change it through "rtos.main-thread-stack-size" configuration option. --- targets/TARGET_NUVOTON/mbed_rtx.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/targets/TARGET_NUVOTON/mbed_rtx.h b/targets/TARGET_NUVOTON/mbed_rtx.h index 1b4e2b4986..137e4c1a24 100644 --- a/targets/TARGET_NUVOTON/mbed_rtx.h +++ b/targets/TARGET_NUVOTON/mbed_rtx.h @@ -45,13 +45,6 @@ #error "no toolchain defined" #endif -#if defined(TARGET_NANO100) -#ifdef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE -#undef MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE -#endif -#define MBED_CONF_RTOS_MAIN_THREAD_STACK_SIZE 3072 -#endif - #endif // TARGET_NUVOTON #endif // MBED_MBED_RTX_H