mirror of https://github.com/ARMmbed/mbed-os.git
Fixed issues raised in the feedback from ARM for the ADuCM4050 platform.
parent
00b1e72e49
commit
ce580dde74
|
@ -65,18 +65,6 @@ const uint32_t SECTION_PLACE(blank_checksum[],".checksum") =
|
||||||
BLANKX60,BLANKX600
|
BLANKX60,BLANKX600
|
||||||
};
|
};
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------
|
|
||||||
A relocated IVT is requested. Provision for IVT relocation
|
|
||||||
to RAM during startup. This allows for dynamic interrupt
|
|
||||||
vector patching required by RTOS. Places the relocated IVT
|
|
||||||
at the start of RAM. We need (72 + 15 + 1)*4 = 352 bytes,
|
|
||||||
which address 0x20000000.
|
|
||||||
*----------------------------------------------------------------------------*/
|
|
||||||
#ifdef __ICCARM__
|
|
||||||
void (*__Relocated___Vectors[NVIC_NUM_VECTORS])(void) @(NVIC_RAM_VECTOR_ADDRESS);
|
|
||||||
#else
|
|
||||||
void (*__Relocated___Vectors[NVIC_NUM_VECTORS])(void) __attribute__((at(NVIC_RAM_VECTOR_ADDRESS)));
|
|
||||||
#endif /* __ICCARM__ */
|
|
||||||
|
|
||||||
/*----------------------------------------------------------------------------
|
/*----------------------------------------------------------------------------
|
||||||
External function Declaration
|
External function Declaration
|
||||||
|
|
|
@ -47,10 +47,6 @@
|
||||||
#include "pinmap.h"
|
#include "pinmap.h"
|
||||||
#include "PeripheralPins.h"
|
#include "PeripheralPins.h"
|
||||||
|
|
||||||
/** Analogin hal structure. analogin_s is declared in the target's hal
|
|
||||||
*/
|
|
||||||
typedef struct analogin_s analogin_t;
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -17,35 +17,11 @@
|
||||||
#ifndef MBED_MBED_RTX_H
|
#ifndef MBED_MBED_RTX_H
|
||||||
#define MBED_MBED_RTX_H
|
#define MBED_MBED_RTX_H
|
||||||
|
|
||||||
#if defined(TARGET_EV_COG_AD3029LZ)
|
#if defined(TARGET_EV_COG_AD4050LZ)
|
||||||
|
|
||||||
#ifndef INITIAL_SP
|
|
||||||
#define INITIAL_SP (0x20004000UL)
|
|
||||||
#endif
|
|
||||||
#ifndef OS_TASKCNT
|
|
||||||
#define OS_TASKCNT 6
|
|
||||||
#endif
|
|
||||||
#ifndef OS_MAINSTKSIZE
|
|
||||||
#define OS_MAINSTKSIZE 112
|
|
||||||
#endif
|
|
||||||
#ifndef OS_CLOCK
|
|
||||||
#define OS_CLOCK 26000000
|
|
||||||
#endif
|
|
||||||
#ifndef MBED_CONF_APP_THREAD_STACK_SIZE
|
|
||||||
#define MBED_CONF_APP_THREAD_STACK_SIZE 1024
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#elif defined(TARGET_EV_COG_AD4050LZ)
|
|
||||||
|
|
||||||
#ifndef INITIAL_SP
|
#ifndef INITIAL_SP
|
||||||
#define INITIAL_SP (0x20048000UL)
|
#define INITIAL_SP (0x20048000UL)
|
||||||
#endif
|
#endif
|
||||||
#ifndef OS_TASKCNT
|
|
||||||
#define OS_TASKCNT 6
|
|
||||||
#endif
|
|
||||||
#ifndef OS_MAINSTKSIZE
|
|
||||||
#define OS_MAINSTKSIZE 112
|
|
||||||
#endif
|
|
||||||
#ifndef OS_CLOCK
|
#ifndef OS_CLOCK
|
||||||
#define OS_CLOCK 26000000
|
#define OS_CLOCK 26000000
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue