fix lunch params etc.

This commit is contained in:
zhangzheng
2025-01-03 18:29:25 +08:00
parent f40ee6fab2
commit e7d1d0cba6
31 changed files with 146 additions and 185 deletions

View File

@@ -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

View File

@@ -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)
{

View File

@@ -18,7 +18,7 @@
printk("\n%s:%d %s\n", __FILE__, __LINE__, #cond); \
dumpstack(); \
mm_trace(); \
sys_reset(); \
/*sys_reset();*/ \
while (1) \
; \
} \