diff --git a/bsp/smartfusion2/project.uvopt b/bsp/smartfusion2/project.uvopt
index 99ce043dfe..51eba0e604 100644
--- a/bsp/smartfusion2/project.uvopt
+++ b/bsp/smartfusion2/project.uvopt
@@ -110,10 +110,10 @@
1
0
1
- 1
+ 0
1
1
- 0
+ 1
0
0
6
@@ -177,7 +177,7 @@
- Kernel
+ Applications
0
0
0
@@ -193,8 +193,8 @@
0
0
0
- ..\..\src\clock.c
- clock.c
+ applications\main.c
+ main.c
0
0
@@ -209,246 +209,14 @@
0
0
0
- ..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- ..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 14
- 0
- 1
- 16
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
- 2
- 16
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
board\board.c
board.c
0
0
- 2
- 17
+ 1
+ 3
1
0
0
@@ -471,8 +239,8 @@
0
0
- 3
- 18
+ 2
+ 4
1
0
0
@@ -487,8 +255,8 @@
0
- 3
- 19
+ 2
+ 5
1
0
0
@@ -503,8 +271,8 @@
0
- 3
- 20
+ 2
+ 6
2
0
0
@@ -521,110 +289,14 @@
- Drivers
- 1
- 0
- 0
- 0
-
- 4
- 21
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- drivers\drv_uart.c
- drv_uart.c
- 0
- 0
-
-
- 4
- 22
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
-
-
- Libraries
- 1
- 0
- 0
- 0
-
- 5
- 23
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- libraries\sys_config\sys_config.c
- sys_config.c
- 0
- 0
-
-
- 5
- 24
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- libraries\mss_gpio\mss_gpio.c
- mss_gpio.c
- 0
- 0
-
-
- 5
- 25
- 1
- 0
- 0
- 0
- 0
- 0
- 0
- 0
- libraries\mss_uart\mss_uart.c
- mss_uart.c
- 0
- 0
-
-
-
-
- cpu
+ CPU
0
0
0
0
- 6
- 26
+ 3
+ 7
1
0
0
@@ -639,8 +311,8 @@
0
- 6
- 27
+ 3
+ 8
1
0
0
@@ -655,8 +327,8 @@
0
- 6
- 28
+ 3
+ 9
1
0
0
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0
- 9
- 44
+ 8
+ 40
1
0
0
@@ -951,8 +879,8 @@
0
- 9
- 45
+ 8
+ 41
1
0
0
@@ -961,14 +889,30 @@
0
0
0
- ..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
+ ..\..\components\libc\compilers\armlibc\syscalls.c
+ syscalls.c
0
0
- 9
- 46
+ 8
+ 42
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\common\stdlib.c
+ stdlib.c
+ 0
+ 0
+
+
+ 8
+ 43
1
0
0
@@ -984,4 +928,60 @@
+
+ Libraries
+ 0
+ 0
+ 0
+ 0
+
+ 9
+ 44
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ libraries\sys_config\sys_config.c
+ sys_config.c
+ 0
+ 0
+
+
+ 9
+ 45
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ libraries\mss_gpio\mss_gpio.c
+ mss_gpio.c
+ 0
+ 0
+
+
+ 9
+ 46
+ 1
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ 0
+ libraries\mss_uart\mss_uart.c
+ mss_uart.c
+ 0
+ 0
+
+
+
diff --git a/bsp/smartfusion2/project.uvoptx b/bsp/smartfusion2/project.uvoptx
index a83e5093d3..57f994ae2b 100644
--- a/bsp/smartfusion2/project.uvoptx
+++ b/bsp/smartfusion2/project.uvoptx
@@ -175,7 +175,7 @@
- Kernel
+ Applications
0
0
0
@@ -187,8 +187,8 @@
0
0
0
- ..\..\src\clock.c
- clock.c
+ applications\main.c
+ main.c
0
0
@@ -199,190 +199,14 @@
0
0
0
- ..\..\src\components.c
- components.c
- 0
- 0
-
-
- 1
- 3
- 1
- 0
- 0
- 0
- ..\..\src\device.c
- device.c
- 0
- 0
-
-
- 1
- 4
- 1
- 0
- 0
- 0
- ..\..\src\idle.c
- idle.c
- 0
- 0
-
-
- 1
- 5
- 1
- 0
- 0
- 0
- ..\..\src\ipc.c
- ipc.c
- 0
- 0
-
-
- 1
- 6
- 1
- 0
- 0
- 0
- ..\..\src\irq.c
- irq.c
- 0
- 0
-
-
- 1
- 7
- 1
- 0
- 0
- 0
- ..\..\src\kservice.c
- kservice.c
- 0
- 0
-
-
- 1
- 8
- 1
- 0
- 0
- 0
- ..\..\src\mem.c
- mem.c
- 0
- 0
-
-
- 1
- 9
- 1
- 0
- 0
- 0
- ..\..\src\mempool.c
- mempool.c
- 0
- 0
-
-
- 1
- 10
- 1
- 0
- 0
- 0
- ..\..\src\object.c
- object.c
- 0
- 0
-
-
- 1
- 11
- 1
- 0
- 0
- 0
- ..\..\src\scheduler.c
- scheduler.c
- 0
- 0
-
-
- 1
- 12
- 1
- 0
- 0
- 0
- ..\..\src\signal.c
- signal.c
- 0
- 0
-
-
- 1
- 13
- 1
- 0
- 0
- 0
- ..\..\src\thread.c
- thread.c
- 0
- 0
-
-
- 1
- 14
- 1
- 0
- 0
- 0
- ..\..\src\timer.c
- timer.c
- 0
- 0
-
-
-
-
- Applications
- 1
- 0
- 0
- 0
-
- 2
- 15
- 1
- 0
- 0
- 0
- applications\main.c
- main.c
- 0
- 0
-
-
- 2
- 16
- 1
- 0
- 0
- 0
board\board.c
board.c
0
0
- 2
- 17
+ 1
+ 3
1
0
0
@@ -401,8 +225,8 @@
0
0
- 3
- 18
+ 2
+ 4
1
0
0
@@ -413,8 +237,8 @@
0
- 3
- 19
+ 2
+ 5
1
0
0
@@ -425,8 +249,8 @@
0
- 3
- 20
+ 2
+ 6
2
0
0
@@ -439,90 +263,14 @@
- Drivers
- 1
- 0
- 0
- 0
-
- 4
- 21
- 1
- 0
- 0
- 0
- drivers\drv_uart.c
- drv_uart.c
- 0
- 0
-
-
- 4
- 22
- 1
- 0
- 0
- 0
- drivers\drv_gpio.c
- drv_gpio.c
- 0
- 0
-
-
-
-
- Libraries
- 1
- 0
- 0
- 0
-
- 5
- 23
- 1
- 0
- 0
- 0
- libraries\sys_config\sys_config.c
- sys_config.c
- 0
- 0
-
-
- 5
- 24
- 1
- 0
- 0
- 0
- libraries\mss_gpio\mss_gpio.c
- mss_gpio.c
- 0
- 0
-
-
- 5
- 25
- 1
- 0
- 0
- 0
- libraries\mss_uart\mss_uart.c
- mss_uart.c
- 0
- 0
-
-
-
-
- cpu
+ CPU
0
0
0
0
- 6
- 26
+ 3
+ 7
1
0
0
@@ -533,8 +281,8 @@
0
- 6
- 27
+ 3
+ 8
1
0
0
@@ -545,8 +293,8 @@
0
- 6
- 28
+ 3
+ 9
1
0
0
@@ -557,8 +305,8 @@
0
- 6
- 29
+ 3
+ 10
1
0
0
@@ -569,8 +317,8 @@
0
- 6
- 30
+ 3
+ 11
2
0
0
@@ -589,8 +337,8 @@
0
0
- 7
- 31
+ 4
+ 12
1
0
0
@@ -601,8 +349,8 @@
0
- 7
- 32
+ 4
+ 13
1
0
0
@@ -613,8 +361,8 @@
0
- 7
- 33
+ 4
+ 14
1
0
0
@@ -625,8 +373,8 @@
0
- 7
- 34
+ 4
+ 15
1
0
0
@@ -637,8 +385,8 @@
0
- 7
- 35
+ 4
+ 16
1
0
0
@@ -649,8 +397,8 @@
0
- 7
- 36
+ 4
+ 17
1
0
0
@@ -661,8 +409,8 @@
0
- 7
- 37
+ 4
+ 18
1
0
0
@@ -673,8 +421,8 @@
0
- 7
- 38
+ 4
+ 19
1
0
0
@@ -685,8 +433,8 @@
0
- 7
- 39
+ 4
+ 20
1
0
0
@@ -698,6 +446,38 @@
+
+ Drivers
+ 0
+ 0
+ 0
+ 0
+
+ 5
+ 21
+ 1
+ 0
+ 0
+ 0
+ drivers\drv_uart.c
+ drv_uart.c
+ 0
+ 0
+
+
+ 5
+ 22
+ 1
+ 0
+ 0
+ 0
+ drivers\drv_gpio.c
+ drv_gpio.c
+ 0
+ 0
+
+
+
finsh
0
@@ -705,8 +485,8 @@
0
0
- 8
- 40
+ 6
+ 23
1
0
0
@@ -717,8 +497,8 @@
0
- 8
- 41
+ 6
+ 24
1
0
0
@@ -729,8 +509,8 @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 +717,32 @@
0
- 9
- 45
+ 8
+ 41
1
0
0
0
- ..\..\components\libc\compilers\armlibc\stubs.c
- stubs.c
+ ..\..\components\libc\compilers\armlibc\syscalls.c
+ syscalls.c
0
0
- 9
- 46
+ 8
+ 42
+ 1
+ 0
+ 0
+ 0
+ ..\..\components\libc\compilers\common\stdlib.c
+ stdlib.c
+ 0
+ 0
+
+
+ 8
+ 43
1
0
0
@@ -798,4 +754,48 @@
+
+ Libraries
+ 0
+ 0
+ 0
+ 0
+
+ 9
+ 44
+ 1
+ 0
+ 0
+ 0
+ libraries\sys_config\sys_config.c
+ sys_config.c
+ 0
+ 0
+
+
+ 9
+ 45
+ 1
+ 0
+ 0
+ 0
+ libraries\mss_gpio\mss_gpio.c
+ mss_gpio.c
+ 0
+ 0
+
+
+ 9
+ 46
+ 1
+ 0
+ 0
+ 0
+ libraries\mss_uart\mss_uart.c
+ mss_uart.c
+ 0
+ 0
+
+
+
diff --git a/bsp/smartfusion2/project.uvproj b/bsp/smartfusion2/project.uvproj
index 34dc365986..2ee7c71eee 100644
--- a/bsp/smartfusion2/project.uvproj
+++ b/bsp/smartfusion2/project.uvproj
@@ -139,9 +139,9 @@
1
0
1
- 1
+ 0
1
- 0
+ 1
0
6
@@ -170,7 +170,7 @@
0
-1
- 1
+ 0
BIN\UL2CM3.DLL
@@ -356,13 +356,13 @@
0
0
0
- 0
+ 1
0
- RT_USING_ARM_LIBC
+ RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- .;..\..\include;applications;board;CMSIS;drivers;libraries\sys_config;libraries\mss_gpio;libraries\mss_uart;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common
+ applications;board;CMSIS;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;libraries\sys_config;libraries\mss_gpio;libraries\mss_uart
@@ -402,81 +402,6 @@
-
- Kernel
-
-
- clock.c
- 1
- ..\..\src\clock.c
-
-
- components.c
- 1
- ..\..\src\components.c
-
-
- device.c
- 1
- ..\..\src\device.c
-
-
- idle.c
- 1
- ..\..\src\idle.c
-
-
- ipc.c
- 1
- ..\..\src\ipc.c
-
-
- irq.c
- 1
- ..\..\src\irq.c
-
-
- kservice.c
- 1
- ..\..\src\kservice.c
-
-
- mem.c
- 1
- ..\..\src\mem.c
-
-
- mempool.c
- 1
- ..\..\src\mempool.c
-
-
- object.c
- 1
- ..\..\src\object.c
-
-
- scheduler.c
- 1
- ..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\src\timer.c
-
-
-
Applications
@@ -518,42 +443,7 @@
- Drivers
-
-
- drv_uart.c
- 1
- drivers\drv_uart.c
-
-
- drv_gpio.c
- 1
- drivers\drv_gpio.c
-
-
-
-
- Libraries
-
-
- sys_config.c
- 1
- libraries\sys_config\sys_config.c
-
-
- mss_gpio.c
- 1
- libraries\mss_gpio\mss_gpio.c
-
-
- mss_uart.c
- 1
- libraries\mss_uart\mss_uart.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -632,6 +522,21 @@
+
+ Drivers
+
+
+ drv_uart.c
+ 1
+ drivers\drv_uart.c
+
+
+ drv_gpio.c
+ 1
+ drivers\drv_gpio.c
+
+
+
finsh
@@ -652,6 +557,76 @@
+
+ Kernel
+
+
+ clock.c
+ 1
+ ..\..\src\clock.c
+
+
+ components.c
+ 1
+ ..\..\src\components.c
+
+
+ device.c
+ 1
+ ..\..\src\device.c
+
+
+ idle.c
+ 1
+ ..\..\src\idle.c
+
+
+ ipc.c
+ 1
+ ..\..\src\ipc.c
+
+
+ irq.c
+ 1
+ ..\..\src\irq.c
+
+
+ kservice.c
+ 1
+ ..\..\src\kservice.c
+
+
+ mem.c
+ 1
+ ..\..\src\mem.c
+
+
+ mempool.c
+ 1
+ ..\..\src\mempool.c
+
+
+ object.c
+ 1
+ ..\..\src\object.c
+
+
+ scheduler.c
+ 1
+ ..\..\src\scheduler.c
+
+
+ thread.c
+ 1
+ ..\..\src\thread.c
+
+
+ timer.c
+ 1
+ ..\..\src\timer.c
+
+
+
libc
@@ -666,9 +641,14 @@
..\..\components\libc\compilers\armlibc\mem_std.c
- stubs.c
+ syscalls.c
1
- ..\..\components\libc\compilers\armlibc\stubs.c
+ ..\..\components\libc\compilers\armlibc\syscalls.c
+
+
+ stdlib.c
+ 1
+ ..\..\components\libc\compilers\common\stdlib.c
time.c
@@ -677,6 +657,26 @@
+
+ Libraries
+
+
+ sys_config.c
+ 1
+ libraries\sys_config\sys_config.c
+
+
+ mss_gpio.c
+ 1
+ libraries\mss_gpio\mss_gpio.c
+
+
+ mss_uart.c
+ 1
+ libraries\mss_uart\mss_uart.c
+
+
+
diff --git a/bsp/smartfusion2/project.uvprojx b/bsp/smartfusion2/project.uvprojx
index 16914df12d..738524c6cb 100644
--- a/bsp/smartfusion2/project.uvprojx
+++ b/bsp/smartfusion2/project.uvprojx
@@ -10,7 +10,7 @@
project
0x4
ARM-ADS
- 5060750::V5.06 update 6 (build 750)::ARMCC
+ 5060750::V5.06 update 6 (build 750)::.\ARMCC
0
@@ -185,6 +185,7 @@
0
0
0
+ 0
0
0
8
@@ -324,7 +325,7 @@
2
0
0
- 0
+ 1
0
0
1
@@ -336,9 +337,9 @@
0
- RT_USING_ARM_LIBC
+ RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND
- .;..\..\include;applications;board;CMSIS;drivers;libraries\sys_config;libraries\mss_gpio;libraries\mss_uart;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common
+ applications;board;CMSIS;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;libraries\sys_config;libraries\mss_gpio;libraries\mss_uart
@@ -351,7 +352,7 @@
0
0
0
- 0
+ 4
@@ -379,81 +380,6 @@
-
- Kernel
-
-
- clock.c
- 1
- ..\..\src\clock.c
-
-
- components.c
- 1
- ..\..\src\components.c
-
-
- device.c
- 1
- ..\..\src\device.c
-
-
- idle.c
- 1
- ..\..\src\idle.c
-
-
- ipc.c
- 1
- ..\..\src\ipc.c
-
-
- irq.c
- 1
- ..\..\src\irq.c
-
-
- kservice.c
- 1
- ..\..\src\kservice.c
-
-
- mem.c
- 1
- ..\..\src\mem.c
-
-
- mempool.c
- 1
- ..\..\src\mempool.c
-
-
- object.c
- 1
- ..\..\src\object.c
-
-
- scheduler.c
- 1
- ..\..\src\scheduler.c
-
-
- signal.c
- 1
- ..\..\src\signal.c
-
-
- thread.c
- 1
- ..\..\src\thread.c
-
-
- timer.c
- 1
- ..\..\src\timer.c
-
-
-
Applications
@@ -495,42 +421,7 @@
- Drivers
-
-
- drv_uart.c
- 1
- drivers\drv_uart.c
-
-
- drv_gpio.c
- 1
- drivers\drv_gpio.c
-
-
-
-
- Libraries
-
-
- sys_config.c
- 1
- libraries\sys_config\sys_config.c
-
-
- mss_gpio.c
- 1
- libraries\mss_gpio\mss_gpio.c
-
-
- mss_uart.c
- 1
- libraries\mss_uart\mss_uart.c
-
-
-
-
- cpu
+ CPU
backtrace.c
@@ -609,6 +500,21 @@
+
+ Drivers
+
+
+ drv_uart.c
+ 1
+ drivers\drv_uart.c
+
+
+ drv_gpio.c
+ 1
+ drivers\drv_gpio.c
+
+
+
finsh
@@ -629,6 +535,76 @@
+
+ Kernel
+
+
+ clock.c
+ 1
+ ..\..\src\clock.c
+
+
+ components.c
+ 1
+ ..\..\src\components.c
+
+
+ device.c
+ 1
+ ..\..\src\device.c
+
+
+ idle.c
+ 1
+ ..\..\src\idle.c
+
+
+ ipc.c
+ 1
+ ..\..\src\ipc.c
+
+
+ irq.c
+ 1
+ ..\..\src\irq.c
+
+
+ kservice.c
+ 1
+ ..\..\src\kservice.c
+
+
+ mem.c
+ 1
+ ..\..\src\mem.c
+
+
+ mempool.c
+ 1
+ ..\..\src\mempool.c
+
+
+ object.c
+ 1
+ ..\..\src\object.c
+
+
+ scheduler.c
+ 1
+ ..\..\src\scheduler.c
+
+
+ thread.c
+ 1
+ ..\..\src\thread.c
+
+
+ timer.c
+ 1
+ ..\..\src\timer.c
+
+
+
libc
@@ -643,9 +619,14 @@
..\..\components\libc\compilers\armlibc\mem_std.c
- stubs.c
+ syscalls.c
1
- ..\..\components\libc\compilers\armlibc\stubs.c
+ ..\..\components\libc\compilers\armlibc\syscalls.c
+
+
+ stdlib.c
+ 1
+ ..\..\components\libc\compilers\common\stdlib.c
time.c
@@ -654,6 +635,26 @@
+
+ Libraries
+
+
+ sys_config.c
+ 1
+ libraries\sys_config\sys_config.c
+
+
+ mss_gpio.c
+ 1
+ libraries\mss_gpio\mss_gpio.c
+
+
+ mss_uart.c
+ 1
+ libraries\mss_uart\mss_uart.c
+
+
+
@@ -664,4 +665,19 @@
+
+
+
+ <Project Info>
+
+
+
+
+
+ 0
+ 1
+
+
+
+
diff --git a/bsp/smartfusion2/template.uvopt b/bsp/smartfusion2/template.uvopt
index 70eae785e9..8735ccdd69 100644
--- a/bsp/smartfusion2/template.uvopt
+++ b/bsp/smartfusion2/template.uvopt
@@ -110,10 +110,10 @@
1
0
1
- 1
+ 0
1
1
- 0
+ 1
0
0
6
diff --git a/bsp/smartfusion2/template.uvproj b/bsp/smartfusion2/template.uvproj
index 99fded24dc..356db37361 100644
--- a/bsp/smartfusion2/template.uvproj
+++ b/bsp/smartfusion2/template.uvproj
@@ -139,9 +139,9 @@
1
0
1
- 1
+ 0
1
- 0
+ 1
0
6
@@ -170,7 +170,7 @@
0
-1
- 1
+ 0
BIN\UL2CM3.DLL
@@ -356,7 +356,7 @@
0
0
0
- 0
+ 1
0
diff --git a/bsp/smartfusion2/template.uvprojx b/bsp/smartfusion2/template.uvprojx
index dbfd0815c2..56ef79c76d 100644
--- a/bsp/smartfusion2/template.uvprojx
+++ b/bsp/smartfusion2/template.uvprojx
@@ -185,6 +185,7 @@
0
0
0
+ 0
0
0
8
@@ -324,7 +325,7 @@
2
0
0
- 0
+ 1
0
0
1
@@ -351,7 +352,7 @@
0
0
0
- 0
+ 4
@@ -392,4 +393,19 @@
+
+
+
+ <Project Info>
+
+
+
+
+
+ 0
+ 1
+
+
+
+