Modify the definition as to whether RTOS is not present in sys.cpp.

pull/9370/head
TomoYamanaka 2019-01-04 09:43:34 +09:00 committed by adbridge
parent 596110069c
commit d3d476ae4a
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uin
return r;
}
#if !defined(MBED_CONF_RTOS_PRESENT) || !MBED_CONF_RTOS_PRESENT
#ifndef MBED_CONF_RTOS_PRESENT
/* The single region memory model would check stack collision at run time, verifying that
* the heap pointer is underneath the stack pointer. With two-region memory model/RTOS-less or

View File

@ -51,7 +51,7 @@ extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uin
return r;
}
#if !defined(MBED_CONF_RTOS_PRESENT) || !MBED_CONF_RTOS_PRESENT
#ifndef MBED_CONF_RTOS_PRESENT
/* The single region memory model would check stack collision at run time, verifying that
* the heap pointer is underneath the stack pointer. With two-region memory model/RTOS-less or