]> git.donarmstrong.com Git - qmk_firmware.git/blob - tool/mbed/mbed-sdk/libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp
Squashed 'tmk_core/' changes from 7967731..b9e0ea0
[qmk_firmware.git] / tool / mbed / mbed-sdk / libraries / mbed / targets / cmsis / TARGET_NXP / TARGET_LPC408X / TOOLCHAIN_ARM_STD / sys_helper.cpp
1 /* mbed Microcontroller Library - stackheap
2  * Copyright (C) 2009-2011 ARM Limited. All rights reserved.
3  *
4  */
5
6 #include "sys_helper.h"
7
8 /* This function specifies the amount of memory of the internal RAM to
9    reserve for the stack. The default implementation will reserve 0 bytes
10    which gives the normal behaviour where the stack and heap share all the
11    internal RAM.
12
13    You can override this function in your code to reserve a number of bytes
14    for the stack.
15 */
16 extern "C" __attribute__((weak)) uint32_t __reserved_stack_size();
17 extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() {
18     return 0; // return 0 to indicate that nothing is reserved
19 }