diff --git a/bsp/nuvoton_m487/driver/drv_uart.c b/bsp/nuvoton_m487/driver/drv_uart.c index a7ab018f8d..40219da801 100644 --- a/bsp/nuvoton_m487/driver/drv_uart.c +++ b/bsp/nuvoton_m487/driver/drv_uart.c @@ -402,4 +402,4 @@ int rt_hw_uart_init(void) #endif return 0; -} \ No newline at end of file +} diff --git a/bsp/nuvoton_m487/nuc487_flash.sct b/bsp/nuvoton_m487/nuc487_flash.sct new file mode 100644 index 0000000000..854e9c45ff --- /dev/null +++ b/bsp/nuvoton_m487/nuc487_flash.sct @@ -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) + } +} + diff --git a/bsp/nuvoton_m487/rtconfig.py b/bsp/nuvoton_m487/rtconfig.py index 3223847a28..f79420b3bc 100644 --- a/bsp/nuvoton_m487/rtconfig.py +++ b/bsp/nuvoton_m487/rtconfig.py @@ -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')