add lpc17xx build config for host demo
This commit is contained in:
@@ -15,6 +15,10 @@
|
||||
***** *****
|
||||
******************************************************************/
|
||||
|
||||
#include "../../board.h"
|
||||
|
||||
#if BOARD == BOARD_EA4357
|
||||
|
||||
#include "EMAC.h"
|
||||
//#include "tcpip.h"
|
||||
#include "lpc43xx.h"
|
||||
@@ -472,3 +476,5 @@ void CopyToFrame_EMAC(void *Source, unsigned int Size)
|
||||
TxDescIndex = 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -20,6 +20,9 @@
|
||||
/******************************************************************************
|
||||
* Includes
|
||||
*****************************************************************************/
|
||||
#include "../../board.h"
|
||||
|
||||
#if BOARD == BOARD_EA4357
|
||||
|
||||
#include "lpc_types.h"
|
||||
#include "lpc43xx_scu.h"
|
||||
@@ -383,7 +386,7 @@ uint32_t nand_isBlockValid(uint32_t block)
|
||||
*
|
||||
* Params:
|
||||
* block - block number to read from
|
||||
* page - page with<74>n block to read from
|
||||
* page - page with<74>n block to read from
|
||||
* pageBuf - data is copied to this buffer. The size must be at least
|
||||
* pageSize.
|
||||
*
|
||||
@@ -540,4 +543,4 @@ uint32_t nand_eraseBlock(uint32_t block)
|
||||
return ((nandStatus() & 0x01) != 0x01);
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,6 +21,9 @@
|
||||
/******************************************************************************
|
||||
* Includes
|
||||
*****************************************************************************/
|
||||
#include "../../board.h"
|
||||
|
||||
#if BOARD == BOARD_EA4357
|
||||
|
||||
#include "lpc43xx.h"
|
||||
#include "lpc_types.h"
|
||||
@@ -265,3 +268,5 @@ uint32_t sdram_test( void )
|
||||
}
|
||||
return 0x1;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user