mirror of https://github.com/ARMmbed/mbed-os.git
Analog devices: overwrite cmsis startup
define __PROGRAM_START so we use own startup as AD had it defined, this fixes the conflicts with CMSIS_5 update (they introduced low level init).pull/12949/head
parent
2c8be47525
commit
067630a2dd
|
|
@ -47,7 +47,9 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#ifdef __ARMCC_VERSION
|
||||
#include <rt_misc.h>
|
||||
#endif
|
||||
#define __PROGRAM_START
|
||||
#include <cmsis.h>
|
||||
#undef __PROGRAM_START
|
||||
#include <startup_ADuCM3029.h>
|
||||
#include <mbed_rtx.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -34,7 +34,9 @@
|
|||
|
||||
Portions Copyright (c) 2016 - 2017 Analog Devices, Inc.
|
||||
---------------------------------------------------------------------------*/
|
||||
#define __PROGRAM_START
|
||||
#include <cmsis.h>
|
||||
#undef __PROGRAM_START
|
||||
#include <adi_pwr.h>
|
||||
#include <adi_gpio.h>
|
||||
#include <startup_ADuCM3029.h>
|
||||
|
|
|
|||
|
|
@ -47,7 +47,10 @@ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|||
#ifdef __ARMCC_VERSION
|
||||
#include <rt_misc.h>
|
||||
#endif
|
||||
|
||||
#define __PROGRAM_START
|
||||
#include <cmsis.h>
|
||||
#undef __PROGRAM_START
|
||||
#include <startup_ADuCM4050.h>
|
||||
#include <mbed_rtx.h>
|
||||
|
||||
|
|
|
|||
|
|
@ -102,10 +102,6 @@ extern uint32_t Load$$LR$$LR_IROM1$$Base[];
|
|||
extern uint32_t __etext;
|
||||
extern uint32_t __data_start__;
|
||||
extern uint32_t __data_end__;
|
||||
extern uint32_t __copy_table_start__;
|
||||
extern uint32_t __copy_table_end__;
|
||||
extern uint32_t __zero_table_start__;
|
||||
extern uint32_t __zero_table_end__;
|
||||
extern uint32_t __bss_start__;
|
||||
extern uint32_t __bss_end__;
|
||||
extern uint32_t __StackTop;
|
||||
|
|
|
|||
|
|
@ -35,7 +35,9 @@
|
|||
Portions Copyright (c) 2016 - 2017 Analog Devices, Inc.
|
||||
---------------------------------------------------------------------------*/
|
||||
|
||||
#define __PROGRAM_START
|
||||
#include <cmsis.h>
|
||||
#undef __PROGRAM_START
|
||||
#include <adi_pwr.h>
|
||||
#include <startup_ADuCM4050.h>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue