mbed library sources. Supersedes mbed-src.
Dependents: Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more
Diff: targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/sys.cpp
- Revision:
- 174:b96e65c34a4d
- Parent:
- 172:7d866c31b3c5
--- a/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/sys.cpp Fri Sep 15 14:59:18 2017 +0100 +++ b/targets/TARGET_NUVOTON/TARGET_M480/device/TOOLCHAIN_ARM_STD/sys.cpp Mon Oct 02 15:33:19 2017 +0100 @@ -9,13 +9,17 @@ extern "C" { #endif +#if defined(__ARMCC_VERSION) && (__ARMCC_VERSION >= 6010050) +#include <arm_compat.h> +#endif + #include <rt_misc.h> #include <stdint.h> extern char Image$$ARM_LIB_STACK$$ZI$$Limit[]; extern char Image$$ARM_LIB_HEAP$$Base[]; extern char Image$$ARM_LIB_HEAP$$ZI$$Limit[]; -extern __value_in_regs struct __initial_stackheap __user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) { +extern __value_in_regs struct __initial_stackheap _mbed_user_setup_stackheap(uint32_t R0, uint32_t R1, uint32_t R2, uint32_t R3) { struct __initial_stackheap r; r.heap_base = (uint32_t)Image$$ARM_LIB_HEAP$$Base;