diff options
| author | Man, Jianting (Meco) <[email protected]> | 2022-01-08 10:29:41 -0500 |
|---|---|---|
| committer | Bernard Xiong <[email protected]> | 2022-01-09 00:20:32 +0800 |
| commit | bb1084556ff9395e6e5d908edfef9cab6f6fa4dc (patch) | |
| tree | 97e0844decee5d889c1b10d88d16db36bba44245 /bsp/gd32450z-eval | |
| parent | 353f717037b57f663ddce9447fd05700f3087a66 (diff) | |
[console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* format codes
* [libc] 整理格式
* refresh projects
Diffstat (limited to 'bsp/gd32450z-eval')
| -rw-r--r-- | bsp/gd32450z-eval/.config | 99 | ||||
| -rw-r--r-- | bsp/gd32450z-eval/drivers/board.c | 2 | ||||
| -rw-r--r-- | bsp/gd32450z-eval/project.uvproj | 318 | ||||
| -rw-r--r-- | bsp/gd32450z-eval/project.uvprojx | 304 | ||||
| -rw-r--r-- | bsp/gd32450z-eval/rtconfig.h | 58 |
5 files changed, 346 insertions, 435 deletions
diff --git a/bsp/gd32450z-eval/.config b/bsp/gd32450z-eval/.config index bc514476b0..5102985dc4 100644 --- a/bsp/gd32450z-eval/.config +++ b/bsp/gd32450z-eval/.config @@ -1,9 +1,13 @@ -# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) +# +# Automatically generated file; DO NOT EDIT. +# RT-Thread Configuration +# # # RT-Thread Kernel # CONFIG_RT_NAME_MAX=8 +# CONFIG_RT_USING_BIG_ENDIAN is not set # CONFIG_RT_USING_ARCH_DATA_TYPE is not set # CONFIG_RT_USING_SMP is not set CONFIG_RT_ALIGN_SIZE=4 @@ -14,6 +18,7 @@ CONFIG_RT_THREAD_PRIORITY_MAX=32 CONFIG_RT_TICK_PER_SECOND=100 CONFIG_RT_USING_OVERFLOW_CHECK=y CONFIG_RT_USING_HOOK=y +CONFIG_RT_HOOK_USING_FUNC_PTR=y CONFIG_RT_USING_IDLE_HOOK=y CONFIG_RT_IDLE_HOOK_LIST_SIZE=4 CONFIG_IDLE_THREAD_STACK_SIZE=256 @@ -26,8 +31,6 @@ CONFIG_IDLE_THREAD_STACK_SIZE=256 # CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set # CONFIG_RT_USING_TINY_FFS is not set # CONFIG_RT_PRINTF_LONGLONG is not set -# end of kservice optimization - CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG_COLOR=y # CONFIG_RT_DEBUG_INIT_CONFIG is not set @@ -50,7 +53,6 @@ CONFIG_RT_USING_EVENT=y CONFIG_RT_USING_MAILBOX=y CONFIG_RT_USING_MESSAGEQUEUE=y # CONFIG_RT_USING_SIGNALS is not set -# end of Inter-Thread communication # # Memory Management @@ -67,7 +69,6 @@ CONFIG_RT_USING_SMALL_MEM_AS_HEAP=y # CONFIG_RT_USING_MEMTRACE is not set # CONFIG_RT_USING_HEAP_ISR is not set CONFIG_RT_USING_HEAP=y -# end of Memory Management # # Kernel Device Object @@ -78,10 +79,9 @@ CONFIG_RT_USING_DEVICE=y CONFIG_RT_USING_CONSOLE=y CONFIG_RT_CONSOLEBUF_SIZE=128 CONFIG_RT_CONSOLE_DEVICE_NAME="uart0" -# end of Kernel Device Object - CONFIG_RT_VER_NUM=0x40100 -# end of RT-Thread Kernel +# CONFIG_RT_USING_CPU_FFS is not set +# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set # # RT-Thread Components @@ -96,7 +96,6 @@ CONFIG_RT_MAIN_THREAD_PRIORITY=10 # C++ features # # CONFIG_RT_USING_CPLUSPLUS is not set -# end of C++ features # # Command shell @@ -116,7 +115,6 @@ CONFIG_FINSH_USING_DESCRIPTION=y # CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set # CONFIG_FINSH_USING_AUTH is not set CONFIG_FINSH_ARG_MAX=10 -# end of Command shell # # Device virtual file system @@ -151,13 +149,10 @@ CONFIG_RT_DFS_ELM_MAX_SECTOR_SIZE=512 # CONFIG_RT_DFS_ELM_USE_ERASE is not set CONFIG_RT_DFS_ELM_REENTRANT=y CONFIG_RT_DFS_ELM_MUTEX_TIMEOUT=3000 -# end of elm-chan's FatFs, Generic FAT Filesystem Module - CONFIG_RT_USING_DFS_DEVFS=y # CONFIG_RT_USING_DFS_ROMFS is not set # CONFIG_RT_USING_DFS_RAMFS is not set # CONFIG_RT_USING_DFS_NFS is not set -# end of Device virtual file system # # Device Drivers @@ -198,17 +193,13 @@ CONFIG_RT_USING_PIN=y # # Using USB # +# CONFIG_RT_USING_USB is not set # CONFIG_RT_USING_USB_HOST is not set # CONFIG_RT_USING_USB_DEVICE is not set -# end of Using USB -# end of Device Drivers # # POSIX layer and C standard library # -CONFIG_RT_USING_LIBC=y -CONFIG_RT_LIBC_USING_TIME=y -# CONFIG_RT_LIBC_USING_FILEIO is not set # CONFIG_RT_USING_MODULE is not set CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 @@ -217,6 +208,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_RT_USING_POSIX_FS=y # CONFIG_RT_USING_POSIX_DEVIO is not set +# CONFIG_RT_USING_POSIX_STDIO is not set CONFIG_RT_USING_POSIX_POLL=y CONFIG_RT_USING_POSIX_SELECT=y # CONFIG_RT_USING_POSIX_TERMIOS is not set @@ -224,7 +216,6 @@ CONFIG_RT_USING_POSIX_SELECT=y # CONFIG_RT_USING_POSIX_MMAN is not set # CONFIG_RT_USING_POSIX_DELAY is not set # CONFIG_RT_USING_POSIX_CLOCK is not set -# CONFIG_RT_USING_POSIX_GETLINE is not set # CONFIG_RT_USING_PTHREADS is not set # @@ -237,9 +228,6 @@ CONFIG_RT_USING_POSIX_SELECT=y # # Socket is in the 'Network' category # -# end of Interprocess Communication (IPC) -# end of POSIX (Portable Operating System Interface) layer -# end of POSIX layer and C standard library # # Network @@ -255,10 +243,7 @@ CONFIG_SAL_INTERNET_CHECK=y # protocol stack implement # CONFIG_SAL_USING_LWIP=y -# end of protocol stack implement - CONFIG_SAL_USING_POSIX=y -# end of Socket abstraction layer # # Network interface device @@ -271,7 +256,7 @@ CONFIG_NETDEV_USING_AUTO_DEFAULT=y # CONFIG_NETDEV_USING_IPV6 is not set CONFIG_NETDEV_IPV4=1 CONFIG_NETDEV_IPV6=0 -# end of Network interface device +# CONFIG_NETDEV_IPV6_SCOPES is not set # # light weight TCP/IP stack @@ -297,8 +282,6 @@ CONFIG_IP_SOF_BROADCAST_RECV=1 CONFIG_RT_LWIP_IPADDR="192.168.1.30" CONFIG_RT_LWIP_GWADDR="192.168.1.1" CONFIG_RT_LWIP_MSKADDR="255.255.255.0" -# end of Static IPv4 Address - CONFIG_RT_LWIP_UDP=y CONFIG_RT_LWIP_TCP=y CONFIG_RT_LWIP_RAW=y @@ -333,22 +316,17 @@ CONFIG_LWIP_NETIF_LOOPBACK=0 # CONFIG_RT_LWIP_USING_HW_CHECKSUM is not set CONFIG_RT_LWIP_USING_PING=y # CONFIG_RT_LWIP_DEBUG is not set -# end of light weight TCP/IP stack # # AT commands # # CONFIG_RT_USING_AT is not set -# end of AT commands - # CONFIG_LWIP_USING_DHCPD is not set -# end of Network # # VBUS(Virtual Software BUS) # # CONFIG_RT_USING_VBUS is not set -# end of VBUS(Virtual Software BUS) # # Utilities @@ -358,14 +336,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_RT_USING_UTEST is not set # CONFIG_RT_USING_VAR_EXPORT is not set # CONFIG_RT_USING_RT_LINK is not set -# end of Utilities -# end of RT-Thread Components # # RT-Thread Utestcases # # CONFIG_RT_USING_UTESTCASES is not set -# end of RT-Thread Utestcases # # RT-Thread online packages @@ -400,17 +375,12 @@ CONFIG_RT_LWIP_USING_PING=y # Marvell WiFi # # CONFIG_PKG_USING_WLANMARVELL is not set -# end of Marvell WiFi # # Wiced WiFi # # CONFIG_PKG_USING_WLAN_WICED is not set -# end of Wiced WiFi - # CONFIG_PKG_USING_RW007 is not set -# end of Wi-Fi - # CONFIG_PKG_USING_COAP is not set # CONFIG_PKG_USING_NOPOLL is not set # CONFIG_PKG_USING_NETUTILS is not set @@ -432,8 +402,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_JIOT-C-SDK is not set # CONFIG_PKG_USING_UCLOUD_IOT_SDK is not set # CONFIG_PKG_USING_JOYLINK is not set -# end of IoT Cloud - +# CONFIG_PKG_USING_EZ_IOT_OS is not set # CONFIG_PKG_USING_NIMBLE is not set # CONFIG_PKG_USING_OTA_DOWNLOADER is not set # CONFIG_PKG_USING_IPMSG is not set @@ -468,7 +437,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_PKT_SNIFFER is not set # CONFIG_PKG_USING_HM is not set # CONFIG_PKG_USING_SMALL_MODBUS is not set -# end of IoT - internet of things +# CONFIG_PKG_USING_NET_SERVER is not set # # security packages @@ -478,16 +447,15 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_TINYCRYPT is not set # CONFIG_PKG_USING_TFM is not set # CONFIG_PKG_USING_YD_CRYPTO is not set -# end of security packages # # language packages # +# CONFIG_PKG_USING_LUATOS_SOC is not set # CONFIG_PKG_USING_LUA is not set # CONFIG_PKG_USING_JERRYSCRIPT is not set # CONFIG_PKG_USING_MICROPYTHON is not set # CONFIG_PKG_USING_PIKASCRIPT is not set -# end of language packages # # multimedia packages @@ -499,15 +467,12 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LVGL is not set # CONFIG_PKG_USING_LITTLEVGL2RTT is not set # CONFIG_PKG_USING_LV_MUSIC_DEMO is not set -# end of LVGL: powerful and easy-to-use embedded GUI library # # u8g2: a monochrome graphic library # # CONFIG_PKG_USING_U8G2_OFFICIAL is not set # CONFIG_PKG_USING_U8G2 is not set -# end of u8g2: a monochrome graphic library - # CONFIG_PKG_USING_OPENMV is not set # CONFIG_PKG_USING_MUPDF is not set # CONFIG_PKG_USING_STEMWIN is not set @@ -527,8 +492,9 @@ CONFIG_RT_LWIP_USING_PING=y # # CONFIG_PKG_USING_PAINTERENGINE is not set # CONFIG_PKG_USING_PAINTERENGINE_AUX is not set -# end of PainterEngine: A cross-platform graphics application framework written in C language -# end of multimedia packages +# CONFIG_PKG_USING_MCURSES is not set +# CONFIG_PKG_USING_TERMBOX is not set +# CONFIG_PKG_USING_VT100 is not set # # tools packages @@ -572,7 +538,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_SOLAR_TERMS is not set # CONFIG_PKG_USING_GAN_ZHI is not set # CONFIG_PKG_USING_FDT is not set -# end of tools packages # # system packages @@ -584,7 +549,13 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_RT_MEMCPY_CM is not set # CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set -# end of enhanced kernel services + +# +# POSIX extension functions +# +# CONFIG_PKG_USING_POSIX_GETLINE is not set +# CONFIG_PKG_USING_POSIX_WCWIDTH is not set +# CONFIG_PKG_USING_POSIX_ITOA is not set # # acceleration: Assembly language or algorithmic acceleration packages @@ -592,14 +563,12 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QFPLIB_M0_FULL is not set # CONFIG_PKG_USING_QFPLIB_M0_TINY is not set # CONFIG_PKG_USING_QFPLIB_M3 is not set -# end of acceleration: Assembly language or algorithmic acceleration packages # # CMSIS: ARM Cortex-M Microcontroller Software Interface Standard # # CONFIG_PKG_USING_CMSIS_5 is not set # CONFIG_PKG_USING_CMSIS_RTOS2 is not set -# end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard # # Micrium: Micrium software products porting for RT-Thread @@ -610,8 +579,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UC_CLK is not set # CONFIG_PKG_USING_UC_COMMON is not set # CONFIG_PKG_USING_UC_MODBUS is not set -# end of Micrium: Micrium software products porting for RT-Thread - # CONFIG_RT_USING_ARDUINO is not set # CONFIG_PKG_USING_GUIENGINE is not set # CONFIG_PKG_USING_CAIRO is not set @@ -641,11 +608,9 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set # CONFIG_PKG_USING_ARM_2D is not set -# CONFIG_PKG_USING_WCWIDTH is not set # CONFIG_PKG_USING_MCUBOOT is not set # CONFIG_PKG_USING_TINYUSB is not set # CONFIG_PKG_USING_USB_STACK is not set -# end of system packages # # peripheral libraries and drivers @@ -719,10 +684,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_BLUETRUM_SDK is not set # CONFIG_PKG_USING_MISAKA_AT24CXX is not set # CONFIG_PKG_USING_MISAKA_RGB_BLING is not set +# CONFIG_PKG_USING_LORA_MODEM_DRIVER is not set # CONFIG_PKG_USING_BL_MCU_SDK is not set # CONFIG_PKG_USING_SOFT_SERIAL is not set # CONFIG_PKG_USING_MB85RS16 is not set -# end of peripheral libraries and drivers +# CONFIG_PKG_USING_CW2015 is not set # # AI packages @@ -736,7 +702,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_ULAPACK is not set # CONFIG_PKG_USING_QUEST is not set # CONFIG_PKG_USING_NAXOS is not set -# end of AI packages # # miscellaneous packages @@ -749,7 +714,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set # CONFIG_PKG_USING_NETWORK_SAMPLES is not set # CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set -# end of samples: kernel and components samples # # entertainment: terminal games and other interesting software packages @@ -763,8 +727,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_SNAKE is not set # CONFIG_PKG_USING_TETRIS is not set # CONFIG_PKG_USING_DONUT is not set -# end of entertainment: terminal games and other interesting software packages - +# CONFIG_PKG_USING_COWSAY is not set # CONFIG_PKG_USING_LIBCSV is not set # CONFIG_PKG_USING_OPTPARSE is not set # CONFIG_PKG_USING_FASTLZ is not set @@ -786,17 +749,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_VI is not set # CONFIG_PKG_USING_KI is not set # CONFIG_PKG_USING_ARMv7M_DWT is not set -# CONFIG_PKG_USING_VT100 is not set # CONFIG_PKG_USING_UKAL is not set # CONFIG_PKG_USING_CRCLIB is not set # CONFIG_PKG_USING_LWGPS is not set # CONFIG_PKG_USING_STATE_MACHINE is not set -# CONFIG_PKG_USING_MCURSES is not set -# CONFIG_PKG_USING_COWSAY is not set -# CONFIG_PKG_USING_TERMBOX is not set -# end of miscellaneous packages -# end of RT-Thread online packages - +# CONFIG_PKG_USING_DESIGN_PATTERN is not set CONFIG_SOC_GD32450Z=y CONFIG_BSP_USING_SDRAM=y CONFIG_BSP_USING_UART0=y diff --git a/bsp/gd32450z-eval/drivers/board.c b/bsp/gd32450z-eval/drivers/board.c index fb17c159eb..b69adfc41f 100644 --- a/bsp/gd32450z-eval/drivers/board.c +++ b/bsp/gd32450z-eval/drivers/board.c @@ -74,7 +74,7 @@ void rt_hw_board_init() rt_components_board_init(); #endif -#ifdef RT_USING_CONSOLE +#if defined(RT_USING_CONSOLE) && defined(RT_USING_DEVICE) rt_console_set_device(RT_CONSOLE_DEVICE_NAME); #endif diff --git a/bsp/gd32450z-eval/project.uvproj b/bsp/gd32450z-eval/project.uvproj index 7251800c36..68699611c6 100644 --- a/bsp/gd32450z-eval/project.uvproj +++ b/bsp/gd32450z-eval/project.uvproj @@ -370,9 +370,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>USE_STDPERIPH_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define> <Undefine /> - <IncludePath>applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\libc\posix\io;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\components\net\netdev\include;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket\sys_socket;..\..\examples\utest\testcases\kernel</IncludePath> + <IncludePath>applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\libc\posix\io;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\components\net\netdev\include;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket\sys_socket;..\..\examples\utest\testcases\kernel</IncludePath> </VariousControls> </Cads> <Aads> @@ -424,6 +424,44 @@ </Files> </Group> <Group> + <GroupName>Compiler</GroupName> + <Files> + <File> + <FileName>syscall_mem.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>libc_syms.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\libc_syms.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>syscalls.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>time.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\common\time.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>stdlib.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\common\stdlib.c</FilePath> + </File> + </Files> + </Group> + <Group> <GroupName>CPU</GroupName> <Files> <File> @@ -448,16 +486,16 @@ </Files> <Files> <File> - <FileName>cpuport.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath> + <FileName>context_rvds.S</FileName> + <FileType>2</FileType> + <FilePath>..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath> </File> </Files> <Files> <File> - <FileName>context_rvds.S</FileName> - <FileType>2</FileType> - <FilePath>..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath> + <FileName>cpuport.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath> </File> </Files> </Group> @@ -479,51 +517,51 @@ </Files> <Files> <File> - <FileName>ringbuffer.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\ringbuffer.c</FilePath> + <FilePath>..\..\components\drivers\src\waitqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>dataqueue.c</FileName> + <FileName>workqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\dataqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\workqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>workqueue.c</FileName> + <FileName>pipe.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\workqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\pipe.c</FilePath> </File> </Files> <Files> <File> - <FileName>completion.c</FileName> + <FileName>ringblk_buf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\completion.c</FilePath> + <FilePath>..\..\components\drivers\src\ringblk_buf.c</FilePath> </File> </Files> <Files> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>dataqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\ringblk_buf.c</FilePath> + <FilePath>..\..\components\drivers\src\dataqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>pipe.c</FileName> + <FileName>completion.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\pipe.c</FilePath> + <FilePath>..\..\components\drivers\src\completion.c</FilePath> </File> </Files> <Files> <File> - <FileName>waitqueue.c</FileName> + <FileName>ringbuffer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\waitqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\ringbuffer.c</FilePath> </File> </Files> </Group> @@ -659,20 +697,6 @@ <GroupName>Kernel</GroupName> <Files> <File> - <FileName>device.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\device.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>object.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\object.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>scheduler.c</FileName> <FileType>1</FileType> <FilePath>..\..\src\scheduler.c</FilePath> @@ -680,51 +704,37 @@ </Files> <Files> <File> - <FileName>mem.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\mem.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>clock.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\clock.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>thread.c</FileName> + <FileName>irq.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\thread.c</FilePath> + <FilePath>..\..\src\irq.c</FilePath> </File> </Files> <Files> <File> - <FileName>kservice.c</FileName> + <FileName>ipc.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\kservice.c</FilePath> + <FilePath>..\..\src\ipc.c</FilePath> </File> </Files> <Files> <File> - <FileName>mempool.c</FileName> + <FileName>idle.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\mempool.c</FilePath> + <FilePath>..\..\src\idle.c</FilePath> </File> </Files> <Files> <File> - <FileName>ipc.c</FileName> + <FileName>device.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\ipc.c</FilePath> + <FilePath>..\..\src\device.c</FilePath> </File> </Files> <Files> <File> - <FileName>components.c</FileName> + <FileName>kservice.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\components.c</FilePath> + <FilePath>..\..\src\kservice.c</FilePath> </File> </Files> <Files> @@ -736,54 +746,44 @@ </Files> <Files> <File> - <FileName>idle.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\idle.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>irq.c</FileName> + <FileName>mempool.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\irq.c</FilePath> + <FilePath>..\..\src\mempool.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>libc</GroupName> <Files> <File> - <FileName>mem_std.c</FileName> + <FileName>components.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\mem_std.c</FilePath> + <FilePath>..\..\src\components.c</FilePath> </File> </Files> <Files> <File> - <FileName>libc_syms.c</FileName> + <FileName>clock.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\libc_syms.c</FilePath> + <FilePath>..\..\src\clock.c</FilePath> </File> </Files> <Files> <File> - <FileName>syscalls.c</FileName> + <FileName>object.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> + <FilePath>..\..\src\object.c</FilePath> </File> </Files> <Files> <File> - <FileName>stdlib.c</FileName> + <FileName>thread.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\common\stdlib.c</FilePath> + <FilePath>..\..\src\thread.c</FilePath> </File> </Files> <Files> <File> - <FileName>time.c</FileName> + <FileName>mem.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\common\time.c</FilePath> + <FilePath>..\..\src\mem.c</FilePath> </File> </Files> </Group> @@ -791,44 +791,44 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>gd32f4xx_wwdgt.c</FileName> + <FileName>gd32f4xx_fmc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_dbg.c</FileName> + <FileName>gd32f4xx_pmu.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_trng.c</FileName> + <FileName>gd32f4xx_crc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_usart.c</FileName> + <FileName>gd32f4xx_enet.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_pmu.c</FileName> + <FileName>gd32f4xx_rcu.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_gpio.c</FileName> + <FileName>gd32f4xx_sdio.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c</FilePath> </File> </Files> <Files> @@ -840,79 +840,79 @@ </Files> <Files> <File> - <FileName>gd32f4xx_sdio.c</FileName> + <FileName>gd32f4xx_wwdgt.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_exti.c</FileName> + <FileName>gd32f4xx_dma.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_misc.c</FileName> + <FileName>gd32f4xx_ipa.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_spi.c</FileName> + <FileName>gd32f4xx_dbg.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_crc.c</FileName> + <FileName>gd32f4xx_fwdgt.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_fmc.c</FileName> + <FileName>gd32f4xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_gd32f4xx.c</FileName> + <FileName>gd32f4xx_dac.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_dci.c</FileName> + <FileName>gd32f4xx_spi.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_timer.c</FileName> + <FileName>gd32f4xx_trng.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_dac.c</FileName> + <FileName>gd32f4xx_tli.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_rtc.c</FileName> + <FileName>gd32f4xx_dci.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c</FilePath> </File> </Files> <Files> @@ -924,65 +924,65 @@ </Files> <Files> <File> - <FileName>gd32f4xx_enet.c</FileName> + <FileName>gd32f4xx_rtc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_i2c.c</FileName> - <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c</FilePath> + <FileName>startup_gd32f4xx.s</FileName> + <FileType>2</FileType> + <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_exmc.c</FileName> + <FileName>gd32f4xx_adc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c</FilePath> </File> </Files> <Files> <File> - <FileName>startup_gd32f4xx.s</FileName> - <FileType>2</FileType> - <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s</FilePath> + <FileName>gd32f4xx_timer.c</FileName> + <FileType>1</FileType> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_tli.c</FileName> + <FileName>gd32f4xx_exti.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_fwdgt.c</FileName> + <FileName>gd32f4xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_ipa.c</FileName> + <FileName>gd32f4xx_can.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_rcu.c</FileName> + <FileName>gd32f4xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_dma.c</FileName> + <FileName>gd32f4xx_exmc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c</FilePath> </File> </Files> <Files> @@ -994,16 +994,16 @@ </Files> <Files> <File> - <FileName>gd32f4xx_can.c</FileName> + <FileName>gd32f4xx_i2c.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_adc.c</FileName> + <FileName>system_gd32f4xx.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c</FilePath> + <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c</FilePath> </File> </Files> </Group> @@ -1011,6 +1011,13 @@ <GroupName>lwIP</GroupName> <Files> <File> + <FileName>ping.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>netdb.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\net\lwip-2.0.2\src\api\netdb.c</FilePath> @@ -1074,13 +1081,6 @@ </Files> <Files> <File> - <FileName>ping.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>ip4_addr.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c</FilePath> @@ -1290,23 +1290,23 @@ <GroupName>SAL</GroupName> <Files> <File> - <FileName>netdev.c</FileName> + <FileName>netdev_ipaddr.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\netdev\src\netdev.c</FilePath> + <FilePath>..\..\components\net\netdev\src\netdev_ipaddr.c</FilePath> </File> </Files> <Files> <File> - <FileName>netdev_ipaddr.c</FileName> + <FileName>netdev.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\netdev\src\netdev_ipaddr.c</FilePath> + <FilePath>..\..\components\net\netdev\src\netdev.c</FilePath> </File> </Files> <Files> <File> - <FileName>dfs_net.c</FileName> + <FileName>af_inet_lwip.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\dfs_net\dfs_net.c</FilePath> + <FilePath>..\..\components\net\sal_socket\impl\af_inet_lwip.c</FilePath> </File> </Files> <Files> @@ -1318,23 +1318,23 @@ </Files> <Files> <File> - <FileName>sal_socket.c</FileName> + <FileName>net_netdb.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\src\sal_socket.c</FilePath> + <FilePath>..\..\components\net\sal_socket\socket\net_netdb.c</FilePath> </File> </Files> <Files> <File> - <FileName>af_inet_lwip.c</FileName> + <FileName>dfs_net.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\impl\af_inet_lwip.c</FilePath> + <FilePath>..\..\components\net\sal_socket\dfs_net\dfs_net.c</FilePath> </File> </Files> <Files> <File> - <FileName>net_netdb.c</FileName> + <FileName>sal_socket.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\socket\net_netdb.c</FilePath> + <FilePath>..\..\components\net\sal_socket\src\sal_socket.c</FilePath> </File> </Files> </Group> diff --git a/bsp/gd32450z-eval/project.uvprojx b/bsp/gd32450z-eval/project.uvprojx index c9c0bd9866..1fb3e8e5f0 100644 --- a/bsp/gd32450z-eval/project.uvprojx +++ b/bsp/gd32450z-eval/project.uvprojx @@ -331,9 +331,9 @@ <v6Rtti>0</v6Rtti> <VariousControls> <MiscControls /> - <Define>USE_STDPERIPH_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>USE_STDPERIPH_DRIVER, __RTTHREAD__, RT_USING_ARM_LIBC, __CLK_TCK=RT_TICK_PER_SECOND</Define> <Undefine /> - <IncludePath>applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\libc\posix\io;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\components\net\netdev\include;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket\sys_socket;..\..\examples\utest\testcases\kernel</IncludePath> + <IncludePath>applications;.;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\dfs\filesystems\elmfat;..\..\components\finsh;.;..\..\include;Libraries\CMSIS\GD\GD32F4xx\Include;Libraries\CMSIS;Libraries\GD32F4xx_standard_peripheral\Include;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\libc\posix\io;..\..\components\libc\posix\io\poll;..\..\components\libc\posix\ipc;..\..\components\net\netdev\include;..\..\components\net\sal_socket\include;..\..\components\net\sal_socket\include\socket;..\..\components\net\sal_socket\impl;..\..\components\net\sal_socket\include\dfs_net;..\..\components\net\sal_socket\include\socket\sys_socket;..\..\examples\utest\testcases\kernel</IncludePath> </VariousControls> </Cads> <Aads> @@ -385,12 +385,50 @@ </Files> </Group> <Group> + <GroupName>Compiler</GroupName> + <Files> + <File> + <FileName>libc_syms.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\libc_syms.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>syscalls.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>syscall_mem.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\armlibc\syscall_mem.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>stdlib.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\common\stdlib.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>time.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\libc\compilers\common\time.c</FilePath> + </File> + </Files> + </Group> + <Group> <GroupName>CPU</GroupName> <Files> <File> - <FileName>div0.c</FileName> + <FileName>backtrace.c</FileName> <FileType>1</FileType> - <FilePath>..\..\libcpu\arm\common\div0.c</FilePath> + <FilePath>..\..\libcpu\arm\common\backtrace.c</FilePath> </File> </Files> <Files> @@ -402,9 +440,9 @@ </Files> <Files> <File> - <FileName>backtrace.c</FileName> + <FileName>div0.c</FileName> <FileType>1</FileType> - <FilePath>..\..\libcpu\arm\common\backtrace.c</FilePath> + <FilePath>..\..\libcpu\arm\common\div0.c</FilePath> </File> </Files> <Files> @@ -440,9 +478,9 @@ </Files> <Files> <File> - <FileName>ringbuffer.c</FileName> + <FileName>dataqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\ringbuffer.c</FilePath> + <FilePath>..\..\components\drivers\src\dataqueue.c</FilePath> </File> </Files> <Files> @@ -454,16 +492,16 @@ </Files> <Files> <File> - <FileName>waitqueue.c</FileName> + <FileName>workqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\waitqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\workqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>workqueue.c</FileName> + <FileName>ringblk_buf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\workqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\ringblk_buf.c</FilePath> </File> </Files> <Files> @@ -475,16 +513,16 @@ </Files> <Files> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\ringblk_buf.c</FilePath> + <FilePath>..\..\components\drivers\src\waitqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>dataqueue.c</FileName> + <FileName>ringbuffer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\drivers\src\dataqueue.c</FilePath> + <FilePath>..\..\components\drivers\src\ringbuffer.c</FilePath> </File> </Files> </Group> @@ -620,13 +658,6 @@ <GroupName>Kernel</GroupName> <Files> <File> - <FileName>device.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\device.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>ipc.c</FileName> <FileType>1</FileType> <FilePath>..\..\src\ipc.c</FilePath> @@ -634,9 +665,9 @@ </Files> <Files> <File> - <FileName>components.c</FileName> + <FileName>thread.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\components.c</FilePath> + <FilePath>..\..\src\thread.c</FilePath> </File> </Files> <Files> @@ -648,9 +679,9 @@ </Files> <Files> <File> - <FileName>mem.c</FileName> + <FileName>clock.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\mem.c</FilePath> + <FilePath>..\..\src\clock.c</FilePath> </File> </Files> <Files> @@ -662,99 +693,89 @@ </Files> <Files> <File> - <FileName>clock.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\src\clock.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>mempool.c</FileName> + <FileName>device.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\mempool.c</FilePath> + <FilePath>..\..\src\device.c</FilePath> </File> </Files> <Files> <File> - <FileName>idle.c</FileName> + <FileName>timer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\idle.c</FilePath> + <FilePath>..\..\src\timer.c</FilePath> </File> </Files> <Files> <File> - <FileName>irq.c</FileName> + <FileName>scheduler.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\irq.c</FilePath> + <FilePath>..\..\src\scheduler.c</FilePath> </File> </Files> <Files> <File> - <FileName>scheduler.c</FileName> + <FileName>mempool.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\scheduler.c</FilePath> + <FilePath>..\..\src\mempool.c</FilePath> </File> </Files> <Files> <File> - <FileName>timer.c</FileName> + <FileName>mem.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\timer.c</FilePath> + <FilePath>..\..\src\mem.c</FilePath> </File> </Files> <Files> <File> - <FileName>thread.c</FileName> + <FileName>components.c</FileName> <FileType>1</FileType> - <FilePath>..\..\src\thread.c</FilePath> + <FilePath>..\..\src\components.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>libc</GroupName> <Files> <File> - <FileName>syscalls.c</FileName> + <FileName>idle.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> + <FilePath>..\..\src\idle.c</FilePath> </File> </Files> <Files> <File> - <FileName>libc_syms.c</FileName> + <FileName>irq.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\libc_syms.c</FilePath> + <FilePath>..\..\src\irq.c</FilePath> </File> </Files> + </Group> + <Group> + <GroupName>Libraries</GroupName> <Files> <File> - <FileName>mem_std.c</FileName> + <FileName>gd32f4xx_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\armlibc\mem_std.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>time.c</FileName> + <FileName>gd32f4xx_spi.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\common\time.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c</FilePath> </File> </Files> <Files> <File> - <FileName>stdlib.c</FileName> + <FileName>gd32f4xx_exti.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\libc\compilers\common\stdlib.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>Libraries</GroupName> <Files> <File> - <FileName>gd32f4xx_fmc.c</FileName> + <FileName>gd32f4xx_rcu.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c</FilePath> </File> </Files> <Files> @@ -766,86 +787,86 @@ </Files> <Files> <File> - <FileName>gd32f4xx_timer.c</FileName> + <FileName>gd32f4xx_trng.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_ctc.c</FileName> + <FileName>gd32f4xx_rtc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_iref.c</FileName> + <FileName>gd32f4xx_i2c.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_misc.c</FileName> + <FileName>gd32f4xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_usart.c</FileName> + <FileName>gd32f4xx_dac.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_syscfg.c</FileName> + <FileName>gd32f4xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_gpio.c</FileName> + <FileName>gd32f4xx_crc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_trng.c</FileName> + <FileName>gd32f4xx_sdio.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_tli.c</FileName> + <FileName>gd32f4xx_dci.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_rcu.c</FileName> + <FileName>gd32f4xx_iref.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_fwdgt.c</FileName> + <FileName>system_gd32f4xx.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c</FilePath> + <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_rtc.c</FileName> + <FileName>gd32f4xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c</FilePath> </File> </Files> <Files> @@ -857,30 +878,30 @@ </Files> <Files> <File> - <FileName>gd32f4xx_i2c.c</FileName> + <FileName>gd32f4xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_crc.c</FileName> - <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c</FilePath> + <FileName>startup_gd32f4xx.s</FileName> + <FileType>2</FileType> + <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s</FilePath> </File> </Files> <Files> <File> - <FileName>system_gd32f4xx.c</FileName> + <FileName>gd32f4xx_fmc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_ipa.c</FileName> + <FileName>gd32f4xx_pmu.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c</FilePath> </File> </Files> <Files> @@ -892,84 +913,70 @@ </Files> <Files> <File> - <FileName>gd32f4xx_dma.c</FileName> - <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>gd32f4xx_dci.c</FileName> + <FileName>gd32f4xx_ctc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_sdio.c</FileName> + <FileName>gd32f4xx_exmc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_dac.c</FileName> + <FileName>gd32f4xx_ipa.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_pmu.c</FileName> + <FileName>gd32f4xx_adc.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>startup_gd32f4xx.s</FileName> - <FileType>2</FileType> - <FilePath>Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_exti.c</FileName> + <FileName>gd32f4xx_tli.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_spi.c</FileName> + <FileName>gd32f4xx_timer.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_adc.c</FileName> + <FileName>gd32f4xx_can.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c</FilePath> </File> </Files> <Files> <File> - <FileName>gd32f4xx_exmc.c</FileName> + <FileName>gd32f4xx_fwdgt.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c</FilePath> + <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c</FilePath> </File> </Files> + </Group> + <Group> + <GroupName>lwIP</GroupName> <Files> <File> - <FileName>gd32f4xx_can.c</FileName> + <FileName>ping.c</FileName> <FileType>1</FileType> - <FilePath>Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c</FilePath> + <FilePath>..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>lwIP</GroupName> <Files> <File> <FileName>netdb.c</FileName> @@ -1042,13 +1049,6 @@ </Files> <Files> <File> - <FileName>ping.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>dhcp.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c</FilePath> @@ -1251,13 +1251,6 @@ <GroupName>SAL</GroupName> <Files> <File> - <FileName>netdev.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\components\net\netdev\src\netdev.c</FilePath> - </File> - </Files> - <Files> - <File> <FileName>netdev_ipaddr.c</FileName> <FileType>1</FileType> <FilePath>..\..\components\net\netdev\src\netdev_ipaddr.c</FilePath> @@ -1265,16 +1258,16 @@ </Files> <Files> <File> - <FileName>sal_socket.c</FileName> + <FileName>netdev.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\src\sal_socket.c</FilePath> + <FilePath>..\..\components\net\netdev\src\netdev.c</FilePath> </File> </Files> <Files> <File> - <FileName>af_inet_lwip.c</FileName> + <FileName>net_sockets.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\impl\af_inet_lwip.c</FilePath> + <FilePath>..\..\components\net\sal_socket\socket\net_sockets.c</FilePath> </File> </Files> <Files> @@ -1293,9 +1286,16 @@ </Files> <Files> <File> - <FileName>net_sockets.c</FileName> + <FileName>sal_socket.c</FileName> <FileType>1</FileType> - <FilePath>..\..\components\net\sal_socket\socket\net_sockets.c</FilePath> + <FilePath>..\..\components\net\sal_socket\src\sal_socket.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>af_inet_lwip.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\components\net\sal_socket\impl\af_inet_lwip.c</FilePath> </File> </Files> </Group> diff --git a/bsp/gd32450z-eval/rtconfig.h b/bsp/gd32450z-eval/rtconfig.h index 0e7c4c3f15..24e31e0e72 100644 --- a/bsp/gd32450z-eval/rtconfig.h +++ b/bsp/gd32450z-eval/rtconfig.h @@ -1,7 +1,8 @@ #ifndef RT_CONFIG_H__ #define RT_CONFIG_H__ -/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */ +/* Automatically generated file; DO NOT EDIT. */ +/* RT-Thread Configuration */ /* RT-Thread Kernel */ @@ -12,13 +13,13 @@ #define RT_TICK_PER_SECOND 100 #define RT_USING_OVERFLOW_CHECK #define RT_USING_HOOK +#define RT_HOOK_USING_FUNC_PTR #define RT_USING_IDLE_HOOK #define RT_IDLE_HOOK_LIST_SIZE 4 #define IDLE_THREAD_STACK_SIZE 256 /* kservice optimization */ -/* end of kservice optimization */ #define RT_DEBUG #define RT_DEBUG_COLOR @@ -29,7 +30,6 @@ #define RT_USING_EVENT #define RT_USING_MAILBOX #define RT_USING_MESSAGEQUEUE -/* end of Inter-Thread communication */ /* Memory Management */ @@ -37,7 +37,6 @@ #define RT_USING_SMALL_MEM #define RT_USING_SMALL_MEM_AS_HEAP #define RT_USING_HEAP -/* end of Memory Management */ /* Kernel Device Object */ @@ -45,9 +44,7 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart0" -/* end of Kernel Device Object */ #define RT_VER_NUM 0x40100 -/* end of RT-Thread Kernel */ /* RT-Thread Components */ @@ -58,7 +55,6 @@ /* C++ features */ -/* end of C++ features */ /* Command shell */ @@ -75,7 +71,6 @@ #define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 -/* end of Command shell */ /* Device virtual file system */ @@ -100,9 +95,7 @@ #define RT_DFS_ELM_MAX_SECTOR_SIZE 512 #define RT_DFS_ELM_REENTRANT #define RT_DFS_ELM_MUTEX_TIMEOUT 3000 -/* end of elm-chan's FatFs, Generic FAT Filesystem Module */ #define RT_USING_DFS_DEVFS -/* end of Device virtual file system */ /* Device Drivers */ @@ -118,13 +111,9 @@ /* Using USB */ -/* end of Using USB */ -/* end of Device Drivers */ /* POSIX layer and C standard library */ -#define RT_USING_LIBC -#define RT_LIBC_USING_TIME #define RT_LIBC_DEFAULT_TIMEZONE 8 /* POSIX (Portable Operating System Interface) layer */ @@ -138,10 +127,6 @@ /* Socket is in the 'Network' category */ -/* end of Interprocess Communication (IPC) */ -/* end of POSIX (Portable Operating System Interface) layer */ -/* end of POSIX layer and C standard library */ - /* Network */ /* Socket abstraction layer */ @@ -152,9 +137,7 @@ /* protocol stack implement */ #define SAL_USING_LWIP -/* end of protocol stack implement */ #define SAL_USING_POSIX -/* end of Socket abstraction layer */ /* Network interface device */ @@ -165,7 +148,6 @@ #define NETDEV_USING_AUTO_DEFAULT #define NETDEV_IPV4 1 #define NETDEV_IPV6 0 -/* end of Network interface device */ /* light weight TCP/IP stack */ @@ -184,7 +166,6 @@ #define RT_LWIP_IPADDR "192.168.1.30" #define RT_LWIP_GWADDR "192.168.1.1" #define RT_LWIP_MSKADDR "255.255.255.0" -/* end of Static IPv4 Address */ #define RT_LWIP_UDP #define RT_LWIP_TCP #define RT_LWIP_RAW @@ -211,25 +192,18 @@ #define LWIP_SO_LINGER 0 #define LWIP_NETIF_LOOPBACK 0 #define RT_LWIP_USING_PING -/* end of light weight TCP/IP stack */ /* AT commands */ -/* end of AT commands */ -/* end of Network */ /* VBUS(Virtual Software BUS) */ -/* end of VBUS(Virtual Software BUS) */ /* Utilities */ -/* end of Utilities */ -/* end of RT-Thread Components */ /* RT-Thread Utestcases */ -/* end of RT-Thread Utestcases */ /* RT-Thread online packages */ @@ -240,83 +214,63 @@ /* Marvell WiFi */ -/* end of Marvell WiFi */ /* Wiced WiFi */ -/* end of Wiced WiFi */ -/* end of Wi-Fi */ /* IoT Cloud */ -/* end of IoT Cloud */ -/* end of IoT - internet of things */ /* security packages */ -/* end of security packages */ /* language packages */ -/* end of language packages */ /* multimedia packages */ /* LVGL: powerful and easy-to-use embedded GUI library */ -/* end of LVGL: powerful and easy-to-use embedded GUI library */ /* u8g2: a monochrome graphic library */ -/* end of u8g2: a monochrome graphic library */ /* PainterEngine: A cross-platform graphics application framework written in C language */ -/* end of PainterEngine: A cross-platform graphics application framework written in C language */ -/* end of multimedia packages */ /* tools packages */ -/* end of tools packages */ /* system packages */ /* enhanced kernel services */ -/* end of enhanced kernel services */ + +/* POSIX extension functions */ + /* acceleration: Assembly language or algorithmic acceleration packages */ -/* end of acceleration: Assembly language or algorithmic acceleration packages */ /* CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ -/* end of CMSIS: ARM Cortex-M Microcontroller Software Interface Standard */ /* Micrium: Micrium software products porting for RT-Thread */ -/* end of Micrium: Micrium software products porting for RT-Thread */ -/* end of system packages */ /* peripheral libraries and drivers */ -/* end of peripheral libraries and drivers */ /* AI packages */ -/* end of AI packages */ /* miscellaneous packages */ /* samples: kernel and components samples */ -/* end of samples: kernel and components samples */ /* entertainment: terminal games and other interesting software packages */ -/* end of entertainment: terminal games and other interesting software packages */ -/* end of miscellaneous packages */ -/* end of RT-Thread online packages */ #define SOC_GD32450Z #define BSP_USING_SDRAM #define BSP_USING_UART0 |
