1.add nuc487_flash.sct to fix scons build error:Fatal error: L6031U.

2.fix using keil_v5 build warning, add new line at the end of drv_uart.c.
This commit is contained in:
Jess 2019-01-05 04:18:09 +08:00
parent 366e28f476
commit fd05a8af3e
3 changed files with 17 additions and 2 deletions

View File

@ -402,4 +402,4 @@ int rt_hw_uart_init(void)
#endif
return 0;
}
}

View File

@ -0,0 +1,15 @@
; *************************************************************
; *** Scatter-Loading Description File generated by uVision ***
; *************************************************************
LR_IROM1 0x00000000 0x00080000 { ; load region size_region
ER_IROM1 0x00000000 0x00080000 { ; load address = execution address
*.o (RESET, +First)
*(InRoot$$Sections)
.ANY (+RO)
}
RW_IRAM1 0x20000000 0x00028000 { ; RW data
.ANY (+RW +ZI)
}
}

View File

@ -3,7 +3,7 @@ import os
# toolchains options
ARCH='arm'
CPU='cortex-m4'
CROSS_TOOL='gcc'
CROSS_TOOL='keil'
if os.getenv('RTT_CC'):
CROSS_TOOL = os.getenv('RTT_CC')