|
|
|
@ -240,8 +240,6 @@ typedef struct
|
|
|
|
#define SERIAL_DATA *((volatile unsigned *) SERIAL_BASE_ADDRESS)
|
|
|
|
#define SERIAL_DATA *((volatile unsigned *) SERIAL_BASE_ADDRESS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int stdout_putchar(char txchar)
|
|
|
|
int stdout_putchar(char txchar)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -258,6 +256,8 @@ void ttywrch (int ch)
|
|
|
|
stdout_putchar(ch);
|
|
|
|
stdout_putchar(ch);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------------
|
|
|
|
/*----------------------------------------------------------------------------
|
|
|
|
System initialization function
|
|
|
|
System initialization function
|
|
|
|
*----------------------------------------------------------------------------*/
|
|
|
|
*----------------------------------------------------------------------------*/
|
|
|
|
@ -289,7 +289,7 @@ void SystemInit (void)
|
|
|
|
|
|
|
|
|
|
|
|
// enable DL branch cache
|
|
|
|
// enable DL branch cache
|
|
|
|
CCR |= CCR_DL;
|
|
|
|
CCR |= CCR_DL;
|
|
|
|
|
|
|
|
__ISB();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|