#define SVCall_Handler SVC_Handler in lpcxpresso startup for lpc175x_6x & lpc11uxx for better compatiable with other lib & toolchain.

added lpc176x xpresso with cmsis rtx
This commit is contained in:
hathach
2014-03-19 18:12:51 +07:00
parent eb5dd58b51
commit ce85e4d98f
15 changed files with 135 additions and 15 deletions
@@ -63,7 +63,7 @@
//#define CFG_PRINTF_TARGET PRINTF_TARGET_SWO
#define CFG_PRINTF_TARGET PRINTF_TARGET_UART // FIXME keil's cmsis rtx does not work with UART (work with SWO)
#define CFG_PRINTF_TARGET PRINTF_TARGET_UART
#ifdef __cplusplus
}
@@ -21,7 +21,9 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include "lpc_types.h"
#include "lpc43xx_i2c.h"
@@ -249,3 +251,4 @@ void acc_setMode(acc_mode_t mode)
setModeControl(mctl);
}
#endif
@@ -24,6 +24,9 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include <string.h>
#include <stdio.h>
@@ -193,3 +196,5 @@ int16_t base_eeprom_write(uint8_t* buf, uint16_t offset, uint16_t len)
return written;
}
#endif
@@ -24,6 +24,9 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include <string.h>
#include <stdio.h>
@@ -126,3 +129,4 @@ int32_t lm75a_readTemp(void)
}
#endif
@@ -21,6 +21,9 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include "lpc43xx.h"
#include "lpc_types.h"
@@ -167,4 +170,5 @@ uint32_t memreg_init (void)
return FALSE;
}
#endif
@@ -21,6 +21,9 @@
/******************************************************************************
* Includes
*****************************************************************************/
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include "lpc_types.h"
#include "lpc43xx_scu.h"
@@ -541,3 +544,4 @@ uint32_t norflash_secid_writeWord(uint16_t target, uint16_t* data, uint16_t len)
return TRUE;
}
#endif
@@ -1,3 +1,6 @@
#include "../../board.h"
#if BOARD == BOARD_EA4357
#include "lpc43xx_i2c.h"
#include "lpc43xx_scu.h"
@@ -152,5 +155,5 @@ int32_t Uda1380_ReadData(uint8_t reg, uint16_t *data)
return UDA1380_FUNC_ERR;
}
#endif