Skip to content

nRF: use Mbed-default boot-stack-size & fix stack_size_unification test #12874

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions TESTS/mbed_hal/stack_size_unification/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
12 changes: 0 additions & 12 deletions rtos/source/TARGET_CORTEX/mbed_lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down