fix InitBoardMemory and InstallConsole bug for XiZi bsp/board

This commit is contained in:
Liu_Weichao
2022-04-20 16:24:13 +08:00
parent 82c2dd55fe
commit aedd1e046e
12 changed files with 39 additions and 22 deletions
@@ -34,7 +34,7 @@ void InitBoardHardware()
{
extern int InitHwUart(void);
InitHwUart();
InstallConsole(SERIAL_BUS_NAME_1, SERIAL_DRV_NAME_1, SERIAL_DEVICE_NAME_1);
InitBoardMemory((void*)LM3S_SRAM_START, (void*)LM3S_SRAM_END);
InitBoardMemory((void*)LM3S_SRAM_START, (void*)LM3S_SRAM_END);
InstallConsole(SERIAL_BUS_NAME_1, SERIAL_DRV_NAME_1, SERIAL_DEVICE_NAME_1);
}