Skip to content

Commit 162425b

Browse files
committed
Increase the stack pointer check range
Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 0aa8dc2 commit 162425b

File tree

1 file changed

+1
-1
lines changed
  • TESTS/mbedmicro-rtos-mbed/heap_and_stack

1 file changed

+1
-1
lines changed

TESTS/mbedmicro-rtos-mbed/heap_and_stack/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ void test_isr_stack_in_range(void)
204204
{
205205
// MSP stack should be very near end (test using within 128 bytes)
206206
uint32_t msp = __get_MSP();
207-
bool result = inrange(msp, mbed_stack_isr_start + mbed_stack_isr_size - 128, 128);
207+
bool result = inrange(msp, mbed_stack_isr_start + mbed_stack_isr_size - 0x400, 0x400);
208208

209209
TEST_ASSERT_TRUE_MESSAGE(result, "Interrupt stack in wrong location");
210210
}

0 commit comments

Comments
 (0)