helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: targets/TARGET_ARM_SSG/mbed_rtx.h
- Revision:
- 185:08ed48f1de7f
- Parent:
- 167:e84263d55307
--- a/targets/TARGET_ARM_SSG/mbed_rtx.h Tue Mar 20 17:01:51 2018 +0000 +++ b/targets/TARGET_ARM_SSG/mbed_rtx.h Thu Apr 19 17:12:19 2018 +0100 @@ -1,5 +1,5 @@ /* mbed Microcontroller Library - * Copyright (c) 2016-2017 ARM Limited + * Copyright (c) 2016-2018 ARM Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -17,12 +17,20 @@ #ifndef MBED_MBED_RTX_H #define MBED_MBED_RTX_H -#if defined(TARGET_BEETLE) || defined(TARGET_CM3DS_MPS2) +#if defined(TARGET_BEETLE) #ifndef INITIAL_SP #define INITIAL_SP (0x20020000UL) #endif +#elif defined(TARGET_CM3DS_MPS2) + +#include "memory_zones.h" + +#ifndef INITIAL_SP +#define INITIAL_SP (ZBT_SSRAM23_START + ZBT_SSRAM23_SIZE) #endif -#endif // MBED_MBED_RTX_H +#endif /* defined(TARGET_...) */ + +#endif /* MBED_MBED_RTX_H */