diff --git a/bsp/CME_M7/.config b/bsp/CME_M7/.config
index df3696cafd..b5f2308dad 100644
--- a/bsp/CME_M7/.config
+++ b/bsp/CME_M7/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -201,7 +200,6 @@ CONFIG_RT_USING_PIN=y
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -210,7 +208,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -243,7 +243,6 @@ CONFIG_NETDEV_USING_PING=y
#
CONFIG_RT_USING_LWIP=y
# CONFIG_RT_USING_LWIP141 is not set
-# CONFIG_RT_USING_LWIP202 is not set
CONFIG_RT_USING_LWIP203=y
# CONFIG_RT_USING_LWIP212 is not set
# CONFIG_RT_USING_LWIP_IPV6 is not set
@@ -476,6 +475,7 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -486,7 +486,6 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -537,6 +536,7 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -648,6 +648,7 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -735,4 +736,6 @@ CONFIG_RT_LWIP_USING_PING=y
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
CONFIG_SOC_CME_M7=y
diff --git a/bsp/CME_M7/project.uvproj b/bsp/CME_M7/project.uvproj
index 72266ffc5e..7ec3e2c7f2 100644
--- a/bsp/CME_M7/project.uvproj
+++ b/bsp/CME_M7/project.uvproj
@@ -363,7 +363,7 @@
__RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- applications;.;CMSIS\CME_M7;CMSIS\CMSIS\Include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;StdPeriph_Driver\inc;..\..\components\net\lwip-2.0.3\src;..\..\components\net\lwip-2.0.3\src\include;..\..\components\net\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip-2.0.3\src\arch\include;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
+ applications;.;CMSIS\CME_M7;CMSIS\CMSIS\Include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;StdPeriph_Driver\inc;..\..\components\net\lwip-2.0.3\src;..\..\components\net\lwip-2.0.3\src\include;..\..\components\net\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip-2.0.3\src\arch\include;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\stdio;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
@@ -414,16 +414,16 @@
- startup.c
+ application.c
1
- applications\startup.c
+ applications\application.c
- application.c
+ startup.c
1
- applications\application.c
+ applications\startup.c
@@ -453,13 +453,6 @@
..\..\components\libc\compilers\armlibc\syscall_mem.c
-
-
- libc_syms.c
- 1
- ..\..\components\libc\compilers\armlibc\libc_syms.c
-
-
syscalls.c
@@ -505,13 +498,6 @@
..\..\libcpu\arm\common\showmem.c
-
-
- context_rvds.S
- 2
- ..\..\libcpu\arm\cortex-m3\context_rvds.S
-
-
cpuport.c
@@ -519,9 +505,65 @@
..\..\libcpu\arm\cortex-m3\cpuport.c
+
+
+ context_rvds.S
+ 2
+ ..\..\libcpu\arm\cortex-m3\context_rvds.S
+
+
DeviceDrivers
+
+
+ pipe.c
+ 1
+ ..\..\components\drivers\ipc\pipe.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\ipc\ringblk_buf.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\components\drivers\ipc\ringbuffer.c
+
+
+
+
+ completion.c
+ 1
+ ..\..\components\drivers\ipc\completion.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\components\drivers\ipc\waitqueue.c
+
+
+
+
+ dataqueue.c
+ 1
+ ..\..\components\drivers\ipc\dataqueue.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\components\drivers\ipc\workqueue.c
+
+
pin.c
@@ -536,55 +578,6 @@
..\..\components\drivers\serial\serial.c
-
-
- waitqueue.c
- 1
- ..\..\components\drivers\src\waitqueue.c
-
-
-
-
- completion.c
- 1
- ..\..\components\drivers\src\completion.c
-
-
-
-
- ringblk_buf.c
- 1
- ..\..\components\drivers\src\ringblk_buf.c
-
-
-
-
- ringbuffer.c
- 1
- ..\..\components\drivers\src\ringbuffer.c
-
-
-
-
- workqueue.c
- 1
- ..\..\components\drivers\src\workqueue.c
-
-
-
-
- dataqueue.c
- 1
- ..\..\components\drivers\src\dataqueue.c
-
-
-
-
- pipe.c
- 1
- ..\..\components\drivers\src\pipe.c
-
-
Drivers
@@ -649,16 +642,16 @@
- dfs_elm.c
+ ffunicode.c
1
- ..\..\components\dfs\filesystems\elmfat\dfs_elm.c
+ ..\..\components\dfs\filesystems\elmfat\ffunicode.c
- ffunicode.c
+ dfs_elm.c
1
- ..\..\components\dfs\filesystems\elmfat\ffunicode.c
+ ..\..\components\dfs\filesystems\elmfat\dfs_elm.c
@@ -702,13 +695,6 @@
Kernel
-
-
- timer.c
- 1
- ..\..\src\timer.c
-
-
mem.c
@@ -716,27 +702,6 @@
..\..\src\mem.c
-
-
- idle.c
- 1
- ..\..\src\idle.c
-
-
-
-
- clock.c
- 1
- ..\..\src\clock.c
-
-
-
-
- irq.c
- 1
- ..\..\src\irq.c
-
-
thread.c
@@ -746,9 +711,9 @@
- device.c
+ irq.c
1
- ..\..\src\device.c
+ ..\..\src\irq.c
@@ -774,9 +739,30 @@
- ipc.c
+ timer.c
1
- ..\..\src\ipc.c
+ ..\..\src\timer.c
+
+
+
+
+ device.c
+ 1
+ ..\..\src\device.c
+
+
+
+
+ mempool.c
+ 1
+ ..\..\src\mempool.c
+
+
+
+
+ idle.c
+ 1
+ ..\..\src\idle.c
@@ -788,9 +774,16 @@
- mempool.c
+ ipc.c
1
- ..\..\src\mempool.c
+ ..\..\src\ipc.c
+
+
+
+
+ clock.c
+ 1
+ ..\..\src\clock.c
@@ -798,44 +791,9 @@
Libraries
- cmem7_eth.c
+ cmem7_spi.c
1
- StdPeriph_Driver\src\cmem7_eth.c
-
-
-
-
- cmem7_flash.c
- 1
- StdPeriph_Driver\src\cmem7_flash.c
-
-
-
-
- cmem7_uart.c
- 1
- StdPeriph_Driver\src\cmem7_uart.c
-
-
-
-
- cmem7_misc.c
- 1
- StdPeriph_Driver\src\cmem7_misc.c
-
-
-
-
- cmem7_i2c.c
- 1
- StdPeriph_Driver\src\cmem7_i2c.c
-
-
-
-
- cmem7_can.c
- 1
- StdPeriph_Driver\src\cmem7_can.c
+ StdPeriph_Driver\src\cmem7_spi.c
@@ -847,16 +805,16 @@
- cmem7_dma.c
+ cmem7_eth.c
1
- StdPeriph_Driver\src\cmem7_dma.c
+ StdPeriph_Driver\src\cmem7_eth.c
- cmem7_gpio.c
+ cmem7_aes.c
1
- StdPeriph_Driver\src\cmem7_gpio.c
+ StdPeriph_Driver\src\cmem7_aes.c
@@ -875,9 +833,9 @@
- cmem7_adc.c
+ cmem7_gpio.c
1
- StdPeriph_Driver\src\cmem7_adc.c
+ StdPeriph_Driver\src\cmem7_gpio.c
@@ -889,16 +847,37 @@
- cmem7_spi.c
+ cmem7_can.c
1
- StdPeriph_Driver\src\cmem7_spi.c
+ StdPeriph_Driver\src\cmem7_can.c
- cmem7_aes.c
+ cmem7_dma.c
1
- StdPeriph_Driver\src\cmem7_aes.c
+ StdPeriph_Driver\src\cmem7_dma.c
+
+
+
+
+ cmem7_i2c.c
+ 1
+ StdPeriph_Driver\src\cmem7_i2c.c
+
+
+
+
+ cmem7_adc.c
+ 1
+ StdPeriph_Driver\src\cmem7_adc.c
+
+
+
+
+ cmem7_flash.c
+ 1
+ StdPeriph_Driver\src\cmem7_flash.c
@@ -908,6 +887,13 @@
StdPeriph_Driver\src\cmem7_efuse.c
+
+
+ cmem7_misc.c
+ 1
+ StdPeriph_Driver\src\cmem7_misc.c
+
+
cmem7_usb.c
@@ -915,16 +901,16 @@
StdPeriph_Driver\src\cmem7_usb.c
+
+
+ cmem7_uart.c
+ 1
+ StdPeriph_Driver\src\cmem7_uart.c
+
+
lwIP
-
-
- ping.c
- 1
- ..\..\components\net\lwip-2.0.3\src\apps\ping\ping.c
-
-
netdb.c
@@ -995,6 +981,13 @@
..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c
+
+
+ ping.c
+ 1
+ ..\..\components\net\lwip-2.0.3\src\apps\ping\ping.c
+
+
dhcp.c
diff --git a/bsp/Vango_V85xx/.config b/bsp/Vango_V85xx/.config
index d3346eb20d..2d07a3ac94 100644
--- a/bsp/Vango_V85xx/.config
+++ b/bsp/Vango_V85xx/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -177,7 +176,6 @@ CONFIG_RT_USING_PIN=y
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -186,7 +184,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -395,6 +395,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -405,7 +406,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -456,6 +456,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -567,6 +568,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -654,6 +656,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
CONFIG_SOC_SERIES_V85XX=y
CONFIG_SOC_V85XX=y
diff --git a/bsp/Vango_V85xx/project.uvprojx b/bsp/Vango_V85xx/project.uvprojx
index 90a6b141c4..9410726a6d 100644
--- a/bsp/Vango_V85xx/project.uvprojx
+++ b/bsp/Vango_V85xx/project.uvprojx
@@ -333,7 +333,7 @@
V85xx, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, USE_TARGET_DRIVER, RT_USING_ARM_LIBC
- applications;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel;Libraries\CMSIS\Vango\V85xx\Include;Libraries\CMSIS;Libraries\VangoV85xx_standard_peripheral\Include
+ applications;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\stdio;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel;Libraries\CMSIS\Vango\V85xx\Include;Libraries\CMSIS;Libraries\VangoV85xx_standard_peripheral\Include
@@ -400,13 +400,6 @@
..\..\components\libc\compilers\armlibc\syscalls.c
-
-
- libc_syms.c
- 1
- ..\..\components\libc\compilers\armlibc\libc_syms.c
-
-
time.c
@@ -433,16 +426,16 @@
- showmem.c
+ backtrace.c
1
- ..\..\libcpu\arm\common\showmem.c
+ ..\..\libcpu\arm\common\backtrace.c
- backtrace.c
+ showmem.c
1
- ..\..\libcpu\arm\common\backtrace.c
+ ..\..\libcpu\arm\common\showmem.c
@@ -462,6 +455,55 @@
DeviceDrivers
+
+
+ dataqueue.c
+ 1
+ ..\..\components\drivers\ipc\dataqueue.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\components\drivers\ipc\ringbuffer.c
+
+
+
+
+ completion.c
+ 1
+ ..\..\components\drivers\ipc\completion.c
+
+
+
+
+ pipe.c
+ 1
+ ..\..\components\drivers\ipc\pipe.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\components\drivers\ipc\waitqueue.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\components\drivers\ipc\workqueue.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\ipc\ringblk_buf.c
+
+
pin.c
@@ -476,55 +518,6 @@
..\..\components\drivers\serial\serial.c
-
-
- ringblk_buf.c
- 1
- ..\..\components\drivers\src\ringblk_buf.c
-
-
-
-
- completion.c
- 1
- ..\..\components\drivers\src\completion.c
-
-
-
-
- waitqueue.c
- 1
- ..\..\components\drivers\src\waitqueue.c
-
-
-
-
- workqueue.c
- 1
- ..\..\components\drivers\src\workqueue.c
-
-
-
-
- dataqueue.c
- 1
- ..\..\components\drivers\src\dataqueue.c
-
-
-
-
- pipe.c
- 1
- ..\..\components\drivers\src\pipe.c
-
-
-
-
- ringbuffer.c
- 1
- ..\..\components\drivers\src\ringbuffer.c
-
-
Drivers
@@ -621,27 +614,6 @@
Kernel
-
-
- ipc.c
- 1
- ..\..\src\ipc.c
-
-
-
-
- mempool.c
- 1
- ..\..\src\mempool.c
-
-
-
-
- kservice.c
- 1
- ..\..\src\kservice.c
-
-
components.c
@@ -658,30 +630,9 @@
- timer.c
+ mempool.c
1
- ..\..\src\timer.c
-
-
-
-
- device.c
- 1
- ..\..\src\device.c
-
-
-
-
- thread.c
- 1
- ..\..\src\thread.c
-
-
-
-
- scheduler.c
- 1
- ..\..\src\scheduler.c
+ ..\..\src\mempool.c
@@ -691,6 +642,13 @@
..\..\src\clock.c
+
+
+ ipc.c
+ 1
+ ..\..\src\ipc.c
+
+
object.c
@@ -700,9 +658,30 @@
- idle.c
+ device.c
1
- ..\..\src\idle.c
+ ..\..\src\device.c
+
+
+
+
+ kservice.c
+ 1
+ ..\..\src\kservice.c
+
+
+
+
+ scheduler.c
+ 1
+ ..\..\src\scheduler.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\src\timer.c
@@ -712,56 +691,28 @@
..\..\src\irq.c
+
+
+ thread.c
+ 1
+ ..\..\src\thread.c
+
+
+
+
+ idle.c
+ 1
+ ..\..\src\idle.c
+
+
Vango_Lib
- lib_spi.c
+ lib_pwm.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_spi.c
-
-
-
-
- lib_clk.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_clk.c
-
-
-
-
- lib_ana.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c
-
-
-
-
- startup_target.S
- 2
- Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S
-
-
-
-
- lib_i2c.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c
-
-
-
-
- lib_tmr.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c
-
-
-
-
- lib_iso7816.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_iso7816.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c
@@ -778,6 +729,111 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_gpio.c
+
+
+ lib_spi.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_spi.c
+
+
+
+
+ lib_wdt.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c
+
+
+
+
+ lib_uart.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_uart.c
+
+
+
+
+ system_target.c
+ 1
+ Libraries\CMSIS\Vango\V85xx\Source\system_target.c
+
+
+
+
+ lib_u32k.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_u32k.c
+
+
+
+
+ lib_clk.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_clk.c
+
+
+
+
+ startup_target.S
+ 2
+ Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S
+
+
+
+
+ lib_cortex.c
+ 1
+ Libraries\CMSIS\Vango\V85xx\Source\lib_cortex.c
+
+
+
+
+ lib_adc.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c
+
+
+
+
+ lib_iso7816.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_iso7816.c
+
+
+
+
+ lib_tmr.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c
+
+
+
+
+ lib_adc_tiny.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_adc_tiny.c
+
+
+
+
+ lib_misc.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c
+
+
+
+
+ lib_dma.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c
+
+
+
+
+ lib_comp.c
+ 1
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_comp.c
+
+
lib_version.c
@@ -794,9 +850,9 @@
- lib_comp.c
+ lib_flash.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_comp.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_flash.c
@@ -808,44 +864,16 @@
- lib_pwm.c
+ lib_pmu.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c
- lib_flash.c
+ lib_i2c.c
1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_flash.c
-
-
-
-
- lib_uart.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_uart.c
-
-
-
-
- lib_u32k.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_u32k.c
-
-
-
-
- lib_cortex.c
- 1
- Libraries\CMSIS\Vango\V85xx\Source\lib_cortex.c
-
-
-
-
- lib_dma.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c
@@ -855,34 +883,6 @@
Libraries\VangoV85xx_standard_peripheral\Source\lib_crypt.c
-
-
- lib_pmu.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c
-
-
-
-
- lib_wdt.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c
-
-
-
-
- lib_adc_tiny.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_adc_tiny.c
-
-
-
-
- lib_adc.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c
-
-
lib_lcd.c
@@ -892,16 +892,9 @@
- system_target.c
+ lib_ana.c
1
- Libraries\CMSIS\Vango\V85xx\Source\system_target.c
-
-
-
-
- lib_misc.c
- 1
- Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c
+ Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c
diff --git a/bsp/acm32f0x0-nucleo/.config b/bsp/acm32f0x0-nucleo/.config
index 491853cabc..5a20703666 100644
--- a/bsp/acm32f0x0-nucleo/.config
+++ b/bsp/acm32f0x0-nucleo/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -170,7 +169,6 @@ CONFIG_RT_USING_WDT=y
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -179,7 +177,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -389,6 +389,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -399,7 +400,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -450,6 +450,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -561,6 +562,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -648,6 +650,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
CONFIG_SOC_SERIES_ACM32F0=y
#
diff --git a/bsp/acm32f0x0-nucleo/project.ewp b/bsp/acm32f0x0-nucleo/project.ewp
index 9678e58c61..437ad9e558 100644
--- a/bsp/acm32f0x0-nucleo/project.ewp
+++ b/bsp/acm32f0x0-nucleo/project.ewp
@@ -353,15 +353,16 @@
$PROJ_DIR$\libraries\HAL_Driver\Inc
$PROJ_DIR$\..\..\include
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\components\libc\compilers\common
$PROJ_DIR$\..\..\components\libc\posix\ipc
$PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\libc\compilers\common\nogcc
$PROJ_DIR$\..\..\examples\utest\testcases\kernel
$PROJ_DIR$\.
$PROJ_DIR$\libraries\Device
$PROJ_DIR$\applications
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\io\stdio
$PROJ_DIR$\libraries\CMSIS
$PROJ_DIR$\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\components\drivers\include
@@ -1406,15 +1407,16 @@
$PROJ_DIR$\libraries\HAL_Driver\Inc
$PROJ_DIR$\..\..\include
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\components\libc\compilers\common
$PROJ_DIR$\..\..\components\libc\posix\ipc
$PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\libc\compilers\common\nogcc
$PROJ_DIR$\..\..\examples\utest\testcases\kernel
$PROJ_DIR$\.
$PROJ_DIR$\libraries\Device
$PROJ_DIR$\applications
$PROJ_DIR$\..\..\components\libc\posix\io\poll
+ $PROJ_DIR$\..\..\components\libc\posix\io\stdio
$PROJ_DIR$\libraries\CMSIS
$PROJ_DIR$\..\..\libcpu\arm\cortex-m0
$PROJ_DIR$\..\..\components\drivers\include
@@ -2153,33 +2155,33 @@
$PROJ_DIR$\..\..\components\libc\compilers\common\time.c
+
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c
+
$PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c
-
$PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c
-
-
- $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c
$PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c
+
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c
+
+
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c
+
$PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c
+
+ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c
+
CPU
@@ -2193,10 +2195,10 @@
$PROJ_DIR$\..\..\libcpu\arm\common\showmem.c
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\cpuport.c
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\context_iar.S
- $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\context_iar.S
+ $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\cpuport.c
@@ -2204,6 +2206,27 @@
$PROJ_DIR$\..\..\components\drivers\hwtimer\hwtimer.c
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\completion.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\waitqueue.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\ringblk_buf.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\ringbuffer.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\dataqueue.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\workqueue.c
+
+
+ $PROJ_DIR$\..\..\components\drivers\ipc\pipe.c
+
$PROJ_DIR$\..\..\components\drivers\misc\adc.c
@@ -2213,44 +2236,23 @@
$PROJ_DIR$\..\..\components\drivers\serial\serial.c
-
- $PROJ_DIR$\..\..\components\drivers\src\workqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\pipe.c
-
-
- $PROJ_DIR$\..\..\components\drivers\src\completion.c
-
$PROJ_DIR$\..\..\components\drivers\watchdog\watchdog.c
Drivers
-
- $PROJ_DIR$\drivers\board.c
-
$PROJ_DIR$\drivers\drv_adc.c
- $PROJ_DIR$\drivers\drv_uart.c
+ $PROJ_DIR$\drivers\drv_hwtimer.c
- $PROJ_DIR$\drivers\drv_hwtimer.c
+ $PROJ_DIR$\drivers\board.c
+
+
+ $PROJ_DIR$\drivers\drv_uart.c
$PROJ_DIR$\drivers\drv_gpio.c
@@ -2274,44 +2276,44 @@
Kernel
- $PROJ_DIR$\..\..\src\mem.c
-
-
- $PROJ_DIR$\..\..\src\kservice.c
-
-
- $PROJ_DIR$\..\..\src\timer.c
-
-
- $PROJ_DIR$\..\..\src\device.c
-
-
- $PROJ_DIR$\..\..\src\object.c
-
-
- $PROJ_DIR$\..\..\src\components.c
+ $PROJ_DIR$\..\..\src\thread.c
$PROJ_DIR$\..\..\src\clock.c
-
- $PROJ_DIR$\..\..\src\thread.c
-
$PROJ_DIR$\..\..\src\idle.c
-
- $PROJ_DIR$\..\..\src\mempool.c
-
$PROJ_DIR$\..\..\src\ipc.c
$PROJ_DIR$\..\..\src\scheduler.c
+
+ $PROJ_DIR$\..\..\src\timer.c
+
+
+ $PROJ_DIR$\..\..\src\mem.c
+
+
+ $PROJ_DIR$\..\..\src\kservice.c
+
+
+ $PROJ_DIR$\..\..\src\components.c
+
$PROJ_DIR$\..\..\src\irq.c
+
+ $PROJ_DIR$\..\..\src\mempool.c
+
+
+ $PROJ_DIR$\..\..\src\device.c
+
+
+ $PROJ_DIR$\..\..\src\object.c
+
POSIX
diff --git a/bsp/acm32f0x0-nucleo/project.uvprojx b/bsp/acm32f0x0-nucleo/project.uvprojx
index 309adbf5e0..a4eb4ae8bd 100644
--- a/bsp/acm32f0x0-nucleo/project.uvprojx
+++ b/bsp/acm32f0x0-nucleo/project.uvprojx
@@ -336,7 +336,7 @@
__RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- libraries\HAL_Driver\Inc;libraries\Device;libraries\CMSIS;applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
+ libraries\HAL_Driver\Inc;libraries\Device;libraries\CMSIS;applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m0;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\stdio;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
@@ -464,9 +464,9 @@
Compiler
- libc_syms.c
+ syscall_mem.c
1
- ..\..\components\libc\compilers\armlibc\libc_syms.c
+ ..\..\components\libc\compilers\armlibc\syscall_mem.c
@@ -476,13 +476,6 @@
..\..\components\libc\compilers\armlibc\syscalls.c
-
-
- syscall_mem.c
- 1
- ..\..\components\libc\compilers\armlibc\syscall_mem.c
-
-
time.c
@@ -502,9 +495,9 @@
CPU
- showmem.c
+ div0.c
1
- ..\..\libcpu\arm\common\showmem.c
+ ..\..\libcpu\arm\common\div0.c
@@ -516,16 +509,9 @@
- div0.c
+ showmem.c
1
- ..\..\libcpu\arm\common\div0.c
-
-
-
-
- context_rvds.S
- 2
- ..\..\libcpu\arm\cortex-m0\context_rvds.S
+ ..\..\libcpu\arm\common\showmem.c
@@ -535,6 +521,13 @@
..\..\libcpu\arm\cortex-m0\cpuport.c
+
+
+ context_rvds.S
+ 2
+ ..\..\libcpu\arm\cortex-m0\context_rvds.S
+
+
DeviceDrivers
@@ -545,6 +538,55 @@
..\..\components\drivers\hwtimer\hwtimer.c
+
+
+ completion.c
+ 1
+ ..\..\components\drivers\ipc\completion.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\components\drivers\ipc\workqueue.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\components\drivers\ipc\waitqueue.c
+
+
+
+
+ ringbuffer.c
+ 1
+ ..\..\components\drivers\ipc\ringbuffer.c
+
+
+
+
+ pipe.c
+ 1
+ ..\..\components\drivers\ipc\pipe.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\ipc\ringblk_buf.c
+
+
+
+
+ dataqueue.c
+ 1
+ ..\..\components\drivers\ipc\dataqueue.c
+
+
adc.c
@@ -566,55 +608,6 @@
..\..\components\drivers\serial\serial.c
-
-
- ringblk_buf.c
- 1
- ..\..\components\drivers\src\ringblk_buf.c
-
-
-
-
- waitqueue.c
- 1
- ..\..\components\drivers\src\waitqueue.c
-
-
-
-
- completion.c
- 1
- ..\..\components\drivers\src\completion.c
-
-
-
-
- workqueue.c
- 1
- ..\..\components\drivers\src\workqueue.c
-
-
-
-
- dataqueue.c
- 1
- ..\..\components\drivers\src\dataqueue.c
-
-
-
-
- ringbuffer.c
- 1
- ..\..\components\drivers\src\ringbuffer.c
-
-
-
-
- pipe.c
- 1
- ..\..\components\drivers\src\pipe.c
-
-
watchdog.c
@@ -625,27 +618,6 @@
Drivers
-
-
- drv_hwtimer.c
- 1
- drivers\drv_hwtimer.c
-
-
-
-
- drv_wdt.c
- 1
- drivers\drv_wdt.c
-
-
-
-
- board.c
- 1
- drivers\board.c
-
-
drv_adc.c
@@ -660,6 +632,27 @@
drivers\drv_gpio.c
+
+
+ drv_wdt.c
+ 1
+ drivers\drv_wdt.c
+
+
+
+
+ drv_hwtimer.c
+ 1
+ drivers\drv_hwtimer.c
+
+
+
+
+ board.c
+ 1
+ drivers\board.c
+
+
drv_uart.c
@@ -694,27 +687,6 @@
Kernel
-
-
- mempool.c
- 1
- ..\..\src\mempool.c
-
-
-
-
- mem.c
- 1
- ..\..\src\mem.c
-
-
-
-
- ipc.c
- 1
- ..\..\src\ipc.c
-
-
irq.c
@@ -731,23 +703,9 @@
- components.c
+ mempool.c
1
- ..\..\src\components.c
-
-
-
-
- kservice.c
- 1
- ..\..\src\kservice.c
-
-
-
-
- idle.c
- 1
- ..\..\src\idle.c
+ ..\..\src\mempool.c
@@ -759,9 +717,30 @@
- clock.c
+ ipc.c
1
- ..\..\src\clock.c
+ ..\..\src\ipc.c
+
+
+
+
+ kservice.c
+ 1
+ ..\..\src\kservice.c
+
+
+
+
+ thread.c
+ 1
+ ..\..\src\thread.c
+
+
+
+
+ components.c
+ 1
+ ..\..\src\components.c
@@ -773,16 +752,30 @@
- object.c
+ mem.c
1
- ..\..\src\object.c
+ ..\..\src\mem.c
- thread.c
+ idle.c
1
- ..\..\src\thread.c
+ ..\..\src\idle.c
+
+
+
+
+ clock.c
+ 1
+ ..\..\src\clock.c
+
+
+
+
+ object.c
+ 1
+ ..\..\src\object.c
diff --git a/bsp/acm32f4xx-nucleo/.config b/bsp/acm32f4xx-nucleo/.config
index c963fda082..ce0561d807 100644
--- a/bsp/acm32f4xx-nucleo/.config
+++ b/bsp/acm32f4xx-nucleo/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -167,7 +166,6 @@ CONFIG_RT_USING_PIN=y
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -176,7 +174,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -385,6 +385,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -395,7 +396,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -446,6 +446,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -557,6 +558,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -644,6 +646,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
#
# Hardware Drivers Config
diff --git a/bsp/acm32f4xx-nucleo/project.uvprojx b/bsp/acm32f4xx-nucleo/project.uvprojx
index 57aa3046a9..f31be304e2 100644
--- a/bsp/acm32f4xx-nucleo/project.uvprojx
+++ b/bsp/acm32f4xx-nucleo/project.uvprojx
@@ -336,7 +336,7 @@
__RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND
- libraries\HAL_Driver\Inc;libraries\Device;libraries\CMSIS;applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m33;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
+ libraries\HAL_Driver\Inc;libraries\Device;libraries\CMSIS;applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\extension;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m33;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\io\stdio;..\..\components\libc\posix\ipc;..\..\examples\utest\testcases\kernel
@@ -441,13 +441,6 @@
Compiler
-
-
- libc_syms.c
- 1
- ..\..\components\libc\compilers\armlibc\libc_syms.c
-
-
syscall_mem.c
@@ -486,13 +479,6 @@
..\..\libcpu\arm\common\showmem.c
-
-
- div0.c
- 1
- ..\..\libcpu\arm\common\div0.c
-
-
backtrace.c
@@ -502,16 +488,16 @@
- trustzone.c
+ div0.c
1
- ..\..\libcpu\arm\cortex-m33\trustzone.c
+ ..\..\libcpu\arm\common\div0.c
- cpuport.c
+ trustzone.c
1
- ..\..\libcpu\arm\cortex-m33\cpuport.c
+ ..\..\libcpu\arm\cortex-m33\trustzone.c
@@ -528,9 +514,65 @@
..\..\libcpu\arm\cortex-m33\context_rvds.S
+
+
+ cpuport.c
+ 1
+ ..\..\libcpu\arm\cortex-m33\cpuport.c
+
+
DeviceDrivers
+
+
+ ringbuffer.c
+ 1
+ ..\..\components\drivers\ipc\ringbuffer.c
+
+
+
+
+ dataqueue.c
+ 1
+ ..\..\components\drivers\ipc\dataqueue.c
+
+
+
+
+ pipe.c
+ 1
+ ..\..\components\drivers\ipc\pipe.c
+
+
+
+
+ ringblk_buf.c
+ 1
+ ..\..\components\drivers\ipc\ringblk_buf.c
+
+
+
+
+ workqueue.c
+ 1
+ ..\..\components\drivers\ipc\workqueue.c
+
+
+
+
+ completion.c
+ 1
+ ..\..\components\drivers\ipc\completion.c
+
+
+
+
+ waitqueue.c
+ 1
+ ..\..\components\drivers\ipc\waitqueue.c
+
+
pin.c
@@ -545,70 +587,21 @@
..\..\components\drivers\serial\serial.c
-
-
- workqueue.c
- 1
- ..\..\components\drivers\src\workqueue.c
-
-
-
-
- completion.c
- 1
- ..\..\components\drivers\src\completion.c
-
-
-
-
- ringblk_buf.c
- 1
- ..\..\components\drivers\src\ringblk_buf.c
-
-
-
-
- pipe.c
- 1
- ..\..\components\drivers\src\pipe.c
-
-
-
-
- ringbuffer.c
- 1
- ..\..\components\drivers\src\ringbuffer.c
-
-
-
-
- waitqueue.c
- 1
- ..\..\components\drivers\src\waitqueue.c
-
-
-
-
- dataqueue.c
- 1
- ..\..\components\drivers\src\dataqueue.c
-
-
Drivers
- drv_uart.c
+ drv_gpio.c
1
- drivers\drv_uart.c
+ drivers\drv_gpio.c
- drv_gpio.c
+ drv_uart.c
1
- drivers\drv_gpio.c
+ drivers\drv_uart.c
@@ -647,23 +640,9 @@
Kernel
- clock.c
+ scheduler.c
1
- ..\..\src\clock.c
-
-
-
-
- thread.c
- 1
- ..\..\src\thread.c
-
-
-
-
- timer.c
- 1
- ..\..\src\timer.c
+ ..\..\src\scheduler.c
@@ -675,30 +654,16 @@
- object.c
+ irq.c
1
- ..\..\src\object.c
+ ..\..\src\irq.c
- mem.c
+ thread.c
1
- ..\..\src\mem.c
-
-
-
-
- device.c
- 1
- ..\..\src\device.c
-
-
-
-
- mempool.c
- 1
- ..\..\src\mempool.c
+ ..\..\src\thread.c
@@ -710,23 +675,30 @@
- components.c
+ device.c
1
- ..\..\src\components.c
+ ..\..\src\device.c
- irq.c
+ mem.c
1
- ..\..\src\irq.c
+ ..\..\src\mem.c
- scheduler.c
+ object.c
1
- ..\..\src\scheduler.c
+ ..\..\src\object.c
+
+
+
+
+ timer.c
+ 1
+ ..\..\src\timer.c
@@ -736,6 +708,27 @@
..\..\src\kservice.c
+
+
+ mempool.c
+ 1
+ ..\..\src\mempool.c
+
+
+
+
+ components.c
+ 1
+ ..\..\src\components.c
+
+
+
+
+ clock.c
+ 1
+ ..\..\src\clock.c
+
+
diff --git a/bsp/allwinner_tina/.config b/bsp/allwinner_tina/.config
index 91c1e655ea..e4c7f97b25 100644
--- a/bsp/allwinner_tina/.config
+++ b/bsp/allwinner_tina/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -217,7 +216,6 @@ CONFIG_RT_SFUD_SPI_MAX_HZ=50000000
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -226,7 +224,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -436,6 +436,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -446,7 +447,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -497,6 +497,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -609,6 +610,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -696,6 +698,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
CONFIG_SOC_TINA=y
CONFIG_TINA_USING_UART0=y
# CONFIG_TINA_USING_UART1 is not set
diff --git a/bsp/amebaz/.config b/bsp/amebaz/.config
index da33f27b18..4b36ab8a38 100644
--- a/bsp/amebaz/.config
+++ b/bsp/amebaz/.config
@@ -7,7 +7,6 @@
# RT-Thread Kernel
#
CONFIG_RT_NAME_MAX=8
-# CONFIG_RT_USING_BIG_ENDIAN is not set
# CONFIG_RT_USING_ARCH_DATA_TYPE is not set
# CONFIG_RT_USING_SMP is not set
CONFIG_RT_ALIGN_SIZE=4
@@ -199,7 +198,6 @@ CONFIG_RT_WLAN_CMD_DEBUG=y
#
# POSIX layer and C standard library
#
-# CONFIG_RT_USING_MODULE is not set
CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
#
@@ -208,7 +206,9 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8
# CONFIG_RT_USING_POSIX_FS is not set
# CONFIG_RT_USING_POSIX_DELAY is not set
# CONFIG_RT_USING_POSIX_CLOCK is not set
+# CONFIG_RT_USING_POSIX_TIMER is not set
# CONFIG_RT_USING_PTHREADS is not set
+# CONFIG_RT_USING_MODULE is not set
#
# Interprocess Communication (IPC)
@@ -241,8 +241,7 @@ CONFIG_NETDEV_USING_PING=y
#
CONFIG_RT_USING_LWIP=y
# CONFIG_RT_USING_LWIP141 is not set
-CONFIG_RT_USING_LWIP202=y
-# CONFIG_RT_USING_LWIP203 is not set
+CONFIG_RT_USING_LWIP203=y
# CONFIG_RT_USING_LWIP212 is not set
# CONFIG_RT_USING_LWIP_IPV6 is not set
CONFIG_RT_LWIP_MEM_ALIGNMENT=4
@@ -476,6 +475,7 @@ CONFIG_DHCPD_USING_ROUTER=y
# CONFIG_PKG_USING_MCURSES is not set
# CONFIG_PKG_USING_TERMBOX is not set
# CONFIG_PKG_USING_VT100 is not set
+# CONFIG_PKG_USING_QRCODE is not set
#
# tools packages
@@ -486,7 +486,6 @@ CONFIG_DHCPD_USING_ROUTER=y
# CONFIG_PKG_USING_SYSTEMVIEW is not set
# CONFIG_PKG_USING_SEGGER_RTT is not set
# CONFIG_PKG_USING_RDB is not set
-# CONFIG_PKG_USING_QRCODE is not set
# CONFIG_PKG_USING_ULOG_EASYFLASH is not set
# CONFIG_PKG_USING_ULOG_FILE is not set
# CONFIG_PKG_USING_LOGMGR is not set
@@ -537,6 +536,7 @@ CONFIG_DHCPD_USING_ROUTER=y
# CONFIG_PKG_USING_POSIX_GETLINE is not set
# CONFIG_PKG_USING_POSIX_WCWIDTH is not set
# CONFIG_PKG_USING_POSIX_ITOA is not set
+# CONFIG_PKG_USING_POSIX_STRINGS is not set
#
# acceleration: Assembly language or algorithmic acceleration packages
@@ -652,6 +652,7 @@ CONFIG_PKG_REALTEK_AMEBA_VER="latest"
# CONFIG_PKG_USING_SSD1306 is not set
# CONFIG_PKG_USING_QKEY is not set
# CONFIG_PKG_USING_RS485 is not set
+# CONFIG_PKG_USING_RS232 is not set
# CONFIG_PKG_USING_NES is not set
# CONFIG_PKG_USING_VIRTUAL_SENSOR is not set
# CONFIG_PKG_USING_VDEVICE is not set
@@ -739,6 +740,8 @@ CONFIG_PKG_REALTEK_AMEBA_VER="latest"
# CONFIG_PKG_USING_LWGPS is not set
# CONFIG_PKG_USING_STATE_MACHINE is not set
# CONFIG_PKG_USING_DESIGN_PATTERN is not set
+# CONFIG_PKG_USING_CONTROLLER is not set
+# CONFIG_PKG_USING_PHASE_LOCKED_LOOP is not set
#
# Env config
diff --git a/bsp/amebaz/project.ewp b/bsp/amebaz/project.ewp
index d86a2c90cd..f7d605cbd6 100644
--- a/bsp/amebaz/project.ewp
+++ b/bsp/amebaz/project.ewp
@@ -307,27 +307,28 @@
$PROJ_DIR$\..\..\components\libc\compilers\common
$PROJ_DIR$\..\..\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\netif
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src\include\netif
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src\arch\include
$PROJ_DIR$\..\..\libcpu\arm\common
$PROJ_DIR$\..\..\components\drivers\include
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src
$PROJ_DIR$\..\..\components\libc\posix\ipc
$PROJ_DIR$\drivers
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\ipv4
$PROJ_DIR$\.
$PROJ_DIR$\..\..\libcpu\arm\cortex-m4
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include
$PROJ_DIR$\applications
$PROJ_DIR$\drivers\wlan
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src\include\ipv4
$PROJ_DIR$\..\..\components\finsh
- $PROJ_DIR$\..\..\components\drivers\wlan
- $PROJ_DIR$\..\..\components\libc\compilers\common\nogcc
+ $PROJ_DIR$\..\..\components\net\lwip_dhcpd
+ $PROJ_DIR$\..\..\components\libc\compilers\common\extension
$PROJ_DIR$\..\..\components\libc\posix\io\poll
$PROJ_DIR$\..\..\examples\utest\testcases\kernel
+ $PROJ_DIR$\..\..\components\libc\posix\io\stdio
$PROJ_DIR$\libraries\smartconfig\inc
- $PROJ_DIR$\..\..\components\net\lwip_dhcpd
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\include\posix
- $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\arch\include
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src
+ $PROJ_DIR$\..\..\components\drivers\wlan
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src\include
+ $PROJ_DIR$\..\..\components\net\lwip-2.0.3\src\include\posix