Merge pull request #12874 from LDong-Arm/nrf52_stack_size

nRF: use Mbed-default boot-stack-size & fix stack_size_unification test
pull/12884/head
Martin Kojtal 2020-04-28 18:30:43 +02:00 committed by GitHub
commit 97a380f292
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 16 deletions

View File

@ -31,10 +31,7 @@ extern osThreadAttr_t _main_thread_attr;
#endif
extern uint32_t mbed_stack_isr_size;
/* Exception for Nordic boards - BLE requires 2KB ISR stack. */
#if defined(TARGET_NRF5x)
#define EXPECTED_ISR_STACK_SIZE (2048)
#elif !defined(MBED_CONF_RTOS_PRESENT)
#if !defined(MBED_CONF_RTOS_PRESENT)
#define EXPECTED_ISR_STACK_SIZE (4096)
#else
#define EXPECTED_ISR_STACK_SIZE (1024)

View File

@ -76,18 +76,6 @@
"STM32F072RB": {
"main-thread-stack-size": 3072
},
"MCU_NRF51": {
"target.boot-stack-size": "0x800"
},
"MCU_NRF52840": {
"target.boot-stack-size": "0x800"
},
"MCU_NRF52832": {
"target.boot-stack-size": "0x800"
},
"MCU_NRF51_UNIFIED": {
"target.boot-stack-size": "0x800"
},
"NUVOTON": {
"idle-thread-stack-size-debug-extra": 512
}