From db3f8d3344e54fc7b902ead8a2df2893cf684797 Mon Sep 17 00:00:00 2001
From: chenyong <1521761801@qq.com>
Date: Mon, 5 Nov 2018 20:18:12 +0800
Subject: [PATCH] [bsp] fix default project compilation error.
Signed-off-by: chenyong <1521761801@qq.com>
---
bsp/stm32f40x/project.uvproj | 661 +++++----------------------
bsp/stm32f40x/project.uvprojx | 289 ++----------
bsp/stm32f429-apollo/project.uvprojx | 26 +-
3 files changed, 162 insertions(+), 814 deletions(-)
diff --git a/bsp/stm32f40x/project.uvproj b/bsp/stm32f40x/project.uvproj
index 1663b588ea..cedaa18f20 100644
--- a/bsp/stm32f40x/project.uvproj
+++ b/bsp/stm32f40x/project.uvproj
@@ -1,36 +1,42 @@
+
1.1
+
### uVision Project, (C) Keil Software
+
rt-thread_stm32f4xx
0x4
ARM-ADS
+ 5060750::V5.06 update 6 (build 750)::ARMCC
+ 0
STM32F407VG
STMicroelectronics
IRAM(0x20000000-0x2001FFFF) IRAM2(0x10000000-0x1000FFFF) IROM(0x8000000-0x80FFFFF) CLOCK(25000000) CPUTYPE("Cortex-M4") FPU2
-
+
"Startup\ST\STM32F4xx\startup_stm32f4xx.s" ("STM32F4xx Startup Code")
UL2CM3(-O207 -S0 -C0 -FO7 -FD20000000 -FC800 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000)
6103
stm32f4xx.h
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
SFD\ST\STM32F4xx\STM32F4xx.sfr
+ 0
0
-
-
-
+
+
+
ST\STM32F4xx\
ST\STM32F4xx\
@@ -54,29 +60,35 @@
0
0
-
-
+
+
0
0
+ 0
+ 0
0
0
-
-
+
+
0
0
+ 0
+ 0
1
0
fromelf --bin !L --output rtthread.bin
-
+
0
0
+ 0
+ 0
0
-
+
0
@@ -90,8 +102,9 @@
0
0
3
-
-
+
+
+ 1
SARMCM3.DLL
@@ -121,6 +134,7 @@
1
1
0
+ 1
1
@@ -131,22 +145,24 @@
1
0
1
+ 0
+ 1
0
- 8
+ -1
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
STLink\ST-LINKIII-KEIL.dll
@@ -159,9 +175,14 @@
1
4100
+ 0
STLink\ST-LINKIII-KEIL.dll
"" ()
-
+
+
+
+
+ 0
@@ -193,7 +214,7 @@
0
0
"Cortex-M4"
-
+
0
0
0
@@ -208,6 +229,7 @@
0
0
0
+ 0
3
3
0
@@ -324,7 +346,7 @@
0x10000
-
+
1
@@ -339,11 +361,22 @@
0
0
0
+ 0
+ 0
+ 0
+ 0
+ 1
+ 1
+ 1
+ 1
+ 0
+ 0
+ 0
-
+
RT_USING_ARM_LIBC, USE_STDPERIPH_DRIVER
-
- applications;.;drivers;Libraries\STM32F4xx_StdPeriph_Driver\inc;Libraries\CMSIS\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\pthreads;..\..\components\libc\time;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\dfs_net\sys_select;..\..\components\net\sal_socket\include\socket\sys_socket
+
+ applications;.;drivers;Libraries\STM32F4xx_StdPeriph_Driver\inc;Libraries\CMSIS\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\libc\pthreads;..\..\components\libc\time
@@ -354,11 +387,14 @@
0
0
0
+ 0
+ 0
+ 0
-
-
-
-
+
+
+
+
@@ -370,12 +406,13 @@
0
0x08000000
0x20000000
-
-
-
+
+
+
+
--keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab)
-
-
+
+
@@ -384,16 +421,9 @@
Applications
- application.c
+ main.c
1
- applications\application.c
-
-
-
-
- startup.c
- 1
- applications\startup.c
+ applications\main.c
@@ -405,29 +435,16 @@
1
drivers\board.c
-
-
stm32f4xx_it.c
1
drivers\stm32f4xx_it.c
-
-
usart.c
1
drivers\usart.c
-
-
-
- stm32f4xx_eth.c
- 1
- drivers\stm32f4xx_eth.c
-
-
-
gpio.c
1
@@ -443,225 +460,161 @@
1
Libraries\CMSIS\ST\STM32F4xx\Source\Templates\system_stm32f4xx.c
-
-
misc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\misc.c
-
-
stm32f4xx_adc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_adc.c
-
-
stm32f4xx_can.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_can.c
-
-
stm32f4xx_crc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_crc.c
-
-
stm32f4xx_cryp.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_cryp.c
-
-
stm32f4xx_cryp_aes.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_cryp_aes.c
-
-
stm32f4xx_cryp_des.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_cryp_des.c
-
-
stm32f4xx_cryp_tdes.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_cryp_tdes.c
-
-
stm32f4xx_dac.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dac.c
-
-
stm32f4xx_dbgmcu.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dbgmcu.c
-
-
stm32f4xx_dcmi.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dcmi.c
-
-
stm32f4xx_dma.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_dma.c
-
-
stm32f4xx_exti.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_exti.c
-
-
stm32f4xx_flash.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_flash.c
-
-
stm32f4xx_fsmc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_fsmc.c
-
-
stm32f4xx_gpio.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_gpio.c
-
-
stm32f4xx_hash.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_hash.c
-
-
stm32f4xx_hash_md5.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_hash_md5.c
-
-
stm32f4xx_hash_sha1.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_hash_sha1.c
-
-
stm32f4xx_i2c.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_i2c.c
-
-
stm32f4xx_iwdg.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_iwdg.c
-
-
stm32f4xx_pwr.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_pwr.c
-
-
stm32f4xx_rcc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_rcc.c
-
-
stm32f4xx_rng.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_rng.c
-
-
stm32f4xx_rtc.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_rtc.c
-
-
stm32f4xx_sdio.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_sdio.c
-
-
stm32f4xx_spi.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_spi.c
-
-
stm32f4xx_syscfg.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_syscfg.c
-
-
stm32f4xx_tim.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_tim.c
-
-
stm32f4xx_usart.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_usart.c
-
-
stm32f4xx_wwdg.c
1
Libraries\STM32F4xx_StdPeriph_Driver\src\stm32f4xx_wwdg.c
-
-
startup_stm32f4xx.s
2
@@ -677,92 +630,71 @@
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
-
-
+
+ memheap.c
+ 1
+ ..\..\src\memheap.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
@@ -778,29 +710,21 @@
1
..\..\libcpu\arm\cortex-m4\cpuport.c
-
-
context_rvds.S
2
..\..\libcpu\arm\cortex-m4\context_rvds.S
-
-
backtrace.c
1
..\..\libcpu\arm\common\backtrace.c
-
-
div0.c
1
..\..\libcpu\arm\common\div0.c
-
-
showmem.c
1
@@ -816,57 +740,41 @@
1
..\..\components\dfs\src\dfs.c
-
-
dfs_file.c
1
..\..\components\dfs\src\dfs_file.c
-
-
dfs_fs.c
1
..\..\components\dfs\src\dfs_fs.c
-
-
dfs_posix.c
1
..\..\components\dfs\src\dfs_posix.c
-
-
poll.c
1
..\..\components\dfs\src\poll.c
-
-
select.c
1
..\..\components\dfs\src\select.c
-
-
devfs.c
1
..\..\components\dfs\filesystems\devfs\devfs.c
-
-
dfs_elm.c
1
..\..\components\dfs\filesystems\elmfat\dfs_elm.c
-
-
ff.c
1
@@ -882,50 +790,41 @@
1
..\..\components\drivers\misc\pin.c
-
-
serial.c
1
..\..\components\drivers\serial\serial.c
-
-
completion.c
1
..\..\components\drivers\src\completion.c
-
-
dataqueue.c
1
..\..\components\drivers\src\dataqueue.c
-
-
pipe.c
1
..\..\components\drivers\src\pipe.c
-
-
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\src\ringblk_buf.c
+
ringbuffer.c
1
..\..\components\drivers\src\ringbuffer.c
-
-
waitqueue.c
1
..\..\components\drivers\src\waitqueue.c
-
-
workqueue.c
1
@@ -941,106 +840,76 @@
1
..\..\components\finsh\shell.c
-
-
symbol.c
1
..\..\components\finsh\symbol.c
-
-
cmd.c
1
..\..\components\finsh\cmd.c
-
-
msh.c
1
..\..\components\finsh\msh.c
-
-
msh_cmd.c
1
..\..\components\finsh\msh_cmd.c
-
-
msh_file.c
1
..\..\components\finsh\msh_file.c
-
-
finsh_compiler.c
1
..\..\components\finsh\finsh_compiler.c
-
-
finsh_error.c
1
..\..\components\finsh\finsh_error.c
-
-
finsh_heap.c
1
..\..\components\finsh\finsh_heap.c
-
-
finsh_init.c
1
..\..\components\finsh\finsh_init.c
-
-
finsh_node.c
1
..\..\components\finsh\finsh_node.c
-
-
finsh_ops.c
1
..\..\components\finsh\finsh_ops.c
-
-
finsh_parser.c
1
..\..\components\finsh\finsh_parser.c
-
-
finsh_var.c
1
..\..\components\finsh\finsh_var.c
-
-
finsh_vm.c
1
..\..\components\finsh\finsh_vm.c
-
-
finsh_token.c
1
@@ -1056,34 +925,31 @@
1
..\..\components\libc\compilers\armlibc\libc.c
-
-
mem_std.c
1
..\..\components\libc\compilers\armlibc\mem_std.c
-
-
stdio.c
1
..\..\components\libc\compilers\armlibc\stdio.c
-
-
stubs.c
1
..\..\components\libc\compilers\armlibc\stubs.c
-
-
time.c
1
..\..\components\libc\compilers\armlibc\time.c
+
+ gmtime_r.c
+ 1
+ ..\..\components\libc\compilers\common\gmtime_r.c
+
@@ -1094,85 +960,61 @@
1
..\..\components\libc\pthreads\mqueue.c
-
-
pthread.c
1
..\..\components\libc\pthreads\pthread.c
-
-
pthread_attr.c
1
..\..\components\libc\pthreads\pthread_attr.c
-
-
pthread_barrier.c
1
..\..\components\libc\pthreads\pthread_barrier.c
-
-
pthread_cond.c
1
..\..\components\libc\pthreads\pthread_cond.c
-
-
pthread_mutex.c
1
..\..\components\libc\pthreads\pthread_mutex.c
-
-
pthread_rwlock.c
1
..\..\components\libc\pthreads\pthread_rwlock.c
-
-
pthread_spin.c
1
..\..\components\libc\pthreads\pthread_spin.c
-
-
pthread_tls.c
1
..\..\components\libc\pthreads\pthread_tls.c
-
-
sched.c
1
..\..\components\libc\pthreads\sched.c
-
-
semaphore.c
1
..\..\components\libc\pthreads\semaphore.c
-
-
clock_time.c
1
..\..\components\libc\time\clock_time.c
-
-
posix_sleep.c
1
@@ -1180,307 +1022,8 @@
-
- lwIP
-
-
- sys_arch.c
- 1
- ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
-
-
-
-
- api_lib.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\api_lib.c
-
-
-
-
- api_msg.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\api_msg.c
-
-
-
-
- err.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\err.c
-
-
-
-
- netbuf.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netbuf.c
-
-
-
-
- netdb.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netdb.c
-
-
-
-
- netifapi.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netifapi.c
-
-
-
-
- sockets.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\sockets.c
-
-
-
-
- tcpip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\tcpip.c
-
-
-
-
- def.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\def.c
-
-
-
-
- dns.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\dns.c
-
-
-
-
- inet_chksum.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
-
-
-
-
- init.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\init.c
-
-
-
-
- ip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ip.c
-
-
-
-
- memp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\memp.c
-
-
-
-
- netif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\netif.c
-
-
-
-
- pbuf.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\pbuf.c
-
-
-
-
- raw.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\raw.c
-
-
-
-
- stats.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\stats.c
-
-
-
-
- sys.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\sys.c
-
-
-
-
- tcp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp.c
-
-
-
-
- tcp_in.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
-
-
-
-
- tcp_out.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
-
-
-
-
- timeouts.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\timeouts.c
-
-
-
-
- udp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\udp.c
-
-
-
-
- ethernet.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
-
-
-
-
- ethernetif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
-
-
-
-
- lowpan6.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
-
-
-
-
- autoip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
-
-
-
-
- dhcp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
-
-
-
-
- etharp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
-
-
-
-
- icmp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
-
-
-
-
- igmp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
-
-
-
-
- ip4.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
-
-
-
-
- ip4_addr.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
-
-
-
-
- ip4_frag.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
-
-
-
-
- SAL
-
-
- sal_ipaddr.c
- 1
- ..\..\components\net\sal_socket\src\sal_ipaddr.c
-
-
-
-
- sal_socket.c
- 1
- ..\..\components\net\sal_socket\src\sal_socket.c
-
-
-
-
- net_netdb.c
- 1
- ..\..\components\net\sal_socket\socket\net_netdb.c
-
-
-
-
- af_inet_lwip.c
- 1
- ..\..\components\net\sal_socket\impl\af_inet_lwip.c
-
-
-
-
- net_sockets.c
- 1
- ..\..\components\net\sal_socket\socket\net_sockets.c
-
-
-
-
- dfs_net.c
- 1
- ..\..\components\net\sal_socket\dfs_net\dfs_net.c
-
-
-
+
diff --git a/bsp/stm32f40x/project.uvprojx b/bsp/stm32f40x/project.uvprojx
index 7e21edd3b1..3f2b878128 100644
--- a/bsp/stm32f40x/project.uvprojx
+++ b/bsp/stm32f40x/project.uvprojx
@@ -18,29 +18,29 @@
STMicroelectronics
Keil.STM32F4xx_DFP.2.13.0
http://www.keil.com/pack
- IROM(0x08000000,0x100000) IRAM(0x20000000,0x20000) IRAM2(0x10000000,0x10000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
+ IRAM(0x20000000,0x00020000) IRAM2(0x10000000,0x00010000) IROM(0x08000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE
- UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F407VGTx$CMSIS\Flash\STM32F4xx_1024.FLM))
- 0
- $$Device:STM32F407VGTx$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
+ UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F4xx_1024 -FS08000000 -FL0100000 -FP0($$Device:STM32F407VG$CMSIS\Flash\STM32F4xx_1024.FLM))
+ 6103
+ $$Device:STM32F407VG$Drivers\CMSIS\Device\ST\STM32F4xx\Include\stm32f4xx.h
-
+ -DSTM32F40_41xxx
- $$Device:STM32F407VGTx$CMSIS\SVD\STM32F40x.svd
+ $$Device:STM32F407VG$CMSIS\SVD\STM32F40x.svd
0
0
- ST\STM32F4xx\
- ST\STM32F4xx\
+
+
0
0
@@ -53,8 +53,8 @@
1
0
0
- 0
- 0
+ 1
+ 1
.\build\
1
0
@@ -110,7 +110,7 @@
SARMCM3.DLL
- -MPU
+ -MPU -REMAP
DCM.DLL
-pCM4
SARMCM3.DLL
@@ -137,8 +137,8 @@
4100
1
- BIN\UL2CM3.DLL
- "" ()
+ STLink\ST-LINKIII-KEIL.dll
+
@@ -192,7 +192,7 @@
0
0
3
- 3
+ 4
0
0
0
@@ -323,7 +323,7 @@
0
0
0
- 1
+ 0
0
0
1
@@ -337,7 +337,7 @@
RT_USING_ARM_LIBC, USE_STDPERIPH_DRIVER
- applications;.;drivers;Libraries\STM32F4xx_StdPeriph_Driver\inc;Libraries\CMSIS\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\pthreads;..\..\components\libc\time;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\include\dfs_net\sys_select;..\..\components\net\sal_socket\include\socket\sys_socket
+ applications;.;drivers;Libraries\STM32F4xx_StdPeriph_Driver\inc;Libraries\CMSIS\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\libc\pthreads;..\..\components\libc\time
@@ -382,14 +382,9 @@
Applications
- application.c
+ main.c
1
- applications\application.c
-
-
- startup.c
- 1
- applications\startup.c
+ applications\main.c
@@ -411,11 +406,6 @@
1
drivers\usart.c
-
- stm32f4xx_eth.c
- 1
- drivers\stm32f4xx_eth.c
-
gpio.c
1
@@ -636,6 +626,11 @@
1
..\..\src\mem.c
+
+ memheap.c
+ 1
+ ..\..\src\memheap.c
+
mempool.c
1
@@ -776,6 +771,11 @@
1
..\..\components\drivers\src\pipe.c
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\src\ringblk_buf.c
+
ringbuffer.c
1
@@ -906,6 +906,11 @@
1
..\..\components\libc\compilers\armlibc\time.c
+
+ gmtime_r.c
+ 1
+ ..\..\components\libc\compilers\common\gmtime_r.c
+
@@ -979,224 +984,7 @@
- lwIP
-
-
- sys_arch.c
- 1
- ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c
-
-
- api_lib.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\api_lib.c
-
-
- api_msg.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\api_msg.c
-
-
- err.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\err.c
-
-
- netbuf.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netbuf.c
-
-
- netdb.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netdb.c
-
-
- netifapi.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\netifapi.c
-
-
- sockets.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\sockets.c
-
-
- tcpip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\api\tcpip.c
-
-
- def.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\def.c
-
-
- dns.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\dns.c
-
-
- inet_chksum.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c
-
-
- init.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\init.c
-
-
- ip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ip.c
-
-
- memp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\memp.c
-
-
- netif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\netif.c
-
-
- pbuf.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\pbuf.c
-
-
- raw.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\raw.c
-
-
- stats.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\stats.c
-
-
- sys.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\sys.c
-
-
- tcp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp.c
-
-
- tcp_in.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c
-
-
- tcp_out.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c
-
-
- timeouts.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\timeouts.c
-
-
- udp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\udp.c
-
-
- ethernet.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c
-
-
- ethernetif.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c
-
-
- lowpan6.c
- 1
- ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c
-
-
- autoip.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c
-
-
- dhcp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c
-
-
- etharp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c
-
-
- icmp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c
-
-
- igmp.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c
-
-
- ip4.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c
-
-
- ip4_addr.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c
-
-
- ip4_frag.c
- 1
- ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c
-
-
-
-
- SAL
-
-
- sal_ipaddr.c
- 1
- ..\..\components\net\sal_socket\src\sal_ipaddr.c
-
-
- sal_socket.c
- 1
- ..\..\components\net\sal_socket\src\sal_socket.c
-
-
- net_netdb.c
- 1
- ..\..\components\net\sal_socket\socket\net_netdb.c
-
-
- net_sockets.c
- 1
- ..\..\components\net\sal_socket\socket\net_sockets.c
-
-
- af_inet_lwip.c
- 1
- ..\..\components\net\sal_socket\impl\af_inet_lwip.c
-
-
- dfs_net.c
- 1
- ..\..\components\net\sal_socket\dfs_net\dfs_net.c
-
-
+ ::CMSIS
@@ -1204,7 +992,14 @@
-
+
+
+
+
+
+
+
+
diff --git a/bsp/stm32f429-apollo/project.uvprojx b/bsp/stm32f429-apollo/project.uvprojx
index 2ec48a0246..bf4393b318 100644
--- a/bsp/stm32f429-apollo/project.uvprojx
+++ b/bsp/stm32f429-apollo/project.uvprojx
@@ -53,8 +53,8 @@
1
0
0
- 0
- 0
+ 1
+ 1
.\Listings\
1
0
@@ -337,7 +337,7 @@
USE_HAL_DRIVER, RT_USING_ARM_LIBC, STM32F429xx
- applications;.;drivers;Libraries\STM32F4xx_HAL_Driver\Inc;Libraries\CMSIS\Device\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\dfs\filesystems\romfs;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;..\..\components\drivers\include;..\..\components\drivers\spi\sfud\inc;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\include\dfs_net\sys_select;..\..\components\net\sal_socket\include\socket\sys_socket
+ applications;.;drivers;Libraries\STM32F4xx_HAL_Driver\Inc;Libraries\CMSIS\Device\ST\STM32F4xx\Include;Libraries\CMSIS\Include;..\..\include;..\..\libcpu\arm\cortex-m4;..\..\libcpu\arm\common;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\dfs\filesystems\romfs;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;..\..\components\drivers\include;..\..\components\drivers\spi\sfud\inc;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\dfs_net\sys_select;..\..\components\net\sal_socket\include\socket\sys_socket
@@ -1125,6 +1125,11 @@
1
..\..\components\drivers\src\pipe.c
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\src\ringblk_buf.c
+
ringbuffer.c
1
@@ -1240,6 +1245,11 @@
1
..\..\components\libc\compilers\armlibc\time.c
+
+ gmtime_r.c
+ 1
+ ..\..\components\libc\compilers\common\gmtime_r.c
+
@@ -1445,16 +1455,16 @@
1
..\..\components\net\sal_socket\socket\net_netdb.c
-
- net_sockets.c
- 1
- ..\..\components\net\sal_socket\socket\net_sockets.c
-
af_inet_lwip.c
1
..\..\components\net\sal_socket\impl\af_inet_lwip.c
+
+ net_sockets.c
+ 1
+ ..\..\components\net\sal_socket\socket\net_sockets.c
+
dfs_net.c
1