Skip to content

Commit e8b09cb

Browse files
committed
[LPC4088] Corrected an invalid header file dependecy.
1 parent 1448b87 commit e8b09cb

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
You can override this function in your code to reserve a number of bytes
1414
for the stack.
1515
*/
16-
extern "C" WEAK uint32_t __reserved_stack_size();
17-
extern "C" WEAK uint32_t __reserved_stack_size() {
16+
extern "C" __attribute__((weak)) uint32_t __reserved_stack_size();
17+
extern "C" __attribute__((weak)) uint32_t __reserved_stack_size() {
1818
return 0; // return 0 to indicate that nothing is reserved
1919
}

libraries/mbed/targets/cmsis/TARGET_NXP/TARGET_LPC408X/TOOLCHAIN_ARM_STD/sys_helper.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
#define SYS_HELPER_H
33

44
#include <stdint.h>
5-
#include "toolchain.h"
65

76
#ifdef __cplusplus
87
extern "C" {

0 commit comments

Comments
 (0)