diff options
| author | kurisaw <[email protected]> | 2025-10-23 10:42:47 +0800 |
|---|---|---|
| committer | R b b666 <[email protected]> | 2025-10-23 22:06:51 +0800 |
| commit | e2aed47b6c0ef75ead36cae04c4e9afd9d8049aa (patch) | |
| tree | 6b44e1259b978c58bdeb7896f3497dcb24fe87f1 /bsp/apm32 | |
| parent | 3559323427e9d8a181d396376cdfe5221e3f75d0 (diff) | |
[format][version]: synchronize bsp version configuration
Diffstat (limited to 'bsp/apm32')
48 files changed, 1397 insertions, 953 deletions
diff --git a/bsp/apm32/apm32e103ze-evalboard/.config b/bsp/apm32/apm32e103ze-evalboard/.config index 1ba72c3958..7b404cd59d 100644 --- a/bsp/apm32/apm32e103ze-evalboard/.config +++ b/bsp/apm32/apm32e103ze-evalboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -582,6 +584,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -628,6 +631,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -721,6 +725,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -802,6 +807,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -844,6 +850,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -857,6 +867,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32e103ze-evalboard/project.ewp b/bsp/apm32/apm32e103ze-evalboard/project.ewp index 0bfb339a52..7a6afeafd4 100644 --- a/bsp/apm32/apm32e103ze-evalboard/project.ewp +++ b/bsp/apm32/apm32e103ze-evalboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32E10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32E10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,29 +352,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1324,12 +1324,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32E10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32E10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1454,29 +1454,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2318,16 +2318,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
</group>
<group>
@@ -2381,19 +2381,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
</group>
<group>
@@ -2420,28 +2420,31 @@ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32e103ze-evalboard/project.uvprojx b/bsp/apm32/apm32e103ze-evalboard/project.uvprojx index 765f20a400..75d4802823 100644 --- a/bsp/apm32/apm32e103ze-evalboard/project.uvprojx +++ b/bsp/apm32/apm32e103ze-evalboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>RT_USING_LIBC, APM32E10X_HD, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC</Define> + <Define>RT_USING_ARMLIBC, RT_USING_LIBC, APM32E10X_HD, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER</Define> <Undefine /> - <IncludePath>..\..\..\components\drivers\phy;board;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;applications;..\..\..\include;..\..\..\components\finsh;..\libraries\APM32E10x_Library\CMSIS\Include;..\libraries\Drivers\config;..\..\..\components\drivers\include;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\smp_call;board\ports;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers</IncludePath> + <IncludePath>..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m3;..\libraries\Drivers\config;applications;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;board;..\libraries\Drivers;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\..\..\include;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;board\ports;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;.;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension\fcntl\octal</IncludePath> </VariousControls> </Cads> <Aads> @@ -733,16 +733,16 @@ </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> </Group> @@ -1052,16 +1052,16 @@ </Files> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> @@ -1121,9 +1121,9 @@ </Files> <Files> <File> - <FileName>apm32e10x_dma.c</FileName> + <FileName>apm32e10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</FilePath> </File> </Files> <Files> @@ -1142,23 +1142,23 @@ </Files> <Files> <File> - <FileName>apm32e10x_gpio.c</FileName> + <FileName>apm32e10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_eint.c</FileName> + <FileName>apm32e10x_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_rcm.c</FileName> + <FileName>apm32e10x_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32e103ze-evalboard/rtconfig.h b/bsp/apm32/apm32e103ze-evalboard/rtconfig.h index fca06620e5..7b2eb5c217 100644 --- a/bsp/apm32/apm32e103ze-evalboard/rtconfig.h +++ b/bsp/apm32/apm32e103ze-evalboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32e103ze-tinyboard/.config b/bsp/apm32/apm32e103ze-tinyboard/.config index 8a283493fc..0204f20add 100644 --- a/bsp/apm32/apm32e103ze-tinyboard/.config +++ b/bsp/apm32/apm32e103ze-tinyboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -582,6 +584,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -628,6 +631,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -721,6 +725,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -802,6 +807,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -844,6 +850,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -857,6 +867,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32e103ze-tinyboard/project.ewp b/bsp/apm32/apm32e103ze-tinyboard/project.ewp index 5e48dd20a1..14ad482e87 100644 --- a/bsp/apm32/apm32e103ze-tinyboard/project.ewp +++ b/bsp/apm32/apm32e103ze-tinyboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32E10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32E10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,29 +352,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1324,12 +1324,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32E10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32E10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1454,29 +1454,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2318,16 +2318,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
</group>
<group>
@@ -2387,10 +2387,10 @@ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
@@ -2417,10 +2417,13 @@ <group>
<name>Libraries</name>
<file>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</name>
@@ -2429,19 +2432,19 @@ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx b/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx index 4c63da62b6..d3eec03e7d 100644 --- a/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx +++ b/bsp/apm32/apm32e103ze-tinyboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>RT_USING_ARMLIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, APM32E10X_HD, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC</Define> + <Define>APM32E10X_HD, RT_USING_ARMLIBC, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND</Define> <Undefine /> - <IncludePath>..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;..\..\..\include;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;.;..\..\..\components\drivers\phy;..\..\..\components\finsh;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers\config;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\poll;board\ports;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;board;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers;applications;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\components\drivers\include</IncludePath> + <IncludePath>..\..\..\libcpu\arm\common;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;board;..\libraries\Drivers\config;..\..\..\components\libc\posix\io\poll;board\ports;..\..\..\components\drivers\phy;applications;..\..\..\components\libc\posix\io\eventfd;..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Include;..\libraries\APM32E10x_Library\CMSIS\Include;..\..\..\components\drivers\smp_call;..\libraries\Drivers;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\inc;..\..\..\components\drivers\include;.;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\posix\io\epoll;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension</IncludePath> </VariousControls> </Cads> <Aads> @@ -726,16 +726,16 @@ </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> @@ -1038,37 +1038,37 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> </Group> @@ -1114,44 +1114,44 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32e10x_gpio.c</FileName> + <FileName>apm32e10x_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_eint.c</FileName> + <FileName>apm32e10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_eint.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_rcm.c</FileName> + <FileName>system_apm32e10x.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32e10x.c</FileName> + <FileName>apm32e10x_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\Device\Geehy\APM32E10x\Source\system_apm32e10x.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_dma.c</FileName> + <FileName>apm32e10x_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32e10x_misc.c</FileName> + <FileName>apm32e10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_misc.c</FilePath> + <FilePath>..\libraries\APM32E10x_Library\APM32E10x_StdPeriphDriver\src\apm32e10x_dma.c</FilePath> </File> </Files> <Files> diff --git a/bsp/apm32/apm32e103ze-tinyboard/rtconfig.h b/bsp/apm32/apm32e103ze-tinyboard/rtconfig.h index fca06620e5..7b2eb5c217 100644 --- a/bsp/apm32/apm32e103ze-tinyboard/rtconfig.h +++ b/bsp/apm32/apm32e103ze-tinyboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f030r8-miniboard/.config b/bsp/apm32/apm32f030r8-miniboard/.config index cf8b1df27e..d8ffbb2ac6 100644 --- a/bsp/apm32/apm32f030r8-miniboard/.config +++ b/bsp/apm32/apm32f030r8-miniboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -205,6 +203,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=1024 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -381,6 +381,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -488,6 +489,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -577,6 +579,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -623,6 +626,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -716,6 +720,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -797,6 +802,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -839,6 +845,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -852,6 +862,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1023,6 +1048,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f030r8-miniboard/project.ewp b/bsp/apm32/apm32f030r8-miniboard/project.ewp index 35d7c750d1..c508da50ff 100644 --- a/bsp/apm32/apm32f030r8-miniboard/project.ewp +++ b/bsp/apm32/apm32f030r8-miniboard/project.ewp @@ -226,12 +226,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F030x8</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F030x8</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -356,28 +356,28 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1327,12 +1327,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F030x8</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F030x8</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1457,28 +1457,28 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2316,6 +2316,9 @@ <group>
<name>Finsh</name>
<file>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
@@ -2324,9 +2327,6 @@ <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
- </file>
</group>
<group>
<name>Kernel</name>
@@ -2379,19 +2379,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
</group>
<group>
@@ -2415,28 +2415,31 @@ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f030r8-miniboard/project.uvprojx b/bsp/apm32/apm32f030r8-miniboard/project.uvprojx index 8522b6e5f8..e0ad3fd8b3 100644 --- a/bsp/apm32/apm32f030r8-miniboard/project.uvprojx +++ b/bsp/apm32/apm32f030r8-miniboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, APM32F030x8, __RTTHREAD__, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>__CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, APM32F030x8</Define> <Undefine /> - <IncludePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\drivers\include;applications;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\libraries\Drivers;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers\config;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\libcpu\arm\common;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\libc\posix\io\epoll;board;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\include</IncludePath> + <IncludePath>..\libraries\Drivers\config;applications;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\Drivers;..\..\..\include;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\libc\compilers\common\extension\fcntl\octal;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;board;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\common</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,9 +719,9 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> @@ -740,9 +740,9 @@ </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> </Group> @@ -1038,16 +1038,16 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> <Files> @@ -1059,9 +1059,9 @@ </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> @@ -1107,23 +1107,23 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f0xx_misc.c</FileName> + <FileName>apm32f0xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_usart.c</FileName> + <FileName>system_apm32f0xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_eint.c</FileName> + <FileName>apm32f0xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> </File> </Files> <Files> @@ -1135,23 +1135,23 @@ </Files> <Files> <File> - <FileName>apm32f0xx_gpio.c</FileName> + <FileName>apm32f0xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f0xx.c</FileName> + <FileName>apm32f0xx_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_rcm.c</FileName> + <FileName>apm32f0xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f030r8-miniboard/rtconfig.h b/bsp/apm32/apm32f030r8-miniboard/rtconfig.h index 700ced6fc1..56303d3507 100644 --- a/bsp/apm32/apm32f030r8-miniboard/rtconfig.h +++ b/bsp/apm32/apm32f030r8-miniboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -304,6 +304,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f051r8-evalboard/.config b/bsp/apm32/apm32f051r8-evalboard/.config index 8a6dca449e..924c976ef7 100644 --- a/bsp/apm32/apm32f051r8-evalboard/.config +++ b/bsp/apm32/apm32f051r8-evalboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -205,6 +203,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=1024 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -381,6 +381,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -488,6 +489,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -577,6 +579,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -623,6 +626,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -716,6 +720,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -797,6 +802,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -839,6 +845,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -852,6 +862,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1023,6 +1048,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f051r8-evalboard/project.ewp b/bsp/apm32/apm32f051r8-evalboard/project.ewp index 8379e9cfe1..cd7215c61d 100644 --- a/bsp/apm32/apm32f051r8-evalboard/project.ewp +++ b/bsp/apm32/apm32f051r8-evalboard/project.ewp @@ -226,12 +226,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F051x8</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F051x8</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -356,29 +356,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\applications</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1328,12 +1328,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F051x8</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F051x8</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1458,29 +1458,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\applications</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2321,13 +2321,13 @@ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
</group>
<group>
@@ -2381,19 +2381,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
</group>
<group>
@@ -2420,25 +2420,28 @@ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f051r8-evalboard/project.uvprojx b/bsp/apm32/apm32f051r8-evalboard/project.uvprojx index a2a616acec..cbbb443b69 100644 --- a/bsp/apm32/apm32f051r8-evalboard/project.uvprojx +++ b/bsp/apm32/apm32f051r8-evalboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_LIBC, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, APM32F051x8, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>__CLK_TCK=RT_TICK_PER_SECOND, APM32F051x8, RT_USING_LIBC, __STDC_LIMIT_MACROS, RT_USING_ARMLIBC, __RTTHREAD__, USE_STDPERIPH_DRIVER</Define> <Undefine /> - <IncludePath>..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\Drivers\config;..\..\..\components\drivers\include;board;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;applications;..\..\..\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\..\..\components\drivers\smp_call;board\ports;..\..\..\libcpu\arm\cortex-m0;..\libraries\APM32F0xx_Library\CMSIS\Include;..\libraries\Drivers</IncludePath> + <IncludePath>..\..\..\components\drivers\include;board\ports;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\smp_call;..\..\..\include;applications;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers;..\..\..\components\finsh;board;..\libraries\Drivers\config;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\posix\ipc;.</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,30 +719,30 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>shell.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> </Group> @@ -1038,37 +1038,37 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> </Group> @@ -1107,9 +1107,9 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f0xx_misc.c</FileName> + <FileName>apm32f0xx_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> </File> </Files> <Files> @@ -1121,30 +1121,30 @@ </Files> <Files> <File> - <FileName>apm32f0xx_eint.c</FileName> + <FileName>apm32f0xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f0xx.c</FileName> + <FileName>apm32f0xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_rcm.c</FileName> + <FileName>apm32f0xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_syscfg.c</FileName> + <FileName>system_apm32f0xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> </File> </Files> <Files> diff --git a/bsp/apm32/apm32f051r8-evalboard/rtconfig.h b/bsp/apm32/apm32f051r8-evalboard/rtconfig.h index b43c2233e8..b6c15c2c5d 100644 --- a/bsp/apm32/apm32f051r8-evalboard/rtconfig.h +++ b/bsp/apm32/apm32f051r8-evalboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -304,6 +304,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f072vb-miniboard/.config b/bsp/apm32/apm32f072vb-miniboard/.config index 15f9b8a31c..6ff2c32f3a 100644 --- a/bsp/apm32/apm32f072vb-miniboard/.config +++ b/bsp/apm32/apm32f072vb-miniboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -205,6 +203,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -381,6 +381,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -488,6 +489,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -577,6 +579,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -623,6 +626,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -716,6 +720,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -797,6 +802,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -839,6 +845,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -852,6 +862,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1023,6 +1048,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f072vb-miniboard/project.ewp b/bsp/apm32/apm32f072vb-miniboard/project.ewp index 1399acb6ef..3fd09ed7c6 100644 --- a/bsp/apm32/apm32f072vb-miniboard/project.ewp +++ b/bsp/apm32/apm32f072vb-miniboard/project.ewp @@ -226,12 +226,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F072xB</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F072xB</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -356,29 +356,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1328,12 +1328,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F072xB</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F072xB</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1458,29 +1458,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2318,16 +2318,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
</group>
<group>
@@ -2381,19 +2381,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
</group>
<group>
@@ -2417,28 +2417,31 @@ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f072vb-miniboard/project.uvprojx b/bsp/apm32/apm32f072vb-miniboard/project.uvprojx index e666b2ab3f..fbc71978eb 100644 --- a/bsp/apm32/apm32f072vb-miniboard/project.uvprojx +++ b/bsp/apm32/apm32f072vb-miniboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__STDC_LIMIT_MACROS, APM32F072xB, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARMLIBC</Define> + <Define>APM32F072xB, __RTTHREAD__, USE_STDPERIPH_DRIVER, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, __STDC_LIMIT_MACROS</Define> <Undefine /> - <IncludePath>..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\libraries\Drivers;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers\config;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board\ports;board;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;.;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;applications;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common</IncludePath> + <IncludePath>..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\include;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\include;..\..\..\components\finsh;board;..\..\..\components\libc\posix\io\epoll;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;board\ports;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;..\libraries\Drivers;..\..\..\libcpu\arm\common;..\..\..\components\drivers\smp_call;..\libraries\APM32F0xx_Library\CMSIS\Include;applications;..\..\..\components\drivers\include;..\libraries\Drivers\config</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,30 +719,30 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>shell.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> </Group> @@ -1038,37 +1038,37 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> </Group> @@ -1107,16 +1107,16 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f0xx_rcm.c</FileName> + <FileName>apm32f0xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_eint.c</FileName> + <FileName>apm32f0xx_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> </File> </Files> <Files> @@ -1128,30 +1128,30 @@ </Files> <Files> <File> - <FileName>apm32f0xx_misc.c</FileName> + <FileName>apm32f0xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f0xx.c</FileName> + <FileName>apm32f0xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_gpio.c</FileName> + <FileName>apm32f0xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_syscfg.c</FileName> + <FileName>system_apm32f0xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f072vb-miniboard/rtconfig.h b/bsp/apm32/apm32f072vb-miniboard/rtconfig.h index cc416b2f13..50eb3a8dde 100644 --- a/bsp/apm32/apm32f072vb-miniboard/rtconfig.h +++ b/bsp/apm32/apm32f072vb-miniboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -304,6 +304,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f091vc-miniboard/.config b/bsp/apm32/apm32f091vc-miniboard/.config index 574238b7f3..fa56e7512a 100644 --- a/bsp/apm32/apm32f091vc-miniboard/.config +++ b/bsp/apm32/apm32f091vc-miniboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -205,6 +203,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -381,6 +381,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -488,6 +489,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -577,6 +579,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -623,6 +626,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -716,6 +720,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -797,6 +802,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -839,6 +845,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -852,6 +862,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1023,6 +1048,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f091vc-miniboard/project.ewp b/bsp/apm32/apm32f091vc-miniboard/project.ewp index b625d0422d..6fb7efec8a 100644 --- a/bsp/apm32/apm32f091vc-miniboard/project.ewp +++ b/bsp/apm32/apm32f091vc-miniboard/project.ewp @@ -226,12 +226,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F091xC</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F091xC</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -356,29 +356,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1328,12 +1328,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F091xC</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F091xC</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1458,29 +1458,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F0xx_Library\CMSIS\Include</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2318,16 +2318,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
</group>
<group>
@@ -2384,16 +2384,16 @@ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
</group>
<group>
@@ -2417,21 +2417,21 @@ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</name>
</file>
<file>
+ <name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</name>
</file>
</group>
@@ -2439,6 +2439,9 @@ <name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f091vc-miniboard/project.uvprojx b/bsp/apm32/apm32f091vc-miniboard/project.uvprojx index 88f5754ce8..f294d2d6ba 100644 --- a/bsp/apm32/apm32f091vc-miniboard/project.uvprojx +++ b/bsp/apm32/apm32f091vc-miniboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__CLK_TCK=RT_TICK_PER_SECOND, __RTTHREAD__, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, APM32F091xC, RT_USING_ARMLIBC, RT_USING_LIBC</Define> + <Define>APM32F091xC, RT_USING_LIBC, USE_STDPERIPH_DRIVER, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_ARMLIBC</Define> <Undefine /> - <IncludePath>..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\libraries\Drivers;board\ports;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\include;..\..\..\components\drivers\include;applications;.;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\components\drivers\smp_call;board;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers\config</IncludePath> + <IncludePath>..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;board\ports;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\libraries\APM32F0xx_Library\CMSIS\Include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers\config;..\..\..\libcpu\arm\cortex-m0;board;..\..\..\components\drivers\include;..\libraries\Drivers;.;..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Include;..\..\..\components\drivers\include;applications;..\..\..\include;..\..\..\components\libc\posix\ipc;..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\inc;..\..\..\libcpu\arm\common</IncludePath> </VariousControls> </Cads> <Aads> @@ -726,9 +726,9 @@ </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> @@ -740,9 +740,9 @@ </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> </Group> @@ -1045,30 +1045,30 @@ </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> </Group> @@ -1107,51 +1107,51 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f0xx_syscfg.c</FileName> + <FileName>system_apm32f0xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_misc.c</FileName> + <FileName>apm32f0xx_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_eint.c</FileName> + <FileName>apm32f0xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_syscfg.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_gpio.c</FileName> + <FileName>apm32f0xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f0xx.c</FileName> + <FileName>apm32f0xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\Device\Geehy\APM32F0xx\Source\system_apm32f0xx.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_rcm.c</FileName> + <FileName>apm32f0xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_rcm.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f0xx_usart.c</FileName> + <FileName>apm32f0xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_usart.c</FilePath> + <FilePath>..\libraries\APM32F0xx_Library\APM32F0xx_StdPeriphDriver\src\apm32f0xx_gpio.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f091vc-miniboard/rtconfig.h b/bsp/apm32/apm32f091vc-miniboard/rtconfig.h index 2d8970e020..390fdd8761 100644 --- a/bsp/apm32/apm32f091vc-miniboard/rtconfig.h +++ b/bsp/apm32/apm32f091vc-miniboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -304,6 +304,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f103vb-miniboard/.config b/bsp/apm32/apm32f103vb-miniboard/.config index 8e1555401d..b23d6779e6 100644 --- a/bsp/apm32/apm32f103vb-miniboard/.config +++ b/bsp/apm32/apm32f103vb-miniboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -582,6 +584,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -628,6 +631,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -721,6 +725,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -802,6 +807,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -844,6 +850,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -857,6 +867,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f103vb-miniboard/project.ewp b/bsp/apm32/apm32f103vb-miniboard/project.ewp index 081790ddc3..d6fe05ac4d 100644 --- a/bsp/apm32/apm32f103vb-miniboard/project.ewp +++ b/bsp/apm32/apm32f103vb-miniboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,30 +352,30 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\board</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1325,12 +1325,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32F10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1455,30 +1455,30 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\board</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2320,16 +2320,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
</group>
<group>
@@ -2383,20 +2383,20 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
+ <file>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ </file>
</group>
<group>
<name>libcpu</name>
@@ -2419,10 +2419,7 @@ <group>
<name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</name>
@@ -2431,19 +2428,25 @@ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</name>
</file>
+ <file>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</name>
+ </file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f103vb-miniboard/project.uvprojx b/bsp/apm32/apm32f103vb-miniboard/project.uvprojx index f41b670403..f397cb7b14 100644 --- a/bsp/apm32/apm32f103vb-miniboard/project.uvprojx +++ b/bsp/apm32/apm32f103vb-miniboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, APM32F10X_HD, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__</Define> + <Define>APM32F10X_HD, RT_USING_ARMLIBC, __RTTHREAD__, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, USE_STDPERIPH_DRIVER</Define> <Undefine /> - <IncludePath>..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\drivers\smp_call;applications;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;board;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\Drivers;..\..\..\components\finsh;board\ports;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\ipc;.;..\libraries\Drivers\config</IncludePath> + <IncludePath>..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\finsh;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\libraries\Drivers\config;..\libraries\APM32F10x_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;..\libraries\Drivers;.;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;board;..\..\..\components\libc\posix\io\poll;board\ports;applications;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\include;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,30 +719,30 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>msh.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> </Group> @@ -1038,16 +1038,16 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> @@ -1059,16 +1059,16 @@ </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> </Group> @@ -1114,37 +1114,37 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f10x_misc.c</FileName> + <FileName>apm32f10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f10x_rcm.c</FileName> + <FileName>system_apm32f10x.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f10x.c</FileName> + <FileName>apm32f10x_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f10x_dma.c</FileName> + <FileName>apm32f10x_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f10x_usart.c</FileName> + <FileName>apm32f10x_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</FilePath> </File> </Files> <Files> @@ -1156,9 +1156,9 @@ </Files> <Files> <File> - <FileName>apm32f10x_gpio.c</FileName> + <FileName>apm32f10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f103vb-miniboard/rtconfig.h b/bsp/apm32/apm32f103vb-miniboard/rtconfig.h index bf87631e8a..47d371b31c 100644 --- a/bsp/apm32/apm32f103vb-miniboard/rtconfig.h +++ b/bsp/apm32/apm32f103vb-miniboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f103xe-minibroard/.config b/bsp/apm32/apm32f103xe-minibroard/.config index 5645e884f7..418f30a328 100644 --- a/bsp/apm32/apm32f103xe-minibroard/.config +++ b/bsp/apm32/apm32f103xe-minibroard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -582,6 +584,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -628,6 +631,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -721,6 +725,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -802,6 +807,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -844,6 +850,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -857,6 +867,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f103xe-minibroard/project.ewp b/bsp/apm32/apm32f103xe-minibroard/project.ewp index 5495ba42b0..02f64de016 100644 --- a/bsp/apm32/apm32f103xe-minibroard/project.ewp +++ b/bsp/apm32/apm32f103xe-minibroard/project.ewp @@ -220,12 +220,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -354,30 +354,30 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\board</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1308,12 +1308,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32F10X_HD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_HD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1442,30 +1442,30 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\board\ports</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\board</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2290,13 +2290,13 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
@@ -2353,19 +2353,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
</group>
<group>
@@ -2389,13 +2389,10 @@ <group>
<name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</name>
@@ -2404,16 +2401,22 @@ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx index c6b1ecc1f9..629364e4ac 100644 --- a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx +++ b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx @@ -333,9 +333,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, APM32F10X_HD, __RTTHREAD__, USE_STDPERIPH_DRIVER</Define> + <Define>USE_STDPERIPH_DRIVER, APM32F10X_HD, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC</Define> <Undefine /> - <IncludePath>applications;..\libraries\Drivers;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\drivers\phy;..\libraries\APM32F10x_Library\CMSIS\Include;board\ports;..\..\..\libcpu\arm\common;..\..\..\components\drivers\smp_call;board;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\finsh;..\libraries\Drivers\config;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\compilers\common\extension;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</IncludePath> + <IncludePath>..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\libc\posix\io\poll;.;..\..\..\components\libc\compilers\common\extension;applications;board;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\libcpu\arm\cortex-m3;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\libcpu\arm\common;..\libraries\APM32F10x_Library\CMSIS\Include;..\libraries\Drivers;..\..\..\components\finsh;..\..\..\components\drivers\include;board\ports;..\..\..\components\libc\posix\io\eventfd;..\libraries\Drivers\config;..\..\..\components\drivers\include</IncludePath> </VariousControls> </Cads> <Aads> @@ -718,23 +718,23 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>msh.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> @@ -1037,9 +1037,9 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> @@ -1058,16 +1058,16 @@ </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> </Group> @@ -1120,9 +1120,9 @@ </Files> <Files> <File> - <FileName>apm32f10x_gpio.c</FileName> + <FileName>apm32f10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</FilePath> </File> </Files> <Files> @@ -1134,30 +1134,30 @@ </Files> <Files> <File> - <FileName>apm32f10x_dma.c</FileName> + <FileName>apm32f10x_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f10x_eint.c</FileName> + <FileName>apm32f10x_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f10x.c</FileName> + <FileName>apm32f10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f10x_misc.c</FileName> + <FileName>system_apm32f10x.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</FilePath> + <FilePath>..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f103xe-minibroard/rtconfig.h b/bsp/apm32/apm32f103xe-minibroard/rtconfig.h index 6545cbbd85..85122266a7 100644 --- a/bsp/apm32/apm32f103xe-minibroard/rtconfig.h +++ b/bsp/apm32/apm32f103xe-minibroard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f107vc-evalboard/.config b/bsp/apm32/apm32f107vc-evalboard/.config index f71ae4a1c1..35ae64fb0e 100644 --- a/bsp/apm32/apm32f107vc-evalboard/.config +++ b/bsp/apm32/apm32f107vc-evalboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -388,6 +388,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -495,6 +496,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -584,6 +586,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -630,6 +633,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -723,6 +727,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -804,6 +809,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -846,6 +852,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -859,6 +869,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1031,6 +1056,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f107vc-evalboard/project.ewp b/bsp/apm32/apm32f107vc-evalboard/project.ewp index 09e46f4b63..c0df07b568 100644 --- a/bsp/apm32/apm32f107vc-evalboard/project.ewp +++ b/bsp/apm32/apm32f107vc-evalboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F10X_CL</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_CL</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,30 +352,30 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1325,12 +1325,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32F10X_CL</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F10X_CL</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1455,30 +1455,30 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
<state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\libraries\APM32F10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2320,16 +2320,16 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
</group>
<group>
@@ -2383,20 +2383,20 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
+ <file>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ </file>
</group>
<group>
<name>libcpu</name>
@@ -2419,31 +2419,34 @@ <group>
<name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Source\system_apm32f10x.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\src\apm32f10x_dma.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f107vc-evalboard/project.uvprojx b/bsp/apm32/apm32f107vc-evalboard/project.uvprojx index 7195b5ba8b..2061acc00b 100644 --- a/bsp/apm32/apm32f107vc-evalboard/project.uvprojx +++ b/bsp/apm32/apm32f107vc-evalboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, APM32F10X_CL, __RTTHREAD__, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>USE_STDPERIPH_DRIVER, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, APM32F10X_CL, __RTTHREAD__, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS</Define> <Undefine /> - <IncludePath>..\..\..\components\libc\posix\io\poll;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;.;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\Drivers;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\..\..\libcpu\arm\cortex-m3;..\..\..\include;..\..\..\components\libc\compilers\common\extension;..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;board\ports;..\..\..\components\drivers\include;..\libraries\Drivers\config;applications;..\libraries\APM32F10x_Library\CMSIS\Include;board;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include</IncludePath> + <IncludePath>..\..\..\components\drivers\smp_call;..\..\..\components\finsh;applications;..\libraries\APM32F10x_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_ETH_Driver\inc;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\Device\Geehy\APM32F10x\Include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers;.;..\..\..\components\libc\posix\io\eventfd;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\phy;..\..\..\include;board;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\drivers\include;..\libraries\APM32F10x_Library\APM32F10x_StdPeriphDriver\inc;board\ports</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,30 +719,30 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>shell.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> </Group> @@ -1038,37 +1038,37 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f107vc-evalboard/rtconfig.h b/bsp/apm32/apm32f107vc-evalboard/rtconfig.h index fbd1e8796d..02f3249e8e 100644 --- a/bsp/apm32/apm32f107vc-evalboard/rtconfig.h +++ b/bsp/apm32/apm32f107vc-evalboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -312,6 +312,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f407ig-minibroard/.config b/bsp/apm32/apm32f407ig-minibroard/.config index e4ee85abae..f49c907092 100644 --- a/bsp/apm32/apm32f407ig-minibroard/.config +++ b/bsp/apm32/apm32f407ig-minibroard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -583,6 +585,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -629,6 +632,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -722,6 +726,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -803,6 +808,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -845,6 +851,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -858,6 +868,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f407ig-minibroard/project.ewp b/bsp/apm32/apm32f407ig-minibroard/project.ewp index a1924bf1fe..807e5dcab2 100644 --- a/bsp/apm32/apm32f407ig-minibroard/project.ewp +++ b/bsp/apm32/apm32f407ig-minibroard/project.ewp @@ -220,12 +220,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F40X</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F40X</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -354,29 +354,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1307,12 +1307,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32F40X</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F40X</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1441,29 +1441,29 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
+ <state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
- <state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2288,10 +2288,10 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
@@ -2351,19 +2351,19 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
</group>
<group>
@@ -2387,34 +2387,37 @@ <group>
<name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f407ig-minibroard/project.uvprojx b/bsp/apm32/apm32f407ig-minibroard/project.uvprojx index 87e602dbe7..4945e4be2b 100644 --- a/bsp/apm32/apm32f407ig-minibroard/project.uvprojx +++ b/bsp/apm32/apm32f407ig-minibroard/project.uvprojx @@ -333,9 +333,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, APM32F40X, __RTTHREAD__, RT_USING_ARMLIBC</Define> + <Define>RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, APM32F40X, __RTTHREAD__, USE_STDPERIPH_DRIVER, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC</Define> <Undefine /> - <IncludePath>..\..\..\components\libc\compilers\common\include;..\libraries\Drivers\config;applications;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\common;..\libraries\Drivers;..\..\..\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\drivers\smp_call;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;.;board;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd</IncludePath> + <IncludePath>..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\eventfd;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\include;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\..\..\libcpu\arm\cortex-m4;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\libraries\Drivers\config;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension\fcntl\octal;board;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;..\..\..\components\drivers\smp_call;..\..\..\components\libc\compilers\common\include;applications;..\libraries\Drivers;..\..\..\components\libc\compilers\common\extension;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\posix\ipc</IncludePath> </VariousControls> </Cads> <Aads> @@ -718,9 +718,9 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> @@ -732,16 +732,16 @@ </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> </Group> @@ -1037,13 +1037,6 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kstdio.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>kerrno.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> @@ -1051,9 +1044,9 @@ </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> @@ -1070,6 +1063,13 @@ <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> + <Files> + <File> + <FileName>rt_vsscanf.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + </File> + </Files> </Group> <Group> <GroupName>libcpu</GroupName> @@ -1113,58 +1113,58 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f4xx_dma.c</FileName> + <FileName>system_apm32f4xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_eint.c</FileName> + <FileName>apm32f4xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_syscfg.c</FileName> + <FileName>apm32f4xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_rcm.c</FileName> + <FileName>apm32f4xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_misc.c</FileName> + <FileName>apm32f4xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_gpio.c</FileName> + <FileName>apm32f4xx_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_usart.c</FileName> + <FileName>apm32f4xx_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f4xx.c</FileName> + <FileName>apm32f4xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f407ig-minibroard/rtconfig.h b/bsp/apm32/apm32f407ig-minibroard/rtconfig.h index 70bee2542e..59d33560b8 100644 --- a/bsp/apm32/apm32f407ig-minibroard/rtconfig.h +++ b/bsp/apm32/apm32f407ig-minibroard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32f407zg-evalboard/.config b/bsp/apm32/apm32f407zg-evalboard/.config index 735330679f..bd785e78ed 100644 --- a/bsp/apm32/apm32f407zg-evalboard/.config +++ b/bsp/apm32/apm32f407zg-evalboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -388,6 +388,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -495,6 +496,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -585,6 +587,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -631,6 +634,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -724,6 +728,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -805,6 +810,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -847,6 +853,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -860,6 +870,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1031,6 +1056,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32f407zg-evalboard/project.ewp b/bsp/apm32/apm32f407zg-evalboard/project.ewp index 4d27370ef9..3e5f76e18f 100644 --- a/bsp/apm32/apm32f407zg-evalboard/project.ewp +++ b/bsp/apm32/apm32f407zg-evalboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32F40X</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F40X</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,30 +352,30 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1325,12 +1325,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32F40X</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32F40X</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1455,30 +1455,30 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\board</state>
<state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
- <state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\applications</state>
<state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\include</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
+ <state>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include</state>
<state>$PROJ_DIR$\board\ports</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2320,15 +2320,15 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
<file>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
</group>
@@ -2383,10 +2383,10 @@ <group>
<name>klibc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
@@ -2395,7 +2395,7 @@ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
</group>
<group>
@@ -2419,34 +2419,37 @@ <group>
<name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_rcm.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_syscfg.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32f407zg-evalboard/project.uvprojx b/bsp/apm32/apm32f407zg-evalboard/project.uvprojx index 698ea93f84..3caec5df04 100644 --- a/bsp/apm32/apm32f407zg-evalboard/project.uvprojx +++ b/bsp/apm32/apm32f407zg-evalboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, APM32F40X, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>RT_USING_ARMLIBC, RT_USING_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, USE_STDPERIPH_DRIVER, __STDC_LIMIT_MACROS, APM32F40X</Define> <Undefine /> - <IncludePath>..\..\..\libcpu\arm\common;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\libc\compilers\common\extension\fcntl\octal;applications;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\finsh;..\..\..\components\drivers\include;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\libraries\Drivers;..\..\..\include;board\ports;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\include;board;..\..\..\components\drivers\phy;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;.;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\libraries\Drivers\config;..\..\..\components\drivers\smp_call;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include</IncludePath> + <IncludePath>..\..\..\components\drivers\include;..\..\..\components\libc\posix\ipc;..\..\..\components\libc\compilers\common\extension;board\ports;..\..\..\components\finsh;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers;board;..\libraries\Drivers\config;..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\inc;..\libraries\APM32F4xx_Library\CMSIS\Include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\libcpu\arm\cortex-m4;..\libraries\APM32F4xx_Library\APM32F4xx_ETH_Driver\inc;..\..\..\components\libc\posix\io\eventfd;.;..\..\..\components\libc\compilers\common\include;..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Include;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\phy;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\include;..\..\..\components\drivers\include;applications</IncludePath> </VariousControls> </Cads> <Aads> @@ -726,16 +726,16 @@ </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> @@ -1038,16 +1038,16 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> @@ -1059,16 +1059,16 @@ </Files> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> </Group> @@ -1114,9 +1114,9 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32f4xx_misc.c</FileName> + <FileName>apm32f4xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</FilePath> </File> </Files> <Files> @@ -1135,37 +1135,37 @@ </Files> <Files> <File> - <FileName>apm32f4xx_gpio.c</FileName> + <FileName>apm32f4xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_gpio.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_eint.c</FileName> + <FileName>system_apm32f4xx.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32f4xx.c</FileName> + <FileName>apm32f4xx_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\Device\Geehy\APM32F4xx\Source\system_apm32f4xx.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_usart.c</FileName> + <FileName>apm32f4xx_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32f4xx_dma.c</FileName> + <FileName>apm32f4xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_dma.c</FilePath> + <FilePath>..\libraries\APM32F4xx_Library\APM32F4xx_StdPeriphDriver\src\apm32f4xx_usart.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32f407zg-evalboard/rtconfig.h b/bsp/apm32/apm32f407zg-evalboard/rtconfig.h index fe9e906ff2..bd779b713b 100644 --- a/bsp/apm32/apm32f407zg-evalboard/rtconfig.h +++ b/bsp/apm32/apm32f407zg-evalboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -312,6 +312,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ diff --git a/bsp/apm32/apm32s103vb-miniboard/.config b/bsp/apm32/apm32s103vb-miniboard/.config index 7a809a9334..f3aed7082d 100644 --- a/bsp/apm32/apm32s103vb-miniboard/.config +++ b/bsp/apm32/apm32s103vb-miniboard/.config @@ -104,11 +104,9 @@ # # CONFIG_RT_KLIBC_USING_USER_STRNLEN is not set # end of rt_strnlen options - -# CONFIG_RT_UTEST_TC_USING_KLIBC is not set # end of klibc options -CONFIG_RT_NAME_MAX=8 +CONFIG_RT_NAME_MAX=12 # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_NANO is not set # CONFIG_RT_USING_SMART is not set @@ -210,6 +208,8 @@ CONFIG_FINSH_THREAD_PRIORITY=20 CONFIG_FINSH_THREAD_STACK_SIZE=4096 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 +# CONFIG_FINSH_USING_WORD_OPERATION is not set +# CONFIG_FINSH_USING_FUNC_EXT is not set CONFIG_FINSH_USING_SYMTAB=y CONFIG_FINSH_CMD_SIZE=80 CONFIG_MSH_USING_BUILT_IN_COMMANDS=y @@ -386,6 +386,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_FREEMODBUS is not set # CONFIG_PKG_USING_NANOPB is not set # CONFIG_PKG_USING_WIFI_HOST_DRIVER is not set +# CONFIG_PKG_USING_ESP_HOSTED is not set # # Wi-Fi @@ -493,6 +494,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_QMODBUS is not set # CONFIG_PKG_USING_PNET is not set # CONFIG_PKG_USING_OPENER is not set +# CONFIG_PKG_USING_FREEMQTT is not set # end of IoT - internet of things # @@ -582,6 +584,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # tools packages # # CONFIG_PKG_USING_CMBACKTRACE is not set +# CONFIG_PKG_USING_MCOREDUMP is not set # CONFIG_PKG_USING_EASYFLASH is not set # CONFIG_PKG_USING_EASYLOGGER is not set # CONFIG_PKG_USING_SYSTEMVIEW is not set @@ -628,6 +631,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_ZDEBUG is not set # CONFIG_PKG_USING_RVBACKTRACE is not set # CONFIG_PKG_USING_HPATCHLITE is not set +# CONFIG_PKG_USING_THREAD_METRIC is not set # end of tools packages # @@ -721,6 +725,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_RMP is not set # CONFIG_PKG_USING_R_RHEALSTONE is not set # CONFIG_PKG_USING_HEARTBEAT is not set +# CONFIG_PKG_USING_MICRO_ROS_RTTHREAD_PACKAGE is not set # end of system packages # @@ -802,6 +807,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NRF5X_SDK is not set # CONFIG_PKG_USING_NRFX is not set +# CONFIG_PKG_USING_RASPBERRYPI_PICO_RP2350_SDK is not set # CONFIG_PKG_USING_RASPBERRYPI_PICO_SDK is not set # CONFIG_PKG_USING_MM32 is not set @@ -844,6 +850,10 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # # HC32 DDL Drivers # +# CONFIG_PKG_USING_HC32F3_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F3_SERIES_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_HC32F4_SERIES_DRIVER is not set # end of HC32 DDL Drivers # @@ -857,6 +867,21 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_NXP_IMX6UL_DRIVER is not set # CONFIG_PKG_USING_NXP_IMXRT_DRIVER is not set # end of NXP HAL & SDK Drivers + +# +# NUVOTON Drivers +# +# CONFIG_PKG_USING_NUVOTON_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_SERIES_DRIVER is not set +# CONFIG_PKG_USING_NUVOTON_ARM926_LIB is not set +# end of NUVOTON Drivers + +# +# GD32 Drivers +# +# CONFIG_PKG_USING_GD32_ARM_CMSIS_DRIVER is not set +# CONFIG_PKG_USING_GD32_ARM_SERIES_DRIVER is not set +# end of GD32 Drivers # end of HAL & SDK Drivers # @@ -1029,6 +1054,7 @@ CONFIG_RT_LIBC_TZ_DEFAULT_SEC=0 # CONFIG_PKG_USING_SEAN_WS2812B is not set # CONFIG_PKG_USING_IC74HC165 is not set # CONFIG_PKG_USING_IST8310 is not set +# CONFIG_PKG_USING_ST7789_SPI is not set # CONFIG_PKG_USING_SPI_TOOLS is not set # end of peripheral libraries and drivers diff --git a/bsp/apm32/apm32s103vb-miniboard/project.ewp b/bsp/apm32/apm32s103vb-miniboard/project.ewp index c3a9d77185..a69e6f0c33 100644 --- a/bsp/apm32/apm32s103vb-miniboard/project.ewp +++ b/bsp/apm32/apm32s103vb-miniboard/project.ewp @@ -222,12 +222,12 @@ <option>
<name>CCDefines</name>
<state />
+ <state>APM32S10X_MD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32S10X_MD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -352,29 +352,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1324,12 +1324,12 @@ <option>
<name>CCDefines</name>
<state>NDEBUG</state>
+ <state>APM32S10X_MD</state>
+ <state>__RTTHREAD__</state>
<state>CLOCKS_PER_SEC=RT_TICK_PER_SECOND</state>
<state>RT_USING_DLIBC</state>
<state>RT_USING_LIBC</state>
<state>_DLIB_ADD_EXTRA_SYMBOLS=0</state>
- <state>APM32S10X_MD</state>
- <state>__RTTHREAD__</state>
<state>USE_STDPERIPH_DRIVER</state>
<state>__RT_IPC_SOURCE__</state>
<state>__RT_KERNEL_SOURCE__</state>
@@ -1454,29 +1454,29 @@ <option>
<name>CCIncludePath2</name>
<state />
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
+ <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\board</state>
+ <state>$PROJ_DIR$\..\..\..\components\finsh</state>
+ <state>$PROJ_DIR$\..\libraries\Drivers</state>
<state>$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\poll</state>
<state>$PROJ_DIR$\board\ports</state>
<state>$PROJ_DIR$\..\..\..\components\libc\posix\io\eventfd</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\phy</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\.</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
- <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc</state>
- <state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\libraries\Drivers</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension\fcntl\octal</state>
<state>$PROJ_DIR$\..\libraries\Drivers\config</state>
- <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\io\epoll</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\smp_call</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\extension</state>
- <state>$PROJ_DIR$\..\libraries\APM32S10x_Library\CMSIS\Include</state>
- <state>$PROJ_DIR$\applications</state>
+ <state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
+ <state>$PROJ_DIR$\.</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\include</state>
- <state>$PROJ_DIR$\..\..\..\components\libc\posix\ipc</state>
- <state>$PROJ_DIR$\..\..\..\components\finsh</state>
- <state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2318,9 +2318,6 @@ <group>
<name>Finsh</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
@@ -2329,6 +2326,9 @@ <file>
<name>$PROJ_DIR$\..\..\..\components\finsh\msh_parse.c</name>
</file>
+ <file>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
+ </file>
</group>
<group>
<name>Kernel</name>
@@ -2384,13 +2384,13 @@ <name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsscanf.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\kstring.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\klibc\kstdio.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\klibc\kerrno.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\klibc\rt_vsnprintf_tiny.c</name>
@@ -2420,6 +2420,9 @@ <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_misc.c</name>
</file>
<file>
+ <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_rcm.c</name>
</file>
<file>
@@ -2429,19 +2432,19 @@ <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Source\system_apm32s10x.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c</name>
</file>
</group>
<group>
<name>POSIX</name>
</group>
<group>
+ <name>utc_UTest</name>
+ </group>
+ <group>
<name>utestcases</name>
</group>
</project>
diff --git a/bsp/apm32/apm32s103vb-miniboard/project.uvprojx b/bsp/apm32/apm32s103vb-miniboard/project.uvprojx index 0ff87ac407..fcaa717e19 100644 --- a/bsp/apm32/apm32s103vb-miniboard/project.uvprojx +++ b/bsp/apm32/apm32s103vb-miniboard/project.uvprojx @@ -334,9 +334,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>__RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND, RT_USING_LIBC, __STDC_LIMIT_MACROS, USE_STDPERIPH_DRIVER, APM32S10X_MD, RT_USING_ARMLIBC</Define> + <Define>USE_STDPERIPH_DRIVER, RT_USING_LIBC, __RTTHREAD__, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, __CLK_TCK=RT_TICK_PER_SECOND, APM32S10X_MD</Define> <Undefine /> - <IncludePath>board;.;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m3;..\libraries\APM32S10x_Library\CMSIS\Include;..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc;..\..\..\components\libc\compilers\common\extension;..\..\..\components\drivers\smp_call;applications;..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include;..\..\..\components\libc\posix\io\epoll;..\libraries\Drivers;..\..\..\components\finsh;..\..\..\components\drivers\phy;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\include;..\..\..\include;board\ports;..\..\..\components\drivers\include;..\..\..\components\drivers\include</IncludePath> + <IncludePath>..\..\..\libcpu\arm\common;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\inc;..\..\..\components\libc\posix\ipc;..\libraries\Drivers;..\..\..\include;..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Include;..\..\..\libcpu\arm\cortex-m3;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\finsh;board;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\phy;applications;..\..\..\components\libc\compilers\common\include;..\libraries\APM32S10x_Library\CMSIS\Include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\smp_call;..\libraries\Drivers\config;..\..\..\components\libc\compilers\common\extension;board\ports</IncludePath> </VariousControls> </Cads> <Aads> @@ -719,30 +719,30 @@ <GroupName>Finsh</GroupName> <Files> <File> - <FileName>msh_parse.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> <Files> <File> - <FileName>msh.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> <Files> <File> - <FileName>shell.c</FileName> + <FileName>msh_parse.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\msh_parse.c</FilePath> </File> </Files> </Group> @@ -1038,37 +1038,37 @@ <GroupName>klibc</GroupName> <Files> <File> - <FileName>kstdio.c</FileName> + <FileName>kerrno.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> + <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsnprintf_tiny.c</FileName> + <FileName>kstdio.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> + <FilePath>..\..\..\src\klibc\kstdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>rt_vsscanf.c</FileName> + <FileName>kstring.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> + <FilePath>..\..\..\src\klibc\kstring.c</FilePath> </File> </Files> <Files> <File> - <FileName>kerrno.c</FileName> + <FileName>rt_vsscanf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kerrno.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsscanf.c</FilePath> </File> </Files> <Files> <File> - <FileName>kstring.c</FileName> + <FileName>rt_vsnprintf_tiny.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\klibc\kstring.c</FilePath> + <FilePath>..\..\..\src\klibc\rt_vsnprintf_tiny.c</FilePath> </File> </Files> </Group> @@ -1114,51 +1114,51 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>apm32s10x_eint.c</FileName> + <FileName>apm32s10x_rcm.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_eint.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_rcm.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32s10x_rcm.c</FileName> + <FileName>apm32s10x_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_rcm.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32s10x_gpio.c</FileName> + <FileName>apm32s10x_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_gpio.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32s10x_dma.c</FileName> + <FileName>apm32s10x_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32s10x_usart.c</FileName> + <FileName>apm32s10x_eint.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_usart.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_eint.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_apm32s10x.c</FileName> + <FileName>apm32s10x_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Source\system_apm32s10x.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>apm32s10x_misc.c</FileName> + <FileName>system_apm32s10x.c</FileName> <FileType>1</FileType> - <FilePath>..\libraries\APM32S10x_Library\APM32S10x_StdPeriphDriver\src\apm32s10x_misc.c</FilePath> + <FilePath>..\libraries\APM32S10x_Library\Device\Geehy\APM32S10x\Source\system_apm32s10x.c</FilePath> </File> </Files> </Group> diff --git a/bsp/apm32/apm32s103vb-miniboard/rtconfig.h b/bsp/apm32/apm32s103vb-miniboard/rtconfig.h index acee7f33cb..fd87c85041 100644 --- a/bsp/apm32/apm32s103vb-miniboard/rtconfig.h +++ b/bsp/apm32/apm32s103vb-miniboard/rtconfig.h @@ -61,7 +61,7 @@ /* end of rt_strnlen options */ /* end of klibc options */ -#define RT_NAME_MAX 8 +#define RT_NAME_MAX 12 #define RT_CPUS_NR 1 #define RT_ALIGN_SIZE 8 #define RT_THREAD_PRIORITY_32 @@ -309,6 +309,14 @@ /* NXP HAL & SDK Drivers */ /* end of NXP HAL & SDK Drivers */ + +/* NUVOTON Drivers */ + +/* end of NUVOTON Drivers */ + +/* GD32 Drivers */ + +/* end of GD32 Drivers */ /* end of HAL & SDK Drivers */ /* sensors drivers */ |
