test
Fork of mbed-dev by
Diff: targets/TARGET_NORDIC/mbed_rtx.h
- Revision:
- 162:e13f6fdb2ac4
- Parent:
- 149:156823d33999
- Child:
- 168:e84263d55307
--- a/targets/TARGET_NORDIC/mbed_rtx.h Thu Mar 30 13:45:57 2017 +0100 +++ b/targets/TARGET_NORDIC/mbed_rtx.h Wed Apr 12 16:21:43 2017 +0100 @@ -55,6 +55,21 @@ #define OS_CLOCK 64000000 #endif +#elif defined(TARGET_MCU_NRF52840) + +#ifndef INITIAL_SP +#define INITIAL_SP (0x20040000UL) +#endif +#ifndef OS_TASKCNT +#define OS_TASKCNT 24 +#endif +#ifndef OS_MAINSTKSIZE +#define OS_MAINSTKSIZE 2048 +#endif +#ifndef OS_CLOCK +#define OS_CLOCK 64000000 #endif -#endif +#endif // defined(TARGET_MCU_NRF51822)... + +#endif // #ifndef MBED_MBED_RTX_H