fix lunch params etc.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
ENTRY(Reset_Handler)
|
||||
MEMORY
|
||||
{
|
||||
RAM (arw) : ORIGIN = 0x20000000, LENGTH = 0x800000
|
||||
RAM (arw) : ORIGIN = 0x20000000, LENGTH = 0x2000000
|
||||
FLASH (arx) : ORIGIN = 0x8000000 + 0x2000 + 0x1000, LENGTH = 0x30000
|
||||
}
|
||||
SECTIONS
|
||||
|
||||
@@ -125,7 +125,8 @@ static void uart_hardware_flow_rts(USART_TypeDef *USARTx, uint16_t flow)
|
||||
USARTx->CR3 = (uint16_t)tmpreg;
|
||||
}
|
||||
static uart_t uart = {
|
||||
.baud = 115200};
|
||||
.baud = 115200,
|
||||
};
|
||||
|
||||
uart_t *uart_get_global(void)
|
||||
{
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
printk("\n%s:%d %s\n", __FILE__, __LINE__, #cond); \
|
||||
dumpstack(); \
|
||||
mm_trace(); \
|
||||
sys_reset(); \
|
||||
/*sys_reset();*/ \
|
||||
while (1) \
|
||||
; \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user