We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1448b87 commit e8b09cbCopy full SHA for e8b09cb
libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp
@@ -13,7 +13,7 @@
13
You can override this function in your code to reserve a number of bytes
14
for the stack.
15
*/
16
-extern "C" WEAK uint32_t __reserved_stack_size();
17
-extern "C" WEAK uint32_t __reserved_stack_size() {
+extern "C" __attribute__((weak)) uint32_t __reserved_stack_size();
+extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() {
18
return 0; // return 0 to indicate that nothing is reserved
19
}
libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h
@@ -2,7 +2,6 @@
2
#define SYS_HELPER_H
3
4
#include <stdint.h>
5
-#include "toolchain.h"
6
7
#ifdef __cplusplus
8
extern "C" {
0 commit comments