mbed library sources. Supersedes mbed-src.
Fork of mbed by
Diff: targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp
- Revision:
- 144:ef7eb2e8f9f7
- Parent:
- 0:9b334a45a8ff
--- a/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp Tue Aug 02 14:07:36 2016 +0000 +++ b/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp Fri Sep 02 15:07:44 2016 +0100 @@ -1,19 +1,19 @@ -/* mbed Microcontroller Library - stackheap - * Copyright (C) 2009-2011 ARM Limited. All rights reserved. - * - */ - -#include "sys_helper.h" - -/* This function specifies the amount of memory of the internal RAM to - reserve for the stack. The default implementation will reserve 0 bytes - which gives the normal behaviour where the stack and heap share all the - internal RAM. - - You can override this function in your code to reserve a number of bytes - for the stack. -*/ -extern "C" __attribute__((weak)) uint32_t __reserved_stack_size(); -extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() { - return 0; // return 0 to indicate that nothing is reserved -} +/* mbed Microcontroller Library - stackheap + * Copyright (C) 2009-2011 ARM Limited. All rights reserved. + * + */ + +#include "sys_helper.h" + +/* This function specifies the amount of memory of the internal RAM to + reserve for the stack. The default implementation will reserve 0 bytes + which gives the normal behaviour where the stack and heap share all the + internal RAM. + + You can override this function in your code to reserve a number of bytes + for the stack. +*/ +extern "C" __attribute__((weak)) uint32_t __reserved_stack_size(); +extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() { + return 0; // return 0 to indicate that nothing is reserved +}