закомменчена работа с внешней памятью emif которой нет
This commit is contained in:
parent
87176c5751
commit
e40ca219c6
@ -32,7 +32,7 @@ void main(void)
|
||||
ipc_run();
|
||||
|
||||
#ifdef CPU1
|
||||
emif_run();
|
||||
// emif_run();
|
||||
// frmmstr_run();
|
||||
#endif
|
||||
}
|
||||
|
@ -42,7 +42,7 @@ int i;
|
||||
//extern void setup_emif1_pinmux_async_16bit(Uint16);
|
||||
|
||||
|
||||
#define DEBUG_BOARD
|
||||
//#define DEBUG_BOARD
|
||||
|
||||
#ifdef DEBUG_BOARD
|
||||
|
||||
@ -333,7 +333,9 @@ char mem_read_write(Uint32 start_addr, Uint32 mem_size)
|
||||
mem_wds = 0x012;
|
||||
// for (i=0; i < mem_size; i++)
|
||||
// {
|
||||
#ifdef DEBUG_BOARD
|
||||
flash_gpio_debug_board((Uint32)XMEM_ps, mem_wds);
|
||||
#endif
|
||||
*XMEM_ps = mem_wds;
|
||||
// if(i < ASRAM_CS2_SIZE) Arr1[i] = mem_wds & 0x0FF;
|
||||
// XMEM_ps ++;
|
||||
@ -352,7 +354,9 @@ char mem_read_write(Uint32 start_addr, Uint32 mem_size)
|
||||
XMEM_ps = (long *)(start_addr+0x8000);
|
||||
// for (i=0; i < mem_size; i++)
|
||||
// {
|
||||
#ifdef DEBUG_BOARD
|
||||
flash_gpio_debug_board((Uint32)XMEM_ps, mem_wds);
|
||||
#endif
|
||||
mem_rds = *XMEM_ps;
|
||||
// if(i < ASRAM_CS2_SIZE) Arr2[i] = mem_rds & 0xFF;
|
||||
// }
|
||||
|
Loading…
Reference in New Issue
Block a user