diff --git a/bsp/CME_M7/project.uvproj b/bsp/CME_M7/project.uvproj index 4076b40b0e..50242f41d1 100644 --- a/bsp/CME_M7/project.uvproj +++ b/bsp/CME_M7/project.uvproj @@ -361,9 +361,9 @@ 0 - RT_USING_ARM_LIBC + RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - .;..\..\include;applications;.;CMSIS\CME_M7;CMSIS\CMSIS\Include;drivers;StdPeriph_Driver\inc;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\lwip-2.0.2\src\include\posix + applications;.;CMSIS\CME_M7;CMSIS\CMSIS\Include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;StdPeriph_Driver\inc;..\..\components\net\lwip-2.0.3\src;..\..\components\net\lwip-2.0.3\src\include;..\..\components\net\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip-2.0.3\src\arch\include;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\examples\utest\testcases\kernel @@ -403,121 +403,13 @@ - - Kernel - - - clock.c - 1 - ..\..\src\clock.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - cpu.c - 1 - ..\..\src\cpu.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\src\signal.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - Applications - application.c + startup.c 1 - applications\application.c + applications\startup.c @@ -529,21 +421,14 @@ - startup.c + application.c 1 - applications\startup.c + applications\application.c CMSIS - - - system_cmem7.c - 1 - CMSIS\CME_M7\system_cmem7.c - - startup_cmem7.s @@ -551,162 +436,23 @@ CMSIS\CME_M7\startup\arm\startup_cmem7.s - - - Drivers - board.c + system_cmem7.c 1 - drivers\board.c - - - - - uart.c - 1 - drivers\uart.c - - - - - emac.c - 1 - drivers\emac.c - - - - - app_phy.c - 1 - drivers\app_phy.c + CMSIS\CME_M7\system_cmem7.c - StdPeriph_Driver + CPU - cmem7_adc.c + showmem.c 1 - StdPeriph_Driver\src\cmem7_adc.c + ..\..\libcpu\arm\common\showmem.c - - - cmem7_aes.c - 1 - StdPeriph_Driver\src\cmem7_aes.c - - - - - cmem7_can.c - 1 - StdPeriph_Driver\src\cmem7_can.c - - - - - cmem7_ddr.c - 1 - StdPeriph_Driver\src\cmem7_ddr.c - - - - - cmem7_dma.c - 1 - StdPeriph_Driver\src\cmem7_dma.c - - - - - cmem7_efuse.c - 1 - StdPeriph_Driver\src\cmem7_efuse.c - - - - - cmem7_eth.c - 1 - StdPeriph_Driver\src\cmem7_eth.c - - - - - cmem7_flash.c - 1 - StdPeriph_Driver\src\cmem7_flash.c - - - - - cmem7_gpio.c - 1 - StdPeriph_Driver\src\cmem7_gpio.c - - - - - cmem7_i2c.c - 1 - StdPeriph_Driver\src\cmem7_i2c.c - - - - - cmem7_misc.c - 1 - StdPeriph_Driver\src\cmem7_misc.c - - - - - cmem7_rtc.c - 1 - StdPeriph_Driver\src\cmem7_rtc.c - - - - - cmem7_spi.c - 1 - StdPeriph_Driver\src\cmem7_spi.c - - - - - cmem7_tim.c - 1 - StdPeriph_Driver\src\cmem7_tim.c - - - - - cmem7_uart.c - 1 - StdPeriph_Driver\src\cmem7_uart.c - - - - - cmem7_usb.c - 1 - StdPeriph_Driver\src\cmem7_usb.c - - - - - cmem7_wdg.c - 1 - StdPeriph_Driver\src\cmem7_wdg.c - - - - - cpu backtrace.c @@ -721,13 +467,6 @@ ..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - cpuport.c @@ -754,16 +493,9 @@ - completion.c + waitqueue.c 1 - ..\..\components\drivers\src\completion.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\waitqueue.c @@ -773,6 +505,13 @@ ..\..\components\drivers\src\pipe.c + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + ringblk_buf.c @@ -782,16 +521,9 @@ - ringbuffer.c + completion.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\completion.c @@ -801,9 +533,47 @@ ..\..\components\drivers\src\workqueue.c + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + - finsh + Drivers + + + emac.c + 1 + drivers\emac.c + + + + + uart.c + 1 + drivers\uart.c + + + + + board.c + 1 + drivers\board.c + + + + + app_phy.c + 1 + drivers\app_phy.c + + + + + Finsh shell.c @@ -811,13 +581,6 @@ ..\..\components\finsh\shell.c - - - cmd.c - 1 - ..\..\components\finsh\cmd.c - - msh.c @@ -825,74 +588,98 @@ ..\..\components\finsh\msh.c + + + Kernel - finsh_compiler.c + mem.c 1 - ..\..\components\finsh\finsh_compiler.c + ..\..\src\mem.c - finsh_error.c + components.c 1 - ..\..\components\finsh\finsh_error.c + ..\..\src\components.c - finsh_heap.c + kservice.c 1 - ..\..\components\finsh\finsh_heap.c + ..\..\src\kservice.c - finsh_init.c + clock.c 1 - ..\..\components\finsh\finsh_init.c + ..\..\src\clock.c - finsh_node.c + idle.c 1 - ..\..\components\finsh\finsh_node.c + ..\..\src\idle.c - finsh_ops.c + device.c 1 - ..\..\components\finsh\finsh_ops.c + ..\..\src\device.c - finsh_parser.c + scheduler.c 1 - ..\..\components\finsh\finsh_parser.c + ..\..\src\scheduler.c - finsh_var.c + ipc.c 1 - ..\..\components\finsh\finsh_var.c + ..\..\src\ipc.c - finsh_vm.c + mempool.c 1 - ..\..\components\finsh\finsh_vm.c + ..\..\src\mempool.c - finsh_token.c + thread.c 1 - ..\..\components\finsh\finsh_token.c + ..\..\src\thread.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + timer.c + 1 + ..\..\src\timer.c @@ -905,6 +692,13 @@ ..\..\components\libc\compilers\armlibc\libc.c + + + syscalls.c + 1 + ..\..\components\libc\compilers\armlibc\syscalls.c + + mem_std.c @@ -914,9 +708,9 @@ - stubs.c + stdlib.c 1 - ..\..\components\libc\compilers\armlibc\stubs.c + ..\..\components\libc\compilers\common\stdlib.c @@ -927,258 +721,380 @@ + + Libraries + + + cmem7_usb.c + 1 + StdPeriph_Driver\src\cmem7_usb.c + + + + + cmem7_aes.c + 1 + StdPeriph_Driver\src\cmem7_aes.c + + + + + cmem7_wdg.c + 1 + StdPeriph_Driver\src\cmem7_wdg.c + + + + + cmem7_ddr.c + 1 + StdPeriph_Driver\src\cmem7_ddr.c + + + + + cmem7_gpio.c + 1 + StdPeriph_Driver\src\cmem7_gpio.c + + + + + cmem7_flash.c + 1 + StdPeriph_Driver\src\cmem7_flash.c + + + + + cmem7_efuse.c + 1 + StdPeriph_Driver\src\cmem7_efuse.c + + + + + cmem7_spi.c + 1 + StdPeriph_Driver\src\cmem7_spi.c + + + + + cmem7_uart.c + 1 + StdPeriph_Driver\src\cmem7_uart.c + + + + + cmem7_can.c + 1 + StdPeriph_Driver\src\cmem7_can.c + + + + + cmem7_misc.c + 1 + StdPeriph_Driver\src\cmem7_misc.c + + + + + cmem7_eth.c + 1 + StdPeriph_Driver\src\cmem7_eth.c + + + + + cmem7_dma.c + 1 + StdPeriph_Driver\src\cmem7_dma.c + + + + + cmem7_rtc.c + 1 + StdPeriph_Driver\src\cmem7_rtc.c + + + + + cmem7_tim.c + 1 + StdPeriph_Driver\src\cmem7_tim.c + + + + + cmem7_adc.c + 1 + StdPeriph_Driver\src\cmem7_adc.c + + + + + cmem7_i2c.c + 1 + StdPeriph_Driver\src\cmem7_i2c.c + + + lwIP - - - sys_arch.c - 1 - ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c - - - - - api_lib.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_lib.c - - - - - api_msg.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - - - - err.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\err.c - - - - - netbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netbuf.c - - netdb.c 1 - ..\..\components\net\lwip-2.0.2\src\api\netdb.c - - - - - netifapi.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netifapi.c - - - - - sockets.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\sockets.c - - - - - tcpip.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\tcpip.c - - - - - def.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\def.c - - - - - dns.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\dns.c - - - - - inet_chksum.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c - - - - - init.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\init.c + ..\..\components\net\lwip-2.0.3\src\api\netdb.c ip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ip.c - - - - - memp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\memp.c - - - - - netif.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\netif.c - - - - - pbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\pbuf.c - - - - - raw.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\raw.c - - - - - stats.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\stats.c - - - - - sys.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\sys.c - - - - - tcp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp.c - - - - - tcp_in.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c - - - - - tcp_out.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c - - - - - timeouts.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\timeouts.c - - - - - udp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\udp.c - - - - - ethernet.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c - - - - - ethernetif.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c - - - - - lowpan6.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c + ..\..\components\net\lwip-2.0.3\src\core\ip.c autoip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\autoip.c - dhcp.c + ethernet.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c + ..\..\components\net\lwip-2.0.3\src\netif\ethernet.c - etharp.c + netif.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c + ..\..\components\net\lwip-2.0.3\src\core\netif.c - icmp.c + sys.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c + ..\..\components\net\lwip-2.0.3\src\core\sys.c - igmp.c + sockets.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c + ..\..\components\net\lwip-2.0.3\src\api\sockets.c - ip4.c + netifapi.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c + ..\..\components\net\lwip-2.0.3\src\api\netifapi.c + + + + + tcpip.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\tcpip.c ip4_addr.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c + + + + + dhcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\dhcp.c + + + + + init.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\init.c + + + + + ethernetif.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\ethernetif.c + + + + + etharp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\etharp.c + + + + + memp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\memp.c + + + + + ip4.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4.c + + + + + netbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\netbuf.c + + + + + raw.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\raw.c ip4_frag.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_frag.c + + + + + tcp_out.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_out.c + + + + + lowpan6.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\lowpan6.c + + + + + icmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\icmp.c + + + + + api_lib.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_lib.c + + + + + inet_chksum.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\inet_chksum.c + + + + + stats.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\stats.c + + + + + err.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\err.c + + + + + tcp_in.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_in.c + + + + + dns.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\dns.c + + + + + sys_arch.c + 1 + ..\..\components\net\lwip-2.0.3\src\arch\sys_arch.c + + + + + timeouts.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\timeouts.c + + + + + igmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\igmp.c + + + + + udp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\udp.c + + + + + pbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\pbuf.c + + + + + def.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\def.c + + + + + api_msg.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_msg.c + + + + + tcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp.c diff --git a/bsp/Vango_V85xx/.config b/bsp/Vango_V85xx/.config index 8a7ab26c71..bebad41061 100644 --- a/bsp/Vango_V85xx/.config +++ b/bsp/Vango_V85xx/.config @@ -339,6 +339,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -363,17 +364,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -386,11 +394,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -434,12 +442,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -449,6 +465,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -468,7 +492,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -485,7 +508,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -493,6 +515,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -569,6 +592,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/Vango_V85xx/project.uvprojx b/bsp/Vango_V85xx/project.uvprojx index cfb54c18e1..85c19eab9c 100644 --- a/bsp/Vango_V85xx/project.uvprojx +++ b/bsp/Vango_V85xx/project.uvprojx @@ -440,30 +440,9 @@ - waitqueue.c + ringbuffer.c 1 - ..\..\components\drivers\src\waitqueue.c - - - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\ringbuffer.c @@ -475,9 +454,9 @@ - ringbuffer.c + completion.c 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\completion.c @@ -487,6 +466,27 @@ ..\..\components\drivers\src\workqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + Drivers @@ -599,30 +599,9 @@ Kernel - idle.c + timer.c 1 - ..\..\src\idle.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - mempool.c - 1 - ..\..\src\mempool.c + ..\..\src\timer.c @@ -634,16 +613,23 @@ - clock.c + device.c 1 - ..\..\src\clock.c + ..\..\src\device.c - timer.c + scheduler.c 1 - ..\..\src\timer.c + ..\..\src\scheduler.c + + + + + object.c + 1 + ..\..\src\object.c @@ -662,16 +648,23 @@ - mem.c + idle.c 1 - ..\..\src\mem.c + ..\..\src\idle.c - device.c + mempool.c 1 - ..\..\src\device.c + ..\..\src\mempool.c + + + + + mem.c + 1 + ..\..\src\mem.c @@ -683,9 +676,16 @@ - scheduler.c + ipc.c 1 - ..\..\src\scheduler.c + ..\..\src\ipc.c + + + + + clock.c + 1 + ..\..\src\clock.c @@ -693,9 +693,9 @@ libc - libc.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\libc.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -707,9 +707,9 @@ - mem_std.c + libc.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\libc.c @@ -733,13 +733,6 @@ ..\..\components\libc\compilers\common\unistd.c - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c - - stdlib.c @@ -747,23 +740,16 @@ ..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + Vango_Lib - - - startup_target.S - 2 - Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S - - - - - lib_pmu.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c - - lib_CodeRAM.c @@ -773,16 +759,58 @@ - lib_misc.c + lib_ana.c 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c + Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c - lib_adc.c + lib_version.c 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c + Libraries\VangoV85xx_standard_peripheral\Source\lib_version.c + + + + + lib_adc_tiny.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_adc_tiny.c + + + + + lib_gpio.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_gpio.c + + + + + lib_LoadNVR.c + 1 + Libraries\CMSIS\Vango\V85xx\Source\lib_LoadNVR.c + + + + + lib_iso7816.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_iso7816.c + + + + + lib_dma.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c + + + + + lib_wdt.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c @@ -806,90 +834,6 @@ Libraries\VangoV85xx_standard_peripheral\Source\lib_clk.c - - - lib_pwm.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c - - - - - lib_adc_tiny.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_adc_tiny.c - - - - - lib_tmr.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c - - - - - lib_wdt.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_wdt.c - - - - - lib_crypt.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_crypt.c - - - - - lib_cortex.c - 1 - Libraries\CMSIS\Vango\V85xx\Source\lib_cortex.c - - - - - lib_ana.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_ana.c - - - - - lib_iso7816.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_iso7816.c - - - - - lib_u32k.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_u32k.c - - - - - lib_flash.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_flash.c - - - - - lib_version.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_version.c - - - - - lib_dma.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_dma.c - - lib_lcd.c @@ -897,34 +841,6 @@ Libraries\VangoV85xx_standard_peripheral\Source\lib_lcd.c - - - lib_LoadNVR.c - 1 - Libraries\CMSIS\Vango\V85xx\Source\lib_LoadNVR.c - - - - - lib_rtc.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_rtc.c - - - - - lib_comp.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_comp.c - - - - - lib_i2c.c - 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c - - lib_spi.c @@ -934,9 +850,93 @@ - lib_gpio.c + startup_target.S + 2 + Libraries\CMSIS\Vango\V85xx\Source\Keil5\startup_target.S + + + + + lib_tmr.c 1 - Libraries\VangoV85xx_standard_peripheral\Source\lib_gpio.c + Libraries\VangoV85xx_standard_peripheral\Source\lib_tmr.c + + + + + lib_misc.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_misc.c + + + + + lib_flash.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_flash.c + + + + + lib_pmu.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_pmu.c + + + + + lib_pwm.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_pwm.c + + + + + lib_adc.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_adc.c + + + + + lib_u32k.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_u32k.c + + + + + lib_comp.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_comp.c + + + + + lib_rtc.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_rtc.c + + + + + lib_cortex.c + 1 + Libraries\CMSIS\Vango\V85xx\Source\lib_cortex.c + + + + + lib_crypt.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_crypt.c + + + + + lib_i2c.c + 1 + Libraries\VangoV85xx_standard_peripheral\Source\lib_i2c.c diff --git a/bsp/Vango_V85xx/rtconfig.h b/bsp/Vango_V85xx/rtconfig.h index 4f103a477a..a5001989a4 100644 --- a/bsp/Vango_V85xx/rtconfig.h +++ b/bsp/Vango_V85xx/rtconfig.h @@ -174,14 +174,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -190,10 +193,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/acm32f0x0-nucleo/project.ewp b/bsp/acm32f0x0-nucleo/project.ewp index 53f732889c..1ba1de59e4 100644 --- a/bsp/acm32f0x0-nucleo/project.ewp +++ b/bsp/acm32f0x0-nucleo/project.ewp @@ -2146,20 +2146,20 @@ CPU - $PROJ_DIR$\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c - - - $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\cpuport.c + $PROJ_DIR$\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\context_iar.S + + $PROJ_DIR$\..\..\libcpu\arm\cortex-m0\cpuport.c + DeviceDrivers @@ -2175,27 +2175,27 @@ $PROJ_DIR$\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\components\drivers\src\pipe.c + + $PROJ_DIR$\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\components\drivers\watchdog\watchdog.c @@ -2203,19 +2203,19 @@ Drivers - $PROJ_DIR$\drivers\drv_hwtimer.c + $PROJ_DIR$\drivers\drv_gpio.c $PROJ_DIR$\drivers\drv_wdt.c - - $PROJ_DIR$\drivers\drv_adc.c - $PROJ_DIR$\drivers\drv_uart.c - $PROJ_DIR$\drivers\drv_gpio.c + $PROJ_DIR$\drivers\drv_hwtimer.c + + + $PROJ_DIR$\drivers\drv_adc.c $PROJ_DIR$\drivers\board.c @@ -2233,43 +2233,43 @@ Kernel - $PROJ_DIR$\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\thread.c - - - $PROJ_DIR$\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\src\clock.c + $PROJ_DIR$\..\..\src\idle.c $PROJ_DIR$\..\..\src\kservice.c - $PROJ_DIR$\..\..\src\components.c + $PROJ_DIR$\..\..\src\mem.c - $PROJ_DIR$\..\..\src\timer.c - - - $PROJ_DIR$\..\..\src\device.c + $PROJ_DIR$\..\..\src\mempool.c $PROJ_DIR$\..\..\src\ipc.c + + $PROJ_DIR$\..\..\src\components.c + + + $PROJ_DIR$\..\..\src\thread.c + $PROJ_DIR$\..\..\src\irq.c - $PROJ_DIR$\..\..\src\mem.c + $PROJ_DIR$\..\..\src\timer.c - $PROJ_DIR$\..\..\src\idle.c + $PROJ_DIR$\..\..\src\clock.c + + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\device.c + + + $PROJ_DIR$\..\..\src\scheduler.c @@ -2281,35 +2281,35 @@ $PROJ_DIR$\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c diff --git a/bsp/acm32f0x0-nucleo/project.uvprojx b/bsp/acm32f0x0-nucleo/project.uvprojx index 19937dc43c..3189968db6 100644 --- a/bsp/acm32f0x0-nucleo/project.uvprojx +++ b/bsp/acm32f0x0-nucleo/project.uvprojx @@ -530,16 +530,16 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringblk_buf.c - pipe.c + waitqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\waitqueue.c @@ -551,16 +551,16 @@ - ringblk_buf.c + completion.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\completion.c - workqueue.c + pipe.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\pipe.c @@ -572,9 +572,9 @@ - completion.c + workqueue.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\workqueue.c @@ -587,27 +587,6 @@ Drivers - - - drv_gpio.c - 1 - drivers\drv_gpio.c - - - - - drv_uart.c - 1 - drivers\drv_uart.c - - - - - drv_hwtimer.c - 1 - drivers\drv_hwtimer.c - - drv_adc.c @@ -622,6 +601,20 @@ drivers\drv_wdt.c + + + drv_uart.c + 1 + drivers\drv_uart.c + + + + + drv_gpio.c + 1 + drivers\drv_gpio.c + + board.c @@ -629,6 +622,13 @@ drivers\board.c + + + drv_hwtimer.c + 1 + drivers\drv_hwtimer.c + + Finsh @@ -651,9 +651,30 @@ Kernel - clock.c + irq.c 1 - ..\..\src\clock.c + ..\..\src\irq.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + ipc.c + 1 + ..\..\src\ipc.c @@ -672,23 +693,9 @@ - ipc.c + object.c 1 - ..\..\src\ipc.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - mem.c - 1 - ..\..\src\mem.c + ..\..\src\object.c @@ -700,9 +707,9 @@ - irq.c + components.c 1 - ..\..\src\irq.c + ..\..\src\components.c @@ -714,23 +721,9 @@ - object.c + clock.c 1 - ..\..\src\object.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - kservice.c - 1 - ..\..\src\kservice.c + ..\..\src\clock.c @@ -740,14 +733,21 @@ ..\..\src\mempool.c + + + mem.c + 1 + ..\..\src\mem.c + + libc - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -759,16 +759,9 @@ - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -778,6 +771,13 @@ ..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + diff --git a/bsp/acm32f4xx-nucleo/project.uvprojx b/bsp/acm32f4xx-nucleo/project.uvprojx index 1f3d437cdc..77fd408e63 100644 --- a/bsp/acm32f4xx-nucleo/project.uvprojx +++ b/bsp/acm32f4xx-nucleo/project.uvprojx @@ -441,13 +441,6 @@ CPU - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - showmem.c @@ -462,6 +455,13 @@ ..\..\libcpu\arm\common\backtrace.c + + + div0.c + 1 + ..\..\libcpu\arm\common\div0.c + + trustzone.c @@ -471,16 +471,16 @@ - syscall_rvds.S + context_rvds.S 2 - ..\..\libcpu\arm\cortex-m33\syscall_rvds.S + ..\..\libcpu\arm\cortex-m33\context_rvds.S - context_rvds.S + syscall_rvds.S 2 - ..\..\libcpu\arm\cortex-m33\context_rvds.S + ..\..\libcpu\arm\cortex-m33\syscall_rvds.S @@ -509,23 +509,9 @@ - dataqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\dataqueue.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringblk_buf.c @@ -537,16 +523,9 @@ - ringbuffer.c + dataqueue.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\dataqueue.c @@ -556,14 +535,35 @@ ..\..\components\drivers\src\completion.c + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + Drivers - drv_gpio.c + board.c 1 - drivers\drv_gpio.c + drivers\board.c @@ -575,9 +575,9 @@ - board.c + drv_gpio.c 1 - drivers\board.c + drivers\drv_gpio.c @@ -609,16 +609,16 @@ Kernel - irq.c + ipc.c 1 - ..\..\src\irq.c + ..\..\src\ipc.c - components.c + idle.c 1 - ..\..\src\components.c + ..\..\src\idle.c @@ -630,30 +630,9 @@ - mem.c + object.c 1 - ..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - device.c - 1 - ..\..\src\device.c + ..\..\src\object.c @@ -665,9 +644,44 @@ - object.c + mem.c 1 - ..\..\src\object.c + ..\..\src\mem.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + device.c + 1 + ..\..\src\device.c @@ -684,20 +698,6 @@ ..\..\src\clock.c - - - idle.c - 1 - ..\..\src\idle.c - - - - - thread.c - 1 - ..\..\src\thread.c - - libc diff --git a/bsp/allwinner_tina/.config b/bsp/allwinner_tina/.config index f564d21e6a..15fc4508a7 100644 --- a/bsp/allwinner_tina/.config +++ b/bsp/allwinner_tina/.config @@ -382,6 +382,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -406,17 +407,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -429,11 +437,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -477,12 +485,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -492,6 +508,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -512,7 +536,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -529,7 +552,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -537,6 +559,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -613,6 +636,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/allwinner_tina/rtconfig.h b/bsp/allwinner_tina/rtconfig.h index 32a4d928a9..394301766d 100644 --- a/bsp/allwinner_tina/rtconfig.h +++ b/bsp/allwinner_tina/rtconfig.h @@ -201,14 +201,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -217,10 +220,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/amebaz/.config b/bsp/amebaz/.config index 9c8102eee2..8158ae8ee0 100644 --- a/bsp/amebaz/.config +++ b/bsp/amebaz/.config @@ -419,6 +419,7 @@ CONFIG_DHCPD_USING_ROUTER=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -443,17 +444,24 @@ CONFIG_DHCPD_USING_ROUTER=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -466,11 +474,11 @@ CONFIG_DHCPD_USING_ROUTER=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -514,12 +522,20 @@ CONFIG_DHCPD_USING_ROUTER=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -529,6 +545,14 @@ CONFIG_DHCPD_USING_ROUTER=y # 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_5_AUX 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 # @@ -548,7 +572,6 @@ CONFIG_DHCPD_USING_ROUTER=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -565,7 +588,6 @@ CONFIG_DHCPD_USING_ROUTER=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -573,6 +595,7 @@ CONFIG_DHCPD_USING_ROUTER=y # 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 # @@ -653,6 +676,7 @@ CONFIG_PKG_REALTEK_AMEBA_VER="latest" # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/amebaz/project.ewp b/bsp/amebaz/project.ewp index 51de51acc6..e6e03561b1 100644 --- a/bsp/amebaz/project.ewp +++ b/bsp/amebaz/project.ewp @@ -1944,23 +1944,23 @@ Applications - $PROJ_DIR$\applications\smartconfig_app.c + $PROJ_DIR$\applications\main.c - $PROJ_DIR$\applications\main.c + $PROJ_DIR$\applications\smartconfig_app.c CPU + + $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c - - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -1974,25 +1974,25 @@ $PROJ_DIR$\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\components\drivers\wlan\wlan_dev.c @@ -2046,25 +2046,25 @@ Kernel - $PROJ_DIR$\..\..\src\thread.c + $PROJ_DIR$\..\..\src\scheduler.c - $PROJ_DIR$\..\..\src\idle.c + $PROJ_DIR$\..\..\src\device.c - $PROJ_DIR$\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\src\irq.c - - - $PROJ_DIR$\..\..\src\components.c + $PROJ_DIR$\..\..\src\kservice.c $PROJ_DIR$\..\..\src\mem.c - $PROJ_DIR$\..\..\src\clock.c + $PROJ_DIR$\..\..\src\components.c + + + $PROJ_DIR$\..\..\src\timer.c + + + $PROJ_DIR$\..\..\src\thread.c $PROJ_DIR$\..\..\src\object.c @@ -2073,16 +2073,16 @@ $PROJ_DIR$\..\..\src\ipc.c - $PROJ_DIR$\..\..\src\kservice.c + $PROJ_DIR$\..\..\src\clock.c - $PROJ_DIR$\..\..\src\scheduler.c + $PROJ_DIR$\..\..\src\idle.c - $PROJ_DIR$\..\..\src\device.c + $PROJ_DIR$\..\..\src\irq.c - $PROJ_DIR$\..\..\src\timer.c + $PROJ_DIR$\..\..\src\mempool.c @@ -2093,38 +2093,38 @@ $PROJ_DIR$\..\..\components\libc\compilers\common\time.c - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c @@ -2162,6 +2162,9 @@ $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c + + $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c @@ -2237,9 +2240,6 @@ $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - $PROJ_DIR$\..\..\components\net\lwip-2.0.2\src\core\tcp.c diff --git a/bsp/amebaz/rtconfig.h b/bsp/amebaz/rtconfig.h index 0b255c0be5..625849f33b 100644 --- a/bsp/amebaz/rtconfig.h +++ b/bsp/amebaz/rtconfig.h @@ -240,14 +240,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -256,10 +259,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx index 4cbb83e9d9..4902bf6fbb 100644 --- a/bsp/apm32/apm32f103xe-minibroard/project.uvprojx +++ b/bsp/apm32/apm32f103xe-minibroard/project.uvprojx @@ -389,6 +389,13 @@ CPU + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -403,13 +410,6 @@ ..\..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - context_rvds.S @@ -443,9 +443,9 @@ - completion.c + waitqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\waitqueue.c @@ -455,6 +455,20 @@ ..\..\..\components\drivers\src\pipe.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + workqueue.c @@ -469,13 +483,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - ringbuffer.c @@ -483,13 +490,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - Drivers @@ -550,9 +550,23 @@ Kernel - device.c + mempool.c 1 - ..\..\..\src\device.c + ..\..\..\src\mempool.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -569,6 +583,41 @@ ..\..\..\src\scheduler.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + clock.c @@ -583,34 +632,6 @@ ..\..\..\src\irq.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - idle.c @@ -618,27 +639,6 @@ ..\..\..\src\idle.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - Libraries diff --git a/bsp/apollo2/project.uvprojx b/bsp/apollo2/project.uvprojx index fba85b3e9e..bb56824603 100644 --- a/bsp/apollo2/project.uvprojx +++ b/bsp/apollo2/project.uvprojx @@ -368,9 +368,9 @@ 1 - AM_PART_APOLLO2, RT_USING_ARM_LIBC, AM_PACKAGE_BGA + AM_PACKAGE_BGA, AM_PART_APOLLO2, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - .;..\..\include;applications;.;board;libraries\drivers;libraries\startup;libraries\startup\cmsis\include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common + applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\spi;..\..\components\drivers\include;..\..\components\drivers\include;board;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;libraries\drivers;libraries\startup;libraries\startup\cmsis\include;..\..\examples\utest\testcases\kernel @@ -410,114 +410,6 @@ - - Kernel - - - clock.c - 1 - ..\..\src\clock.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - cpu.c - 1 - ..\..\src\cpu.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\src\signal.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - Applications @@ -529,256 +421,12 @@ - Board + CPU - adc.c + showmem.c 1 - board\adc.c - - - - - board.c - 1 - board\board.c - - - - - flash.c - 1 - board\flash.c - - - - - gpio.c - 1 - board\gpio.c - - - - - i2c.c - 1 - board\i2c.c - - - - - led.c - 1 - board\led.c - - - - - pdm.c - 1 - board\pdm.c - - - - - pwm.c - 1 - board\pwm.c - - - - - rtc.c - 1 - board\rtc.c - - - - - smbus.c - 1 - board\smbus.c - - - - - spi.c - 1 - board\spi.c - - - - - uart.c - 1 - board\uart.c - - - - - Libraries - - - am_hal_clkgen.c - 1 - libraries\drivers\hal\am_hal_clkgen.c - - - - - am_hal_debug.c - 1 - libraries\drivers\hal\am_hal_debug.c - - - - - am_hal_cachectrl.c - 1 - libraries\drivers\hal\am_hal_cachectrl.c - - - - - am_hal_pwrctrl.c - 1 - libraries\drivers\hal\am_hal_pwrctrl.c - - - - - am_hal_mcuctrl.c - 1 - libraries\drivers\hal\am_hal_mcuctrl.c - - - - - am_hal_sysctrl.c - 1 - libraries\drivers\hal\am_hal_sysctrl.c - - - - - am_hal_reset.c - 1 - libraries\drivers\hal\am_hal_reset.c - - - - - am_hal_stimer.c - 1 - libraries\drivers\hal\am_hal_stimer.c - - - - - am_hal_ctimer.c - 1 - libraries\drivers\hal\am_hal_ctimer.c - - - - - am_hal_rtc.c - 1 - libraries\drivers\hal\am_hal_rtc.c - - - - - am_hal_interrupt.c - 1 - libraries\drivers\hal\am_hal_interrupt.c - - - - - am_hal_queue.c - 1 - libraries\drivers\hal\am_hal_queue.c - - - - - am_hal_iom.c - 1 - libraries\drivers\hal\am_hal_iom.c - - - - - am_hal_ios.c - 1 - libraries\drivers\hal\am_hal_ios.c - - - - - am_hal_vcomp.c - 1 - libraries\drivers\hal\am_hal_vcomp.c - - - - - am_hal_flash.c - 1 - libraries\drivers\hal\am_hal_flash.c - - - - - am_hal_gpio.c - 1 - libraries\drivers\hal\am_hal_gpio.c - - - - - am_hal_uart.c - 1 - libraries\drivers\hal\am_hal_uart.c - - - - - am_hal_adc.c - 1 - libraries\drivers\hal\am_hal_adc.c - - - - - am_hal_pdm.c - 1 - libraries\drivers\hal\am_hal_pdm.c - - - - - am_hal_i2c_bit_bang.c - 1 - libraries\drivers\hal\am_hal_i2c_bit_bang.c - - - - - startup_keil.s - 2 - libraries\startup\arm\startup_keil.s - - - - - cpu - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\showmem.c @@ -790,16 +438,9 @@ - showmem.c + backtrace.c 1 - ..\..\libcpu\arm\common\showmem.c - - - - - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\libcpu\arm\common\backtrace.c @@ -809,56 +450,11 @@ ..\..\libcpu\arm\cortex-m4\context_rvds.S - - - Filesystem - dfs.c + cpuport.c 1 - ..\..\components\dfs\src\dfs.c - - - - - dfs_file.c - 1 - ..\..\components\dfs\src\dfs_file.c - - - - - dfs_fs.c - 1 - ..\..\components\dfs\src\dfs_fs.c - - - - - dfs_posix.c - 1 - ..\..\components\dfs\src\dfs_posix.c - - - - - poll.c - 1 - ..\..\components\dfs\src\poll.c - - - - - select.c - 1 - ..\..\components\dfs\src\select.c - - - - - devfs.c - 1 - ..\..\components\dfs\filesystems\devfs\devfs.c + ..\..\libcpu\arm\cortex-m4\cpuport.c @@ -887,7 +483,7 @@ - rtc_rtc.c + rtc.c 1 ..\..\components\drivers\rtc\rtc.c @@ -915,9 +511,9 @@ - completion.c + workqueue.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\workqueue.c @@ -936,9 +532,9 @@ - ringblk_buf.c + completion.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\completion.c @@ -957,9 +553,9 @@ - workqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\ringblk_buf.c @@ -976,7 +572,146 @@ - finsh + Drivers + + + board.c + 1 + board\board.c + + + + + spi.c + 1 + board\spi.c + + + + + pwm.c + 1 + board\pwm.c + + + + + gpio.c + 1 + board\gpio.c + + + + + pdm.c + 1 + board\pdm.c + + + + + smbus.c + 1 + board\smbus.c + + + + + led.c + 1 + board\led.c + + + + + i2c.c + 1 + board\i2c.c + + + + + board_rtc.c + 1 + board\rtc.c + + + + + uart.c + 1 + board\uart.c + + + + + flash.c + 1 + board\flash.c + + + + + adc.c + 1 + board\adc.c + + + + + Filesystem + + + dfs_posix.c + 1 + ..\..\components\dfs\src\dfs_posix.c + + + + + dfs_poll.c + 1 + ..\..\components\dfs\src\dfs_poll.c + + + + + dfs_file.c + 1 + ..\..\components\dfs\src\dfs_file.c + + + + + dfs.c + 1 + ..\..\components\dfs\src\dfs.c + + + + + dfs_fs.c + 1 + ..\..\components\dfs\src\dfs_fs.c + + + + + dfs_select.c + 1 + ..\..\components\dfs\src\dfs_select.c + + + + + devfs.c + 1 + ..\..\components\dfs\filesystems\devfs\devfs.c + + + + + Finsh shell.c @@ -984,13 +719,6 @@ ..\..\components\finsh\shell.c - - - cmd.c - 1 - ..\..\components\finsh\cmd.c - - msh.c @@ -1005,79 +733,110 @@ ..\..\components\finsh\msh_file.c + + + Kernel - finsh_compiler.c + clock.c 1 - ..\..\components\finsh\finsh_compiler.c + ..\..\src\clock.c - finsh_error.c + mem.c 1 - ..\..\components\finsh\finsh_error.c + ..\..\src\mem.c - finsh_heap.c + timer.c 1 - ..\..\components\finsh\finsh_heap.c + ..\..\src\timer.c - finsh_init.c + irq.c 1 - ..\..\components\finsh\finsh_init.c + ..\..\src\irq.c - finsh_node.c + object.c 1 - ..\..\components\finsh\finsh_node.c + ..\..\src\object.c - finsh_ops.c + ipc.c 1 - ..\..\components\finsh\finsh_ops.c + ..\..\src\ipc.c - finsh_parser.c + thread.c 1 - ..\..\components\finsh\finsh_parser.c + ..\..\src\thread.c - finsh_var.c + components.c 1 - ..\..\components\finsh\finsh_var.c + ..\..\src\components.c - finsh_vm.c + mempool.c 1 - ..\..\components\finsh\finsh_vm.c + ..\..\src\mempool.c - finsh_token.c + device.c 1 - ..\..\components\finsh\finsh_token.c + ..\..\src\device.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c libc + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + libc.c @@ -1085,6 +844,13 @@ ..\..\components\libc\compilers\armlibc\libc.c + + + syscalls.c + 1 + ..\..\components\libc\compilers\armlibc\syscalls.c + + mem_std.c @@ -1094,16 +860,9 @@ - stdio.c + delay.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c - - - - - stubs.c - 1 - ..\..\components\libc\compilers\armlibc\stubs.c + ..\..\components\libc\compilers\common\delay.c @@ -1113,6 +872,177 @@ ..\..\components\libc\compilers\common\time.c + + + unistd.c + 1 + ..\..\components\libc\compilers\common\unistd.c + + + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + + + + Libraries + + + am_hal_queue.c + 1 + libraries\drivers\hal\am_hal_queue.c + + + + + am_hal_iom.c + 1 + libraries\drivers\hal\am_hal_iom.c + + + + + am_hal_mcuctrl.c + 1 + libraries\drivers\hal\am_hal_mcuctrl.c + + + + + am_hal_ctimer.c + 1 + libraries\drivers\hal\am_hal_ctimer.c + + + + + am_hal_adc.c + 1 + libraries\drivers\hal\am_hal_adc.c + + + + + am_hal_debug.c + 1 + libraries\drivers\hal\am_hal_debug.c + + + + + am_hal_vcomp.c + 1 + libraries\drivers\hal\am_hal_vcomp.c + + + + + am_hal_i2c_bit_bang.c + 1 + libraries\drivers\hal\am_hal_i2c_bit_bang.c + + + + + am_hal_clkgen.c + 1 + libraries\drivers\hal\am_hal_clkgen.c + + + + + am_hal_sysctrl.c + 1 + libraries\drivers\hal\am_hal_sysctrl.c + + + + + am_hal_ios.c + 1 + libraries\drivers\hal\am_hal_ios.c + + + + + am_hal_pdm.c + 1 + libraries\drivers\hal\am_hal_pdm.c + + + + + am_hal_interrupt.c + 1 + libraries\drivers\hal\am_hal_interrupt.c + + + + + am_hal_uart.c + 1 + libraries\drivers\hal\am_hal_uart.c + + + + + am_hal_pwrctrl.c + 1 + libraries\drivers\hal\am_hal_pwrctrl.c + + + + + am_hal_reset.c + 1 + libraries\drivers\hal\am_hal_reset.c + + + + + am_hal_cachectrl.c + 1 + libraries\drivers\hal\am_hal_cachectrl.c + + + + + am_hal_stimer.c + 1 + libraries\drivers\hal\am_hal_stimer.c + + + + + am_hal_rtc.c + 1 + libraries\drivers\hal\am_hal_rtc.c + + + + + am_hal_gpio.c + 1 + libraries\drivers\hal\am_hal_gpio.c + + + + + am_hal_flash.c + 1 + libraries\drivers\hal\am_hal_flash.c + + + + + startup_keil.s + 2 + libraries\startup\arm\startup_keil.s + + diff --git a/bsp/asm9260t/.config b/bsp/asm9260t/.config index 9e1eaa5e36..b0d36783d3 100644 --- a/bsp/asm9260t/.config +++ b/bsp/asm9260t/.config @@ -322,6 +322,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -346,17 +347,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -369,11 +377,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -417,12 +425,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -432,6 +448,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -451,7 +475,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -468,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -476,6 +498,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -552,6 +575,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/asm9260t/project.ewp b/bsp/asm9260t/project.ewp index 7028ab0a6c..1b8fd7f997 100644 --- a/bsp/asm9260t/project.ewp +++ b/bsp/asm9260t/project.ewp @@ -2070,6 +2070,9 @@ $PROJ_DIR$\..\..\libcpu\arm\arm926\cpuport.c + + $PROJ_DIR$\..\..\libcpu\arm\arm926\start_iar.S + $PROJ_DIR$\..\..\libcpu\arm\arm926\mmu.c @@ -2077,14 +2080,11 @@ $PROJ_DIR$\..\..\libcpu\arm\arm926\machine.c - $PROJ_DIR$\..\..\libcpu\arm\arm926\start_iar.S + $PROJ_DIR$\..\..\libcpu\arm\arm926\stack.c $PROJ_DIR$\..\..\libcpu\arm\arm926\trap.c - - $PROJ_DIR$\..\..\libcpu\arm\arm926\stack.c - $PROJ_DIR$\..\..\libcpu\arm\arm926\context_iar.S @@ -2094,26 +2094,26 @@ $PROJ_DIR$\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c @@ -2127,24 +2127,24 @@ $PROJ_DIR$\drivers\led.c + + $PROJ_DIR$\platform\reset.c + + + $PROJ_DIR$\platform\system_clock.c + $PROJ_DIR$\platform\uart.c + + $PROJ_DIR$\platform\timer0.c + $PROJ_DIR$\platform\rt_low_level_init.c $PROJ_DIR$\platform\interrupt.c - - $PROJ_DIR$\platform\reset.c - - - $PROJ_DIR$\platform\timer0.c - - - $PROJ_DIR$\platform\system_clock.c - $PROJ_DIR$\platform\gpio.c @@ -2164,65 +2164,74 @@ Kernel - $PROJ_DIR$\..\..\src\kservice.c + $PROJ_DIR$\..\..\src\memheap.c $PROJ_DIR$\..\..\src\scheduler.c - $PROJ_DIR$\..\..\src\components.c - - - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\src\device.c - - - $PROJ_DIR$\..\..\src\slab.c - - - $PROJ_DIR$\..\..\src\clock.c - - - $PROJ_DIR$\..\..\src\memheap.c + $PROJ_DIR$\..\..\src\idle.c $PROJ_DIR$\..\..\src\mempool.c - $PROJ_DIR$\..\..\src\thread.c + $PROJ_DIR$\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\src\slab.c + + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\device.c $PROJ_DIR$\..\..\src\irq.c - $PROJ_DIR$\..\..\src\timer.c + $PROJ_DIR$\..\..\src\ipc.c - $PROJ_DIR$\..\..\src\idle.c + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\components.c + + + $PROJ_DIR$\..\..\src\clock.c + + + $PROJ_DIR$\..\..\src\timer.c libc - - $PROJ_DIR$\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\components\libc\compilers\common\time.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c @@ -2230,22 +2239,13 @@ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c diff --git a/bsp/asm9260t/project.uvproj b/bsp/asm9260t/project.uvproj index c145a2b022..d9fd427cab 100644 --- a/bsp/asm9260t/project.uvproj +++ b/bsp/asm9260t/project.uvproj @@ -411,13 +411,6 @@ CPU - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - showmem.c @@ -434,23 +427,9 @@ - mmu.c + div0.c 1 - ..\..\libcpu\arm\arm926\mmu.c - - - - - stack.c - 1 - ..\..\libcpu\arm\arm926\stack.c - - - - - trap.c - 1 - ..\..\libcpu\arm\arm926\trap.c + ..\..\libcpu\arm\common\div0.c @@ -462,9 +441,16 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\arm926\context_rvds.S + mmu.c + 1 + ..\..\libcpu\arm\arm926\mmu.c + + + + + machine.c + 1 + ..\..\libcpu\arm\arm926\machine.c @@ -476,9 +462,23 @@ - machine.c + trap.c 1 - ..\..\libcpu\arm\arm926\machine.c + ..\..\libcpu\arm\arm926\trap.c + + + + + context_rvds.S + 2 + ..\..\libcpu\arm\arm926\context_rvds.S + + + + + stack.c + 1 + ..\..\libcpu\arm\arm926\stack.c @@ -491,27 +491,6 @@ ..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - ringblk_buf.c @@ -519,13 +498,6 @@ ..\..\components\drivers\src\ringblk_buf.c - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - waitqueue.c @@ -540,6 +512,34 @@ ..\..\components\drivers\src\pipe.c + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + Drivers @@ -564,6 +564,13 @@ drivers\led.c + + + interrupt.c + 1 + platform\interrupt.c + + rt_low_level_init.c @@ -571,20 +578,6 @@ platform\rt_low_level_init.c - - - gpio.c - 1 - platform\gpio.c - - - - - reset.c - 1 - platform\reset.c - - uart.c @@ -594,9 +587,9 @@ - interrupt.c + reset.c 1 - platform\interrupt.c + platform\reset.c @@ -606,6 +599,13 @@ platform\system_clock.c + + + gpio.c + 1 + platform\gpio.c + + timer0.c @@ -647,6 +647,62 @@ ..\..\src\object.c + + + clock.c + 1 + ..\..\src\clock.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + irq.c + 1 + ..\..\src\irq.c + + device.c @@ -656,9 +712,9 @@ - clock.c + memheap.c 1 - ..\..\src\clock.c + ..\..\src\memheap.c @@ -675,55 +731,6 @@ ..\..\src\thread.c - - - idle.c - 1 - ..\..\src\idle.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - memheap.c - 1 - ..\..\src\memheap.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - components.c - 1 - ..\..\src\components.c - - slab.c @@ -731,21 +738,14 @@ ..\..\src\slab.c - - - ipc.c - 1 - ..\..\src\ipc.c - - libc - mem_std.c + libc.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\libc.c @@ -757,16 +757,9 @@ - libc.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\libc.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -776,6 +769,13 @@ ..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + diff --git a/bsp/asm9260t/rtconfig.h b/bsp/asm9260t/rtconfig.h index 267b9b96c4..9810c90b7d 100644 --- a/bsp/asm9260t/rtconfig.h +++ b/bsp/asm9260t/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/at32/at32f403a-start/.config b/bsp/at32/at32f403a-start/.config index 3b66f00a93..79d304f418 100644 --- a/bsp/at32/at32f403a-start/.config +++ b/bsp/at32/at32f403a-start/.config @@ -333,6 +333,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -357,17 +358,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -380,11 +388,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -428,12 +436,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -443,6 +459,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -463,7 +487,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -480,7 +503,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -488,6 +510,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -564,6 +587,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/at32/at32f403a-start/project.ewp b/bsp/at32/at32f403a-start/project.ewp index 536ac1e404..059efd2a02 100644 --- a/bsp/at32/at32f403a-start/project.ewp +++ b/bsp/at32/at32f403a-start/project.ewp @@ -2086,15 +2086,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2111,22 +2111,22 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c @@ -2167,6 +2167,21 @@ Kernel + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\irq.c @@ -2174,70 +2189,37 @@ $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\mempool.c - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - libc - - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c @@ -2246,11 +2228,29 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + Libraries diff --git a/bsp/at32/at32f403a-start/project.uvproj b/bsp/at32/at32f403a-start/project.uvproj index 19f67bcd47..d35a24f57e 100644 --- a/bsp/at32/at32f403a-start/project.uvproj +++ b/bsp/at32/at32f403a-start/project.uvproj @@ -429,9 +429,9 @@ CPU - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -443,9 +443,9 @@ - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c @@ -481,9 +481,9 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -493,6 +493,27 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + workqueue.c @@ -507,27 +528,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - Drivers @@ -602,9 +602,9 @@ Kernel - mempool.c + components.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\components.c @@ -614,27 +614,6 @@ ..\..\..\src\clock.c - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - mem.c @@ -651,37 +630,9 @@ - idle.c + device.c 1 - ..\..\..\src\idle.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\device.c @@ -698,16 +649,58 @@ ..\..\..\src\thread.c + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + libc - - - libc.c - 1 - ..\..\..\components\libc\compilers\armlibc\libc.c - - mem_std.c @@ -724,9 +717,9 @@ - time.c + libc.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\armlibc\libc.c @@ -736,6 +729,13 @@ ..\..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\..\components\libc\compilers\common\time.c + + Libraries diff --git a/bsp/at32/at32f403a-start/project.uvprojx b/bsp/at32/at32f403a-start/project.uvprojx index c016292ce8..ada9b21fc7 100644 --- a/bsp/at32/at32f403a-start/project.uvprojx +++ b/bsp/at32/at32f403a-start/project.uvprojx @@ -390,16 +390,16 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -411,16 +411,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -440,13 +440,6 @@ ..\..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - workqueue.c @@ -456,16 +449,16 @@ - ringbuffer.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c @@ -477,9 +470,16 @@ - waitqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c @@ -563,44 +563,9 @@ Kernel - components.c + ipc.c 1 - ..\..\..\src\components.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - idle.c - 1 - ..\..\..\src\idle.c + ..\..\..\src\ipc.c @@ -612,9 +577,37 @@ - memheap.c + mem.c 1 - ..\..\..\src\memheap.c + ..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + clock.c + 1 + ..\..\..\src\clock.c @@ -624,6 +617,20 @@ ..\..\..\src\irq.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + thread.c @@ -631,20 +638,6 @@ ..\..\..\src\thread.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - mempool.c @@ -654,9 +647,16 @@ - clock.c + device.c 1 - ..\..\..\src\clock.c + ..\..\..\src\device.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -664,9 +664,9 @@ libc - libc.c + mem_std.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\armlibc\mem_std.c @@ -678,16 +678,9 @@ - mem_std.c + libc.c 1 - ..\..\..\components\libc\compilers\armlibc\mem_std.c - - - - - time.c - 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\armlibc\libc.c @@ -697,6 +690,13 @@ ..\..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\..\components\libc\compilers\common\time.c + + Libraries diff --git a/bsp/at32/at32f403a-start/rtconfig.h b/bsp/at32/at32f403a-start/rtconfig.h index 7deccaa46d..25372076b4 100644 --- a/bsp/at32/at32f403a-start/rtconfig.h +++ b/bsp/at32/at32f403a-start/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/at32/at32f407-start/.config b/bsp/at32/at32f407-start/.config index 015bba1740..df9b14ef0d 100644 --- a/bsp/at32/at32f407-start/.config +++ b/bsp/at32/at32f407-start/.config @@ -333,6 +333,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -357,17 +358,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -380,11 +388,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -428,12 +436,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -443,6 +459,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -463,7 +487,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -480,7 +503,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -488,6 +510,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -564,6 +587,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/at32/at32f407-start/project.ewp b/bsp/at32/at32f407-start/project.ewp index 77b950ef25..e4ba512737 100644 --- a/bsp/at32/at32f407-start/project.ewp +++ b/bsp/at32/at32f407-start/project.ewp @@ -2096,10 +2096,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2110,27 +2110,27 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + Drivers @@ -2168,40 +2168,40 @@ Kernel - $PROJ_DIR$\..\..\..\src\memheap.c + $PROJ_DIR$\..\..\..\src\components.c $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\object.c - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\mem.c $PROJ_DIR$\..\..\..\src\device.c + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\clock.c @@ -2212,11 +2212,14 @@ libc + + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c @@ -2225,32 +2228,29 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + Libraries diff --git a/bsp/at32/at32f407-start/project.uvproj b/bsp/at32/at32f407-start/project.uvproj index 093115cfa5..2bcc84c561 100644 --- a/bsp/at32/at32f407-start/project.uvproj +++ b/bsp/at32/at32f407-start/project.uvproj @@ -434,16 +434,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -463,6 +463,13 @@ ..\..\..\components\drivers\serial\serial.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + dataqueue.c @@ -472,9 +479,9 @@ - waitqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -486,9 +493,9 @@ - ringbuffer.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c @@ -498,13 +505,6 @@ ..\..\..\components\drivers\src\completion.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - ringblk_buf.c @@ -586,37 +586,16 @@ Kernel - components.c + kservice.c 1 - ..\..\..\src\components.c + ..\..\..\src\kservice.c - mem.c + device.c 1 - ..\..\..\src\mem.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c + ..\..\..\src\device.c @@ -628,16 +607,30 @@ - ipc.c + irq.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\irq.c - kservice.c + mem.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\mem.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -656,16 +649,30 @@ - object.c + memheap.c 1 - ..\..\..\src\object.c + ..\..\..\src\memheap.c - memheap.c + idle.c 1 - ..\..\..\src\memheap.c + ..\..\..\src\idle.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + components.c + 1 + ..\..\..\src\components.c @@ -675,23 +682,9 @@ ..\..\..\src\timer.c - - - device.c - 1 - ..\..\..\src\device.c - - libc - - - syscalls.c - 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c - - mem_std.c @@ -708,9 +701,9 @@ - stdlib.c + syscalls.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c @@ -720,6 +713,13 @@ ..\..\..\components\libc\compilers\common\time.c + + + stdlib.c + 1 + ..\..\..\components\libc\compilers\common\stdlib.c + + Libraries diff --git a/bsp/at32/at32f407-start/project.uvprojx b/bsp/at32/at32f407-start/project.uvprojx index 75c3c840d0..2d3b590bd6 100644 --- a/bsp/at32/at32f407-start/project.uvprojx +++ b/bsp/at32/at32f407-start/project.uvprojx @@ -387,6 +387,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -403,9 +410,9 @@ - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -415,13 +422,6 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - DeviceDrivers @@ -439,20 +439,6 @@ ..\..\..\components\drivers\serial\serial.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - dataqueue.c @@ -462,16 +448,16 @@ - ringblk_buf.c + completion.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c - completion.c + waitqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\waitqueue.c @@ -488,6 +474,20 @@ ..\..\..\components\drivers\src\pipe.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + Drivers @@ -562,86 +562,9 @@ Kernel - kservice.c + device.c 1 - ..\..\..\src\kservice.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\device.c @@ -653,14 +576,98 @@ - device.c + clock.c 1 - ..\..\..\src\device.c + ..\..\..\src\clock.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + components.c + 1 + ..\..\..\src\components.c libc + + + syscalls.c + 1 + ..\..\..\components\libc\compilers\armlibc\syscalls.c + + libc.c @@ -677,9 +684,9 @@ - syscalls.c + stdlib.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -689,13 +696,6 @@ ..\..\..\components\libc\compilers\common\time.c - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c - - Libraries diff --git a/bsp/at32/at32f407-start/rtconfig.h b/bsp/at32/at32f407-start/rtconfig.h index 46627c4235..8c8ac73a9a 100644 --- a/bsp/at32/at32f407-start/rtconfig.h +++ b/bsp/at32/at32f407-start/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/at91sam9260/.config b/bsp/at91sam9260/.config index fd5a005171..956268d7bb 100644 --- a/bsp/at91sam9260/.config +++ b/bsp/at91sam9260/.config @@ -337,6 +337,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -361,17 +362,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -384,11 +392,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -432,12 +440,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -447,6 +463,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -466,7 +490,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -483,7 +506,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -491,6 +513,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -567,6 +590,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/at91sam9260/project.uvproj b/bsp/at91sam9260/project.uvproj index bb426e7036..dbbdc0603a 100644 --- a/bsp/at91sam9260/project.uvproj +++ b/bsp/at91sam9260/project.uvproj @@ -418,13 +418,6 @@ ..\..\libcpu\arm\common\div0.c - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -434,9 +427,9 @@ - stack.c + backtrace.c 1 - ..\..\libcpu\arm\arm926\stack.c + ..\..\libcpu\arm\common\backtrace.c @@ -446,6 +439,27 @@ ..\..\libcpu\arm\arm926\trap.c + + + cpuport.c + 1 + ..\..\libcpu\arm\arm926\cpuport.c + + + + + mmu.c + 1 + ..\..\libcpu\arm\arm926\mmu.c + + + + + stack.c + 1 + ..\..\libcpu\arm\arm926\stack.c + + machine.c @@ -460,13 +474,6 @@ ..\..\libcpu\arm\arm926\start_rvds.S - - - cpuport.c - 1 - ..\..\libcpu\arm\arm926\cpuport.c - - context_rvds.S @@ -474,13 +481,6 @@ ..\..\libcpu\arm\arm926\context_rvds.S - - - mmu.c - 1 - ..\..\libcpu\arm\arm926\mmu.c - - DeviceDrivers @@ -507,16 +507,16 @@ - completion.c + ringblk_buf.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\ringblk_buf.c - workqueue.c + pipe.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\pipe.c @@ -528,9 +528,9 @@ - ringblk_buf.c + workqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\workqueue.c @@ -542,9 +542,9 @@ - pipe.c + completion.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\completion.c @@ -657,6 +657,13 @@ Kernel + + + object.c + 1 + ..\..\src\object.c + + clock.c @@ -666,23 +673,9 @@ - thread.c + kservice.c 1 - ..\..\src\thread.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - mem.c - 1 - ..\..\src\mem.c + ..\..\src\kservice.c @@ -694,9 +687,9 @@ - object.c + device.c 1 - ..\..\src\object.c + ..\..\src\device.c @@ -706,6 +699,20 @@ ..\..\src\components.c + + + mem.c + 1 + ..\..\src\mem.c + + + + + thread.c + 1 + ..\..\src\thread.c + + idle.c @@ -713,6 +720,20 @@ ..\..\src\idle.c + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\src\irq.c + + scheduler.c @@ -727,27 +748,6 @@ ..\..\src\ipc.c - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - irq.c - 1 - ..\..\src\irq.c - - libc @@ -758,13 +758,6 @@ ..\..\components\libc\compilers\armlibc\libc.c - - - syscalls.c - 1 - ..\..\components\libc\compilers\armlibc\syscalls.c - - mem_std.c @@ -774,16 +767,16 @@ - stdio.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c + ..\..\components\libc\compilers\armlibc\syscalls.c - stdlib.c + stdio.c 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\armlibc\stdio.c @@ -800,6 +793,13 @@ ..\..\components\libc\compilers\common\unistd.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + delay.c diff --git a/bsp/at91sam9260/rtconfig.h b/bsp/at91sam9260/rtconfig.h index 8d75bd8d62..06f301dccb 100755 --- a/bsp/at91sam9260/rtconfig.h +++ b/bsp/at91sam9260/rtconfig.h @@ -173,14 +173,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -189,10 +192,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/at91sam9g45/project.uvopt b/bsp/at91sam9g45/project.uvopt new file mode 100644 index 0000000000..2dca5102b8 --- /dev/null +++ b/bsp/at91sam9g45/project.uvopt @@ -0,0 +1,174 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + + + + 0 + 0 + + + + rtthread + 0x4 + ARM-ADS + + 18432000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\Listings\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 1 + 0 + 1 + + 16 + + + 0 + Datasheet + DATASHTS\ATMEL\AT91SAM9260_DS.PDF + + + 1 + Summary + DATASHTS\ATMEL\AT91SAM9260_DC.PDF + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 5 + + + + + + + + + + .\jlink\at91sam9260.ini + Segger\JLTAgdi.dll + + + + 0 + JLTAgdi + -O558 -J1 -Y1000 -Z1 -FO0 -FD200000 -FC800 -FN0 + + + 0 + UL2ARM + -UV2077N9E -O47 -S0 -C0 -N00("ARM926EJ-S Core") -D00(0792603F) -L00(4) -FO7 -FD300000 -FC1000 -FN1 -FF0AT91SAM9_DF_P1056_CS1 -FS020000000 -FL083BE00) + + + + + 0 + + + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + +
diff --git a/bsp/at91sam9g45/project.uvproj b/bsp/at91sam9g45/project.uvproj new file mode 100644 index 0000000000..9378d4c920 --- /dev/null +++ b/bsp/at91sam9g45/project.uvproj @@ -0,0 +1,925 @@ + + + 1.1 +
### uVision Project, (C) Keil Software
+ + + rtthread + 0x4 + ARM-ADS + + + AT91SAM9260 + Atmel + IRAM(0x200000-0x200FFF) IRAM2(0x300000-0x300FFF) IROM(0x100000-0x107FFF) CLOCK(18432000) CPUTYPE(ARM926EJ-S) + + "STARTUP\Atmel\SAM9260.s" ("Atmel AT91SAM9260 Startup Code") + UL2ARM(-UV2077N9E -O47 -S0 -C0 -N00("ARM926EJ-S Core") -D00(0792603F) -L00(4) -FO7 -FD300000 -FC1000 -FN1 -FF0AT91SAM9_DF_P1056_CS1 -FS020000000 -FL083BE00) + 4210 + AT91SAM9260.H + + + + + + + + + + + 0 + 0 + + + + Atmel\SAM9260\ + Atmel\SAM9260\ + + 0 + 0 + 0 + 0 + 1 + + .\Objects\ + rtthread + 1 + 0 + 0 + 1 + 1 + .\Listings\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + 1 + + + SARM.DLL + -cAT91SAM9260 + DARMATS9.DLL + -p91SAM9260 + SARM.DLL + + TARMATS9.DLL + -p91SAM9260 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + + + 1 + 0 + 0 + 1 + 1 + 1 + 0 + 1 + 1 + 1 + 1 + + 0 + 5 + + + + + + + + + + + + + .\jlink\at91sam9260.ini + Segger\JLTAgdi.dll + + + + + 1 + 0 + 0 + 0 + 1 + 4096 + + 1 + BIN\UL2ARM.DLL + "" () + .\jlink\at91sam9260.ini + + + + 0 + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + ARM926EJ-S + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 0 + 1 + 0 + 8 + 0 + 0 + 0 + 3 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x200000 + 0x1000 + + + 1 + 0x100000 + 0x8000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x20000000 + 0x800000 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x100000 + 0x8000 + + + 1 + 0x0 + 0x0 + + + 0 + 0x20800000 + 0x1800000 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x200000 + 0x1000 + + + 0 + 0x300000 + 0x1000 + + + + + + 1 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 2 + 0 + 0 + 0 + 0 + + + RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\..\components\cplusplus;..\..\libcpu\arm\common;..\..\libcpu\arm\arm926;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\dfs\include;..\..\components\dfs\filesystems\devfs;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\armlibc;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\components\libc\pthreads;platform;..\..\examples\utest\testcases\kernel + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + .\platform + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x20000000 + 0x20800000 + + .\link_scripts\at91sam9g45_ram.scat + + + + + + + + + + + Applications + + + application.c + 1 + applications\application.c + + + + + CPlusPlus + + + cxx_crt_init.c + 1 + ..\..\components\cplusplus\cxx_crt_init.c + + + + + cxx_Mutex.cpp + 8 + ..\..\components\cplusplus\cxx_Mutex.cpp + + + + + cxx_Semaphore.cpp + 8 + ..\..\components\cplusplus\cxx_Semaphore.cpp + + + + + cxx_crt.cpp + 8 + ..\..\components\cplusplus\cxx_crt.cpp + + + + + cxx_Thread.cpp + 8 + ..\..\components\cplusplus\cxx_Thread.cpp + + + + + CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + + + + div0.c + 1 + ..\..\libcpu\arm\common\div0.c + + + + + context_rvds.S + 2 + ..\..\libcpu\arm\arm926\context_rvds.S + + + + + cpuport.c + 1 + ..\..\libcpu\arm\arm926\cpuport.c + + + + + stack.c + 1 + ..\..\libcpu\arm\arm926\stack.c + + + + + mmu.c + 1 + ..\..\libcpu\arm\arm926\mmu.c + + + + + start_rvds.S + 2 + ..\..\libcpu\arm\arm926\start_rvds.S + + + + + trap.c + 1 + ..\..\libcpu\arm\arm926\trap.c + + + + + machine.c + 1 + ..\..\libcpu\arm\arm926\machine.c + + + + + DeviceDrivers + + + pin.c + 1 + ..\..\components\drivers\misc\pin.c + + + + + serial.c + 1 + ..\..\components\drivers\serial\serial.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + + + Drivers + + + usart.c + 1 + drivers\usart.c + + + + + board.c + 1 + drivers\board.c + + + + + led.c + 1 + drivers\led.c + + + + + Filesystem + + + dfs_posix.c + 1 + ..\..\components\dfs\src\dfs_posix.c + + + + + dfs_fs.c + 1 + ..\..\components\dfs\src\dfs_fs.c + + + + + dfs.c + 1 + ..\..\components\dfs\src\dfs.c + + + + + dfs_file.c + 1 + ..\..\components\dfs\src\dfs_file.c + + + + + devfs.c + 1 + ..\..\components\dfs\filesystems\devfs\devfs.c + + + + + Finsh + + + shell.c + 1 + ..\..\components\finsh\shell.c + + + + + msh.c + 1 + ..\..\components\finsh\msh.c + + + + + msh_file.c + 1 + ..\..\components\finsh\msh_file.c + + + + + Kernel + + + components.c + 1 + ..\..\src\components.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + libc + + + mem_std.c + 1 + ..\..\components\libc\compilers\armlibc\mem_std.c + + + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + + + + syscalls.c + 1 + ..\..\components\libc\compilers\armlibc\syscalls.c + + + + + libc.c + 1 + ..\..\components\libc\compilers\armlibc\libc.c + + + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + + + + pthread.c + 1 + ..\..\components\libc\pthreads\pthread.c + + + + + pthread_mutex.c + 1 + ..\..\components\libc\pthreads\pthread_mutex.c + + + + + sched.c + 1 + ..\..\components\libc\pthreads\sched.c + + + + + pthread_barrier.c + 1 + ..\..\components\libc\pthreads\pthread_barrier.c + + + + + pthread_rwlock.c + 1 + ..\..\components\libc\pthreads\pthread_rwlock.c + + + + + pthread_cond.c + 1 + ..\..\components\libc\pthreads\pthread_cond.c + + + + + pthread_spin.c + 1 + ..\..\components\libc\pthreads\pthread_spin.c + + + + + mqueue.c + 1 + ..\..\components\libc\pthreads\mqueue.c + + + + + pthread_tls.c + 1 + ..\..\components\libc\pthreads\pthread_tls.c + + + + + semaphore.c + 1 + ..\..\components\libc\pthreads\semaphore.c + + + + + pthread_attr.c + 1 + ..\..\components\libc\pthreads\pthread_attr.c + + + + + Platform + + + reset.c + 1 + platform\reset.c + + + + + system_clock.c + 1 + platform\system_clock.c + + + + + interrupt.c + 1 + platform\interrupt.c + + + + + rt_low_level_init.c + 1 + platform\rt_low_level_init.c + + + + + + +
diff --git a/bsp/beaglebone/.config b/bsp/beaglebone/.config index 18ec848a5a..438436ef00 100644 --- a/bsp/beaglebone/.config +++ b/bsp/beaglebone/.config @@ -337,6 +337,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -361,17 +362,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -384,11 +392,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -432,12 +440,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -447,6 +463,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -466,7 +490,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -483,7 +506,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -491,6 +513,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -567,6 +590,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/beaglebone/rtconfig.h b/bsp/beaglebone/rtconfig.h index 632b1465a2..8741206d77 100644 --- a/bsp/beaglebone/rtconfig.h +++ b/bsp/beaglebone/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/bluetrum/ab32vg1-ab-prougen/.config b/bsp/bluetrum/ab32vg1-ab-prougen/.config index e7c661a790..6694503e5f 100644 --- a/bsp/bluetrum/ab32vg1-ab-prougen/.config +++ b/bsp/bluetrum/ab32vg1-ab-prougen/.config @@ -326,6 +326,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -350,17 +351,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -373,11 +381,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -421,12 +429,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -436,6 +452,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -455,7 +479,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -472,7 +495,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -480,6 +502,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -553,6 +576,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MCP23008 is not set CONFIG_PKG_USING_BLUETRUM_SDK=y CONFIG_PKG_BLUETRUM_SDK_PATH="/packages/peripherals/bluetrum_sdk" +# CONFIG_PKG_USING_BLUETRUM_SDK_V002 is not set # CONFIG_PKG_USING_BLUETRUM_SDK_V001 is not set CONFIG_PKG_USING_BLUETRUM_SDK_LATEST_VERSION=y CONFIG_PKG_BLUETRUM_SDK_VER="latest" @@ -560,6 +584,7 @@ CONFIG_PKG_BLUETRUM_SDK_VER="latest" # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/bluetrum/ab32vg1-ab-prougen/rtconfig.h b/bsp/bluetrum/ab32vg1-ab-prougen/rtconfig.h index c3ec6bfbd6..f2ade86f0d 100644 --- a/bsp/bluetrum/ab32vg1-ab-prougen/rtconfig.h +++ b/bsp/bluetrum/ab32vg1-ab-prougen/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/bm3803/.config b/bsp/bm3803/.config index d7bbcd82d9..efa68631e5 100644 --- a/bsp/bm3803/.config +++ b/bsp/bm3803/.config @@ -338,6 +338,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -362,17 +363,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -385,11 +393,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -433,12 +441,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -448,6 +464,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -467,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -484,7 +507,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -492,6 +514,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -568,6 +591,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/bm3803/rtconfig.h b/bsp/bm3803/rtconfig.h index 180e66d498..f70d0a2653 100644 --- a/bsp/bm3803/rtconfig.h +++ b/bsp/bm3803/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/ck802/.config b/bsp/ck802/.config index badce6652c..44865826c4 100644 --- a/bsp/ck802/.config +++ b/bsp/ck802/.config @@ -322,6 +322,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -346,17 +347,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -369,11 +377,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -417,12 +425,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -432,6 +448,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -451,7 +475,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -468,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -476,6 +498,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -552,6 +575,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/ck802/rtconfig.h b/bsp/ck802/rtconfig.h index ebf8ae9144..8176be9bef 100644 --- a/bsp/ck802/rtconfig.h +++ b/bsp/ck802/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/dm365/.config b/bsp/dm365/.config index 888c3c6e48..89b22ae81b 100644 --- a/bsp/dm365/.config +++ b/bsp/dm365/.config @@ -440,6 +440,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -464,17 +465,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -487,11 +495,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -535,12 +543,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -550,6 +566,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -569,7 +593,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -586,7 +609,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -594,6 +616,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -670,6 +693,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/dm365/rtconfig.h b/bsp/dm365/rtconfig.h index e195a223c5..9382f48e08 100644 --- a/bsp/dm365/rtconfig.h +++ b/bsp/dm365/rtconfig.h @@ -249,14 +249,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -265,10 +268,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/essemi/es32f0654/.config b/bsp/essemi/es32f0654/.config index fd6c52be6a..c6e326fb6d 100644 --- a/bsp/essemi/es32f0654/.config +++ b/bsp/essemi/es32f0654/.config @@ -322,6 +322,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -346,17 +347,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -369,11 +377,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -417,12 +425,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -432,6 +448,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -451,7 +475,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -468,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -476,6 +498,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -552,6 +575,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/essemi/es32f0654/project.uvprojx b/bsp/essemi/es32f0654/project.uvprojx index 9c67130a8c..239eef0d51 100644 --- a/bsp/essemi/es32f0654/project.uvprojx +++ b/bsp/essemi/es32f0654/project.uvprojx @@ -394,16 +394,16 @@
- showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -439,16 +439,9 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -460,23 +453,9 @@ - waitqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -486,6 +465,27 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + +
Drivers @@ -539,16 +539,9 @@ Kernel - timer.c + thread.c 1 - ..\..\..\src\timer.c - - - - - object.c - 1 - ..\..\..\src\object.c + ..\..\..\src\thread.c @@ -560,23 +553,9 @@ - clock.c + mem.c 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\mem.c @@ -588,16 +567,16 @@ - idle.c + irq.c 1 - ..\..\..\src\idle.c + ..\..\..\src\irq.c - irq.c + idle.c 1 - ..\..\..\src\irq.c + ..\..\..\src\idle.c @@ -607,20 +586,6 @@ ..\..\..\src\components.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - scheduler.c @@ -628,6 +593,41 @@ ..\..\..\src\scheduler.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + libc @@ -641,20 +641,6 @@ Libraries - - - ald_spi.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_spi.c - - - - - ald_gpio.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_gpio.c - - ald_trng.c @@ -662,104 +648,6 @@ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_trng.c - - - ald_adc.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_adc.c - - - - - ald_calc.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_calc.c - - - - - ald_rmu.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rmu.c - - - - - ald_usart.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_usart.c - - - - - ald_cmu.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_cmu.c - - - - - ald_can.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_can.c - - - - - ald_timer.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_timer.c - - - - - ald_flash.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash.c - - - - - ald_pmu.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pmu.c - - - - - startup_es32f065x.s - 2 - libraries\CMSIS\Device\EastSoft\ES32F065x\Startup\keil\startup_es32f065x.s - - - - - ald_i2c.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_i2c.c - - - - - ald_acmp.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_acmp.c - - - - - ald_wdt.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_wdt.c - - - - - utils.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\utils.c - - ald_flash_ext.c @@ -774,34 +662,6 @@ libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rtc.c - - - ald_pis.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pis.c - - - - - ald_crc.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crc.c - - - - - ald_smartcard.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_smartcard.c - - - - - ald_dma.c - 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_dma.c - - ald_uart.c @@ -811,16 +671,58 @@ - ald_iap.c + ald_wdt.c 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_iap.c + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_wdt.c - ald_bkpc.c + ald_adc.c 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_bkpc.c + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_adc.c + + + + + ald_spi.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_spi.c + + + + + ald_flash.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_flash.c + + + + + ald_cmu.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_cmu.c + + + + + ald_rmu.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_rmu.c + + + + + ald_acmp.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_acmp.c + + + + + ald_crypt.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crypt.c @@ -832,9 +734,107 @@ - ald_crypt.c + startup_es32f065x.s + 2 + libraries\CMSIS\Device\EastSoft\ES32F065x\Startup\keil\startup_es32f065x.s + + + + + ald_dma.c 1 - libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crypt.c + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_dma.c + + + + + ald_calc.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_calc.c + + + + + ald_bkpc.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_bkpc.c + + + + + utils.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\utils.c + + + + + ald_iap.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_iap.c + + + + + ald_gpio.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_gpio.c + + + + + ald_pis.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pis.c + + + + + ald_timer.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_timer.c + + + + + ald_usart.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_usart.c + + + + + ald_can.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_can.c + + + + + ald_smartcard.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_smartcard.c + + + + + ald_i2c.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_i2c.c + + + + + ald_pmu.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_pmu.c + + + + + ald_crc.c + 1 + libraries\ES32F065x_ALD_StdPeriph_Driver\Source\ald_crc.c diff --git a/bsp/essemi/es32f0654/rtconfig.h b/bsp/essemi/es32f0654/rtconfig.h index 17a605b43c..ec2b6b49f8 100644 --- a/bsp/essemi/es32f0654/rtconfig.h +++ b/bsp/essemi/es32f0654/rtconfig.h @@ -163,14 +163,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -179,10 +182,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/essemi/es32f369x/.config b/bsp/essemi/es32f369x/.config index 81680211b7..861b3a1898 100644 --- a/bsp/essemi/es32f369x/.config +++ b/bsp/essemi/es32f369x/.config @@ -322,6 +322,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -346,17 +347,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -369,11 +377,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -417,12 +425,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -432,6 +448,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -451,7 +475,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -468,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -476,6 +498,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -552,6 +575,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/essemi/es32f369x/project.ewp b/bsp/essemi/es32f369x/project.ewp index c71317ef55..160d5cc5c1 100644 --- a/bsp/essemi/es32f369x/project.ewp +++ b/bsp/essemi/es32f369x/project.ewp @@ -2069,10 +2069,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m3\context_iar.S @@ -2090,25 +2090,25 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c @@ -2138,22 +2138,16 @@ Kernel - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\signal.c - - - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\object.c $PROJ_DIR$\..\..\..\src\mem.c @@ -2161,23 +2155,29 @@ $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\clock.c + + $PROJ_DIR$\..\..\..\src\signal.c + + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\ipc.c @@ -2192,26 +2192,68 @@ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c + + + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c @@ -2219,79 +2261,37 @@ $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_sram.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash_ext.c - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_tsense.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pis.c - $PROJ_DIR$\libraries\CMSIS\Device\EastSoft\ES32F36xx\Startup\iar\startup_es32f36xx.s - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_can.c - - - $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c + $PROJ_DIR$\libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c diff --git a/bsp/essemi/es32f369x/project.uvprojx b/bsp/essemi/es32f369x/project.uvprojx index a5affac85c..609414367c 100644 --- a/bsp/essemi/es32f369x/project.uvprojx +++ b/bsp/essemi/es32f369x/project.uvprojx @@ -390,9 +390,9 @@ CPU - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c @@ -404,9 +404,9 @@ - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -440,6 +440,13 @@ ..\..\..\components\drivers\serial\serial.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + ringblk_buf.c @@ -454,20 +461,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - completion.c @@ -482,6 +475,13 @@ ..\..\..\components\drivers\src\pipe.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + dataqueue.c @@ -542,30 +542,9 @@ Kernel - scheduler.c + kservice.c 1 - ..\..\..\src\scheduler.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\kservice.c @@ -577,30 +556,9 @@ - idle.c + thread.c 1 - ..\..\..\src\idle.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\thread.c @@ -619,16 +577,23 @@ - clock.c + idle.c 1 - ..\..\..\src\clock.c + ..\..\..\src\idle.c - kservice.c + ipc.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c @@ -638,6 +603,41 @@ ..\..\..\src\irq.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + libc @@ -651,6 +651,20 @@ Libraries + + + ald_pmu.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c + + + + + ald_rmu.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c + + ald_sram.c @@ -660,16 +674,65 @@ - ald_crc.c + ald_timer.c 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c - ald_pmu.c + ald_bkpc.c 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_pmu.c + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c + + + + + ald_nor_lcd.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c + + + + + ald_wdt.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c + + + + + ald_spi.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c + + + + + ald_adc.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c + + + + + ald_i2c.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c + + + + + ald_qspi.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c + + + + + ald_crc.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crc.c @@ -688,44 +751,9 @@ - ald_qspi.c + ald_iap.c 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_qspi.c - - - - - ald_calc.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c - - - - - ald_rmu.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rmu.c - - - - - ald_trng.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c - - - - - ald_crypt.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c - - - - - ald_wdt.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_wdt.c + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c @@ -737,100 +765,9 @@ - ald_iap.c + ald_calc.c 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_iap.c - - - - - ald_uart.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c - - - - - ald_bkpc.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_bkpc.c - - - - - ald_rtchw.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c - - - - - ald_ebi.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c - - - - - ald_spi.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_spi.c - - - - - ald_timer.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_timer.c - - - - - ald_cmu.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c - - - - - ald_rtc.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c - - - - - ald_nor_lcd.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nor_lcd.c - - - - - ald_acmp.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c - - - - - ald_nand.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c - - - - - utils.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c - - - - - ald_gpio.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_calc.c @@ -847,6 +784,20 @@ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_flash.c + + + ald_gpio.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_gpio.c + + + + + ald_uart.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_uart.c + + startup_es32f36xx.s @@ -856,30 +807,9 @@ - ald_dma.c + ald_rtchw.c 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c - - - - - ald_i2c.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2c.c - - - - - ald_adc.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_adc.c - - - - - ald_dac.c - 1 - libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtchw.c @@ -889,6 +819,13 @@ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_usb.c + + + ald_crypt.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_crypt.c + + ald_i2s.c @@ -896,6 +833,69 @@ libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_i2s.c + + + utils.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\utils.c + + + + + ald_ebi.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_ebi.c + + + + + ald_dma.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dma.c + + + + + ald_rtc.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_rtc.c + + + + + ald_trng.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_trng.c + + + + + ald_cmu.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_cmu.c + + + + + ald_dac.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_dac.c + + + + + ald_nand.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_nand.c + + + + + ald_acmp.c + 1 + libraries\ES32F36xx_ALD_StdPeriph_Driver\Source\ald_acmp.c + + diff --git a/bsp/essemi/es32f369x/rtconfig.h b/bsp/essemi/es32f369x/rtconfig.h index 0d8620ce37..2a5095c1b7 100644 --- a/bsp/essemi/es32f369x/rtconfig.h +++ b/bsp/essemi/es32f369x/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/fm33lc026/.config b/bsp/fm33lc026/.config index 2cb702a551..7a98d5bd56 100644 --- a/bsp/fm33lc026/.config +++ b/bsp/fm33lc026/.config @@ -327,6 +327,7 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -351,17 +352,24 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -374,11 +382,11 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -422,12 +430,20 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -437,6 +453,14 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # 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_5_AUX 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 # @@ -456,7 +480,6 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -473,7 +496,6 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -481,6 +503,7 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # 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 # @@ -557,6 +580,7 @@ CONFIG_RT_SERIAL_RB_BUFSZ=64 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/fm33lc026/project.uvprojx b/bsp/fm33lc026/project.uvprojx index 4641db699e..9dc873719d 100644 --- a/bsp/fm33lc026/project.uvprojx +++ b/bsp/fm33lc026/project.uvprojx @@ -386,6 +386,13 @@ CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -402,9 +409,9 @@ - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m0\context_rvds.S @@ -414,13 +421,6 @@ ..\..\libcpu\arm\cortex-m0\cpuport.c - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m0\context_rvds.S - - DeviceDrivers @@ -431,27 +431,6 @@ ..\..\components\drivers\serial\serial.c - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - ringblk_buf.c @@ -473,6 +452,13 @@ ..\..\components\drivers\src\dataqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + waitqueue.c @@ -480,6 +466,20 @@ ..\..\components\drivers\src\waitqueue.c + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + Drivers @@ -592,23 +592,9 @@ Kernel - timer.c + clock.c 1 - ..\..\src\timer.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - thread.c - 1 - ..\..\src\thread.c + ..\..\src\clock.c @@ -620,9 +606,16 @@ - mem.c + thread.c 1 - ..\..\src\mem.c + ..\..\src\thread.c + + + + + timer.c + 1 + ..\..\src\timer.c @@ -634,9 +627,16 @@ - object.c + idle.c 1 - ..\..\src\object.c + ..\..\src\idle.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c @@ -655,9 +655,16 @@ - scheduler.c + kservice.c 1 - ..\..\src\scheduler.c + ..\..\src\kservice.c + + + + + object.c + 1 + ..\..\src\object.c @@ -669,16 +676,9 @@ - clock.c + mem.c 1 - ..\..\src\clock.c - - - - - idle.c - 1 - ..\..\src\idle.c + ..\..\src\mem.c diff --git a/bsp/fm33lc026/rtconfig.h b/bsp/fm33lc026/rtconfig.h index 9fe512920d..66cf005833 100644 --- a/bsp/fm33lc026/rtconfig.h +++ b/bsp/fm33lc026/rtconfig.h @@ -163,14 +163,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -179,10 +182,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/frdm-k64f/project.uvproj b/bsp/frdm-k64f/project.uvproj index 9530fc5210..41d55f1165 100644 --- a/bsp/frdm-k64f/project.uvproj +++ b/bsp/frdm-k64f/project.uvproj @@ -1,10 +1,7 @@ - 1.1 -
### uVision Project, (C) Keil Software
- RT-Thread @@ -15,26 +12,26 @@ MK64FN1M0xxx12 Freescale Semiconductor IRAM(0x1FFF0000-0x1FFFFFFF) IRAM2(0x20000000-0x2002FFFF) IROM(0x0-0xFFFFF) CLOCK(12000000) CPUTYPE("Cortex-M4") FPU2 ELITTLE - + "STARTUP\Freescale\Kinetis\startup_MK64F12.s" ("Freescale MK64Xxxxxxx12 Startup Code") UL2CM3(-O2511 -S0 -C0 -FO15 -FD20000000 -FC4000 -FN1 -FF0MK_P1M0 -FS00 -FL0100000) 7425 MK64F12.H - - - - - - - - - + + + + + + + + + SFD\Freescale\Kinetis\MK64F12.sfr 0 0 - - - + + + Freescale\Kinetis\ Freescale\Kinetis\ @@ -58,8 +55,8 @@ 0 0 - - + + 0 0 0 @@ -68,25 +65,21 @@ 0 0 - - + + 0 0 - 0 - 0 0 0 - - + + 0 0 - 0 - 0 0 - + 0 @@ -100,17 +93,17 @@ 0 0 3 - - + + 1 SARMCM3.DLL - + DCM.DLL -pCM4 SARMCM3.DLL - + TCM.DLL -pCM4 @@ -145,22 +138,23 @@ 1 1 1 + 0 0 - 3 + 6 - - - - - + + + + + - - - - - + + + + + Segger\JL2CM3.dll @@ -176,10 +170,10 @@ 1 BIN\UL2CM3.DLL "" () - - - - + + + + 0 @@ -212,7 +206,7 @@ 0 0 "Cortex-M4" - + 0 0 0 @@ -227,7 +221,6 @@ 0 0 0 - 0 3 3 0 @@ -344,7 +337,7 @@ 0x30000 - + 1 @@ -360,20 +353,13 @@ 0 0 0 - 1 + 0 0 - 1 - 1 - 1 - 1 - 0 - 0 - 0 - - CPU_MK64FN1M0VLL12 - - device;device/MK64F12;board;applications;.;../../include;../../libcpu/arm/cortex-m4;../../libcpu/arm/common;../../components/drivers/include;../../components/drivers/include;../../components/finsh;../../components/net/lwip-2.0.2/src;../../components/net/lwip-2.0.2/src/include;../../components/net/lwip-2.0.2/src/include/ipv4;../../components/net/lwip-2.0.2/src/arch/include;../../components/net/lwip-2.0.2/src/include/netif;../../components/net/lwip-2.0.2/src/include/posix + + CPU_MK64FN1M0VLL12, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;board;device;device\MK64F12;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\components\net\lwip-2.0.3\src;..\..\components\net\lwip-2.0.3\src\include;..\..\components\net\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip-2.0.3\src\arch\include;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\examples\utest\testcases\kernel @@ -386,12 +372,11 @@ 0 0 0 - 0 - - - - + + + + @@ -403,374 +388,69 @@ 0 0x00000000 0x1FFF0000 - - - - - --keep *.o(.rti_fn.*) --keep *.o(FSymTab) --keep *.o(VSymTab) - - + + + + + + + - - Device - - - fsl_adc16.c - 1 - device/MK64F12/fsl_adc16.c - - - fsl_clock.c - 1 - device/MK64F12/fsl_clock.c - - - fsl_cmp.c - 1 - device/MK64F12/fsl_cmp.c - - - fsl_cmt.c - 1 - device/MK64F12/fsl_cmt.c - - - fsl_common.c - 1 - device/MK64F12/fsl_common.c - - - fsl_crc.c - 1 - device/MK64F12/fsl_crc.c - - - fsl_dac.c - 1 - device/MK64F12/fsl_dac.c - - - fsl_dmamux.c - 1 - device/MK64F12/fsl_dmamux.c - - - fsl_dspi.c - 1 - device/MK64F12/fsl_dspi.c - - - fsl_dspi_edma.c - 1 - device/MK64F12/fsl_dspi_edma.c - - - fsl_edma.c - 1 - device/MK64F12/fsl_edma.c - - - fsl_enet.c - 1 - device/MK64F12/fsl_enet.c - - - fsl_ewm.c - 1 - device/MK64F12/fsl_ewm.c - - - fsl_flash.c - 1 - device/MK64F12/fsl_flash.c - - - fsl_flexbus.c - 1 - device/MK64F12/fsl_flexbus.c - - - fsl_flexcan.c - 1 - device/MK64F12/fsl_flexcan.c - - - fsl_ftm.c - 1 - device/MK64F12/fsl_ftm.c - - - fsl_gpio.c - 1 - device/MK64F12/fsl_gpio.c - - - fsl_i2c.c - 1 - device/MK64F12/fsl_i2c.c - - - fsl_i2c_edma.c - 1 - device/MK64F12/fsl_i2c_edma.c - - - fsl_llwu.c - 1 - device/MK64F12/fsl_llwu.c - - - fsl_lptmr.c - 1 - device/MK64F12/fsl_lptmr.c - - - fsl_pdb.c - 1 - device/MK64F12/fsl_pdb.c - - - fsl_pit.c - 1 - device/MK64F12/fsl_pit.c - - - fsl_pmc.c - 1 - device/MK64F12/fsl_pmc.c - - - fsl_rcm.c - 1 - device/MK64F12/fsl_rcm.c - - - fsl_rnga.c - 1 - device/MK64F12/fsl_rnga.c - - - fsl_rtc.c - 1 - device/MK64F12/fsl_rtc.c - - - fsl_sai.c - 1 - device/MK64F12/fsl_sai.c - - - fsl_sai_edma.c - 1 - device/MK64F12/fsl_sai_edma.c - - - fsl_sdhc.c - 1 - device/MK64F12/fsl_sdhc.c - - - fsl_sim.c - 1 - device/MK64F12/fsl_sim.c - - - fsl_smc.c - 1 - device/MK64F12/fsl_smc.c - - - fsl_sysmpu.c - 1 - device/MK64F12/fsl_sysmpu.c - - - fsl_uart.c - 1 - device/MK64F12/fsl_uart.c - - - fsl_uart_edma.c - 1 - device/MK64F12/fsl_uart_edma.c - - - fsl_vref.c - 1 - device/MK64F12/fsl_vref.c - - - fsl_wdog.c - 1 - device/MK64F12/fsl_wdog.c - - - system_MK64F12.c - 1 - device/system_MK64F12.c - - - startup_MK64F12.s - 2 - device/TOOLCHAIN_ARM_STD/startup_MK64F12.s - - - - - Board - - - board.c - 1 - board/board.c - - - clock_config.c - 1 - board/clock_config.c - - - drv_uart.c - 1 - board/drv_uart.c - - - led.c - 1 - board/led.c - - - drv_emac.c - 1 - board/drv_emac.c - - - fsl_phy.c - 1 - board/fsl_phy.c - - - Applications application.c 1 - applications/application.c + applications\application.c + + startup.c 1 - applications/startup.c + applications\startup.c - Kernel + CPU - clock.c + backtrace.c 1 - ../../src/clock.c - - - components.c - 1 - ../../src/components.c - - - device.c - 1 - ../../src/device.c - - - idle.c - 1 - ../../src/idle.c - - - ipc.c - 1 - ../../src/ipc.c - - - irq.c - 1 - ../../src/irq.c - - - kservice.c - 1 - ../../src/kservice.c - - - mem.c - 1 - ../../src/mem.c - - - mempool.c - 1 - ../../src/mempool.c - - - object.c - 1 - ../../src/object.c - - - scheduler.c - 1 - ../../src/scheduler.c - - - signal.c - 1 - ../../src/signal.c - - - thread.c - 1 - ../../src/thread.c - - - timer.c - 1 - ../../src/timer.c + ..\..\libcpu\arm\common\backtrace.c + + + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + + + + div0.c + 1 + ..\..\libcpu\arm\common\div0.c + + + + + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S - - - CORTEX-M4 cpuport.c 1 - ../../libcpu/arm/cortex-m4/cpuport.c - - - context_rvds.S - 2 - ../../libcpu/arm/cortex-m4/context_rvds.S - - - backtrace.c - 1 - ../../libcpu/arm/common/backtrace.c - - - div0.c - 1 - ../../libcpu/arm/common/div0.c - - - showmem.c - 1 - ../../libcpu/arm/common/showmem.c + ..\..\libcpu\arm\cortex-m4\cpuport.c @@ -780,297 +460,751 @@ serial.c 1 - ../../components/drivers/serial/serial.c - - - completion.c - 1 - ../../components/drivers/src/completion.c + ..\..\components\drivers\serial\serial.c + + dataqueue.c 1 - ../../components/drivers/src/dataqueue.c + ..\..\components\drivers\src\dataqueue.c + + - pipe.c + completion.c 1 - ../../components/drivers/src/pipe.c + ..\..\components\drivers\src\completion.c + + ringbuffer.c 1 - ../../components/drivers/src/ringbuffer.c + ..\..\components\drivers\src\ringbuffer.c + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + + waitqueue.c 1 - ../../components/drivers/src/waitqueue.c + ..\..\components\drivers\src\waitqueue.c + + workqueue.c 1 - ../../components/drivers/src/workqueue.c + ..\..\components\drivers\src\workqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c - finsh + Drivers + + + drv_uart.c + 1 + board\drv_uart.c + + + + + clock_config.c + 1 + board\clock_config.c + + + + + fsl_phy.c + 1 + board\fsl_phy.c + + + + + led.c + 1 + board\led.c + + + + + drv_emac.c + 1 + board\drv_emac.c + + + + + board.c + 1 + board\board.c + + + + + fsl_clock.c + 1 + device\MK64F12\fsl_clock.c + + + + + fsl_ewm.c + 1 + device\MK64F12\fsl_ewm.c + + + + + fsl_ftm.c + 1 + device\MK64F12\fsl_ftm.c + + + + + fsl_lptmr.c + 1 + device\MK64F12\fsl_lptmr.c + + + + + fsl_rcm.c + 1 + device\MK64F12\fsl_rcm.c + + + + + fsl_i2c.c + 1 + device\MK64F12\fsl_i2c.c + + + + + fsl_sim.c + 1 + device\MK64F12\fsl_sim.c + + + + + fsl_dspi.c + 1 + device\MK64F12\fsl_dspi.c + + + + + fsl_flexbus.c + 1 + device\MK64F12\fsl_flexbus.c + + + + + fsl_vref.c + 1 + device\MK64F12\fsl_vref.c + + + + + fsl_uart_edma.c + 1 + device\MK64F12\fsl_uart_edma.c + + + + + fsl_sai_edma.c + 1 + device\MK64F12\fsl_sai_edma.c + + + + + fsl_adc16.c + 1 + device\MK64F12\fsl_adc16.c + + + + + fsl_flash.c + 1 + device\MK64F12\fsl_flash.c + + + + + fsl_llwu.c + 1 + device\MK64F12\fsl_llwu.c + + + + + system_MK64F12.c + 1 + device\system_MK64F12.c + + + + + fsl_uart.c + 1 + device\MK64F12\fsl_uart.c + + + + + fsl_cmp.c + 1 + device\MK64F12\fsl_cmp.c + + + + + fsl_smc.c + 1 + device\MK64F12\fsl_smc.c + + + + + fsl_rnga.c + 1 + device\MK64F12\fsl_rnga.c + + + + + fsl_cmt.c + 1 + device\MK64F12\fsl_cmt.c + + + + + fsl_gpio.c + 1 + device\MK64F12\fsl_gpio.c + + + + + fsl_dmamux.c + 1 + device\MK64F12\fsl_dmamux.c + + + + + fsl_rtc.c + 1 + device\MK64F12\fsl_rtc.c + + + + + startup_MK64F12.s + 2 + device\TOOLCHAIN_ARM_STD\startup_MK64F12.s + + + + + fsl_dac.c + 1 + device\MK64F12\fsl_dac.c + + + + + fsl_pdb.c + 1 + device\MK64F12\fsl_pdb.c + + + + + fsl_sysmpu.c + 1 + device\MK64F12\fsl_sysmpu.c + + + + + fsl_common.c + 1 + device\MK64F12\fsl_common.c + + + + + fsl_dspi_edma.c + 1 + device\MK64F12\fsl_dspi_edma.c + + + + + fsl_flexcan.c + 1 + device\MK64F12\fsl_flexcan.c + + + + + fsl_sdhc.c + 1 + device\MK64F12\fsl_sdhc.c + + + + + fsl_i2c_edma.c + 1 + device\MK64F12\fsl_i2c_edma.c + + + + + fsl_edma.c + 1 + device\MK64F12\fsl_edma.c + + + + + fsl_crc.c + 1 + device\MK64F12\fsl_crc.c + + + + + fsl_enet.c + 1 + device\MK64F12\fsl_enet.c + + + + + fsl_wdog.c + 1 + device\MK64F12\fsl_wdog.c + + + + + fsl_sai.c + 1 + device\MK64F12\fsl_sai.c + + + + + fsl_pit.c + 1 + device\MK64F12\fsl_pit.c + + + + + fsl_pmc.c + 1 + device\MK64F12\fsl_pmc.c + + + + + Finsh shell.c 1 - ../../components/finsh/shell.c + ..\..\components\finsh\shell.c + + - symbol.c + msh.c 1 - ../../components/finsh/symbol.c + ..\..\components\finsh\msh.c + + + + Kernel + - cmd.c + object.c 1 - ../../components/finsh/cmd.c + ..\..\src\object.c + + - finsh_compiler.c + idle.c 1 - ../../components/finsh/finsh_compiler.c + ..\..\src\idle.c + + - finsh_error.c + kservice.c 1 - ../../components/finsh/finsh_error.c + ..\..\src\kservice.c + + - finsh_heap.c + thread.c 1 - ../../components/finsh/finsh_heap.c + ..\..\src\thread.c + + - finsh_init.c + timer.c 1 - ../../components/finsh/finsh_init.c + ..\..\src\timer.c + + - finsh_node.c + mempool.c 1 - ../../components/finsh/finsh_node.c + ..\..\src\mempool.c + + - finsh_ops.c + device.c 1 - ../../components/finsh/finsh_ops.c + ..\..\src\device.c + + - finsh_parser.c + scheduler.c 1 - ../../components/finsh/finsh_parser.c + ..\..\src\scheduler.c + + - finsh_var.c + clock.c 1 - ../../components/finsh/finsh_var.c + ..\..\src\clock.c + + - finsh_vm.c + ipc.c 1 - ../../components/finsh/finsh_vm.c + ..\..\src\ipc.c + + - finsh_token.c + irq.c 1 - ../../components/finsh/finsh_token.c + ..\..\src\irq.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + mem.c + 1 + ..\..\src\mem.c lwIP - - sys_arch.c - 1 - ../../components/net/lwip-2.0.2/src/arch/sys_arch.c - - - api_lib.c - 1 - ../../components/net/lwip-2.0.2/src/api/api_lib.c - - - api_msg.c - 1 - ../../components/net/lwip-2.0.2/src/api/api_msg.c - - - err.c - 1 - ../../components/net/lwip-2.0.2/src/api/err.c - - - netbuf.c - 1 - ../../components/net/lwip-2.0.2/src/api/netbuf.c - netdb.c 1 - ../../components/net/lwip-2.0.2/src/api/netdb.c - - - netifapi.c - 1 - ../../components/net/lwip-2.0.2/src/api/netifapi.c - - - sockets.c - 1 - ../../components/net/lwip-2.0.2/src/api/sockets.c - - - tcpip.c - 1 - ../../components/net/lwip-2.0.2/src/api/tcpip.c - - - def.c - 1 - ../../components/net/lwip-2.0.2/src/core/def.c - - - dns.c - 1 - ../../components/net/lwip-2.0.2/src/core/dns.c - - - inet_chksum.c - 1 - ../../components/net/lwip-2.0.2/src/core/inet_chksum.c - - - init.c - 1 - ../../components/net/lwip-2.0.2/src/core/init.c + ..\..\components\net\lwip-2.0.3\src\api\netdb.c + + ip.c 1 - ../../components/net/lwip-2.0.2/src/core/ip.c - - - memp.c - 1 - ../../components/net/lwip-2.0.2/src/core/memp.c - - - netif.c - 1 - ../../components/net/lwip-2.0.2/src/core/netif.c - - - pbuf.c - 1 - ../../components/net/lwip-2.0.2/src/core/pbuf.c - - - raw.c - 1 - ../../components/net/lwip-2.0.2/src/core/raw.c - - - stats.c - 1 - ../../components/net/lwip-2.0.2/src/core/stats.c - - - sys.c - 1 - ../../components/net/lwip-2.0.2/src/core/sys.c - - - tcp.c - 1 - ../../components/net/lwip-2.0.2/src/core/tcp.c - - - tcp_in.c - 1 - ../../components/net/lwip-2.0.2/src/core/tcp_in.c - - - tcp_out.c - 1 - ../../components/net/lwip-2.0.2/src/core/tcp_out.c - - - timeouts.c - 1 - ../../components/net/lwip-2.0.2/src/core/timeouts.c - - - udp.c - 1 - ../../components/net/lwip-2.0.2/src/core/udp.c - - - ethernet.c - 1 - ../../components/net/lwip-2.0.2/src/netif/ethernet.c - - - ethernetif.c - 1 - ../../components/net/lwip-2.0.2/src/netif/ethernetif.c - - - lowpan6.c - 1 - ../../components/net/lwip-2.0.2/src/netif/lowpan6.c + ..\..\components\net\lwip-2.0.3\src\core\ip.c + + autoip.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/autoip.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\autoip.c + + - dhcp.c + ethernet.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/dhcp.c + ..\..\components\net\lwip-2.0.3\src\netif\ethernet.c + + - etharp.c + netif.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/etharp.c + ..\..\components\net\lwip-2.0.3\src\core\netif.c + + - icmp.c + sys.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/icmp.c + ..\..\components\net\lwip-2.0.3\src\core\sys.c + + - igmp.c + sockets.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/igmp.c + ..\..\components\net\lwip-2.0.3\src\api\sockets.c + + - ip4.c + netifapi.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4.c + ..\..\components\net\lwip-2.0.3\src\api\netifapi.c + + + + tcpip.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\tcpip.c + + + ip4_addr.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4_addr.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c + + + + dhcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\dhcp.c + + + + + init.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\init.c + + + + + ethernetif.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\ethernetif.c + + + + + etharp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\etharp.c + + + + + memp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\memp.c + + + + + ip4.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4.c + + + + + netbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\netbuf.c + + + + + raw.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\raw.c + + + ip4_frag.c 1 - ../../components/net/lwip-2.0.2/src/core/ipv4/ip4_frag.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_frag.c + + + + + tcp_out.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_out.c + + + + + lowpan6.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\lowpan6.c + + + + + icmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\icmp.c + + + + + api_lib.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_lib.c + + + + + inet_chksum.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\inet_chksum.c + + + + + stats.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\stats.c + + + + + err.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\err.c + + + + + tcp_in.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_in.c + + + + + dns.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\dns.c + + + + + sys_arch.c + 1 + ..\..\components\net\lwip-2.0.3\src\arch\sys_arch.c + + + + + timeouts.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\timeouts.c + + + + + igmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\igmp.c + + + + + udp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\udp.c + + + + + pbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\pbuf.c + + + + + def.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\def.c + + + + + api_msg.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_msg.c + + + + + tcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp.c -
diff --git a/bsp/frdm-k64f/project.uvprojx b/bsp/frdm-k64f/project.uvprojx index 085ba8f25e..1c6080bc2e 100644 --- a/bsp/frdm-k64f/project.uvprojx +++ b/bsp/frdm-k64f/project.uvprojx @@ -1,17 +1,12 @@ - 2.1 -
### uVision Project, (C) Keil Software
- RT-Thread 0x4 ARM-ADS - 5060750::V5.06 update 6 (build 750)::ARMCC - 0 MK64FN1M0xxx12 @@ -19,28 +14,28 @@ NXP.MK64F12_DFP.10.0.4 http://mcuxpresso.nxp.com/cmsis_pack/repo/ IRAM(0x20000000,0x00030000) IRAM2(0x1FFF0000,0x00010000) IROM(0x00000000,0x00100000) CPUTYPE("Cortex-M4") FPU2 CLOCK(12000000) ELITTLE - - + + UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0MK_P1M0 -FS00 -FL0100000 -FP0($$Device:MK64FN1M0xxx12$Flash\MK_P1M0.FLM)) 7425 $$Device:MK64FN1M0xxx12$Device\Include\MK64F12.h - - - - - - - - - + + + + + + + + + $$Device:MK64FN1M0xxx12$SVD\MK64F12.svd 0 0 - - - - - + + + + + 0 0 @@ -62,8 +57,8 @@ 0 0 - - + + 0 0 0 @@ -72,8 +67,8 @@ 0 0 - - + + 0 0 0 @@ -82,15 +77,15 @@ 0 0 - - + + 0 0 0 0 0 - + 0 @@ -104,17 +99,17 @@ 0 0 3 - - + + 1 SARMCM3.DLL - + DCM.DLL -pCM4 SARMCM3.DLL - + TCM.DLL -pCM4 @@ -138,11 +133,11 @@ 1 BIN\UL2CM3.DLL - - - - - + + + + + 0 @@ -175,7 +170,7 @@ 0 0 "Cortex-M4" - + 0 0 0 @@ -307,7 +302,7 @@ 0x30000 - + 1 @@ -324,7 +319,6 @@ 0 0 1 - 0 0 1 1 @@ -334,10 +328,10 @@ 0 0 - - CPU_MK64FN1M0VLL12 - - .;..\..\include;applications;.;board;device;device\MK64F12;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;..\..\components\finsh;..\..\components\libc\compilers\common;..\..\components\net\lwip-2.0.2\src;..\..\components\net\lwip-2.0.2\src\include;..\..\components\net\lwip-2.0.2\src\include\ipv4;..\..\components\net\lwip-2.0.2\src\arch\include;..\..\components\net\lwip-2.0.2\src\include\netif;..\..\components\net\lwip-2.0.2\src\include\posix + + CPU_MK64FN1M0VLL12, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;board;device;device\MK64F12;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\components\net\lwip-2.0.3\src;..\..\components\net\lwip-2.0.3\src\include;..\..\components\net\lwip-2.0.3\src\include\ipv4;..\..\components\net\lwip-2.0.3\src\arch\include;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\examples\utest\testcases\kernel @@ -352,10 +346,10 @@ 0 0 - - - - + + + + @@ -367,97 +361,17 @@ 0 0x00000000 0x1FFF0000 - - - - - - - + + + + + + + - - Kernel - - - clock.c - 1 - ..\..\src\clock.c - - - components.c - 1 - ..\..\src\components.c - - - cpu.c - 1 - ..\..\src\cpu.c - - - device.c - 1 - ..\..\src\device.c - - - idle.c - 1 - ..\..\src\idle.c - - - ipc.c - 1 - ..\..\src\ipc.c - - - irq.c - 1 - ..\..\src\irq.c - - - kservice.c - 1 - ..\..\src\kservice.c - - - mem.c - 1 - ..\..\src\mem.c - - - mempool.c - 1 - ..\..\src\mempool.c - - - object.c - 1 - ..\..\src\object.c - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - signal.c - 1 - ..\..\src\signal.c - - - thread.c - 1 - ..\..\src\thread.c - - - timer.c - 1 - ..\..\src\timer.c - - - Applications @@ -466,6 +380,8 @@ 1 applications\application.c + + startup.c 1 @@ -474,274 +390,42 @@ - Board + CPU - board.c + div0.c 1 - board\board.c - - - clock_config.c - 1 - board\clock_config.c - - - drv_uart.c - 1 - board\drv_uart.c - - - led.c - 1 - board\led.c - - - drv_emac.c - 1 - board\drv_emac.c - - - fsl_phy.c - 1 - board\fsl_phy.c + ..\..\libcpu\arm\common\div0.c - - - Device - fsl_adc16.c + showmem.c 1 - device\MK64F12\fsl_adc16.c - - - fsl_clock.c - 1 - device\MK64F12\fsl_clock.c - - - fsl_cmp.c - 1 - device\MK64F12\fsl_cmp.c - - - fsl_cmt.c - 1 - device\MK64F12\fsl_cmt.c - - - fsl_common.c - 1 - device\MK64F12\fsl_common.c - - - fsl_crc.c - 1 - device\MK64F12\fsl_crc.c - - - fsl_dac.c - 1 - device\MK64F12\fsl_dac.c - - - fsl_dmamux.c - 1 - device\MK64F12\fsl_dmamux.c - - - fsl_dspi.c - 1 - device\MK64F12\fsl_dspi.c - - - fsl_dspi_edma.c - 1 - device\MK64F12\fsl_dspi_edma.c - - - fsl_edma.c - 1 - device\MK64F12\fsl_edma.c - - - fsl_enet.c - 1 - device\MK64F12\fsl_enet.c - - - fsl_ewm.c - 1 - device\MK64F12\fsl_ewm.c - - - fsl_flash.c - 1 - device\MK64F12\fsl_flash.c - - - fsl_flexbus.c - 1 - device\MK64F12\fsl_flexbus.c - - - fsl_flexcan.c - 1 - device\MK64F12\fsl_flexcan.c - - - fsl_ftm.c - 1 - device\MK64F12\fsl_ftm.c - - - fsl_gpio.c - 1 - device\MK64F12\fsl_gpio.c - - - fsl_i2c.c - 1 - device\MK64F12\fsl_i2c.c - - - fsl_i2c_edma.c - 1 - device\MK64F12\fsl_i2c_edma.c - - - fsl_llwu.c - 1 - device\MK64F12\fsl_llwu.c - - - fsl_lptmr.c - 1 - device\MK64F12\fsl_lptmr.c - - - fsl_pdb.c - 1 - device\MK64F12\fsl_pdb.c - - - fsl_pit.c - 1 - device\MK64F12\fsl_pit.c - - - fsl_pmc.c - 1 - device\MK64F12\fsl_pmc.c - - - fsl_rcm.c - 1 - device\MK64F12\fsl_rcm.c - - - fsl_rnga.c - 1 - device\MK64F12\fsl_rnga.c - - - fsl_rtc.c - 1 - device\MK64F12\fsl_rtc.c - - - fsl_sai.c - 1 - device\MK64F12\fsl_sai.c - - - fsl_sai_edma.c - 1 - device\MK64F12\fsl_sai_edma.c - - - fsl_sdhc.c - 1 - device\MK64F12\fsl_sdhc.c - - - fsl_sim.c - 1 - device\MK64F12\fsl_sim.c - - - fsl_smc.c - 1 - device\MK64F12\fsl_smc.c - - - fsl_sysmpu.c - 1 - device\MK64F12\fsl_sysmpu.c - - - fsl_uart.c - 1 - device\MK64F12\fsl_uart.c - - - fsl_uart_edma.c - 1 - device\MK64F12\fsl_uart_edma.c - - - fsl_vref.c - 1 - device\MK64F12\fsl_vref.c - - - fsl_wdog.c - 1 - device\MK64F12\fsl_wdog.c - - - system_MK64F12.c - 1 - device\system_MK64F12.c - - - startup_MK64F12.s - 2 - device\TOOLCHAIN_ARM_STD\startup_MK64F12.s + ..\..\libcpu\arm\common\showmem.c - - - cpu backtrace.c 1 ..\..\libcpu\arm\common\backtrace.c - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c - + + context_rvds.S 2 ..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -751,311 +435,761 @@ 1 ..\..\components\drivers\serial\serial.c - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c - + + workqueue.c 1 ..\..\components\drivers\src\workqueue.c + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + - finsh + Drivers + + + drv_uart.c + 1 + board\drv_uart.c + + + + + clock_config.c + 1 + board\clock_config.c + + + + + fsl_phy.c + 1 + board\fsl_phy.c + + + + + led.c + 1 + board\led.c + + + + + drv_emac.c + 1 + board\drv_emac.c + + + + + board.c + 1 + board\board.c + + + + + fsl_lptmr.c + 1 + device\MK64F12\fsl_lptmr.c + + + + + fsl_common.c + 1 + device\MK64F12\fsl_common.c + + + + + fsl_flexbus.c + 1 + device\MK64F12\fsl_flexbus.c + + + + + fsl_pit.c + 1 + device\MK64F12\fsl_pit.c + + + + + fsl_dmamux.c + 1 + device\MK64F12\fsl_dmamux.c + + + + + fsl_i2c_edma.c + 1 + device\MK64F12\fsl_i2c_edma.c + + + + + fsl_sysmpu.c + 1 + device\MK64F12\fsl_sysmpu.c + + + + + fsl_ewm.c + 1 + device\MK64F12\fsl_ewm.c + + + + + fsl_rcm.c + 1 + device\MK64F12\fsl_rcm.c + + + + + system_MK64F12.c + 1 + device\system_MK64F12.c + + + + + fsl_sai_edma.c + 1 + device\MK64F12\fsl_sai_edma.c + + + + + fsl_vref.c + 1 + device\MK64F12\fsl_vref.c + + + + + fsl_dspi_edma.c + 1 + device\MK64F12\fsl_dspi_edma.c + + + + + fsl_wdog.c + 1 + device\MK64F12\fsl_wdog.c + + + + + fsl_cmp.c + 1 + device\MK64F12\fsl_cmp.c + + + + + fsl_rtc.c + 1 + device\MK64F12\fsl_rtc.c + + + + + fsl_dspi.c + 1 + device\MK64F12\fsl_dspi.c + + + + + fsl_dac.c + 1 + device\MK64F12\fsl_dac.c + + + + + fsl_flexcan.c + 1 + device\MK64F12\fsl_flexcan.c + + + + + fsl_adc16.c + 1 + device\MK64F12\fsl_adc16.c + + + + + fsl_llwu.c + 1 + device\MK64F12\fsl_llwu.c + + + + + fsl_smc.c + 1 + device\MK64F12\fsl_smc.c + + + + + fsl_cmt.c + 1 + device\MK64F12\fsl_cmt.c + + + + + fsl_ftm.c + 1 + device\MK64F12\fsl_ftm.c + + + + + fsl_crc.c + 1 + device\MK64F12\fsl_crc.c + + + + + fsl_pdb.c + 1 + device\MK64F12\fsl_pdb.c + + + + + fsl_uart_edma.c + 1 + device\MK64F12\fsl_uart_edma.c + + + + + startup_MK64F12.s + 2 + device\TOOLCHAIN_ARM_STD\startup_MK64F12.s + + + + + fsl_flash.c + 1 + device\MK64F12\fsl_flash.c + + + + + fsl_uart.c + 1 + device\MK64F12\fsl_uart.c + + + + + fsl_gpio.c + 1 + device\MK64F12\fsl_gpio.c + + + + + fsl_pmc.c + 1 + device\MK64F12\fsl_pmc.c + + + + + fsl_edma.c + 1 + device\MK64F12\fsl_edma.c + + + + + fsl_sdhc.c + 1 + device\MK64F12\fsl_sdhc.c + + + + + fsl_i2c.c + 1 + device\MK64F12\fsl_i2c.c + + + + + fsl_rnga.c + 1 + device\MK64F12\fsl_rnga.c + + + + + fsl_sim.c + 1 + device\MK64F12\fsl_sim.c + + + + + fsl_sai.c + 1 + device\MK64F12\fsl_sai.c + + + + + fsl_clock.c + 1 + device\MK64F12\fsl_clock.c + + + + + fsl_enet.c + 1 + device\MK64F12\fsl_enet.c + + + + + Finsh shell.c 1 ..\..\components\finsh\shell.c + + - cmd.c + msh.c 1 - ..\..\components\finsh\cmd.c + ..\..\components\finsh\msh.c + + + + Kernel + - finsh_compiler.c + kservice.c 1 - ..\..\components\finsh\finsh_compiler.c + ..\..\src\kservice.c + + - finsh_error.c + irq.c 1 - ..\..\components\finsh\finsh_error.c + ..\..\src\irq.c + + - finsh_heap.c + timer.c 1 - ..\..\components\finsh\finsh_heap.c + ..\..\src\timer.c + + - finsh_init.c + mem.c 1 - ..\..\components\finsh\finsh_init.c + ..\..\src\mem.c + + - finsh_node.c + clock.c 1 - ..\..\components\finsh\finsh_node.c + ..\..\src\clock.c + + - finsh_ops.c + ipc.c 1 - ..\..\components\finsh\finsh_ops.c + ..\..\src\ipc.c + + - finsh_parser.c + object.c 1 - ..\..\components\finsh\finsh_parser.c + ..\..\src\object.c + + - finsh_var.c + idle.c 1 - ..\..\components\finsh\finsh_var.c + ..\..\src\idle.c + + - finsh_vm.c + mempool.c 1 - ..\..\components\finsh\finsh_vm.c + ..\..\src\mempool.c + + - finsh_token.c + device.c 1 - ..\..\components\finsh\finsh_token.c + ..\..\src\device.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c lwIP - - sys_arch.c - 1 - ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c - - - api_lib.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_lib.c - - - api_msg.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - - err.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\err.c - - - netbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netbuf.c - netdb.c 1 - ..\..\components\net\lwip-2.0.2\src\api\netdb.c - - - netifapi.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netifapi.c - - - sockets.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\sockets.c - - - tcpip.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\tcpip.c - - - def.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\def.c - - - dns.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\dns.c - - - inet_chksum.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c - - - init.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\init.c + ..\..\components\net\lwip-2.0.3\src\api\netdb.c + + ip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ip.c - - - memp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\memp.c - - - netif.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\netif.c - - - pbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\pbuf.c - - - raw.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\raw.c - - - stats.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\stats.c - - - sys.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\sys.c - - - tcp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp.c - - - tcp_in.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c - - - tcp_out.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c - - - timeouts.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\timeouts.c - - - udp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\udp.c - - - ethernet.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c - - - ethernetif.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c - - - lowpan6.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c + ..\..\components\net\lwip-2.0.3\src\core\ip.c + + autoip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\autoip.c + + - dhcp.c + ethernet.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c + ..\..\components\net\lwip-2.0.3\src\netif\ethernet.c + + - etharp.c + netif.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c + ..\..\components\net\lwip-2.0.3\src\core\netif.c + + - icmp.c + sys.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c + ..\..\components\net\lwip-2.0.3\src\core\sys.c + + - igmp.c + sockets.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c + ..\..\components\net\lwip-2.0.3\src\api\sockets.c + + - ip4.c + netifapi.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c + ..\..\components\net\lwip-2.0.3\src\api\netifapi.c + + + + tcpip.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\tcpip.c + + + ip4_addr.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c + + + + dhcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\dhcp.c + + + + + init.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\init.c + + + + + ethernetif.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\ethernetif.c + + + + + etharp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\etharp.c + + + + + memp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\memp.c + + + + + ip4.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4.c + + + + + netbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\netbuf.c + + + + + raw.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\raw.c + + + ip4_frag.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_frag.c + + + + + tcp_out.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_out.c + + + + + lowpan6.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\lowpan6.c + + + + + icmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\icmp.c + + + + + api_lib.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_lib.c + + + + + inet_chksum.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\inet_chksum.c + + + + + stats.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\stats.c + + + + + err.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\err.c + + + + + tcp_in.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_in.c + + + + + dns.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\dns.c + + + + + sys_arch.c + 1 + ..\..\components\net\lwip-2.0.3\src\arch\sys_arch.c + + + + + timeouts.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\timeouts.c + + + + + igmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\igmp.c + + + + + udp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\udp.c + + + + + pbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\pbuf.c + + + + + def.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\def.c + + + + + api_msg.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_msg.c + + + + + tcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp.c - - - ::CMSIS - - + - + - + - + -
diff --git a/bsp/ft2004/.config b/bsp/ft2004/.config index e3cd660827..b5f4ab9d4b 100644 --- a/bsp/ft2004/.config +++ b/bsp/ft2004/.config @@ -480,6 +480,7 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -504,17 +505,24 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -527,11 +535,11 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -575,12 +583,20 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -590,6 +606,14 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # 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_5_AUX 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,7 +634,6 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -627,7 +650,6 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -635,6 +657,7 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # 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 # @@ -711,6 +734,7 @@ CONFIG_ULOG_BACKEND_USING_CONSOLE=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/ft2004/rtconfig.h b/bsp/ft2004/rtconfig.h index 10289ec6fe..7ab29eca46 100644 --- a/bsp/ft2004/rtconfig.h +++ b/bsp/ft2004/rtconfig.h @@ -272,14 +272,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -288,10 +291,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32/gd32407v-start/.config b/bsp/gd32/gd32407v-start/.config index ad1c9f42aa..8ca5a18bf9 100644 --- a/bsp/gd32/gd32407v-start/.config +++ b/bsp/gd32/gd32407v-start/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32/gd32407v-start/project.uvproj b/bsp/gd32/gd32407v-start/project.uvproj index 8d46275e82..8b9237df31 100644 --- a/bsp/gd32/gd32407v-start/project.uvproj +++ b/bsp/gd32/gd32407v-start/project.uvproj @@ -425,13 +425,6 @@ CPU - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - div0.c @@ -446,6 +439,13 @@ ..\..\..\libcpu\arm\common\showmem.c + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + cpuport.c @@ -477,6 +477,27 @@ ..\..\..\components\drivers\serial\serial.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + workqueue.c @@ -491,13 +512,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - dataqueue.c @@ -505,20 +519,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - completion.c @@ -531,16 +531,16 @@ Drivers - startup_gd32f4xx.s - 2 - ..\libraries\GD32F4xx_HAL\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s + board.c + 1 + board\board.c - board.c - 1 - board\board.c + startup_gd32f4xx.s + 2 + ..\libraries\GD32F4xx_HAL\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s @@ -591,6 +591,13 @@ ..\..\..\src\thread.c + + + mem.c + 1 + ..\..\..\src\mem.c + + irq.c @@ -598,55 +605,6 @@ ..\..\..\src\irq.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - device.c - 1 - ..\..\..\src\device.c - - object.c @@ -654,6 +612,13 @@ ..\..\..\src\object.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + kservice.c @@ -661,6 +626,27 @@ ..\..\..\src\kservice.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + components.c @@ -670,9 +656,23 @@ - mem.c + scheduler.c 1 - ..\..\..\src\mem.c + ..\..\..\src\scheduler.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c diff --git a/bsp/gd32/gd32407v-start/project.uvprojx b/bsp/gd32/gd32407v-start/project.uvprojx index edfcc3a20d..c1d5323433 100644 --- a/bsp/gd32/gd32407v-start/project.uvprojx +++ b/bsp/gd32/gd32407v-start/project.uvprojx @@ -411,16 +411,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -442,30 +442,9 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\completion.c @@ -477,9 +456,16 @@ - completion.c + workqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -489,21 +475,35 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + Drivers - startup_gd32f4xx.s - 2 - ..\libraries\GD32F4xx_HAL\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s + board.c + 1 + board\board.c - board.c - 1 - board\board.c + startup_gd32f4xx.s + 2 + ..\libraries\GD32F4xx_HAL\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s @@ -549,30 +549,9 @@ Kernel - object.c + irq.c 1 - ..\..\..\src\object.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\irq.c @@ -582,6 +561,13 @@ ..\..\..\src\timer.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + clock.c @@ -589,41 +575,6 @@ ..\..\..\src\clock.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - thread.c @@ -631,6 +582,27 @@ ..\..\..\src\thread.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + components.c @@ -638,6 +610,34 @@ ..\..\..\src\components.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + libc diff --git a/bsp/gd32/gd32407v-start/rtconfig.h b/bsp/gd32/gd32407v-start/rtconfig.h index 149356c221..95420877cf 100644 --- a/bsp/gd32/gd32407v-start/rtconfig.h +++ b/bsp/gd32/gd32407v-start/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32105c-eval/.config b/bsp/gd32105c-eval/.config index e2256582b2..6c64b15f50 100644 --- a/bsp/gd32105c-eval/.config +++ b/bsp/gd32105c-eval/.config @@ -367,6 +367,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -391,17 +392,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -414,11 +422,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -462,12 +470,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -477,6 +493,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -496,7 +520,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -513,7 +536,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -521,6 +543,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -597,6 +620,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32105c-eval/project.uvprojx b/bsp/gd32105c-eval/project.uvprojx index e8cb65b594..d5c0073339 100644 --- a/bsp/gd32105c-eval/project.uvprojx +++ b/bsp/gd32105c-eval/project.uvprojx @@ -437,16 +437,16 @@ - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m3\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m3\context_rvds.S - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m3\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m3\cpuport.c @@ -522,13 +522,6 @@ ..\..\components\drivers\src\waitqueue.c - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - completion.c @@ -564,6 +557,13 @@ ..\..\components\drivers\src\ringbuffer.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + @@ -721,6 +721,13 @@ ..\..\src\kservice.c + + + mempool.c + 1 + ..\..\src\mempool.c + + device.c @@ -728,20 +735,6 @@ ..\..\src\device.c - - - idle.c - 1 - ..\..\src\idle.c - - - - - clock.c - 1 - ..\..\src\clock.c - - timer.c @@ -751,9 +744,9 @@ - object.c + idle.c 1 - ..\..\src\object.c + ..\..\src\idle.c @@ -765,23 +758,9 @@ - scheduler.c + clock.c 1 - ..\..\src\scheduler.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\src\ipc.c + ..\..\src\clock.c @@ -791,6 +770,20 @@ ..\..\src\components.c + + + object.c + 1 + ..\..\src\object.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + irq.c @@ -800,9 +793,16 @@ - mempool.c + mem.c 1 - ..\..\src\mempool.c + ..\..\src\mem.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c @@ -820,93 +820,9 @@ Libraries - gd32f10x_dbg.c + gd32f10x_i2c.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dbg.c - - - - - gd32f10x_misc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c - - - - - gd32f10x_rtc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rtc.c - - - - - gd32f10x_adc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_adc.c - - - - - gd32f10x_fmc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fmc.c - - - - - gd32f10x_rcu.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c - - - - - gd32f10x_enet.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_enet.c - - - - - system_gd32f10x.c - 1 - Libraries\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c - - - - - gd32f10x_fwdgt.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fwdgt.c - - - - - gd32f10x_wwdgt.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_wwdgt.c - - - - - gd32f10x_exti.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c - - - - - gd32f10x_gpio.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c - - - - - gd32f10x_crc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_crc.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_i2c.c @@ -918,58 +834,9 @@ - gd32f10x_pmu.c + gd32f10x_rtc.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_pmu.c - - - - - gd32f10x_usart.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c - - - - - gd32f10x_i2c.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_i2c.c - - - - - gd32f10x_dac.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dac.c - - - - - gd32f10x_spi.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c - - - - - startup_gd32f10x_cl.s - 2 - Libraries\CMSIS\GD\GD32F10x\Source\ARM\startup_gd32f10x_cl.s - - - - - gd32f10x_dma.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dma.c - - - - - gd32f10x_can.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_can.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rtc.c @@ -981,9 +848,16 @@ - gd32f10x_sdio.c + gd32f10x_rcu.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_sdio.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c + + + + + gd32f10x_can.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_can.c @@ -993,6 +867,132 @@ Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_timer.c + + + gd32f10x_spi.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c + + + + + gd32f10x_pmu.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_pmu.c + + + + + gd32f10x_crc.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_crc.c + + + + + system_gd32f10x.c + 1 + Libraries\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c + + + + + gd32f10x_usart.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c + + + + + gd32f10x_dac.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dac.c + + + + + gd32f10x_gpio.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c + + + + + gd32f10x_adc.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_adc.c + + + + + gd32f10x_sdio.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_sdio.c + + + + + gd32f10x_dma.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dma.c + + + + + gd32f10x_exti.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c + + + + + gd32f10x_dbg.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dbg.c + + + + + startup_gd32f10x_cl.s + 2 + Libraries\CMSIS\GD\GD32F10x\Source\ARM\startup_gd32f10x_cl.s + + + + + gd32f10x_enet.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_enet.c + + + + + gd32f10x_wwdgt.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_wwdgt.c + + + + + gd32f10x_fmc.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fmc.c + + + + + gd32f10x_misc.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_misc.c + + + + + gd32f10x_fwdgt.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fwdgt.c + + diff --git a/bsp/gd32105c-eval/rtconfig.h b/bsp/gd32105c-eval/rtconfig.h index 150961d99f..1729294a63 100644 --- a/bsp/gd32105c-eval/rtconfig.h +++ b/bsp/gd32105c-eval/rtconfig.h @@ -192,14 +192,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -208,10 +211,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32107c-eval/.config b/bsp/gd32107c-eval/.config index 876588f2da..71fd0bc301 100644 --- a/bsp/gd32107c-eval/.config +++ b/bsp/gd32107c-eval/.config @@ -367,6 +367,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -391,17 +392,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -414,11 +422,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -462,12 +470,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -477,6 +493,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -496,7 +520,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -513,7 +536,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -521,6 +543,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -597,6 +620,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32107c-eval/project.uvprojx b/bsp/gd32107c-eval/project.uvprojx index 0ad2a15964..67cb0c59fd 100644 --- a/bsp/gd32107c-eval/project.uvprojx +++ b/bsp/gd32107c-eval/project.uvprojx @@ -416,9 +416,9 @@ CPU - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c @@ -430,16 +430,9 @@ - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c - - - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m3\context_rvds.S + ..\..\libcpu\arm\common\div0.c @@ -449,6 +442,13 @@ ..\..\libcpu\arm\cortex-m3\cpuport.c + + + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m3\context_rvds.S + + DeviceDrivers @@ -517,9 +517,16 @@ - workqueue.c + pipe.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c @@ -536,13 +543,6 @@ ..\..\components\drivers\src\ringbuffer.c - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - dataqueue.c @@ -559,9 +559,9 @@ - waitqueue.c + workqueue.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\workqueue.c @@ -661,16 +661,16 @@ - dfs_elm.c + ff.c 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + ..\..\components\dfs\filesystems\elmfat\ff.c - ff.c + dfs_elm.c 1 - ..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c @@ -716,16 +716,9 @@ Kernel - ipc.c + timer.c 1 - ..\..\src\ipc.c - - - - - thread.c - 1 - ..\..\src\thread.c + ..\..\src\timer.c @@ -735,27 +728,6 @@ ..\..\src\device.c - - - clock.c - 1 - ..\..\src\clock.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - mem.c - 1 - ..\..\src\mem.c - - scheduler.c @@ -765,16 +737,16 @@ - timer.c + ipc.c 1 - ..\..\src\timer.c + ..\..\src\ipc.c - mempool.c + mem.c 1 - ..\..\src\mempool.c + ..\..\src\mem.c @@ -793,9 +765,9 @@ - components.c + thread.c 1 - ..\..\src\components.c + ..\..\src\thread.c @@ -805,6 +777,34 @@ ..\..\src\kservice.c + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + clock.c + 1 + ..\..\src\clock.c + + libc @@ -820,30 +820,16 @@ Libraries - startup_gd32f10x_cl.s - 2 - Libraries\CMSIS\GD\GD32F10x\Source\ARM\startup_gd32f10x_cl.s + gd32f10x_enet.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_enet.c - gd32f10x_can.c + gd32f10x_crc.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_can.c - - - - - gd32f10x_sdio.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_sdio.c - - - - - gd32f10x_rcu.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_crc.c @@ -855,16 +841,51 @@ - gd32f10x_gpio.c + gd32f10x_fwdgt.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fwdgt.c - gd32f10x_exti.c + gd32f10x_dbg.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dbg.c + + + + + gd32f10x_bkp.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_bkp.c + + + + + gd32f10x_pmu.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_pmu.c + + + + + gd32f10x_dma.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dma.c + + + + + gd32f10x_usart.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c + + + + + gd32f10x_exmc.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exmc.c @@ -883,58 +904,37 @@ - system_gd32f10x.c - 1 - Libraries\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c + startup_gd32f10x_cl.s + 2 + Libraries\CMSIS\GD\GD32F10x\Source\ARM\startup_gd32f10x_cl.s - gd32f10x_pmu.c + gd32f10x_sdio.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_pmu.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_sdio.c - gd32f10x_exmc.c + gd32f10x_spi.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exmc.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c - gd32f10x_adc.c + gd32f10x_can.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_adc.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_can.c - gd32f10x_dbg.c + gd32f10x_rcu.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dbg.c - - - - - gd32f10x_usart.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_usart.c - - - - - gd32f10x_crc.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_crc.c - - - - - gd32f10x_enet.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_enet.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_rcu.c @@ -946,16 +946,23 @@ - gd32f10x_dma.c + gd32f10x_adc.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_dma.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_adc.c - gd32f10x_fwdgt.c + system_gd32f10x.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_fwdgt.c + Libraries\CMSIS\GD\GD32F10x\Source\system_gd32f10x.c + + + + + gd32f10x_exti.c + 1 + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_exti.c @@ -967,9 +974,9 @@ - gd32f10x_bkp.c + gd32f10x_wwdgt.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_bkp.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_wwdgt.c @@ -981,16 +988,9 @@ - gd32f10x_wwdgt.c + gd32f10x_gpio.c 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_wwdgt.c - - - - - gd32f10x_spi.c - 1 - Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_spi.c + Libraries\GD32F10x_standard_peripheral\Source\gd32f10x_gpio.c diff --git a/bsp/gd32107c-eval/rtconfig.h b/bsp/gd32107c-eval/rtconfig.h index b217e1d046..aea7b4f917 100644 --- a/bsp/gd32107c-eval/rtconfig.h +++ b/bsp/gd32107c-eval/rtconfig.h @@ -192,14 +192,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -208,10 +211,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32303e-eval/.config b/bsp/gd32303e-eval/.config index db6d844dab..a215db08b2 100644 --- a/bsp/gd32303e-eval/.config +++ b/bsp/gd32303e-eval/.config @@ -369,6 +369,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -393,17 +394,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -416,11 +424,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -464,12 +472,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -479,6 +495,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -498,7 +522,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -515,7 +538,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -523,6 +545,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -599,6 +622,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32303e-eval/project.uvprojx b/bsp/gd32303e-eval/project.uvprojx index 9496a31ced..a19be5a19d 100644 --- a/bsp/gd32303e-eval/project.uvprojx +++ b/bsp/gd32303e-eval/project.uvprojx @@ -386,6 +386,13 @@ CPU + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -402,9 +409,9 @@ - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -414,13 +421,6 @@ ..\..\libcpu\arm\cortex-m4\cpuport.c - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S - - DeviceDrivers @@ -496,16 +496,16 @@ - ringblk_buf.c + ringbuffer.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\ringbuffer.c - ringbuffer.c + ringblk_buf.c 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\ringblk_buf.c @@ -626,9 +626,9 @@ - ff.c + dfs_elm.c 1 - ..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c @@ -640,9 +640,9 @@ - dfs_elm.c + ff.c 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + ..\..\components\dfs\filesystems\elmfat\ff.c @@ -681,37 +681,9 @@ Kernel - idle.c + device.c 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - mempool.c - 1 - ..\..\src\mempool.c + ..\..\src\device.c @@ -723,23 +695,9 @@ - device.c + mempool.c 1 - ..\..\src\device.c - - - - - clock.c - 1 - ..\..\src\clock.c - - - - - timer.c - 1 - ..\..\src\timer.c + ..\..\src\mempool.c @@ -751,9 +709,16 @@ - components.c + clock.c 1 - ..\..\src\components.c + ..\..\src\clock.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c @@ -763,6 +728,34 @@ ..\..\src\object.c + + + irq.c + 1 + ..\..\src\irq.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + idle.c + 1 + ..\..\src\idle.c + + kservice.c @@ -770,6 +763,13 @@ ..\..\src\kservice.c + + + ipc.c + 1 + ..\..\src\ipc.c + + libc @@ -780,6 +780,13 @@ ..\..\components\libc\compilers\armlibc\mem_std.c + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + libc.c @@ -796,9 +803,9 @@ - stdio.c + time.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c + ..\..\components\libc\compilers\common\time.c @@ -808,21 +815,49 @@ ..\..\components\libc\compilers\common\stdlib.c - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c - - Libraries - gd32f30x_usart.c + gd32f30x_pmu.c 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_pmu.c + + + + + gd32f30x_gpio.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c + + + + + gd32f30x_rcu.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c + + + + + gd32f30x_rtc.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_rtc.c + + + + + gd32f30x_bkp.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_bkp.c + + + + + gd32f30x_i2c.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_i2c.c @@ -832,6 +867,20 @@ Libraries\CMSIS\GD\GD32F30x\Source\system_gd32f30x.c + + + startup_gd32f30x_hd.s + 2 + Libraries\CMSIS\GD\GD32F30x\Source\ARM\startup_gd32f30x_hd.s + + + + + gd32f30x_crc.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_crc.c + + gd32f30x_enet.c @@ -846,69 +895,6 @@ Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_fmc.c - - - gd32f30x_gpio.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_gpio.c - - - - - gd32f30x_misc.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c - - - - - gd32f30x_crc.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_crc.c - - - - - gd32f30x_pmu.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_pmu.c - - - - - gd32f30x_wwdgt.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_wwdgt.c - - - - - gd32f30x_dac.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dac.c - - - - - gd32f30x_rtc.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_rtc.c - - - - - gd32f30x_rcu.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_rcu.c - - - - - gd32f30x_exmc.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_exmc.c - - gd32f30x_can.c @@ -923,20 +909,6 @@ Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_exti.c - - - startup_gd32f30x_hd.s - 2 - Libraries\CMSIS\GD\GD32F30x\Source\ARM\startup_gd32f30x_hd.s - - - - - gd32f30x_dma.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dma.c - - gd32f30x_adc.c @@ -946,23 +918,9 @@ - gd32f30x_ctc.c + gd32f30x_wwdgt.c 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_ctc.c - - - - - gd32f30x_spi.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_spi.c - - - - - gd32f30x_dbg.c - 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dbg.c + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_wwdgt.c @@ -974,16 +932,23 @@ - gd32f30x_sdio.c + gd32f30x_exmc.c 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_sdio.c + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_exmc.c - gd32f30x_bkp.c + gd32f30x_usart.c 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_bkp.c + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_usart.c + + + + + gd32f30x_dma.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dma.c @@ -995,9 +960,44 @@ - gd32f30x_i2c.c + gd32f30x_dbg.c 1 - Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_i2c.c + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dbg.c + + + + + gd32f30x_sdio.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_sdio.c + + + + + gd32f30x_ctc.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_ctc.c + + + + + gd32f30x_misc.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_misc.c + + + + + gd32f30x_dac.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_dac.c + + + + + gd32f30x_spi.c + 1 + Libraries\GD32F30x_standard_peripheral\Source\gd32f30x_spi.c diff --git a/bsp/gd32303e-eval/rtconfig.h b/bsp/gd32303e-eval/rtconfig.h index 7a47c83787..d93b095318 100644 --- a/bsp/gd32303e-eval/rtconfig.h +++ b/bsp/gd32303e-eval/rtconfig.h @@ -192,14 +192,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -208,10 +211,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32350r-eval/.config b/bsp/gd32350r-eval/.config index 5fc5267988..0b9597fce4 100644 --- a/bsp/gd32350r-eval/.config +++ b/bsp/gd32350r-eval/.config @@ -323,6 +323,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -347,17 +348,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -370,11 +378,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -418,12 +426,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -433,6 +449,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -452,7 +476,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -469,7 +492,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -477,6 +499,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -553,6 +576,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32350r-eval/project.uvprojx b/bsp/gd32350r-eval/project.uvprojx index 7737044e25..f7e863b016 100644 --- a/bsp/gd32350r-eval/project.uvprojx +++ b/bsp/gd32350r-eval/project.uvprojx @@ -394,13 +394,6 @@ ..\..\libcpu\arm\common\showmem.c - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c - - div0.c @@ -410,9 +403,9 @@ - cpuport.c + backtrace.c 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\libcpu\arm\common\backtrace.c @@ -422,6 +415,13 @@ ..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -441,30 +441,9 @@ - ringbuffer.c + ringblk_buf.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\ringblk_buf.c @@ -474,6 +453,13 @@ ..\..\components\drivers\src\workqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + dataqueue.c @@ -483,9 +469,23 @@ - ringblk_buf.c + completion.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\completion.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c @@ -539,6 +539,41 @@ Kernel + + + components.c + 1 + ..\..\src\components.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + irq.c + 1 + ..\..\src\irq.c + + ipc.c @@ -553,13 +588,6 @@ ..\..\src\device.c - - - kservice.c - 1 - ..\..\src\kservice.c - - object.c @@ -567,48 +595,6 @@ ..\..\src\object.c - - - clock.c - 1 - ..\..\src\clock.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - mem.c - 1 - ..\..\src\mem.c - - mempool.c @@ -618,105 +604,35 @@ - scheduler.c + clock.c 1 - ..\..\src\scheduler.c + ..\..\src\clock.c - irq.c + kservice.c 1 - ..\..\src\irq.c + ..\..\src\kservice.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + mem.c + 1 + ..\..\src\mem.c Libraries - - - gd32f3x0_wwdgt.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_wwdgt.c - - - - - gd32f3x0_i2c.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_i2c.c - - - - - gd32f3x0_crc.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_crc.c - - - - - gd32f3x0_exti.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_exti.c - - - - - gd32f3x0_rcu.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_rcu.c - - - - - gd32f3x0_cmp.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_cmp.c - - - - - gd32f3x0_usart.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_usart.c - - - - - gd32f3x0_fwdgt.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_fwdgt.c - - - - - gd32f3x0_tsi.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_tsi.c - - - - - gd32f3x0_pmu.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_pmu.c - - - - - gd32f3x0_timer.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_timer.c - - - - - gd32f3x0_cec.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_cec.c - - gd32f3x0_dac.c @@ -724,13 +640,6 @@ Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_dac.c - - - gd32f3x0_adc.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_adc.c - - gd32f3x0_dbg.c @@ -740,58 +649,16 @@ - gd32f3x0_rtc.c + gd32f3x0_rcu.c 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_rtc.c + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_rcu.c - startup_gd32f3x0.s - 2 - Libraries\CMSIS\GD\GD32F3x0\Source\ARM\startup_gd32f3x0.s - - - - - gd32f3x0_spi.c + gd32f3x0_i2c.c 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_spi.c - - - - - gd32f3x0_fmc.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_fmc.c - - - - - gd32f3x0_ctc.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_ctc.c - - - - - gd32f3x0_gpio.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_gpio.c - - - - - system_gd32f3x0.c - 1 - Libraries\CMSIS\GD\GD32F3x0\Source\system_gd32f3x0.c - - - - - gd32f3x0_misc.c - 1 - Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_misc.c + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_i2c.c @@ -801,6 +668,34 @@ Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_syscfg.c + + + system_gd32f3x0.c + 1 + Libraries\CMSIS\GD\GD32F3x0\Source\system_gd32f3x0.c + + + + + gd32f3x0_tsi.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_tsi.c + + + + + gd32f3x0_cec.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_cec.c + + + + + gd32f3x0_wwdgt.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_wwdgt.c + + gd32f3x0_dma.c @@ -808,6 +703,111 @@ Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_dma.c + + + gd32f3x0_fmc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_fmc.c + + + + + gd32f3x0_pmu.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_pmu.c + + + + + gd32f3x0_spi.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_spi.c + + + + + gd32f3x0_ctc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_ctc.c + + + + + gd32f3x0_adc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_adc.c + + + + + gd32f3x0_usart.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_usart.c + + + + + gd32f3x0_gpio.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_gpio.c + + + + + gd32f3x0_rtc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_rtc.c + + + + + gd32f3x0_exti.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_exti.c + + + + + gd32f3x0_misc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_misc.c + + + + + gd32f3x0_timer.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_timer.c + + + + + gd32f3x0_fwdgt.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_fwdgt.c + + + + + gd32f3x0_cmp.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_cmp.c + + + + + gd32f3x0_crc.c + 1 + Libraries\GD32F3x0_standard_peripheral\Source\gd32f3x0_crc.c + + + + + startup_gd32f3x0.s + 2 + Libraries\CMSIS\GD\GD32F3x0\Source\ARM\startup_gd32f3x0.s + + diff --git a/bsp/gd32350r-eval/rtconfig.h b/bsp/gd32350r-eval/rtconfig.h index 227ec679f1..aebca10c7d 100644 --- a/bsp/gd32350r-eval/rtconfig.h +++ b/bsp/gd32350r-eval/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32450z-eval/.config b/bsp/gd32450z-eval/.config index 0c574e99c0..adb49a176c 100644 --- a/bsp/gd32450z-eval/.config +++ b/bsp/gd32450z-eval/.config @@ -438,6 +438,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -462,17 +463,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -485,11 +493,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -533,12 +541,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -548,6 +564,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -567,7 +591,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -584,7 +607,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -592,6 +614,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -668,6 +691,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32450z-eval/project.uvproj b/bsp/gd32450z-eval/project.uvproj index b6dd4da246..8a238c0c41 100644 --- a/bsp/gd32450z-eval/project.uvproj +++ b/bsp/gd32450z-eval/project.uvproj @@ -477,13 +477,6 @@ ..\..\components\drivers\serial\serial.c - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c - - ringblk_buf.c @@ -491,27 +484,6 @@ ..\..\components\drivers\src\ringblk_buf.c - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - dataqueue.c @@ -519,6 +491,20 @@ ..\..\components\drivers\src\dataqueue.c + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + completion.c @@ -526,6 +512,20 @@ ..\..\components\drivers\src\completion.c + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + Drivers @@ -673,23 +673,9 @@ Kernel - ipc.c + mempool.c 1 - ..\..\src\ipc.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - thread.c - 1 - ..\..\src\thread.c + ..\..\src\mempool.c @@ -699,6 +685,20 @@ ..\..\src\scheduler.c + + + mem.c + 1 + ..\..\src\mem.c + + + + + object.c + 1 + ..\..\src\object.c + + components.c @@ -706,6 +706,48 @@ ..\..\src\components.c + + + irq.c + 1 + ..\..\src\irq.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + clock.c + 1 + ..\..\src\clock.c + + idle.c @@ -720,48 +762,6 @@ ..\..\src\device.c - - - object.c - 1 - ..\..\src\object.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - clock.c - 1 - ..\..\src\clock.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - irq.c - 1 - ..\..\src\irq.c - - libc @@ -779,13 +779,6 @@ ..\..\components\libc\compilers\armlibc\libc.c - - - syscalls.c - 1 - ..\..\components\libc\compilers\armlibc\syscalls.c - - mem_std.c @@ -795,9 +788,9 @@ - time.c + syscalls.c 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -814,6 +807,13 @@ ..\..\components\libc\compilers\common\delay.c + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + stdlib.c @@ -826,30 +826,9 @@ Libraries - gd32f4xx_exti.c + gd32f4xx_syscfg.c 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c - - - - - gd32f4xx_usart.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c - - - - - gd32f4xx_pmu.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c - - - - - gd32f4xx_can.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c @@ -859,13 +838,6 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c - - - gd32f4xx_adc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c - - gd32f4xx_ctc.c @@ -875,135 +847,16 @@ - gd32f4xx_rtc.c + gd32f4xx_pmu.c 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c - gd32f4xx_exmc.c + gd32f4xx_exti.c 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c - - - - - gd32f4xx_syscfg.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c - - - - - gd32f4xx_enet.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c - - - - - gd32f4xx_crc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c - - - - - gd32f4xx_misc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c - - - - - gd32f4xx_tli.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c - - - - - gd32f4xx_wwdgt.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c - - - - - gd32f4xx_dbg.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c - - - - - gd32f4xx_fmc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c - - - - - gd32f4xx_i2c.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c - - - - - gd32f4xx_iref.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c - - - - - gd32f4xx_dma.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c - - - - - gd32f4xx_trng.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c - - - - - gd32f4xx_sdio.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c - - - - - startup_gd32f4xx.s - 2 - Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s - - - - - gd32f4xx_gpio.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c - - - - - gd32f4xx_rcu.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c - - - - - gd32f4xx_dac.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c @@ -1013,6 +866,13 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c + + + gd32f4xx_dac.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c + + gd32f4xx_dci.c @@ -1020,6 +880,104 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c + + + gd32f4xx_rcu.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c + + + + + gd32f4xx_dbg.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c + + + + + gd32f4xx_trng.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c + + + + + gd32f4xx_gpio.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c + + + + + system_gd32f4xx.c + 1 + Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c + + + + + gd32f4xx_adc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c + + + + + gd32f4xx_usart.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c + + + + + gd32f4xx_fmc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c + + + + + gd32f4xx_wwdgt.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c + + + + + gd32f4xx_dma.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c + + + + + gd32f4xx_misc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c + + + + + startup_gd32f4xx.s + 2 + Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s + + + + + gd32f4xx_crc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_crc.c + + + + + gd32f4xx_rtc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c + + gd32f4xx_fwdgt.c @@ -1027,6 +985,13 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c + + + gd32f4xx_tli.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c + + gd32f4xx_spi.c @@ -1036,9 +1001,44 @@ - system_gd32f4xx.c + gd32f4xx_can.c 1 - Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_can.c + + + + + gd32f4xx_exmc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c + + + + + gd32f4xx_sdio.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c + + + + + gd32f4xx_enet.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c + + + + + gd32f4xx_iref.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c + + + + + gd32f4xx_i2c.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c @@ -1079,6 +1079,13 @@ ..\..\components\net\lwip-2.0.2\src\core\netif.c + + + ping.c + 1 + ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + + sys.c @@ -1149,13 +1156,6 @@ ..\..\components\net\lwip-2.0.2\src\core\memp.c - - - ping.c - 1 - ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - - ip4.c @@ -1306,6 +1306,13 @@ SAL + + + netdev_ipaddr.c + 1 + ..\..\components\net\netdev\src\netdev_ipaddr.c + + netdev.c @@ -1315,9 +1322,16 @@ - netdev_ipaddr.c + af_inet_lwip.c 1 - ..\..\components\net\netdev\src\netdev_ipaddr.c + ..\..\components\net\sal_socket\impl\af_inet_lwip.c + + + + + dfs_net.c + 1 + ..\..\components\net\sal_socket\dfs_net\dfs_net.c @@ -1334,13 +1348,6 @@ ..\..\components\net\sal_socket\socket\net_netdb.c - - - dfs_net.c - 1 - ..\..\components\net\sal_socket\dfs_net\dfs_net.c - - net_sockets.c @@ -1348,13 +1355,6 @@ ..\..\components\net\sal_socket\socket\net_sockets.c - - - af_inet_lwip.c - 1 - ..\..\components\net\sal_socket\impl\af_inet_lwip.c - - diff --git a/bsp/gd32450z-eval/project.uvprojx b/bsp/gd32450z-eval/project.uvprojx index 2d2bb33336..f85abcefa4 100644 --- a/bsp/gd32450z-eval/project.uvprojx +++ b/bsp/gd32450z-eval/project.uvprojx @@ -393,13 +393,6 @@ ..\..\libcpu\arm\common\showmem.c - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - backtrace.c @@ -409,9 +402,9 @@ - cpuport.c + div0.c 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\libcpu\arm\common\div0.c @@ -421,6 +414,13 @@ ..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -440,23 +440,9 @@ - waitqueue.c + completion.c 1 - ..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c - - - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\completion.c @@ -466,6 +452,13 @@ ..\..\components\drivers\src\dataqueue.c + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + workqueue.c @@ -475,16 +468,23 @@ - pipe.c + ringbuffer.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\ringbuffer.c - completion.c + waitqueue.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c @@ -632,55 +632,6 @@ Kernel - - - thread.c - 1 - ..\..\src\thread.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - components.c - 1 - ..\..\src\components.c - - clock.c @@ -688,13 +639,6 @@ ..\..\src\clock.c - - - irq.c - 1 - ..\..\src\irq.c - - idle.c @@ -702,6 +646,34 @@ ..\..\src\idle.c + + + components.c + 1 + ..\..\src\components.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + mem.c + 1 + ..\..\src\mem.c + + scheduler.c @@ -709,6 +681,34 @@ ..\..\src\scheduler.c + + + object.c + 1 + ..\..\src\object.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + kservice.c @@ -718,9 +718,9 @@ - mem.c + mempool.c 1 - ..\..\src\mem.c + ..\..\src\mempool.c @@ -728,9 +728,9 @@ libc - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -742,16 +742,30 @@ - syscalls.c + libc.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\libc.c - libc.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\libc.c + ..\..\components\libc\compilers\armlibc\mem_std.c + + + + + unistd.c + 1 + ..\..\components\libc\compilers\common\unistd.c + + + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c @@ -768,28 +782,105 @@ ..\..\components\libc\compilers\common\stdlib.c - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c - - - - - unistd.c - 1 - ..\..\components\libc\compilers\common\unistd.c - - Libraries - gd32f4xx_trng.c + gd32f4xx_dma.c 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c + + + + + gd32f4xx_ctc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c + + + + + gd32f4xx_ipa.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c + + + + + gd32f4xx_misc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c + + + + + gd32f4xx_dci.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c + + + + + gd32f4xx_fwdgt.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c + + + + + gd32f4xx_tli.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c + + + + + gd32f4xx_exmc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c + + + + + gd32f4xx_fmc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c + + + + + gd32f4xx_timer.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c + + + + + system_gd32f4xx.c + 1 + Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c + + + + + gd32f4xx_wwdgt.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c + + + + + gd32f4xx_rcu.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c + + + + + gd32f4xx_adc.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c @@ -799,6 +890,62 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rtc.c + + + gd32f4xx_trng.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_trng.c + + + + + gd32f4xx_pmu.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c + + + + + gd32f4xx_exti.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c + + + + + gd32f4xx_enet.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c + + + + + gd32f4xx_iref.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c + + + + + startup_gd32f4xx.s + 2 + Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s + + + + + gd32f4xx_dbg.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c + + + + + gd32f4xx_i2c.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c + + gd32f4xx_usart.c @@ -806,6 +953,13 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_usart.c + + + gd32f4xx_dac.c + 1 + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c + + gd32f4xx_crc.c @@ -820,118 +974,6 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_syscfg.c - - - gd32f4xx_sdio.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c - - - - - gd32f4xx_i2c.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_i2c.c - - - - - gd32f4xx_iref.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_iref.c - - - - - gd32f4xx_wwdgt.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_wwdgt.c - - - - - gd32f4xx_timer.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_timer.c - - - - - gd32f4xx_misc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_misc.c - - - - - gd32f4xx_enet.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_enet.c - - - - - gd32f4xx_exti.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exti.c - - - - - gd32f4xx_pmu.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_pmu.c - - - - - gd32f4xx_dci.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dci.c - - - - - gd32f4xx_ctc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ctc.c - - - - - gd32f4xx_rcu.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_rcu.c - - - - - gd32f4xx_exmc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_exmc.c - - - - - gd32f4xx_dma.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dma.c - - - - - gd32f4xx_fwdgt.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fwdgt.c - - - - - gd32f4xx_ipa.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_ipa.c - - gd32f4xx_spi.c @@ -939,13 +981,6 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_spi.c - - - gd32f4xx_fmc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_fmc.c - - gd32f4xx_can.c @@ -955,23 +990,9 @@ - gd32f4xx_dbg.c + gd32f4xx_sdio.c 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dbg.c - - - - - startup_gd32f4xx.s - 2 - Libraries\CMSIS\GD\GD32F4xx\Source\ARM\startup_gd32f4xx.s - - - - - gd32f4xx_adc.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_adc.c + Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_sdio.c @@ -981,27 +1002,6 @@ Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_gpio.c - - - gd32f4xx_dac.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_dac.c - - - - - gd32f4xx_tli.c - 1 - Libraries\GD32F4xx_standard_peripheral\Source\gd32f4xx_tli.c - - - - - system_gd32f4xx.c - 1 - Libraries\CMSIS\GD\GD32F4xx\Source\system_gd32f4xx.c - - lwIP @@ -1166,13 +1166,6 @@ ..\..\components\net\lwip-2.0.2\src\api\api_lib.c - - - ping.c - 1 - ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - - inet_chksum.c @@ -1222,6 +1215,13 @@ ..\..\components\net\lwip-2.0.2\src\core\timeouts.c + + + ping.c + 1 + ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + + igmp.c @@ -1267,13 +1267,6 @@ SAL - - - netdev.c - 1 - ..\..\components\net\netdev\src\netdev.c - - netdev_ipaddr.c @@ -1283,16 +1276,16 @@ - net_sockets.c + netdev.c 1 - ..\..\components\net\sal_socket\socket\net_sockets.c + ..\..\components\net\netdev\src\netdev.c - dfs_net.c + net_sockets.c 1 - ..\..\components\net\sal_socket\dfs_net\dfs_net.c + ..\..\components\net\sal_socket\socket\net_sockets.c @@ -1309,6 +1302,13 @@ ..\..\components\net\sal_socket\socket\net_netdb.c + + + dfs_net.c + 1 + ..\..\components\net\sal_socket\dfs_net\dfs_net.c + + sal_socket.c diff --git a/bsp/gd32450z-eval/rtconfig.h b/bsp/gd32450z-eval/rtconfig.h index af6e53bdfd..91aa2947d1 100644 --- a/bsp/gd32450z-eval/rtconfig.h +++ b/bsp/gd32450z-eval/rtconfig.h @@ -248,14 +248,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -264,10 +267,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32e230k-start/.config b/bsp/gd32e230k-start/.config index c3bd21f829..4eb1206d10 100644 --- a/bsp/gd32e230k-start/.config +++ b/bsp/gd32e230k-start/.config @@ -334,6 +334,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -358,17 +359,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -381,11 +389,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -429,12 +437,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -444,6 +460,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -463,7 +487,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -480,7 +503,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -488,6 +510,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -564,6 +587,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32e230k-start/project.uvprojx b/bsp/gd32e230k-start/project.uvprojx index d3473a987c..2d0818fc20 100644 --- a/bsp/gd32e230k-start/project.uvprojx +++ b/bsp/gd32e230k-start/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -404,9 +411,9 @@ - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m23\context_rvds.S @@ -416,13 +423,6 @@ ..\..\libcpu\arm\cortex-m23\cpuport.c - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m23\context_rvds.S - - DeviceDrivers @@ -482,13 +482,6 @@ ..\..\components\drivers\spi\spi_dev.c - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c - - waitqueue.c @@ -496,27 +489,6 @@ ..\..\components\drivers\src\waitqueue.c - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - pipe.c @@ -524,6 +496,20 @@ ..\..\components\drivers\src\pipe.c + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + completion.c @@ -531,6 +517,20 @@ ..\..\components\drivers\src\completion.c + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + @@ -610,23 +610,16 @@ Kernel - scheduler.c + mempool.c 1 - ..\..\src\scheduler.c + ..\..\src\mempool.c - kservice.c + timer.c 1 - ..\..\src\kservice.c - - - - - thread.c - 1 - ..\..\src\thread.c + ..\..\src\timer.c @@ -638,16 +631,9 @@ - clock.c + components.c 1 - ..\..\src\clock.c - - - - - mempool.c - 1 - ..\..\src\mempool.c + ..\..\src\components.c @@ -657,6 +643,13 @@ ..\..\src\object.c + + + thread.c + 1 + ..\..\src\thread.c + + device.c @@ -673,16 +666,16 @@ - components.c + scheduler.c 1 - ..\..\src\components.c + ..\..\src\scheduler.c - timer.c + kservice.c 1 - ..\..\src\timer.c + ..\..\src\kservice.c @@ -692,6 +685,13 @@ ..\..\src\irq.c + + + clock.c + 1 + ..\..\src\clock.c + + idle.c @@ -714,79 +714,9 @@ Libraries - gd32e230_cmp.c + gd32e230_fmc.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_cmp.c - - - - - gd32e230_timer.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_timer.c - - - - - gd32e230_exti.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_exti.c - - - - - gd32e230_wwdgt.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_wwdgt.c - - - - - gd32e230_adc.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_adc.c - - - - - gd32e230_syscfg.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_syscfg.c - - - - - gd32e230_gpio.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_gpio.c - - - - - startup_gd32e230.s - 2 - Libraries\CMSIS\GD\GD32E230\Source\ARM\startup_gd32e230.s - - - - - gd32e230_spi.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_spi.c - - - - - gd32e230_i2c.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_i2c.c - - - - - system_gd32e230.c - 1 - Libraries\CMSIS\GD\GD32E230\Source\system_gd32e230.c + Libraries\GD32E230_standard_peripheral\Source\gd32e230_fmc.c @@ -796,6 +726,13 @@ Libraries\GD32E230_standard_peripheral\Source\gd32e230_fwdgt.c + + + gd32e230_crc.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_crc.c + + gd32e230_dbg.c @@ -805,23 +742,16 @@ - gd32e230_fmc.c + gd32e230_spi.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_fmc.c + Libraries\GD32E230_standard_peripheral\Source\gd32e230_spi.c - gd32e230_rcu.c + gd32e230_cmp.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_rcu.c - - - - - gd32e230_dma.c - 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_dma.c + Libraries\GD32E230_standard_peripheral\Source\gd32e230_cmp.c @@ -833,16 +763,30 @@ - gd32e230_pmu.c + gd32e230_exti.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_pmu.c + Libraries\GD32E230_standard_peripheral\Source\gd32e230_exti.c - gd32e230_rtc.c + gd32e230_rcu.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_rtc.c + Libraries\GD32E230_standard_peripheral\Source\gd32e230_rcu.c + + + + + gd32e230_syscfg.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_syscfg.c + + + + + gd32e230_adc.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_adc.c @@ -854,9 +798,65 @@ - gd32e230_crc.c + system_gd32e230.c 1 - Libraries\GD32E230_standard_peripheral\Source\gd32e230_crc.c + Libraries\CMSIS\GD\GD32E230\Source\system_gd32e230.c + + + + + gd32e230_wwdgt.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_wwdgt.c + + + + + gd32e230_pmu.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_pmu.c + + + + + gd32e230_dma.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_dma.c + + + + + gd32e230_timer.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_timer.c + + + + + startup_gd32e230.s + 2 + Libraries\CMSIS\GD\GD32E230\Source\ARM\startup_gd32e230.s + + + + + gd32e230_i2c.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_i2c.c + + + + + gd32e230_rtc.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_rtc.c + + + + + gd32e230_gpio.c + 1 + Libraries\GD32E230_standard_peripheral\Source\gd32e230_gpio.c diff --git a/bsp/gd32e230k-start/rtconfig.h b/bsp/gd32e230k-start/rtconfig.h index 7ab80cb277..b91d46ea2d 100644 --- a/bsp/gd32e230k-start/rtconfig.h +++ b/bsp/gd32e230k-start/rtconfig.h @@ -169,14 +169,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -185,10 +188,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/gd32vf103v-eval/.config b/bsp/gd32vf103v-eval/.config index e132f56ff7..2d86b28b89 100644 --- a/bsp/gd32vf103v-eval/.config +++ b/bsp/gd32vf103v-eval/.config @@ -325,6 +325,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -349,17 +350,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -372,11 +380,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -420,12 +428,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -435,6 +451,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -454,7 +478,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -471,7 +494,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -479,6 +501,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -555,6 +578,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/gd32vf103v-eval/rtconfig.h b/bsp/gd32vf103v-eval/rtconfig.h index 505d712c46..3eb23b99df 100644 --- a/bsp/gd32vf103v-eval/rtconfig.h +++ b/bsp/gd32vf103v-eval/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hc32f460/.config b/bsp/hc32f460/.config index 28824e3eda..fa60972d82 100644 --- a/bsp/hc32f460/.config +++ b/bsp/hc32f460/.config @@ -346,6 +346,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -370,17 +371,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -393,11 +401,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -441,12 +449,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -456,6 +472,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -476,7 +500,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -493,7 +516,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -501,6 +523,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -577,6 +600,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hc32f460/project.uvprojx b/bsp/hc32f460/project.uvprojx index 35c3a80815..93c1138f49 100644 --- a/bsp/hc32f460/project.uvprojx +++ b/bsp/hc32f460/project.uvprojx @@ -391,9 +391,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\libcpu\arm\common\showmem.c + ..\..\libcpu\arm\common\backtrace.c @@ -405,9 +405,9 @@ - backtrace.c + showmem.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\showmem.c @@ -450,16 +450,9 @@ - waitqueue.c + pipe.c 1 - ..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\pipe.c @@ -469,6 +462,13 @@ ..\..\components\drivers\src\completion.c + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + ringbuffer.c @@ -478,16 +478,16 @@ - pipe.c + waitqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\waitqueue.c - dataqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\ringblk_buf.c @@ -701,13 +701,6 @@ Kernel - - - object.c - 1 - ..\..\src\object.c - - mempool.c @@ -715,48 +708,6 @@ ..\..\src\mempool.c - - - idle.c - 1 - ..\..\src\idle.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - mem.c - 1 - ..\..\src\mem.c - - kservice.c @@ -766,16 +717,37 @@ - device.c + components.c 1 - ..\..\src\device.c + ..\..\src\components.c - clock.c + object.c 1 - ..\..\src\clock.c + ..\..\src\object.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + irq.c + 1 + ..\..\src\irq.c @@ -787,9 +759,37 @@ - timer.c + clock.c 1 - ..\..\src\timer.c + ..\..\src\clock.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + device.c + 1 + ..\..\src\device.c @@ -802,13 +802,6 @@ ..\..\components\libc\compilers\armlibc\mem_std.c - - - libc.c - 1 - ..\..\components\libc\compilers\armlibc\libc.c - - syscalls.c @@ -825,16 +818,9 @@ - stdlib.c + libc.c 1 - ..\..\components\libc\compilers\common\stdlib.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\libc.c @@ -851,6 +837,20 @@ ..\..\components\libc\compilers\common\delay.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + diff --git a/bsp/hc32f460/rtconfig.h b/bsp/hc32f460/rtconfig.h index 783e6d376f..f9721237da 100644 --- a/bsp/hc32f460/rtconfig.h +++ b/bsp/hc32f460/rtconfig.h @@ -177,14 +177,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -193,10 +196,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hc32f4a0/.config b/bsp/hc32f4a0/.config index 20e127647e..57a9c29ac4 100644 --- a/bsp/hc32f4a0/.config +++ b/bsp/hc32f4a0/.config @@ -346,6 +346,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -370,17 +371,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -393,11 +401,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -441,12 +449,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -456,6 +472,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -476,7 +500,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -493,7 +516,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -501,6 +523,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -577,6 +600,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hc32f4a0/project.uvprojx b/bsp/hc32f4a0/project.uvprojx index 3bb0e9bd8b..c02a43af9d 100644 --- a/bsp/hc32f4a0/project.uvprojx +++ b/bsp/hc32f4a0/project.uvprojx @@ -445,16 +445,16 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -476,16 +476,16 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\waitqueue.c - ringbuffer.c + dataqueue.c 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\dataqueue.c @@ -497,9 +497,9 @@ - workqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\ringblk_buf.c @@ -511,16 +511,16 @@ - waitqueue.c + ringbuffer.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringbuffer.c - dataqueue.c + workqueue.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\workqueue.c @@ -741,62 +741,6 @@ Kernel - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - clock.c - 1 - ..\..\src\clock.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - components.c - 1 - ..\..\src\components.c - - scheduler.c @@ -806,9 +750,16 @@ - timer.c + mempool.c 1 - ..\..\src\timer.c + ..\..\src\mempool.c + + + + + idle.c + 1 + ..\..\src\idle.c @@ -827,9 +778,58 @@ - mempool.c + timer.c 1 - ..\..\src\mempool.c + ..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + thread.c + 1 + ..\..\src\thread.c @@ -837,16 +837,16 @@ libc - libc.c + stdio.c 1 - ..\..\components\libc\compilers\armlibc\libc.c + ..\..\components\libc\compilers\armlibc\stdio.c - stdio.c + libc.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c + ..\..\components\libc\compilers\armlibc\libc.c @@ -863,20 +863,6 @@ ..\..\components\libc\compilers\armlibc\mem_std.c - - - stdlib.c - 1 - ..\..\components\libc\compilers\common\stdlib.c - - - - - delay.c - 1 - ..\..\components\libc\compilers\common\delay.c - - unistd.c @@ -884,6 +870,13 @@ ..\..\components\libc\compilers\common\unistd.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + time.c @@ -891,6 +884,13 @@ ..\..\components\libc\compilers\common\time.c + + + delay.c + 1 + ..\..\components\libc\compilers\common\delay.c + + diff --git a/bsp/hc32f4a0/rtconfig.h b/bsp/hc32f4a0/rtconfig.h index 8c5584cb82..23bda5f128 100644 --- a/bsp/hc32f4a0/rtconfig.h +++ b/bsp/hc32f4a0/rtconfig.h @@ -178,14 +178,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -194,10 +197,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hc32l136/.config b/bsp/hc32l136/.config index 636b6fb14d..7dad1157f2 100644 --- a/bsp/hc32l136/.config +++ b/bsp/hc32l136/.config @@ -329,6 +329,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -458,7 +482,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -475,7 +498,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -483,6 +505,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -559,6 +582,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hc32l136/project.ewp b/bsp/hc32l136/project.ewp index a53a7f0e70..75c907687b 100644 --- a/bsp/hc32l136/project.ewp +++ b/bsp/hc32l136/project.ewp @@ -1997,25 +1997,25 @@ $PROJ_DIR$\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c @@ -2090,41 +2090,41 @@ $PROJ_DIR$\..\..\src\clock.c - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\mem.c - - - $PROJ_DIR$\..\..\src\device.c - - - $PROJ_DIR$\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\src\kservice.c + $PROJ_DIR$\..\..\src\irq.c $PROJ_DIR$\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\src\components.c + + + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\mem.c + + + $PROJ_DIR$\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\src\device.c + $PROJ_DIR$\..\..\src\timer.c + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\mempool.c + $PROJ_DIR$\..\..\src\idle.c - - $PROJ_DIR$\..\..\src\components.c - - - $PROJ_DIR$\..\..\src\irq.c - $PROJ_DIR$\..\..\src\ipc.c - - $PROJ_DIR$\..\..\src\thread.c - libc diff --git a/bsp/hc32l136/project.uvprojx b/bsp/hc32l136/project.uvprojx index 98810316a4..ee75433d4f 100644 --- a/bsp/hc32l136/project.uvprojx +++ b/bsp/hc32l136/project.uvprojx @@ -391,16 +391,16 @@ CPU - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\div0.c @@ -412,16 +412,16 @@ - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m0\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m0\context_rvds.S - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m0\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m0\cpuport.c @@ -443,9 +443,9 @@ - pipe.c + workqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\workqueue.c @@ -457,9 +457,16 @@ - workqueue.c + dataqueue.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\dataqueue.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c @@ -478,16 +485,9 @@ - waitqueue.c + pipe.c 1 - ..\..\components\drivers\src\waitqueue.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\pipe.c @@ -644,23 +644,9 @@ - components.c + kservice.c 1 - ..\..\src\components.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - device.c - 1 - ..\..\src\device.c + ..\..\src\kservice.c @@ -670,6 +656,20 @@ ..\..\src\thread.c + + + device.c + 1 + ..\..\src\device.c + + + + + components.c + 1 + ..\..\src\components.c + + object.c @@ -677,20 +677,6 @@ ..\..\src\object.c - - - mem.c - 1 - ..\..\src\mem.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - mempool.c @@ -700,16 +686,30 @@ - clock.c + timer.c 1 - ..\..\src\clock.c + ..\..\src\timer.c - timer.c + irq.c 1 - ..\..\src\timer.c + ..\..\src\irq.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + clock.c + 1 + ..\..\src\clock.c diff --git a/bsp/hc32l136/rtconfig.h b/bsp/hc32l136/rtconfig.h index 47010908a3..4fe905d00d 100644 --- a/bsp/hc32l136/rtconfig.h +++ b/bsp/hc32l136/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hc32l196/.config b/bsp/hc32l196/.config index af6ee88a86..6c23727c14 100644 --- a/bsp/hc32l196/.config +++ b/bsp/hc32l196/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -460,7 +484,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -477,7 +500,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -485,6 +507,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -561,6 +584,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hc32l196/project.uvprojx b/bsp/hc32l196/project.uvprojx index 8d6b4aabb9..af374ae7fb 100644 --- a/bsp/hc32l196/project.uvprojx +++ b/bsp/hc32l196/project.uvprojx @@ -383,16 +383,16 @@ CPU - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\div0.c @@ -435,16 +435,23 @@ - pipe.c + workqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\workqueue.c - ringblk_buf.c + waitqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c @@ -454,13 +461,6 @@ ..\..\components\drivers\src\ringbuffer.c - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - dataqueue.c @@ -470,16 +470,16 @@ - workqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\ringblk_buf.c - waitqueue.c + completion.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\completion.c @@ -599,6 +599,34 @@ Kernel + + + thread.c + 1 + ..\..\src\thread.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + clock.c + 1 + ..\..\src\clock.c + + irq.c @@ -606,6 +634,27 @@ ..\..\src\irq.c + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + timer.c @@ -622,16 +671,9 @@ - thread.c + object.c 1 - ..\..\src\thread.c - - - - - clock.c - 1 - ..\..\src\clock.c + ..\..\src\object.c @@ -641,48 +683,6 @@ ..\..\src\mem.c - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - object.c - 1 - ..\..\src\object.c - - mempool.c @@ -716,16 +716,16 @@ - time.c + stdlib.c 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\common\stdlib.c - stdlib.c + time.c 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\common\time.c diff --git a/bsp/hc32l196/rtconfig.h b/bsp/hc32l196/rtconfig.h index 8559b2d9a0..431388f260 100644 --- a/bsp/hc32l196/rtconfig.h +++ b/bsp/hc32l196/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hifive1/.config b/bsp/hifive1/.config index 79eea90dd5..558741dccd 100644 --- a/bsp/hifive1/.config +++ b/bsp/hifive1/.config @@ -322,6 +322,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -346,17 +347,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -369,11 +377,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -417,12 +425,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -432,6 +448,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -451,7 +475,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -468,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -476,6 +498,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -552,6 +575,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hifive1/rtconfig.h b/bsp/hifive1/rtconfig.h index 94e4dd8920..2586b6ff8c 100644 --- a/bsp/hifive1/rtconfig.h +++ b/bsp/hifive1/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/hk32/hk32f030c8-mini/.config b/bsp/hk32/hk32f030c8-mini/.config index 3edc926834..de679bca14 100644 --- a/bsp/hk32/hk32f030c8-mini/.config +++ b/bsp/hk32/hk32f030c8-mini/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/hk32/hk32f030c8-mini/project.ewp b/bsp/hk32/hk32f030c8-mini/project.ewp index 19c4c84de6..f314deb9bd 100644 --- a/bsp/hk32/hk32f030c8-mini/project.ewp +++ b/bsp/hk32/hk32f030c8-mini/project.ewp @@ -2086,9 +2086,6 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c @@ -2096,11 +2093,14 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c + DeviceDrivers @@ -2123,22 +2123,22 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -2146,15 +2146,15 @@ $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c - - $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\iar\startup_hk32f030x4x6x8.s - $PROJ_DIR$\board\msp\hk32_msp.c $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\iar\startup_hk32f030x4x6x8.s + $PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c @@ -2179,20 +2179,23 @@ Kernel + + $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\device.c @@ -2201,19 +2204,16 @@ $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\timer.c @@ -2224,39 +2224,39 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + Libraries diff --git a/bsp/hk32/hk32f030c8-mini/project.uvproj b/bsp/hk32/hk32f030c8-mini/project.uvproj index 3d61cfa029..14284a2381 100644 --- a/bsp/hk32/hk32f030c8-mini/project.uvproj +++ b/bsp/hk32/hk32f030c8-mini/project.uvproj @@ -413,9 +413,9 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -427,9 +427,9 @@ - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -484,6 +484,20 @@ ..\..\..\components\drivers\serial\serial.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + pipe.c @@ -491,6 +505,13 @@ ..\..\..\components\drivers\src\pipe.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + completion.c @@ -505,13 +526,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - ringbuffer.c @@ -519,30 +533,9 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - Drivers - - - startup_hk32f030x4x6x8.s - 2 - ..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s - - system_hk32f0xx.c @@ -564,6 +557,13 @@ board\board.c + + + startup_hk32f030x4x6x8.s + 2 + ..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s + + drv_gpio.c @@ -614,9 +614,9 @@ Kernel - timer.c + components.c 1 - ..\..\..\src\timer.c + ..\..\..\src\components.c @@ -628,9 +628,16 @@ - thread.c + mem.c 1 - ..\..\..\src\thread.c + ..\..\..\src\mem.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -647,27 +654,6 @@ ..\..\..\src\clock.c - - - components.c - 1 - ..\..\..\src\components.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - device.c @@ -675,6 +661,20 @@ ..\..\..\src\device.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + irq.c @@ -684,16 +684,16 @@ - mem.c + kservice.c 1 - ..\..\..\src\mem.c + ..\..\..\src\kservice.c - ipc.c + timer.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\timer.c diff --git a/bsp/hk32/hk32f030c8-mini/project.uvprojx b/bsp/hk32/hk32f030c8-mini/project.uvprojx index 59afda7662..4d61e34db7 100644 --- a/bsp/hk32/hk32f030c8-mini/project.uvprojx +++ b/bsp/hk32/hk32f030c8-mini/project.uvprojx @@ -391,16 +391,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -412,16 +412,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m0\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S @@ -462,27 +462,6 @@ ..\..\..\components\drivers\serial\serial.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - pipe.c @@ -504,6 +483,13 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + completion.c @@ -511,16 +497,23 @@ ..\..\..\components\drivers\src\completion.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + Drivers - - - startup_hk32f030x4x6x8.s - 2 - ..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s - - system_hk32f0xx.c @@ -542,6 +535,13 @@ board\board.c + + + startup_hk32f030x4x6x8.s + 2 + ..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s + + drv_gpio.c @@ -590,13 +590,6 @@ Kernel - - - timer.c - 1 - ..\..\..\src\timer.c - - device.c @@ -604,34 +597,6 @@ ..\..\..\src\device.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - object.c @@ -639,27 +604,6 @@ ..\..\..\src\object.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - idle.c @@ -674,9 +618,72 @@ ..\..\..\src\kservice.c + + + components.c + 1 + ..\..\..\src\components.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + libc + + + libc.c + 1 + ..\..\..\components\libc\compilers\armlibc\libc.c + + syscalls.c @@ -693,9 +700,9 @@ - libc.c + time.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\common\time.c @@ -705,13 +712,6 @@ ..\..\..\components\libc\compilers\common\stdlib.c - - - time.c - 1 - ..\..\..\components\libc\compilers\common\time.c - - Libraries diff --git a/bsp/hk32/hk32f030c8-mini/rtconfig.h b/bsp/hk32/hk32f030c8-mini/rtconfig.h index ad1410a531..10294ebe75 100644 --- a/bsp/hk32/hk32f030c8-mini/rtconfig.h +++ b/bsp/hk32/hk32f030c8-mini/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imx6sx/cortex-a9/.config b/bsp/imx6sx/cortex-a9/.config index fd062eca1f..c20c56438e 100644 --- a/bsp/imx6sx/cortex-a9/.config +++ b/bsp/imx6sx/cortex-a9/.config @@ -415,6 +415,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -439,17 +440,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -462,11 +470,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -510,12 +518,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -525,6 +541,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -544,7 +568,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -561,7 +584,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -569,6 +591,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -645,6 +668,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imx6sx/cortex-a9/rtconfig.h b/bsp/imx6sx/cortex-a9/rtconfig.h index e830e7a0f1..09338ec670 100644 --- a/bsp/imx6sx/cortex-a9/rtconfig.h +++ b/bsp/imx6sx/cortex-a9/rtconfig.h @@ -232,14 +232,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -248,10 +251,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imx6ul/.config b/bsp/imx6ul/.config index ff087f23e1..3915c35268 100644 --- a/bsp/imx6ul/.config +++ b/bsp/imx6ul/.config @@ -343,6 +343,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -367,17 +368,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -390,11 +398,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -438,12 +446,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -453,6 +469,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -473,7 +497,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -490,7 +513,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -498,6 +520,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -574,6 +597,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imx6ul/rtconfig.h b/bsp/imx6ul/rtconfig.h index 28054d6e6f..f50d585d95 100644 --- a/bsp/imx6ul/rtconfig.h +++ b/bsp/imx6ul/rtconfig.h @@ -174,14 +174,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -190,10 +193,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imxrt/imxrt1052-atk-commander/.config b/bsp/imxrt/imxrt1052-atk-commander/.config index 604320aad5..15563634ee 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/.config +++ b/bsp/imxrt/imxrt1052-atk-commander/.config @@ -349,6 +349,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -373,17 +374,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -396,11 +404,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -444,12 +452,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -459,6 +475,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -478,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -495,7 +518,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -503,6 +525,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -579,6 +602,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imxrt/imxrt1052-atk-commander/project.uvprojx b/bsp/imxrt/imxrt1052-atk-commander/project.uvprojx index b0bcf68f4a..46c4e3b60e 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/project.uvprojx +++ b/bsp/imxrt/imxrt1052-atk-commander/project.uvprojx @@ -378,16 +378,16 @@ Applications - mnt.c + main.c 1 - applications\mnt.c + applications\main.c - main.c + mnt.c 1 - applications\main.c + applications\mnt.c @@ -395,9 +395,9 @@ CPU - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -409,16 +409,16 @@ - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + cpu_cache.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c @@ -430,9 +430,9 @@ - cpu_cache.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S @@ -494,27 +494,6 @@ ..\..\..\components\drivers\spi\spi_dev.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - ringbuffer.c @@ -522,13 +501,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - pipe.c @@ -536,6 +508,13 @@ ..\..\..\components\drivers\src\pipe.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + dataqueue.c @@ -543,6 +522,27 @@ ..\..\..\components\drivers\src\dataqueue.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + @@ -688,16 +688,9 @@ Kernel - device.c + scheduler.c 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\scheduler.c @@ -728,27 +721,6 @@ ..\..\..\src\kservice.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - mempool.c @@ -758,9 +730,23 @@ - scheduler.c + device.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\device.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + thread.c + 1 + ..\..\..\src\thread.c @@ -772,21 +758,28 @@ - irq.c + timer.c 1 - ..\..\..\src\irq.c + ..\..\..\src\timer.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c libc - - - syscalls.c - 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c - - stdio.c @@ -796,9 +789,9 @@ - mem_std.c + syscalls.c 1 - ..\..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c @@ -810,16 +803,9 @@ - delay.c + mem_std.c 1 - ..\..\..\components\libc\compilers\common\delay.c - - - - - time.c - 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\armlibc\mem_std.c @@ -829,6 +815,13 @@ ..\..\..\components\libc\compilers\common\unistd.c + + + time.c + 1 + ..\..\..\components\libc\compilers\common\time.c + + stdlib.c @@ -836,6 +829,13 @@ ..\..\..\components\libc\compilers\common\stdlib.c + + + delay.c + 1 + ..\..\..\components\libc\compilers\common\delay.c + + Libraries diff --git a/bsp/imxrt/imxrt1052-atk-commander/rtconfig.h b/bsp/imxrt/imxrt1052-atk-commander/rtconfig.h index df74112ff7..8ecb214f6b 100644 --- a/bsp/imxrt/imxrt1052-atk-commander/rtconfig.h +++ b/bsp/imxrt/imxrt1052-atk-commander/rtconfig.h @@ -179,14 +179,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -195,10 +198,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imxrt/imxrt1052-fire-pro/.config b/bsp/imxrt/imxrt1052-fire-pro/.config index 5da9b41edd..70d530d45e 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/.config +++ b/bsp/imxrt/imxrt1052-fire-pro/.config @@ -325,6 +325,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -349,17 +350,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -372,11 +380,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -420,12 +428,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -435,6 +451,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -454,7 +478,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -471,7 +494,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -479,6 +501,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -555,6 +578,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imxrt/imxrt1052-fire-pro/project.ewp b/bsp/imxrt/imxrt1052-fire-pro/project.ewp index 62ae59cb12..679affae68 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/project.ewp +++ b/bsp/imxrt/imxrt1052-fire-pro/project.ewp @@ -1082,10 +1082,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -1099,27 +1099,27 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + Drivers @@ -1154,85 +1154,85 @@ Kernel - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\memheap.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\ipc.c + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\components.c - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\timer.c + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\irq.c + libc - - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c diff --git a/bsp/imxrt/imxrt1052-fire-pro/project.uvprojx b/bsp/imxrt/imxrt1052-fire-pro/project.uvprojx index 64da9804bf..4dd8b62f55 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/project.uvprojx +++ b/bsp/imxrt/imxrt1052-fire-pro/project.uvprojx @@ -388,16 +388,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -409,16 +409,16 @@ - cpuport.c + cpu_cache.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - cpu_cache.c + cpuport.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -454,23 +454,9 @@ - pipe.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\pipe.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -487,6 +473,20 @@ ..\..\..\components\drivers\src\waitqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + workqueue.c @@ -496,9 +496,9 @@ - ringbuffer.c + pipe.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\pipe.c @@ -568,9 +568,9 @@ Kernel - device.c + scheduler.c 1 - ..\..\..\src\device.c + ..\..\..\src\scheduler.c @@ -580,13 +580,6 @@ ..\..\..\src\ipc.c - - - idle.c - 1 - ..\..\..\src\idle.c - - irq.c @@ -596,16 +589,16 @@ - scheduler.c + clock.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\clock.c - mempool.c + object.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\object.c @@ -617,16 +610,16 @@ - components.c + idle.c 1 - ..\..\..\src\components.c + ..\..\..\src\idle.c - clock.c + mempool.c 1 - ..\..\..\src\clock.c + ..\..\..\src\mempool.c @@ -645,9 +638,16 @@ - object.c + components.c 1 - ..\..\..\src\object.c + ..\..\..\src\components.c + + + + + device.c + 1 + ..\..\..\src\device.c diff --git a/bsp/imxrt/imxrt1052-fire-pro/rtconfig.h b/bsp/imxrt/imxrt1052-fire-pro/rtconfig.h index fc853be37e..0e6ccd067b 100644 --- a/bsp/imxrt/imxrt1052-fire-pro/rtconfig.h +++ b/bsp/imxrt/imxrt1052-fire-pro/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imxrt/imxrt1052-nxp-evk/.config b/bsp/imxrt/imxrt1052-nxp-evk/.config index 7b40570624..3771849518 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/.config +++ b/bsp/imxrt/imxrt1052-nxp-evk/.config @@ -332,6 +332,7 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_NETDEV_IPV6=0 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_NETDEV_IPV6=0 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_NETDEV_IPV6=0 # 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 # @@ -562,6 +585,7 @@ CONFIG_NETDEV_IPV6=0 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imxrt/imxrt1052-nxp-evk/project.ewp b/bsp/imxrt/imxrt1052-nxp-evk/project.ewp index ae44ad0646..b24d042760 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/project.ewp +++ b/bsp/imxrt/imxrt1052-nxp-evk/project.ewp @@ -1078,11 +1078,14 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c @@ -1090,9 +1093,6 @@ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S - DeviceDrivers @@ -1108,26 +1108,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c @@ -1162,41 +1162,41 @@ Kernel + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\components.c $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\device.c - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\memheap.c @@ -1211,37 +1211,37 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c diff --git a/bsp/imxrt/imxrt1052-nxp-evk/project.uvprojx b/bsp/imxrt/imxrt1052-nxp-evk/project.uvprojx index 981a31d1e0..eea46de337 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/project.uvprojx +++ b/bsp/imxrt/imxrt1052-nxp-evk/project.uvprojx @@ -378,16 +378,16 @@ Applications - mnt.c + main.c 1 - applications\mnt.c + applications\main.c - main.c + mnt.c 1 - applications\main.c + applications\mnt.c @@ -395,9 +395,9 @@ CPU - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -409,16 +409,9 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c - - - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + ..\..\..\libcpu\arm\common\showmem.c @@ -428,6 +421,13 @@ ..\..\..\libcpu\arm\cortex-m7\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + + cpu_cache.c @@ -466,6 +466,13 @@ ..\..\..\components\drivers\serial\serial.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + workqueue.c @@ -473,20 +480,6 @@ ..\..\..\components\drivers\src\workqueue.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - waitqueue.c @@ -496,9 +489,9 @@ - pipe.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -510,9 +503,16 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -582,30 +582,16 @@ Kernel - thread.c + ipc.c 1 - ..\..\..\src\thread.c + ..\..\..\src\ipc.c - irq.c + device.c 1 - ..\..\..\src\irq.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\device.c @@ -624,16 +610,9 @@ - ipc.c + clock.c 1 - ..\..\..\src\ipc.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\clock.c @@ -643,6 +622,20 @@ ..\..\..\src\kservice.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + components.c @@ -659,16 +652,23 @@ - mempool.c + thread.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\thread.c - object.c + scheduler.c 1 - ..\..\..\src\object.c + ..\..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\..\src\irq.c @@ -683,16 +683,16 @@ - libc.c + syscalls.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c - syscalls.c + libc.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\armlibc\libc.c @@ -766,16 +766,16 @@ SAL - netdev_ipaddr.c + netdev.c 1 - ..\..\..\components\net\netdev\src\netdev_ipaddr.c + ..\..\..\components\net\netdev\src\netdev.c - netdev.c + netdev_ipaddr.c 1 - ..\..\..\components\net\netdev\src\netdev.c + ..\..\..\components\net\netdev\src\netdev_ipaddr.c diff --git a/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.h b/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.h index 3c6bd36adc..8be4f49788 100644 --- a/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.h +++ b/bsp/imxrt/imxrt1052-nxp-evk/rtconfig.h @@ -175,14 +175,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -191,10 +194,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imxrt/imxrt1052-seeed-ArchMix/.config b/bsp/imxrt/imxrt1052-seeed-ArchMix/.config index fe1e93a0d0..98d4994096 100644 --- a/bsp/imxrt/imxrt1052-seeed-ArchMix/.config +++ b/bsp/imxrt/imxrt1052-seeed-ArchMix/.config @@ -324,6 +324,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -348,17 +349,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -371,11 +379,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -419,12 +427,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -434,6 +450,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -453,7 +477,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -470,7 +493,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -478,6 +500,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -554,6 +577,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imxrt/imxrt1052-seeed-ArchMix/project.uvprojx b/bsp/imxrt/imxrt1052-seeed-ArchMix/project.uvprojx index a92e448fd4..df7ee042be 100644 --- a/bsp/imxrt/imxrt1052-seeed-ArchMix/project.uvprojx +++ b/bsp/imxrt/imxrt1052-seeed-ArchMix/project.uvprojx @@ -389,6 +389,13 @@ CPU + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c + + div0.c @@ -405,16 +412,9 @@ - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S @@ -426,9 +426,9 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -450,16 +450,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\dataqueue.c @@ -471,16 +464,16 @@ - ringbuffer.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\ringblk_buf.c - ringblk_buf.c + completion.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c @@ -492,9 +485,16 @@ - dataqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c @@ -562,6 +562,13 @@ Kernel + + + object.c + 1 + ..\..\..\src\object.c + + clock.c @@ -569,48 +576,6 @@ ..\..\..\src\clock.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - timer.c @@ -618,6 +583,27 @@ ..\..\..\src\timer.c + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + components.c @@ -627,9 +613,16 @@ - object.c + kservice.c 1 - ..\..\..\src\object.c + ..\..\..\src\kservice.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -641,16 +634,23 @@ - irq.c + scheduler.c 1 - ..\..\..\src\irq.c + ..\..\..\src\scheduler.c - memheap.c + thread.c 1 - ..\..\..\src\memheap.c + ..\..\..\src\thread.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c diff --git a/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.h b/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.h index b8b6b60619..3304510adf 100644 --- a/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.h +++ b/bsp/imxrt/imxrt1052-seeed-ArchMix/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/imxrt/imxrt1064-nxp-evk/.config b/bsp/imxrt/imxrt1064-nxp-evk/.config index 321b00f935..36758378cc 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/.config +++ b/bsp/imxrt/imxrt1064-nxp-evk/.config @@ -325,6 +325,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -349,17 +350,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -372,11 +380,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -420,12 +428,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -435,6 +451,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -454,7 +478,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -471,7 +494,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -479,6 +501,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -555,6 +578,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/imxrt/imxrt1064-nxp-evk/project.ewp b/bsp/imxrt/imxrt1064-nxp-evk/project.ewp index cc8c26999c..0dcb431b9a 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/project.ewp +++ b/bsp/imxrt/imxrt1064-nxp-evk/project.ewp @@ -1073,24 +1073,24 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c + DeviceDrivers @@ -1104,19 +1104,16 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -1124,6 +1121,9 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + Drivers @@ -1158,7 +1158,7 @@ Kernel - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mempool.c @@ -1167,34 +1167,34 @@ $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\memheap.c + $PROJ_DIR$\..\..\..\src\object.c $PROJ_DIR$\..\..\..\src\components.c + + $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\memheap.c @@ -1205,24 +1205,18 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c @@ -1230,14 +1224,20 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + Libraries @@ -1269,10 +1269,10 @@ xip - $PROJ_DIR$\xip\evkmimxrt1064_flexspi_nor_config.c + $PROJ_DIR$\xip\evkmimxrt1064_sdram_ini_dcd.c - $PROJ_DIR$\xip\evkmimxrt1064_sdram_ini_dcd.c + $PROJ_DIR$\xip\evkmimxrt1064_flexspi_nor_config.c $PROJ_DIR$\xip\fsl_flexspi_nor_boot.c diff --git a/bsp/imxrt/imxrt1064-nxp-evk/project.uvprojx b/bsp/imxrt/imxrt1064-nxp-evk/project.uvprojx index 1a5677f42a..a4b02a1ee5 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/project.uvprojx +++ b/bsp/imxrt/imxrt1064-nxp-evk/project.uvprojx @@ -389,16 +389,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -417,16 +417,16 @@ - cpuport.c + cpu_cache.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - cpu_cache.c + cpuport.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -460,20 +460,6 @@ ..\..\..\components\drivers\src\pipe.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - ringblk_buf.c @@ -481,13 +467,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - completion.c @@ -495,6 +474,13 @@ ..\..\..\components\drivers\src\completion.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + ringbuffer.c @@ -502,6 +488,20 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers @@ -567,34 +567,6 @@ Kernel - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - scheduler.c @@ -604,30 +576,9 @@ - ipc.c + components.c 1 - ..\..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\components.c @@ -637,6 +588,55 @@ ..\..\..\src\thread.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + memheap.c @@ -646,16 +646,16 @@ - object.c + irq.c 1 - ..\..\..\src\object.c + ..\..\..\src\irq.c - components.c + object.c 1 - ..\..\..\src\components.c + ..\..\..\src\object.c @@ -751,6 +751,13 @@ xip + + + fsl_flexspi_nor_boot.c + 1 + xip\fsl_flexspi_nor_boot.c + + evkmimxrt1064_flexspi_nor_config.c @@ -765,13 +772,6 @@ xip\evkmimxrt1064_sdram_ini_dcd.c - - - fsl_flexspi_nor_boot.c - 1 - xip\fsl_flexspi_nor_boot.c - - diff --git a/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.h b/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.h index 91ce15a743..b77548de65 100644 --- a/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.h +++ b/bsp/imxrt/imxrt1064-nxp-evk/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lm3s8962/project.Uv2 b/bsp/lm3s8962/project.Uv2 index f87d84f540..cf9028b45d 100644 --- a/bsp/lm3s8962/project.Uv2 +++ b/bsp/lm3s8962/project.Uv2 @@ -3,143 +3,137 @@ Target (RT-Thread-lm3s), 0x0004 // Tools: 'ARM-ADS' -Group (Drivers) -Group (Applications) -Group (Libraries) -Group (Kernel) -Group (CORTEX-M3) -Group (DeviceDrivers) -Group (libc) -Group (finsh) -Group (LwIP) -Group (Filesystem) - -File 1,1, -File 1,1, -File 1,1, -File 1,1, -File 2,1, -File 2,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,2, -File 4,1,<../../src/clock.c> -File 4,1,<../../src/device.c> -File 4,1,<../../src/idle.c> -File 4,1,<../../src/ipc.c> -File 4,1,<../../src/irq.c> -File 4,1,<../../src/kservice.c> -File 4,1,<../../src/mem.c> -File 4,1,<../../src/mempool.c> -File 4,1,<../../src/object.c> -File 4,1,<../../src/scheduler.c> -File 4,1,<../../src/signal.c> -File 4,1,<../../src/thread.c> -File 4,1,<../../src/timer.c> -File 5,1,<../../libcpu/arm/cortex-m3/cpuport.c> -File 5,2,<../../libcpu/arm/cortex-m3/context_rvds.S> -File 5,1,<../../libcpu/arm/common/backtrace.c> -File 5,1,<../../libcpu/arm/common/div0.c> -File 5,1,<../../libcpu/arm/common/showmem.c> -File 6,1,<../../components/drivers/src/completion.c> -File 6,1,<../../components/drivers/src/dataqueue.c> -File 6,1,<../../components/drivers/src/pipe.c> -File 6,1,<../../components/drivers/src/ringbuffer.c> -File 6,1,<../../components/drivers/src/waitqueue.c> -File 6,1,<../../components/drivers/src/workqueue.c> -File 7,1,<../../components/libc/compilers/armlibc/libc.c> -File 7,1,<../../components/libc/compilers/armlibc/libc_syms.c> -File 7,1,<../../components/libc/compilers/armlibc/mem_std.c> -File 7,1,<../../components/libc/compilers/armlibc/stdio.c> -File 7,1,<../../components/libc/compilers/armlibc/stubs.c> -File 7,1,<../../components/libc/compilers/armlibc/time.c> -File 8,1,<../../components/finsh/shell.c> -File 8,1,<../../components/finsh/symbol.c> -File 8,1,<../../components/finsh/cmd.c> -File 8,1,<../../components/finsh/finsh_compiler.c> -File 8,1,<../../components/finsh/finsh_error.c> -File 8,1,<../../components/finsh/finsh_heap.c> -File 8,1,<../../components/finsh/finsh_init.c> -File 8,1,<../../components/finsh/finsh_node.c> -File 8,1,<../../components/finsh/finsh_ops.c> -File 8,1,<../../components/finsh/finsh_parser.c> -File 8,1,<../../components/finsh/finsh_var.c> -File 8,1,<../../components/finsh/finsh_vm.c> -File 8,1,<../../components/finsh/finsh_token.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/api_lib.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/api_msg.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/err.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/netbuf.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/netdb.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/netifapi.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/sockets.c> -File 9,1,<../../components/net/lwip-1.4.1/src/api/tcpip.c> -File 9,1,<../../components/net/lwip-1.4.1/src/arch/sys_arch.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/def.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/dhcp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/dns.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/init.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/memp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/netif.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/pbuf.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/raw.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/stats.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/sys.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/tcp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/tcp_in.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/tcp_out.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/timers.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/udp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/autoip.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/icmp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/igmp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/inet.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/inet_chksum.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/ip.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/ip_addr.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/ipv4/ip_frag.c> -File 9,1,<../../components/net/lwip-1.4.1/src/netif/etharp.c> -File 9,1,<../../components/net/lwip-1.4.1/src/netif/ethernetif.c> -File 9,1,<../../components/net/lwip-1.4.1/src/netif/slipif.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/asn1_dec.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/asn1_enc.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/mib2.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/mib_structs.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/msg_in.c> -File 9,1,<../../components/net/lwip-1.4.1/src/core/snmp/msg_out.c> -File 10,1,<../../components/dfs/src/dfs.c> -File 10,1,<../../components/dfs/src/dfs_file.c> -File 10,1,<../../components/dfs/src/dfs_fs.c> -File 10,1,<../../components/dfs/src/dfs_posix.c> -File 10,1,<../../components/dfs/filesystems/elmfat/dfs_elm.c> -File 10,1,<../../components/dfs/filesystems/elmfat/ff.c> - +Group (Applications) +Group (CPU) +Group (DeviceDrivers) +Group (Drivers) +Group (Filesystem) +Group (Finsh) +Group (Kernel) +Group (libc) +Group (Libraries) +Group (lwIP) +Group (utestcases) + +File 1,1, +File 1,1, +File 2,1,<..\..\libcpu\arm\common\backtrace.c> +File 2,1,<..\..\libcpu\arm\common\showmem.c> +File 2,1,<..\..\libcpu\arm\common\div0.c> +File 2,1,<..\..\libcpu\arm\cortex-m3\cpuport.c> +File 2,2,<..\..\libcpu\arm\cortex-m3\context_rvds.S> +File 3,1,<..\..\components\drivers\src\ringblk_buf.c> +File 3,1,<..\..\components\drivers\src\waitqueue.c> +File 3,1,<..\..\components\drivers\src\pipe.c> +File 3,1,<..\..\components\drivers\src\ringbuffer.c> +File 3,1,<..\..\components\drivers\src\dataqueue.c> +File 3,1,<..\..\components\drivers\src\completion.c> +File 3,1,<..\..\components\drivers\src\workqueue.c> +File 4,1, +File 4,1, +File 4,1, +File 4,1, +File 5,1,<..\..\components\dfs\src\dfs_posix.c> +File 5,1,<..\..\components\dfs\src\dfs_fs.c> +File 5,1,<..\..\components\dfs\src\dfs.c> +File 5,1,<..\..\components\dfs\src\dfs_file.c> +File 5,1,<..\..\components\dfs\filesystems\elmfat\ff.c> +File 5,1,<..\..\components\dfs\filesystems\elmfat\ffunicode.c> +File 5,1,<..\..\components\dfs\filesystems\elmfat\dfs_elm.c> +File 6,1,<..\..\components\finsh\shell.c> +File 6,1,<..\..\components\finsh\msh.c> +File 6,1,<..\..\components\finsh\msh_file.c> +File 7,1,<..\..\src\clock.c> +File 7,1,<..\..\src\object.c> +File 7,1,<..\..\src\idle.c> +File 7,1,<..\..\src\timer.c> +File 7,1,<..\..\src\mem.c> +File 7,1,<..\..\src\kservice.c> +File 7,1,<..\..\src\ipc.c> +File 7,1,<..\..\src\irq.c> +File 7,1,<..\..\src\device.c> +File 7,1,<..\..\src\components.c> +File 7,1,<..\..\src\thread.c> +File 7,1,<..\..\src\scheduler.c> +File 7,1,<..\..\src\mempool.c> +File 8,1,<..\..\components\libc\compilers\armlibc\stdio.c> +File 8,1,<..\..\components\libc\compilers\armlibc\syscalls.c> +File 8,1,<..\..\components\libc\compilers\armlibc\libc.c> +File 8,1,<..\..\components\libc\compilers\armlibc\mem_std.c> +File 8,1,<..\..\components\libc\compilers\common\stdlib.c> +File 8,1,<..\..\components\libc\compilers\common\time.c> +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,2, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 9,1, +File 10,1,<..\..\components\net\lwip-1.4.1\src\netif\etharp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\netdb.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\autoip.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_frag.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\inet_chksum.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\netif.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\sys.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\msg_in.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\sockets.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\netifapi.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\tcpip.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\msg_out.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\inet.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\init.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\netif\ethernetif.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\netif\slipif.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\memp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\mib_structs.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\asn1_enc.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\dhcp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\netbuf.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\raw.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\tcp_out.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\icmp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\api_lib.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\stats.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\err.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\tcp_in.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\dns.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\arch\sys_arch.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\asn1_dec.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\igmp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\udp.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\pbuf.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\ipv4\ip.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\def.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\api\api_msg.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\timers.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\snmp\mib2.c> +File 10,1,<..\..\components\net\lwip-1.4.1\src\core\tcp.c> + @@ -199,9 +193,9 @@ Options 1,0,0 // Target 'RT-Thread-lm3s' RV_STAVEC () ADSCCFLG { 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSCMISC () - ADSCDEFN (PART_LM3S8962, RT_USING_ARM_LIBC) + ADSCDEFN (PART_LM3S8962, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND) ADSCUDEF () - ADSCINCD (../../components/net/lwip-1.4.1/src/include/netif;../../libcpu/arm/cortex-m3;../../components/drivers/include;../../components/net/lwip-1.4.1/src;../../components/libc/compilers/armlibc;../../components/dfs/filesystems/elmfat;drivers;../../libcpu/arm/common;.;Libraries;applications;../../include;../../components/dfs/include;../../components/net/lwip-1.4.1/src/include;../../components/finsh;../../components/net/lwip-1.4.1/src/arch/include;../../components/net/lwip-1.4.1/src/include/ipv4) + ADSCINCD (..\..\components\net\lwip-1.4.1\src;..\..\components\libc\compilers\common\nogcc;..\..\components\dfs\filesystems\elmfat;..\..\include;drivers;..\..\components\libc\compilers\common;..\..\components\net\lwip-1.4.1\src\include\netif;..\..\examples\utest\testcases\kernel;.;Libraries;applications;..\..\components\net\lwip-1.4.1\src\include;..\..\libcpu\arm\cortex-m3;..\..\components\net\lwip-1.4.1\src\include\ipv4;..\..\components\drivers\include;..\..\libcpu\arm\common;..\..\components\net\lwip-1.4.1\src\arch\include;..\..\components\libc\compilers\armlibc;..\..\components\finsh;..\..\components\dfs\include) ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSAMISC () ADSADEFN () @@ -222,7 +216,7 @@ Options 1,0,0 // Target 'RT-Thread-lm3s' ADSLDSC () ADSLDIB () ADSLDIC () - ADSLDMC ( --keep *.o(FSymTab) --keep *.o(VSymTab) ) + ADSLDMC () ADSLDIF () ADSLDDW () OPTDL (SARMCM3.DLL)()(DLM.DLL)(-pLM3S8962)(SARMCM3.DLL)()(TLM.DLL)(-pLM3S8962) diff --git a/bsp/lm3s9b9x/project.Uv2 b/bsp/lm3s9b9x/project.Uv2 index d02f44f078..32d737e736 100644 --- a/bsp/lm3s9b9x/project.Uv2 +++ b/bsp/lm3s9b9x/project.Uv2 @@ -3,117 +3,109 @@ Target (RT-Thread-lm3s), 0x0004 // Tools: 'ARM-ADS' -Group (Drivers) -Group (Applications) -Group (Libraries) -Group (Kernel) -Group (CORTEX-M3) -Group (finsh) -Group (lwIP) - -File 1,1, -File 1,1, -File 1,1, -File 1,1, -File 2,1, -File 2,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,1, -File 3,2, -File 4,1,<../../src/clock.c> -File 4,1,<../../src/device.c> -File 4,1,<../../src/idle.c> -File 4,1,<../../src/ipc.c> -File 4,1,<../../src/irq.c> -File 4,1,<../../src/kservice.c> -File 4,1,<../../src/mem.c> -File 4,1,<../../src/mempool.c> -File 4,1,<../../src/object.c> -File 4,1,<../../src/scheduler.c> -File 4,1,<../../src/signal.c> -File 4,1,<../../src/thread.c> -File 4,1,<../../src/timer.c> -File 5,1,<../../libcpu/arm/cortex-m3/cpuport.c> -File 5,2,<../../libcpu/arm/cortex-m3/context_rvds.S> -File 5,1,<../../libcpu/arm/common/backtrace.c> -File 5,1,<../../libcpu/arm/common/div0.c> -File 5,1,<../../libcpu/arm/common/showmem.c> -File 6,1,<../../components/finsh/shell.c> -File 6,1,<../../components/finsh/symbol.c> -File 6,1,<../../components/finsh/cmd.c> -File 6,1,<../../components/finsh/finsh_compiler.c> -File 6,1,<../../components/finsh/finsh_error.c> -File 6,1,<../../components/finsh/finsh_heap.c> -File 6,1,<../../components/finsh/finsh_init.c> -File 6,1,<../../components/finsh/finsh_node.c> -File 6,1,<../../components/finsh/finsh_ops.c> -File 6,1,<../../components/finsh/finsh_parser.c> -File 6,1,<../../components/finsh/finsh_var.c> -File 6,1,<../../components/finsh/finsh_vm.c> -File 6,1,<../../components/finsh/finsh_token.c> -File 7,1,<../../components/net/lwip-2.0.2/src/arch/sys_arch.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/api_lib.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/api_msg.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/err.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/netbuf.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/netdb.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/netifapi.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/sockets.c> -File 7,1,<../../components/net/lwip-2.0.2/src/api/tcpip.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/def.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/dns.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/inet_chksum.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/init.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ip.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/memp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/netif.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/pbuf.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/raw.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/stats.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/sys.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/tcp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/tcp_in.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/tcp_out.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/timeouts.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/udp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/netif/ethernet.c> -File 7,1,<../../components/net/lwip-2.0.2/src/netif/ethernetif.c> -File 7,1,<../../components/net/lwip-2.0.2/src/netif/lowpan6.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/autoip.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/dhcp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/etharp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/icmp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/igmp.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/ip4.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/ip4_addr.c> -File 7,1,<../../components/net/lwip-2.0.2/src/core/ipv4/ip4_frag.c> - +Group (Applications) +Group (CPU) +Group (Drivers) +Group (Finsh) +Group (Kernel) +Group (libc) +Group (Libraries) +Group (lwIP) +Group (utestcases) + +File 1,1, +File 1,1, +File 2,1,<..\..\libcpu\arm\common\div0.c> +File 2,1,<..\..\libcpu\arm\common\showmem.c> +File 2,1,<..\..\libcpu\arm\common\backtrace.c> +File 2,1,<..\..\libcpu\arm\cortex-m3\cpuport.c> +File 2,2,<..\..\libcpu\arm\cortex-m3\context_rvds.S> +File 3,1, +File 3,1, +File 3,1, +File 3,1, +File 4,1,<..\..\components\finsh\shell.c> +File 4,1,<..\..\components\finsh\msh.c> +File 5,1,<..\..\src\kservice.c> +File 5,1,<..\..\src\mempool.c> +File 5,1,<..\..\src\clock.c> +File 5,1,<..\..\src\device.c> +File 5,1,<..\..\src\thread.c> +File 5,1,<..\..\src\idle.c> +File 5,1,<..\..\src\timer.c> +File 5,1,<..\..\src\object.c> +File 5,1,<..\..\src\components.c> +File 5,1,<..\..\src\irq.c> +File 5,1,<..\..\src\ipc.c> +File 5,1,<..\..\src\scheduler.c> +File 5,1,<..\..\src\mem.c> +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,2, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 7,1, +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\netdb.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ip.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\autoip.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\netif\ethernet.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\netif.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\sys.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\sockets.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\netifapi.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\tcpip.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\dhcp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\init.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\netif\ethernetif.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\etharp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\memp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\netbuf.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\raw.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_frag.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\tcp_out.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\netif\lowpan6.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\icmp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\api_lib.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\inet_chksum.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\stats.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\err.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\tcp_in.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\dns.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\arch\sys_arch.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\timeouts.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\ipv4\igmp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\udp.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\pbuf.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\def.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\api\api_msg.c> +File 8,1,<..\..\components\net\lwip-2.0.3\src\core\tcp.c> + @@ -173,9 +165,9 @@ Options 1,0,0 // Target 'RT-Thread-lm3s' RV_STAVEC () ADSCCFLG { 13,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSCMISC () - ADSCDEFN (PART_LM3S9B96) + ADSCDEFN (PART_LM3S9B96, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND) ADSCUDEF () - ADSCINCD (../../components/net/lwip-2.0.2/src;../../libcpu/arm/cortex-m3;../../components/net/lwip-2.0.2/src/include/posix;drivers;../../libcpu/arm/common;.;Libraries;applications;../../include;../../components/net/lwip-2.0.2/src/include/netif;../../components/net/lwip-2.0.2/src/arch/include;../../components/net/lwip-2.0.2/src/include/ipv4;../../components/finsh;../../components/net/lwip-2.0.2/src/include) + ADSCINCD (..\..\components\libc\compilers\common\nogcc;..\..\include;..\..\components\net\lwip-2.0.3\src\include;drivers;..\..\components\libc\compilers\common;..\..\components\net\lwip-2.0.3\src\include\ipv4;.;Libraries;applications;..\..\components\net\lwip-2.0.3\src\include\netif;..\..\examples\utest\testcases\kernel;..\..\libcpu\arm\cortex-m3;..\..\components\net\lwip-2.0.3\src;..\..\libcpu\arm\common;..\..\components\net\lwip-2.0.3\src\include\posix;..\..\components\finsh;..\..\components\net\lwip-2.0.3\src\arch\include) ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSAMISC () ADSADEFN () @@ -196,7 +188,7 @@ Options 1,0,0 // Target 'RT-Thread-lm3s' ADSLDSC () ADSLDIB () ADSLDIC () - ADSLDMC ( --keep *.o(FSymTab) --keep *.o(VSymTab) ) + ADSLDMC () ADSLDIF () ADSLDDW () OPTDL (SARMCM3.DLL)()(DLM.DLL)(-pLM3S9B96)(SARMCM3.DLL)()(TLM.DLL)(-pLM3S9B96) diff --git a/bsp/lm4f232/project.uvproj b/bsp/lm4f232/project.uvproj index b38a9b843c..e3d226fdc8 100644 --- a/bsp/lm4f232/project.uvproj +++ b/bsp/lm4f232/project.uvproj @@ -341,9 +341,9 @@ 0 - PART_LM4F232H5QD + PART_LM4F232H5QD, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - .;..\..\include;applications;.;drivers;Libraries;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\finsh;..\..\components\libc\compilers\common + applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;Libraries;..\..\examples\utest\testcases\kernel @@ -380,114 +380,6 @@ - - Kernel - - - clock.c - 1 - ..\..\src\clock.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - cpu.c - 1 - ..\..\src\cpu.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\src\signal.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - Applications @@ -505,6 +397,44 @@ + + CPU + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + + + + div0.c + 1 + ..\..\libcpu\arm\common\div0.c + + + + + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c + + + + + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S + + + Drivers @@ -522,13 +452,131 @@ + + Finsh + + + shell.c + 1 + ..\..\components\finsh\shell.c + + + + + msh.c + 1 + ..\..\components\finsh\msh.c + + + + + Kernel + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + Libraries - adc.c + gpio.c 1 - Libraries\driverlib\adc.c + Libraries\driverlib\gpio.c + + + + + sysctl.c + 1 + Libraries\driverlib\sysctl.c @@ -540,23 +588,9 @@ - comp.c + peci.c 1 - Libraries\driverlib\comp.c - - - - - driverlib_cpu.c - 1 - Libraries\driverlib\cpu.c - - - - - eeprom.c - 1 - Libraries\driverlib\eeprom.c + Libraries\driverlib\peci.c @@ -568,51 +602,9 @@ - ethernet.c + interrupt.c 1 - Libraries\driverlib\ethernet.c - - - - - fan.c - 1 - Libraries\driverlib\fan.c - - - - - flash.c - 1 - Libraries\driverlib\flash.c - - - - - fpu.c - 1 - Libraries\driverlib\fpu.c - - - - - gpio.c - 1 - Libraries\driverlib\gpio.c - - - - - hibernate.c - 1 - Libraries\driverlib\hibernate.c - - - - - i2c.c - 1 - Libraries\driverlib\i2c.c + Libraries\driverlib\interrupt.c @@ -624,9 +616,30 @@ - interrupt.c + usb.c 1 - Libraries\driverlib\interrupt.c + Libraries\driverlib\usb.c + + + + + adc.c + 1 + Libraries\driverlib\adc.c + + + + + eeprom.c + 1 + Libraries\driverlib\eeprom.c + + + + + ssi.c + 1 + Libraries\driverlib\ssi.c @@ -638,16 +651,72 @@ - mpu.c + ethernet.c 1 - Libraries\driverlib\mpu.c + Libraries\driverlib\ethernet.c - peci.c + hibernate.c 1 - Libraries\driverlib\peci.c + Libraries\driverlib\hibernate.c + + + + + driverlib_timer.c + 1 + Libraries\driverlib\timer.c + + + + + comp.c + 1 + Libraries\driverlib\comp.c + + + + + start_rvds.S + 2 + Libraries\startup\arm\start_rvds.S + + + + + systick.c + 1 + Libraries\driverlib\systick.c + + + + + uart.c + 1 + Libraries\driverlib\uart.c + + + + + sysexc.c + 1 + Libraries\driverlib\sysexc.c + + + + + cpu.c + 1 + Libraries\driverlib\cpu.c + + + + + fpu.c + 1 + Libraries\driverlib\fpu.c @@ -666,44 +735,37 @@ - ssi.c + watchdog.c 1 - Libraries\driverlib\ssi.c + Libraries\driverlib\watchdog.c - sysctl.c + flash.c 1 - Libraries\driverlib\sysctl.c + Libraries\driverlib\flash.c - sysexc.c + i2c.c 1 - Libraries\driverlib\sysexc.c + Libraries\driverlib\i2c.c - systick.c + fan.c 1 - Libraries\driverlib\systick.c + Libraries\driverlib\fan.c - driverlib_timer.c + mpu.c 1 - Libraries\driverlib\timer.c - - - - - uart.c - 1 - Libraries\driverlib\uart.c + Libraries\driverlib\mpu.c @@ -713,152 +775,6 @@ Libraries\driverlib\udma.c - - - usb.c - 1 - Libraries\driverlib\usb.c - - - - - watchdog.c - 1 - Libraries\driverlib\watchdog.c - - - - - start_rvds.S - 2 - Libraries\startup\arm\start_rvds.S - - - - - cpu - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c - - - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - - - - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c - - - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S - - - - - finsh - - - shell.c - 1 - ..\..\components\finsh\shell.c - - - - - cmd.c - 1 - ..\..\components\finsh\cmd.c - - - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c - - diff --git a/bsp/lpc1114/.config b/bsp/lpc1114/.config index 9896107a19..3b4d6cd115 100644 --- a/bsp/lpc1114/.config +++ b/bsp/lpc1114/.config @@ -317,6 +317,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -341,17 +342,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -364,11 +372,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -412,12 +420,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -427,6 +443,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -446,7 +470,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -463,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -471,6 +493,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -547,6 +570,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc1114/rtconfig.h b/bsp/lpc1114/rtconfig.h index 152ac5149e..228dfe3845 100644 --- a/bsp/lpc1114/rtconfig.h +++ b/bsp/lpc1114/rtconfig.h @@ -161,14 +161,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -177,10 +180,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lpc176x/project.ewp b/bsp/lpc176x/project.ewp index cc30279eae..bfa1230f30 100644 --- a/bsp/lpc176x/project.ewp +++ b/bsp/lpc176x/project.ewp @@ -285,21 +285,24 @@ @@ -396,9 +396,9 @@ Applications - application.c + startup.c 1 - applications\application.c + applications\startup.c @@ -410,9 +410,9 @@ - startup.c + application.c 1 - applications\startup.c + applications\application.c @@ -437,16 +437,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c @@ -458,16 +458,16 @@ - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m3\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m3\context_rvds.S - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m3\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m3\cpuport.c @@ -475,9 +475,9 @@ Drivers - board.c + uart.c 1 - drivers\board.c + drivers\uart.c @@ -489,9 +489,9 @@ - led.c + board.c 1 - drivers\led.c + drivers\board.c @@ -503,14 +503,14 @@ - uart.c + led.c 1 - drivers\uart.c + drivers\led.c - finsh + Finsh shell.c @@ -520,126 +520,14 @@ - cmd.c + msh.c 1 - ..\..\components\finsh\cmd.c - - - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c + ..\..\components\finsh\msh.c Kernel - - - clock.c - 1 - ..\..\src\clock.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - kservice.c @@ -647,13 +535,6 @@ ..\..\src\kservice.c - - - mem.c - 1 - ..\..\src\mem.c - - memheap.c @@ -663,16 +544,30 @@ - mempool.c + clock.c 1 - ..\..\src\mempool.c + ..\..\src\clock.c - object.c + ipc.c 1 - ..\..\src\object.c + ..\..\src\ipc.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + components.c + 1 + ..\..\src\components.c @@ -684,16 +579,16 @@ - signal.c + thread.c 1 - ..\..\src\signal.c + ..\..\src\thread.c - thread.c + device.c 1 - ..\..\src\thread.c + ..\..\src\device.c @@ -703,259 +598,287 @@ ..\..\src\timer.c + + + object.c + 1 + ..\..\src\object.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + lwIP - - - sys_arch.c - 1 - ..\..\components\net\lwip-2.0.2\src\arch\sys_arch.c - - - - - api_lib.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_lib.c - - - - - api_msg.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - - - - err.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\err.c - - - - - netbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netbuf.c - - netdb.c 1 - ..\..\components\net\lwip-2.0.2\src\api\netdb.c - - - - - netifapi.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\netifapi.c - - - - - sockets.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\sockets.c - - - - - tcpip.c - 1 - ..\..\components\net\lwip-2.0.2\src\api\tcpip.c - - - - - def.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\def.c - - - - - dns.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\dns.c - - - - - inet_chksum.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\inet_chksum.c - - - - - init.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\init.c + ..\..\components\net\lwip-2.0.3\src\api\netdb.c ip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ip.c - - - - - memp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\memp.c - - - - - netif.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\netif.c - - - - - pbuf.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\pbuf.c - - - - - raw.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\raw.c - - - - - stats.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\stats.c - - - - - sys.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\sys.c - - - - - tcp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp.c - - - - - tcp_in.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_in.c - - - - - tcp_out.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\tcp_out.c - - - - - timeouts.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\timeouts.c - - - - - udp.c - 1 - ..\..\components\net\lwip-2.0.2\src\core\udp.c - - - - - ethernet.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernet.c - - - - - ethernetif.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\ethernetif.c - - - - - lowpan6.c - 1 - ..\..\components\net\lwip-2.0.2\src\netif\lowpan6.c + ..\..\components\net\lwip-2.0.3\src\core\ip.c autoip.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\autoip.c - dhcp.c + ethernet.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c + ..\..\components\net\lwip-2.0.3\src\netif\ethernet.c - etharp.c + netif.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\etharp.c + ..\..\components\net\lwip-2.0.3\src\core\netif.c - icmp.c + sys.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\icmp.c + ..\..\components\net\lwip-2.0.3\src\core\sys.c - igmp.c + sockets.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\igmp.c + ..\..\components\net\lwip-2.0.3\src\api\sockets.c - ip4.c + netifapi.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c + ..\..\components\net\lwip-2.0.3\src\api\netifapi.c + + + + + tcpip.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\tcpip.c ip4_addr.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_addr.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_addr.c + + + + + dhcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\dhcp.c + + + + + init.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\init.c + + + + + ethernetif.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\ethernetif.c + + + + + etharp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\etharp.c + + + + + memp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\memp.c + + + + + ip4.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4.c + + + + + netbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\netbuf.c + + + + + raw.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\raw.c ip4_frag.c 1 - ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4_frag.c + ..\..\components\net\lwip-2.0.3\src\core\ipv4\ip4_frag.c + + + + + tcp_out.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_out.c + + + + + lowpan6.c + 1 + ..\..\components\net\lwip-2.0.3\src\netif\lowpan6.c + + + + + icmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\icmp.c + + + + + api_lib.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_lib.c + + + + + inet_chksum.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\inet_chksum.c + + + + + stats.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\stats.c + + + + + err.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\err.c + + + + + tcp_in.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp_in.c + + + + + dns.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\dns.c + + + + + sys_arch.c + 1 + ..\..\components\net\lwip-2.0.3\src\arch\sys_arch.c + + + + + timeouts.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\timeouts.c + + + + + igmp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\ipv4\igmp.c + + + + + udp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\udp.c + + + + + pbuf.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\pbuf.c + + + + + def.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\def.c + + + + + api_msg.c + 1 + ..\..\components\net\lwip-2.0.3\src\api\api_msg.c + + + + + tcp.c + 1 + ..\..\components\net\lwip-2.0.3\src\core\tcp.c diff --git a/bsp/lpc178x/project.uvproj b/bsp/lpc178x/project.uvproj index e4b3b0d6a7..312741bccf 100644 --- a/bsp/lpc178x/project.uvproj +++ b/bsp/lpc178x/project.uvproj @@ -341,9 +341,9 @@ 0 - __RTTHREAD__ + __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - applications;.;CMSIS\CM3\CoreSupport;CMSIS\CM3\DeviceSupport\NXP\LPC177x_8x;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;drivers;..\..\components\finsh;.;..\..\include + applications;.;CMSIS\CM3\CoreSupport;CMSIS\CM3\DeviceSupport\NXP\LPC177x_8x;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m3;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\examples\utest\testcases\kernel @@ -384,16 +384,16 @@ Applications - application.c + startup.c 1 - applications\application.c + applications\startup.c - startup.c + application.c 1 - applications\startup.c + applications\application.c @@ -423,6 +423,13 @@ CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -437,13 +444,6 @@ ..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - cpuport.c @@ -461,6 +461,20 @@ Drivers + + + lpc177x_8x_pinsel.c + 1 + drivers\lpc177x_8x_pinsel.c + + + + + lpc17xx_lcd.c + 1 + drivers\lpc17xx_lcd.c + + board.c @@ -468,6 +482,20 @@ drivers\board.c + + + uart.c + 1 + drivers\uart.c + + + + + lpc177x_8x_uart.c + 1 + drivers\lpc177x_8x_uart.c + + drv_glcd.c @@ -482,34 +510,6 @@ drivers\lpc177x_8x_clkpwr.c - - - lpc177x_8x_emc.c - 1 - drivers\lpc177x_8x_emc.c - - - - - lpc177x_8x_pinsel.c - 1 - drivers\lpc177x_8x_pinsel.c - - - - - lpc177x_8x_uart.c - 1 - drivers\lpc177x_8x_uart.c - - - - - lpc17xx_lcd.c - 1 - drivers\lpc17xx_lcd.c - - sdram.c @@ -519,14 +519,14 @@ - uart.c + lpc177x_8x_emc.c 1 - drivers\uart.c + drivers\lpc177x_8x_emc.c - finsh + Finsh shell.c @@ -536,91 +536,14 @@ - cmd.c + msh.c 1 - ..\..\components\finsh\cmd.c - - - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c + ..\..\components\finsh\msh.c Kernel - - - clock.c - 1 - ..\..\src\clock.c - - components.c @@ -628,83 +551,6 @@ ..\..\src\components.c - - - device.c - 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - memheap.c - 1 - ..\..\src\memheap.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\src\signal.c - - thread.c @@ -712,6 +558,62 @@ ..\..\src\thread.c + + + irq.c + 1 + ..\..\src\irq.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + memheap.c + 1 + ..\..\src\memheap.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + clock.c + 1 + ..\..\src\clock.c + + timer.c @@ -719,6 +621,27 @@ ..\..\src\timer.c + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + diff --git a/bsp/lpc2148/project.Uv2 b/bsp/lpc2148/project.Uv2 index c76e1fb469..3fc926285c 100644 --- a/bsp/lpc2148/project.Uv2 +++ b/bsp/lpc2148/project.Uv2 @@ -3,49 +3,40 @@ Target (rtthread-lpc2148), 0x0004 // Tools: 'ARM-ADS' -Group (Drivers) -Group (Applications) -Group (Kernel) -Group (LPC214X) -Group (finsh) - -File 1,1, -File 1,1, -File 2,1, -File 2,1, -File 3,1,<../../src/clock.c> -File 3,1,<../../src/device.c> -File 3,1,<../../src/idle.c> -File 3,1,<../../src/ipc.c> -File 3,1,<../../src/irq.c> -File 3,1,<../../src/kservice.c> -File 3,1,<../../src/mem.c> -File 3,1,<../../src/mempool.c> -File 3,1,<../../src/object.c> -File 3,1,<../../src/scheduler.c> -File 3,1,<../../src/signal.c> -File 3,1,<../../src/thread.c> -File 3,1,<../../src/timer.c> -File 4,1,<../../libcpu/arm/lpc214x/cpuport.c> -File 4,2,<../../libcpu/arm/lpc214x/context_rvds.S> -File 4,2,<../../libcpu/arm/lpc214x/start_rvds.S> -File 4,1,<../../libcpu/arm/common/backtrace.c> -File 4,1,<../../libcpu/arm/common/div0.c> -File 4,1,<../../libcpu/arm/common/showmem.c> -File 5,1,<../../components/finsh/shell.c> -File 5,1,<../../components/finsh/symbol.c> -File 5,1,<../../components/finsh/cmd.c> -File 5,1,<../../components/finsh/finsh_compiler.c> -File 5,1,<../../components/finsh/finsh_error.c> -File 5,1,<../../components/finsh/finsh_heap.c> -File 5,1,<../../components/finsh/finsh_init.c> -File 5,1,<../../components/finsh/finsh_node.c> -File 5,1,<../../components/finsh/finsh_ops.c> -File 5,1,<../../components/finsh/finsh_parser.c> -File 5,1,<../../components/finsh/finsh_var.c> -File 5,1,<../../components/finsh/finsh_vm.c> -File 5,1,<../../components/finsh/finsh_token.c> - +Group (Applications) +Group (CPU) +Group (Drivers) +Group (Finsh) +Group (Kernel) +Group (libc) +Group (utestcases) + +File 1,1, +File 1,1, +File 2,1,<..\..\libcpu\arm\common\div0.c> +File 2,1,<..\..\libcpu\arm\common\backtrace.c> +File 2,1,<..\..\libcpu\arm\common\showmem.c> +File 2,1,<..\..\libcpu\arm\lpc214x\cpuport.c> +File 2,2,<..\..\libcpu\arm\lpc214x\context_rvds.S> +File 2,2,<..\..\libcpu\arm\lpc214x\start_rvds.S> +File 3,1, +File 3,1, +File 4,1,<..\..\components\finsh\shell.c> +File 4,1,<..\..\components\finsh\msh.c> +File 5,1,<..\..\src\thread.c> +File 5,1,<..\..\src\irq.c> +File 5,1,<..\..\src\object.c> +File 5,1,<..\..\src\device.c> +File 5,1,<..\..\src\kservice.c> +File 5,1,<..\..\src\timer.c> +File 5,1,<..\..\src\mempool.c> +File 5,1,<..\..\src\idle.c> +File 5,1,<..\..\src\clock.c> +File 5,1,<..\..\src\components.c> +File 5,1,<..\..\src\scheduler.c> +File 5,1,<..\..\src\ipc.c> +File 5,1,<..\..\src\mem.c> + @@ -105,9 +96,9 @@ Options 1,0,0 // Target 'rtthread-lpc2148' RV_STAVEC () ADSCCFLG { 5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSCMISC () - ADSCDEFN () + ADSCDEFN (__RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND) ADSCUDEF () - ADSCINCD (drivers;../../libcpu/arm/common;.;applications;../../include;../../libcpu/arm/lpc214x;../../components/finsh) + ADSCINCD (..\..\components\libc\compilers\common\nogcc;..\..\include;drivers;..\..\components\libc\compilers\common;.;applications;..\..\examples\utest\testcases\kernel;..\..\libcpu\arm\lpc214x;..\..\libcpu\arm\common;..\..\components\finsh) ADSASFLG { 1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } ADSAMISC () ADSADEFN () @@ -128,7 +119,7 @@ Options 1,0,0 // Target 'rtthread-lpc2148' ADSLDSC () ADSLDIB () ADSLDIC () - ADSLDMC ( --keep *.o(FSymTab) --keep *.o(VSymTab) ) + ADSLDMC () ADSLDIF () ADSLDDW () OPTDL (SARM.DLL)(-cLPC2100)(DARMP.DLL)(-pLPC2148)(SARM.DLL)()(TARMP.DLL)(-pLPC2148) diff --git a/bsp/lpc2478/project.uvproj b/bsp/lpc2478/project.uvproj index c2ae8cd7fc..8335f1a6d8 100644 --- a/bsp/lpc2478/project.uvproj +++ b/bsp/lpc2478/project.uvproj @@ -352,9 +352,9 @@ 0 - __RTTHREAD__ + __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\lpc24xx;drivers;..\..\components\finsh;.;..\..\include + applications;.;..\..\libcpu\arm\common;..\..\libcpu\arm\lpc24xx;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;..\..\examples\utest\testcases\kernel @@ -396,16 +396,16 @@ Applications - application.c + startup.c 1 - applications\application.c + applications\startup.c - startup.c + application.c 1 - applications\startup.c + applications\application.c @@ -413,16 +413,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c @@ -434,16 +434,23 @@ - cpu.c + trap.c 1 - ..\..\libcpu\arm\lpc24xx\cpu.c + ..\..\libcpu\arm\lpc24xx\trap.c - interrupt.c + start_rvds.S + 2 + ..\..\libcpu\arm\lpc24xx\start_rvds.S + + + + + cpu.c 1 - ..\..\libcpu\arm\lpc24xx\interrupt.c + ..\..\libcpu\arm\lpc24xx\cpu.c @@ -455,9 +462,9 @@ - trap.c + interrupt.c 1 - ..\..\libcpu\arm\lpc24xx\trap.c + ..\..\libcpu\arm\lpc24xx\interrupt.c @@ -467,23 +474,9 @@ ..\..\libcpu\arm\lpc24xx\context_rvds.S - - - start_rvds.S - 2 - ..\..\libcpu\arm\lpc24xx\start_rvds.S - - Drivers - - - board.c - 1 - drivers\board.c - - serial.c @@ -491,9 +484,16 @@ drivers\serial.c + + + board.c + 1 + drivers\board.c + + - finsh + Finsh shell.c @@ -503,79 +503,9 @@ - cmd.c + msh.c 1 - ..\..\components\finsh\cmd.c - - - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c + ..\..\components\finsh\msh.c @@ -583,16 +513,9 @@ Kernel - clock.c + timer.c 1 - ..\..\src\clock.c - - - - - components.c - 1 - ..\..\src\components.c + ..\..\src\timer.c @@ -604,37 +527,9 @@ - idle.c + clock.c 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c + ..\..\src\clock.c @@ -646,23 +541,9 @@ - object.c + ipc.c 1 - ..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\src\signal.c + ..\..\src\ipc.c @@ -674,9 +555,51 @@ - timer.c + kservice.c 1 - ..\..\src\timer.c + ..\..\src\kservice.c + + + + + idle.c + 1 + ..\..\src\idle.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + object.c + 1 + ..\..\src\object.c diff --git a/bsp/lpc408x/.config b/bsp/lpc408x/.config index 1dd605809a..a2922c06f2 100644 --- a/bsp/lpc408x/.config +++ b/bsp/lpc408x/.config @@ -364,6 +364,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -388,17 +389,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -411,11 +419,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -459,12 +467,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -474,6 +490,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -494,7 +518,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -511,7 +534,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -519,6 +541,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -595,6 +618,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc408x/project.uvproj b/bsp/lpc408x/project.uvproj index efe8461b14..11643fbd88 100644 --- a/bsp/lpc408x/project.uvproj +++ b/bsp/lpc408x/project.uvproj @@ -418,13 +418,6 @@ ..\..\libcpu\arm\common\backtrace.c - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - showmem.c @@ -434,9 +427,9 @@ - cpuport.c + div0.c 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\libcpu\arm\common\div0.c @@ -446,6 +439,13 @@ ..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -465,16 +465,16 @@ - waitqueue.c + workqueue.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\workqueue.c - dataqueue.c + ringbuffer.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\ringbuffer.c @@ -486,9 +486,16 @@ - pipe.c + dataqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\dataqueue.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c @@ -500,16 +507,9 @@ - workqueue.c + pipe.c 1 - ..\..\components\drivers\src\workqueue.c - - - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\pipe.c @@ -576,16 +576,16 @@ - ff.c + dfs_elm.c 1 - ..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c - dfs_elm.c + ff.c 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + ..\..\components\dfs\filesystems\elmfat\ff.c @@ -624,16 +624,9 @@ Kernel - kservice.c + timer.c 1 - ..\..\src\kservice.c - - - - - ipc.c - 1 - ..\..\src\ipc.c + ..\..\src\timer.c @@ -645,16 +638,16 @@ - components.c + device.c 1 - ..\..\src\components.c + ..\..\src\device.c - timer.c + components.c 1 - ..\..\src\timer.c + ..\..\src\components.c @@ -666,9 +659,16 @@ - thread.c + idle.c 1 - ..\..\src\thread.c + ..\..\src\idle.c + + + + + ipc.c + 1 + ..\..\src\ipc.c @@ -687,16 +687,16 @@ - device.c + kservice.c 1 - ..\..\src\device.c + ..\..\src\kservice.c - idle.c + thread.c 1 - ..\..\src\idle.c + ..\..\src\thread.c diff --git a/bsp/lpc408x/project.uvprojx b/bsp/lpc408x/project.uvprojx index e14e22a0f6..c0697aaab1 100644 --- a/bsp/lpc408x/project.uvprojx +++ b/bsp/lpc408x/project.uvprojx @@ -386,6 +386,13 @@ CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -400,13 +407,6 @@ ..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - cpuport.c @@ -438,20 +438,6 @@ ..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - dataqueue.c @@ -468,9 +454,16 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringblk_buf.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c @@ -482,9 +475,16 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\waitqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c @@ -551,16 +551,16 @@ - ff.c + ffunicode.c 1 - ..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\components\dfs\filesystems\elmfat\ffunicode.c - ffunicode.c + ff.c 1 - ..\..\components\dfs\filesystems\elmfat\ffunicode.c + ..\..\components\dfs\filesystems\elmfat\ff.c @@ -597,13 +597,6 @@ Kernel - - - thread.c - 1 - ..\..\src\thread.c - - scheduler.c @@ -613,30 +606,9 @@ - clock.c + thread.c 1 - ..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - memheap.c - 1 - ..\..\src\memheap.c + ..\..\src\thread.c @@ -648,23 +620,9 @@ - timer.c + memheap.c 1 - ..\..\src\timer.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - object.c - 1 - ..\..\src\object.c + ..\..\src\memheap.c @@ -681,6 +639,27 @@ ..\..\src\mempool.c + + + clock.c + 1 + ..\..\src\clock.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + idle.c + 1 + ..\..\src\idle.c + + device.c @@ -688,6 +667,27 @@ ..\..\src\device.c + + + timer.c + 1 + ..\..\src\timer.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + libc diff --git a/bsp/lpc408x/rtconfig.h b/bsp/lpc408x/rtconfig.h index 210136f8fb..ec309bdb28 100644 --- a/bsp/lpc408x/rtconfig.h +++ b/bsp/lpc408x/rtconfig.h @@ -192,14 +192,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -208,10 +211,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lpc43xx/M0/project.uvopt b/bsp/lpc43xx/M0/project.uvopt new file mode 100644 index 0000000000..59c68db91e --- /dev/null +++ b/bsp/lpc43xx/M0/project.uvopt @@ -0,0 +1,349 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + + + + 0 + 0 + + + + LPC43xx SPIFI + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 1 + + 8 + + + 0 + User Manual + DATASHTS\NXP\LPC43xx\UM10503.pdf + + + 1 + Data Sheet + DATASHTS\NXP\LPC43xx\LPC435X_3X_2X_1X.pdf + + + 2 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 3 + Generic User Guide + datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + + + + + + + + + BIN\UL2CM3.DLL + + + + 0 + UL2CM3 + -U -O975 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD10000000 -FC8000 -FN3 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000 -FF2LPC18xx43xx_S25FL032 -FS214000000 -FL2400000 + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + LPC43xx RAM + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 0 + + 8 + + + 0 + User Manual + DATASHTS\NXP\LPC43xx\UM10503.pdf + + + 1 + Data Sheet + DATASHTS\NXP\LPC43xx\LPC435X_3X_2X_1X.pdf + + + 2 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 3 + Generic User Guide + datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + + + + + + + + .\Dbg_RAM.ini + BIN\UL2CM3.DLL + + + + 0 + UL2CM3 + -U -O783 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD10000000 -FC8000 -FN3 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000 -FF2LPC18xx43xx_S25FL032 -FS214000000 -FL2400000 + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + +
diff --git a/bsp/lpc43xx/M0/project.uvproj b/bsp/lpc43xx/M0/project.uvproj new file mode 100644 index 0000000000..aa8146f118 --- /dev/null +++ b/bsp/lpc43xx/M0/project.uvproj @@ -0,0 +1,705 @@ + + + 1.1 +
### uVision Project, (C) Keil Software
+ + + LPC43xx SPIFI + 0x4 + ARM-ADS + + + LPC4357 CM0 + NXP + CLOCK(12000000) CPUTYPE("Cortex-M0") + + "STARTUP\NXP\LPC43xx\startup_LPC43xx_M0.s" ("NXP LPC43xx CM0 Startup Code") + UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) + 6917 + LPC43xx.H + + + + + + + -DCORE_M0 + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\build\ + rtthread_lpc43xx + 1 + 0 + 0 + 1 + 1 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 1 + 1 + fromelf --bin !L --output rtthread.bin + C:\Python27\python.exe ..\bin2C.py rtthread.bin ..\M4\applications\M0_CODE.h + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + + 0 + 1 + + + + + + + + + + + + + + BIN\UL2CM3.DLL + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + "" () + + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 2 + 1 + 1 + 16 + 1 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x14000000 + 0x400000 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x1a000000 + 0x80000 + + + 1 + 0x1b000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 0 + 0x20000000 + 0x10000 + + + + + + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + CORE_M0, USE_SPIFI, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\..\..\examples\utest\testcases\kernel;..\..\..\components\vbus;..\..\..\components\vbus\share_hdr + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + NO_CRP + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x14000000 + 0x10000000 + + .\rtthread_lpc43xx.sct + + + + + + + + + + + Applications + + + vbus_drv.c + 1 + applications\vbus_drv.c + + + + + startup.c + 1 + applications\startup.c + + + + + application.c + 1 + applications\application.c + + + + + board.c + 1 + applications\board.c + + + + + CMSIS + + + system_LPC43xx.c + 1 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + + + + startup_LPC43xx_M0.s + 2 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s + + + + + CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c + + + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c + + + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + + + + + DeviceDrivers + + + serial.c + 1 + ..\..\..\components\drivers\serial\serial.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + Drivers + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + + + drv_uart.c + 1 + ..\drivers\drv_uart.c + + + + + Finsh + + + shell.c + 1 + ..\..\..\components\finsh\shell.c + + + + + msh.c + 1 + ..\..\..\components\finsh\msh.c + + + + + Kernel + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + VBus + + + prio_queue.c + 1 + ..\..\..\components\vbus\prio_queue.c + + + + + watermark_queue.c + 1 + ..\..\..\components\vbus\watermark_queue.c + + + + + vbus_chnx.c + 1 + ..\..\..\components\vbus\vbus_chnx.c + + + + + vbus.c + 1 + ..\..\..\components\vbus\vbus.c + + + + + + +
diff --git a/bsp/lpc43xx/M4/project.uvopt b/bsp/lpc43xx/M4/project.uvopt new file mode 100644 index 0000000000..5ea3e413e1 --- /dev/null +++ b/bsp/lpc43xx/M4/project.uvopt @@ -0,0 +1,349 @@ + + + + 1.0 + +
### uVision Project, (C) Keil Software
+ + + *.c + *.s*; *.src; *.a* + *.obj + *.lib + *.txt; *.h; *.inc + *.plm + *.cpp + + + + 0 + 0 + + + + LPC43xx SPIFI + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 1 + + 8 + + + 0 + User Manual + DATASHTS\NXP\LPC43xx\UM10503.pdf + + + 1 + Data Sheet + DATASHTS\NXP\LPC43xx\LPC435X_3X_2X_1X.pdf + + + 2 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 3 + Generic User Guide + datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + + + + + + + + + BIN\UL2CM3.DLL + + + + 0 + UL2CM3 + -U-O783 -O783 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD10000000 -FC8000 -FN3 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000 -FF2LPC18xx43xx_S25FL032 -FS214000000 -FL2400000 + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + + + LPC43xx RAM + 0x4 + ARM-ADS + + 12000000 + + 1 + 1 + 1 + 0 + + + 1 + 65535 + 0 + 0 + 0 + + + 79 + 66 + 8 + .\build\ + + + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 0 + 0 + 0 + 0 + + + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + + + 0 + 0 + 0 + + 8 + + + 0 + User Manual + DATASHTS\NXP\LPC43xx\UM10503.pdf + + + 1 + Data Sheet + DATASHTS\NXP\LPC43xx\LPC435X_3X_2X_1X.pdf + + + 2 + Technical Reference Manual + datashts\arm\cortex_m4\r0p1\DDI0439C_CORTEX_M4_R0P1_TRM.PDF + + + 3 + Generic User Guide + datashts\arm\cortex_m4\r0p1\DUI0553A_CORTEX_M4_DGUG.PDF + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 1 + + + + + + + + + + .\Dbg_RAM.ini + BIN\UL2CM3.DLL + + + + 0 + UL2CM3 + -U -O783 -S0 -C0 -P00 -TO18 -TC10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO15 -FD10000000 -FC8000 -FN3 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000 -FF2LPC18xx43xx_S25FL032 -FS214000000 -FL2400000 + + + + + 0 + + + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + + + + +
diff --git a/bsp/lpc43xx/M4/project.uvproj b/bsp/lpc43xx/M4/project.uvproj new file mode 100644 index 0000000000..9901b4926b --- /dev/null +++ b/bsp/lpc43xx/M4/project.uvproj @@ -0,0 +1,704 @@ + + + 1.1 +
### uVision Project, (C) Keil Software
+ + + LPC43xx SPIFI + 0x4 + ARM-ADS + + + LPC4357 + NXP (founded by Philips) + IRAM(0x10000000-0x10007FFF) IRAM2(0x20000000-0x2000FFFF) IROM(0x1A000000-0x1A07FFFF) IROM2(0x1B000000-0x1B07FFFF) CLOCK(12000000) CPUTYPE("Cortex-M4") FPU2 + + "STARTUP\NXP\LPC43xx\startup_LPC43xx.s" ("NXP LPC43xx Startup Code") + UL2CM3(-O975 -S0 -C0 -FO7 -FD10000000 -FC800 -FN2 -FF0LPC18xx43xx_512_BA -FS01A000000 -FL080000 -FF1LPC18xx43xx_512_BB -FS11B000000 -FL180000) + 6414 + LPC43xx.H + + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR + 0 + + + + NXP\LPC43xx\ + NXP\LPC43xx\ + + 0 + 0 + 0 + 0 + 1 + + .\build\ + rtthread_lpc43xx + 1 + 0 + 0 + 1 + 1 + .\build\ + 1 + 0 + 0 + + 0 + 0 + + + 0 + 0 + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + + 0 + 0 + + 0 + + + + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 3 + + + + + SARMCM3.DLL + -MPU + DCM.DLL + -pCM4 + SARMCM3.DLL + -MPU + TCM.DLL + -pCM4 + + + + 1 + 0 + 0 + 0 + 16 + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + + + 1 + 1 + 1 + 1 + 1 + 0 + 0 + 1 + 0 + + 0 + 1 + + + + + + + + + + + + + + BIN\UL2CM3.DLL + + + + + 1 + 0 + 0 + 1 + 1 + 4096 + + 1 + BIN\UL2CM3.DLL + "" () + + + + + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + 1 + 1 + 0 + 1 + 1 + 0 + 0 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 1 + 0 + "Cortex-M4" + + 0 + 0 + 0 + 1 + 1 + 0 + 0 + 2 + 1 + 1 + 8 + 1 + 0 + 0 + 0 + 3 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 1 + 0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 1 + 0x1a000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 1 + 0x14000000 + 0x400000 + + + 1 + 0x0 + 0x0 + + + 1 + 0x0 + 0x0 + + + 1 + 0x1a000000 + 0x80000 + + + 1 + 0x1b000000 + 0x80000 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x0 + 0x0 + + + 0 + 0x10000000 + 0x8000 + + + 0 + 0x20000000 + 0x10000 + + + + + + 1 + 1 + 0 + 0 + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + USE_SPIFI, BOOT_PROCESSOR, CORE_M4, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\..\..\examples\utest\testcases\kernel;..\..\..\components\vbus;..\..\..\components\vbus\share_hdr + + + + 1 + 0 + 0 + 0 + 0 + 0 + 0 + 0 + + + NO_CRP + + + + + + 0 + 0 + 0 + 0 + 1 + 0 + 0x14000000 + 0x10000000 + + .\rtthread_lpc43xx.sct + + + + + + + + + + + Applications + + + startup.c + 1 + applications\startup.c + + + + + vbus_drv.c + 1 + applications\vbus_drv.c + + + + + board.c + 1 + applications\board.c + + + + + application.c + 1 + applications\application.c + + + + + CMSIS + + + startup_LPC43xx.s + 2 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx.s + + + + + system_LPC43xx.c + 1 + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + + + + CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c + + + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + + + DeviceDrivers + + + serial.c + 1 + ..\..\..\components\drivers\serial\serial.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + Drivers + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + + + drv_uart.c + 1 + ..\drivers\drv_uart.c + + + + + Finsh + + + shell.c + 1 + ..\..\..\components\finsh\shell.c + + + + + msh.c + 1 + ..\..\..\components\finsh\msh.c + + + + + Kernel + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + VBus + + + prio_queue.c + 1 + ..\..\..\components\vbus\prio_queue.c + + + + + vbus_chnx.c + 1 + ..\..\..\components\vbus\vbus_chnx.c + + + + + watermark_queue.c + 1 + ..\..\..\components\vbus\watermark_queue.c + + + + + vbus.c + 1 + ..\..\..\components\vbus\vbus.c + + + + + + +
diff --git a/bsp/lpc5410x/project.uvprojx b/bsp/lpc5410x/project.uvprojx index 139f822531..e52da2febd 100644 --- a/bsp/lpc5410x/project.uvprojx +++ b/bsp/lpc5410x/project.uvprojx @@ -345,9 +345,9 @@ 0 - CORE_M4, __RTTHREAD__ + CORE_M4, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - applications;.;Libraries\CMSIS\Include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;Libraries\lpc_chip\chip_common;Libraries\lpc_chip\chip_5410x;Libraries\lpc_chip\chip_5410x\config + applications;.;Libraries\CMSIS\Include;..\..\libcpu\arm\common;..\..\libcpu\arm\cortex-m4;..\..\components\drivers\include;..\..\components\drivers\include;drivers;..\..\components\finsh;.;..\..\include;..\..\components\libc\compilers\common;..\..\components\libc\compilers\common\nogcc;Libraries\lpc_chip\chip_common;Libraries\lpc_chip\chip_5410x;Libraries\lpc_chip\chip_5410x\config;..\..\examples\utest\testcases\kernel @@ -418,13 +418,6 @@
CMSIS - - - sysinit.c - 1 - Libraries\Device\startup\sysinit.c - - keil_startup_lpc5410x.s @@ -432,9 +425,23 @@ Libraries\Device\startup\keil_startup_lpc5410x.s + + + sysinit.c + 1 + Libraries\Device\startup\sysinit.c + + CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -451,9 +458,9 @@ - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -463,13 +470,6 @@ ..\..\libcpu\arm\cortex-m4\cpuport.c - - - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S - - DeviceDrivers @@ -482,9 +482,9 @@ - completion.c + ringbuffer.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\ringbuffer.c @@ -494,13 +494,6 @@ ..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - ringblk_buf.c @@ -510,16 +503,9 @@ - ringbuffer.c + completion.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\completion.c @@ -529,6 +515,20 @@ ..\..\components\drivers\src\workqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + Drivers @@ -548,7 +548,7 @@ - finsh + Finsh shell.c @@ -558,79 +558,9 @@ - cmd.c + msh.c 1 - ..\..\components\finsh\cmd.c - - - - - finsh_compiler.c - 1 - ..\..\components\finsh\finsh_compiler.c - - - - - finsh_error.c - 1 - ..\..\components\finsh\finsh_error.c - - - - - finsh_heap.c - 1 - ..\..\components\finsh\finsh_heap.c - - - - - finsh_init.c - 1 - ..\..\components\finsh\finsh_init.c - - - - - finsh_node.c - 1 - ..\..\components\finsh\finsh_node.c - - - - - finsh_ops.c - 1 - ..\..\components\finsh\finsh_ops.c - - - - - finsh_parser.c - 1 - ..\..\components\finsh\finsh_parser.c - - - - - finsh_var.c - 1 - ..\..\components\finsh\finsh_var.c - - - - - finsh_vm.c - 1 - ..\..\components\finsh\finsh_vm.c - - - - - finsh_token.c - 1 - ..\..\components\finsh\finsh_token.c + ..\..\components\finsh\msh.c @@ -638,9 +568,16 @@ Kernel - clock.c + scheduler.c 1 - ..\..\src\clock.c + ..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\src\timer.c @@ -652,23 +589,9 @@ - device.c + memheap.c 1 - ..\..\src\device.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\src\ipc.c + ..\..\src\memheap.c @@ -680,30 +603,9 @@ - kservice.c + thread.c 1 - ..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - memheap.c - 1 - ..\..\src\memheap.c - - - - - mempool.c - 1 - ..\..\src\mempool.c + ..\..\src\thread.c @@ -715,30 +617,51 @@ - scheduler.c + mem.c 1 - ..\..\src\scheduler.c + ..\..\src\mem.c - signal.c + idle.c 1 - ..\..\src\signal.c + ..\..\src\idle.c - thread.c + kservice.c 1 - ..\..\src\thread.c + ..\..\src\kservice.c - timer.c + ipc.c 1 - ..\..\src\timer.c + ..\..\src\ipc.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + mempool.c + 1 + ..\..\src\mempool.c @@ -746,93 +669,9 @@ Libraries - fpu_init.c + stopwatch_5410x.c 1 - Libraries\lpc_chip\chip_common\fpu_init.c - - - - - iap.c - 1 - Libraries\lpc_chip\chip_common\iap.c - - - - - ring_buffer.c - 1 - Libraries\lpc_chip\chip_common\ring_buffer.c - - - - - rtc_ut.c - 1 - Libraries\lpc_chip\chip_common\rtc_ut.c - - - - - chip_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\chip_5410x.c - - - - - clock_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\clock_5410x.c - - - - - crc_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\crc_5410x.c - - - - - fifo_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\fifo_5410x.c - - - - - gpiogroup_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\gpiogroup_5410x.c - - - - - gpio_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\gpio_5410x.c - - - - - hw_adc.c - 1 - Libraries\lpc_chip\chip_5410x\hw_adc.c - - - - - hw_dmaaltd.c - 1 - Libraries\lpc_chip\chip_5410x\hw_dmaaltd.c - - - - - hw_dmaaltd_rom_api.c - 1 - Libraries\lpc_chip\chip_5410x\hw_dmaaltd_rom_api.c + Libraries\lpc_chip\chip_5410x\stopwatch_5410x.c @@ -844,37 +683,23 @@ - hw_i2cmd_rom_api.c + pll_5410x.c 1 - Libraries\lpc_chip\chip_5410x\hw_i2cmd_rom_api.c + Libraries\lpc_chip\chip_5410x\pll_5410x.c - hw_i2cmond.c + rtc_ut.c 1 - Libraries\lpc_chip\chip_5410x\hw_i2cmond.c + Libraries\lpc_chip\chip_common\rtc_ut.c - hw_i2cmond_rom_api.c + wwdt_5410x.c 1 - Libraries\lpc_chip\chip_5410x\hw_i2cmond_rom_api.c - - - - - hw_i2csd.c - 1 - Libraries\lpc_chip\chip_5410x\hw_i2csd.c - - - - - hw_i2csd_rom_api.c - 1 - Libraries\lpc_chip\chip_5410x\hw_i2csd_rom_api.c + Libraries\lpc_chip\chip_5410x\wwdt_5410x.c @@ -884,76 +709,6 @@ Libraries\lpc_chip\chip_5410x\hw_spimd.c - - - hw_spimd_rom_api.c - 1 - Libraries\lpc_chip\chip_5410x\hw_spimd_rom_api.c - - - - - hw_spisd.c - 1 - Libraries\lpc_chip\chip_5410x\hw_spisd.c - - - - - hw_spisd_rom_api.c - 1 - Libraries\lpc_chip\chip_5410x\hw_spisd_rom_api.c - - - - - hw_uart.c - 1 - Libraries\lpc_chip\chip_5410x\hw_uart.c - - - - - iocon_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\iocon_5410x.c - - - - - pinint_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\pinint_5410x.c - - - - - pll_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\pll_5410x.c - - - - - ritimer_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\ritimer_5410x.c - - - - - romapi_adc.c - 1 - Libraries\lpc_chip\chip_5410x\romapi_adc.c - - - - - romapi_dma.c - 1 - Libraries\lpc_chip\chip_5410x\romapi_dma.c - - romapi_i2cm.c @@ -963,30 +718,51 @@ - romapi_i2cmon.c + hw_adc.c 1 - Libraries\lpc_chip\chip_5410x\romapi_i2cmon.c + Libraries\lpc_chip\chip_5410x\hw_adc.c - romapi_i2cs.c + hw_i2csd.c 1 - Libraries\lpc_chip\chip_5410x\romapi_i2cs.c + Libraries\lpc_chip\chip_5410x\hw_i2csd.c - romapi_spim.c + hw_spimd_rom_api.c 1 - Libraries\lpc_chip\chip_5410x\romapi_spim.c + Libraries\lpc_chip\chip_5410x\hw_spimd_rom_api.c - romapi_spis.c + clock_5410x.c 1 - Libraries\lpc_chip\chip_5410x\romapi_spis.c + Libraries\lpc_chip\chip_5410x\clock_5410x.c + + + + + timer_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\timer_5410x.c + + + + + crc_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\crc_5410x.c + + + + + romapi_dma.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_dma.c @@ -1005,9 +781,23 @@ - sct_5410x.c + hw_i2cmond_rom_api.c 1 - Libraries\lpc_chip\chip_5410x\sct_5410x.c + Libraries\lpc_chip\chip_5410x\hw_i2cmond_rom_api.c + + + + + hw_spisd_rom_api.c + 1 + Libraries\lpc_chip\chip_5410x\hw_spisd_rom_api.c + + + + + gpiogroup_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\gpiogroup_5410x.c @@ -1019,30 +809,16 @@ - stopwatch_5410x.c + ritimer_5410x.c 1 - Libraries\lpc_chip\chip_5410x\stopwatch_5410x.c + Libraries\lpc_chip\chip_5410x\ritimer_5410x.c - syscon_5410x.c + pinint_5410x.c 1 - Libraries\lpc_chip\chip_5410x\syscon_5410x.c - - - - - sysinit_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\sysinit_5410x.c - - - - - timer_5410x.c - 1 - Libraries\lpc_chip\chip_5410x\timer_5410x.c + Libraries\lpc_chip\chip_5410x\pinint_5410x.c @@ -1054,9 +830,156 @@ - wwdt_5410x.c + hw_i2cmond.c 1 - Libraries\lpc_chip\chip_5410x\wwdt_5410x.c + Libraries\lpc_chip\chip_5410x\hw_i2cmond.c + + + + + hw_uart.c + 1 + Libraries\lpc_chip\chip_5410x\hw_uart.c + + + + + hw_dmaaltd.c + 1 + Libraries\lpc_chip\chip_5410x\hw_dmaaltd.c + + + + + sct_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\sct_5410x.c + + + + + hw_i2csd_rom_api.c + 1 + Libraries\lpc_chip\chip_5410x\hw_i2csd_rom_api.c + + + + + hw_dmaaltd_rom_api.c + 1 + Libraries\lpc_chip\chip_5410x\hw_dmaaltd_rom_api.c + + + + + chip_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\chip_5410x.c + + + + + sysinit_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\sysinit_5410x.c + + + + + syscon_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\syscon_5410x.c + + + + + romapi_i2cs.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_i2cs.c + + + + + ring_buffer.c + 1 + Libraries\lpc_chip\chip_common\ring_buffer.c + + + + + iap.c + 1 + Libraries\lpc_chip\chip_common\iap.c + + + + + romapi_i2cmon.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_i2cmon.c + + + + + romapi_spis.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_spis.c + + + + + romapi_adc.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_adc.c + + + + + fpu_init.c + 1 + Libraries\lpc_chip\chip_common\fpu_init.c + + + + + hw_i2cmd_rom_api.c + 1 + Libraries\lpc_chip\chip_5410x\hw_i2cmd_rom_api.c + + + + + fifo_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\fifo_5410x.c + + + + + iocon_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\iocon_5410x.c + + + + + hw_spisd.c + 1 + Libraries\lpc_chip\chip_5410x\hw_spisd.c + + + + + romapi_spim.c + 1 + Libraries\lpc_chip\chip_5410x\romapi_spim.c + + + + + gpio_5410x.c + 1 + Libraries\lpc_chip\chip_5410x\gpio_5410x.c diff --git a/bsp/lpc54114-lite/.config b/bsp/lpc54114-lite/.config index 3a7abdfaf4..4ed5a8b3cc 100644 --- a/bsp/lpc54114-lite/.config +++ b/bsp/lpc54114-lite/.config @@ -381,6 +381,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -405,17 +406,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -428,11 +436,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -476,12 +484,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -491,6 +507,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -511,7 +535,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -528,7 +551,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -536,6 +558,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -612,6 +635,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc54114-lite/project.uvprojx b/bsp/lpc54114-lite/project.uvprojx index 614ce2a772..2fd9912e9b 100644 --- a/bsp/lpc54114-lite/project.uvprojx +++ b/bsp/lpc54114-lite/project.uvprojx @@ -380,16 +380,16 @@ Applications - mnt.c + main.c 1 - applications\mnt.c + applications\main.c - main.c + mnt.c 1 - applications\main.c + applications\mnt.c @@ -418,16 +418,16 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -505,9 +505,16 @@ - waitqueue.c + dataqueue.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c @@ -524,6 +531,13 @@ ..\..\components\drivers\src\pipe.c + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + ringbuffer.c @@ -533,23 +547,9 @@ - dataqueue.c + waitqueue.c 1 - ..\..\components\drivers\src\dataqueue.c - - - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\waitqueue.c @@ -689,13 +689,6 @@ ..\..\components\dfs\filesystems\elmfat\ff.c - - - dfs_elm.c - 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c - - ffunicode.c @@ -705,9 +698,9 @@ - romfs.c + dfs_elm.c 1 - ..\..\components\dfs\filesystems\romfs\romfs.c + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c @@ -717,6 +710,13 @@ ..\..\components\dfs\filesystems\romfs\dfs_romfs.c + + + romfs.c + 1 + ..\..\components\dfs\filesystems\romfs\romfs.c + + Finsh @@ -751,20 +751,6 @@ Kernel - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - thread.c @@ -772,62 +758,6 @@ ..\..\src\thread.c - - - clock.c - 1 - ..\..\src\clock.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - object.c - 1 - ..\..\src\object.c - - - - - timer.c - 1 - ..\..\src\timer.c - - components.c @@ -835,6 +765,62 @@ ..\..\src\components.c + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + idle.c @@ -842,9 +828,37 @@ ..\..\src\idle.c + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + libc + + + libc.c + 1 + ..\..\components\libc\compilers\armlibc\libc.c + + + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + syscalls.c @@ -861,16 +875,9 @@ - stdio.c + time.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c - - - - - libc.c - 1 - ..\..\components\libc\compilers\armlibc\libc.c + ..\..\components\libc\compilers\common\time.c @@ -880,20 +887,6 @@ ..\..\components\libc\compilers\common\delay.c - - - stdlib.c - 1 - ..\..\components\libc\compilers\common\stdlib.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c - - unistd.c @@ -901,65 +894,16 @@ ..\..\components\libc\compilers\common\unistd.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + Libraries - - - fsl_spi.c - 1 - Libraries\devices\LPC54114\drivers\fsl_spi.c - - - - - fsl_adc.c - 1 - Libraries\devices\LPC54114\drivers\fsl_adc.c - - - - - fsl_i2s_dma.c - 1 - Libraries\devices\LPC54114\drivers\fsl_i2s_dma.c - - - - - fsl_power.c - 1 - Libraries\devices\LPC54114\drivers\fsl_power.c - - - - - fsl_rtc.c - 1 - Libraries\devices\LPC54114\drivers\fsl_rtc.c - - - - - fsl_crc.c - 1 - Libraries\devices\LPC54114\drivers\fsl_crc.c - - - - - fsl_flexcomm.c - 1 - Libraries\devices\LPC54114\drivers\fsl_flexcomm.c - - - - - fsl_pint.c - 1 - Libraries\devices\LPC54114\drivers\fsl_pint.c - - fsl_i2c.c @@ -967,13 +911,6 @@ Libraries\devices\LPC54114\drivers\fsl_i2c.c - - - fsl_sctimer.c - 1 - Libraries\devices\LPC54114\drivers\fsl_sctimer.c - - fsl_dma.c @@ -983,121 +920,9 @@ - fsl_mrt.c + fsl_i2s_dma.c 1 - Libraries\devices\LPC54114\drivers\fsl_mrt.c - - - - - fsl_flashiap.c - 1 - Libraries\devices\LPC54114\drivers\fsl_flashiap.c - - - - - fsl_spi_dma.c - 1 - Libraries\devices\LPC54114\drivers\fsl_spi_dma.c - - - - - fsl_wwdt.c - 1 - Libraries\devices\LPC54114\drivers\fsl_wwdt.c - - - - - fsl_ctimer.c - 1 - Libraries\devices\LPC54114\drivers\fsl_ctimer.c - - - - - fsl_usart.c - 1 - Libraries\devices\LPC54114\drivers\fsl_usart.c - - - - - fsl_dmic_dma.c - 1 - Libraries\devices\LPC54114\drivers\fsl_dmic_dma.c - - - - - fsl_i2s.c - 1 - Libraries\devices\LPC54114\drivers\fsl_i2s.c - - - - - fsl_gpio.c - 1 - Libraries\devices\LPC54114\drivers\fsl_gpio.c - - - - - fsl_usart_dma.c - 1 - Libraries\devices\LPC54114\drivers\fsl_usart_dma.c - - - - - fsl_inputmux.c - 1 - Libraries\devices\LPC54114\drivers\fsl_inputmux.c - - - - - fsl_utick.c - 1 - Libraries\devices\LPC54114\drivers\fsl_utick.c - - - - - fsl_dmic.c - 1 - Libraries\devices\LPC54114\drivers\fsl_dmic.c - - - - - fsl_reset.c - 1 - Libraries\devices\LPC54114\drivers\fsl_reset.c - - - - - fsl_common.c - 1 - Libraries\devices\LPC54114\drivers\fsl_common.c - - - - - fsl_clock.c - 1 - Libraries\devices\LPC54114\drivers\fsl_clock.c - - - - - fsl_i2c_dma.c - 1 - Libraries\devices\LPC54114\drivers\fsl_i2c_dma.c + Libraries\devices\LPC54114\drivers\fsl_i2s_dma.c @@ -1107,6 +932,146 @@ Libraries\devices\LPC54114\drivers\fsl_gint.c + + + fsl_spi_dma.c + 1 + Libraries\devices\LPC54114\drivers\fsl_spi_dma.c + + + + + fsl_utick.c + 1 + Libraries\devices\LPC54114\drivers\fsl_utick.c + + + + + fsl_rtc.c + 1 + Libraries\devices\LPC54114\drivers\fsl_rtc.c + + + + + fsl_wwdt.c + 1 + Libraries\devices\LPC54114\drivers\fsl_wwdt.c + + + + + fsl_dmic_dma.c + 1 + Libraries\devices\LPC54114\drivers\fsl_dmic_dma.c + + + + + fsl_gpio.c + 1 + Libraries\devices\LPC54114\drivers\fsl_gpio.c + + + + + fsl_i2c_dma.c + 1 + Libraries\devices\LPC54114\drivers\fsl_i2c_dma.c + + + + + fsl_dmic.c + 1 + Libraries\devices\LPC54114\drivers\fsl_dmic.c + + + + + fsl_common.c + 1 + Libraries\devices\LPC54114\drivers\fsl_common.c + + + + + fsl_ctimer.c + 1 + Libraries\devices\LPC54114\drivers\fsl_ctimer.c + + + + + fsl_pint.c + 1 + Libraries\devices\LPC54114\drivers\fsl_pint.c + + + + + fsl_flexcomm.c + 1 + Libraries\devices\LPC54114\drivers\fsl_flexcomm.c + + + + + fsl_spi.c + 1 + Libraries\devices\LPC54114\drivers\fsl_spi.c + + + + + fsl_usart_dma.c + 1 + Libraries\devices\LPC54114\drivers\fsl_usart_dma.c + + + + + fsl_i2s.c + 1 + Libraries\devices\LPC54114\drivers\fsl_i2s.c + + + + + fsl_clock.c + 1 + Libraries\devices\LPC54114\drivers\fsl_clock.c + + + + + fsl_power.c + 1 + Libraries\devices\LPC54114\drivers\fsl_power.c + + + + + fsl_flashiap.c + 1 + Libraries\devices\LPC54114\drivers\fsl_flashiap.c + + + + + fsl_reset.c + 1 + Libraries\devices\LPC54114\drivers\fsl_reset.c + + + + + fsl_crc.c + 1 + Libraries\devices\LPC54114\drivers\fsl_crc.c + + fsl_fmeas.c @@ -1114,6 +1079,41 @@ Libraries\devices\LPC54114\drivers\fsl_fmeas.c + + + fsl_adc.c + 1 + Libraries\devices\LPC54114\drivers\fsl_adc.c + + + + + fsl_mrt.c + 1 + Libraries\devices\LPC54114\drivers\fsl_mrt.c + + + + + fsl_inputmux.c + 1 + Libraries\devices\LPC54114\drivers\fsl_inputmux.c + + + + + fsl_usart.c + 1 + Libraries\devices\LPC54114\drivers\fsl_usart.c + + + + + fsl_sctimer.c + 1 + Libraries\devices\LPC54114\drivers\fsl_sctimer.c + + startup_LPC54114_cm4.s diff --git a/bsp/lpc54114-lite/rtconfig.h b/bsp/lpc54114-lite/rtconfig.h index 472ef84aff..cf187179d4 100644 --- a/bsp/lpc54114-lite/rtconfig.h +++ b/bsp/lpc54114-lite/rtconfig.h @@ -200,14 +200,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -216,10 +219,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lpc54608-LPCXpresso/.config b/bsp/lpc54608-LPCXpresso/.config index 7c6a315f27..0d69f379c2 100644 --- a/bsp/lpc54608-LPCXpresso/.config +++ b/bsp/lpc54608-LPCXpresso/.config @@ -467,6 +467,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -491,17 +492,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -514,11 +522,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -562,12 +570,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -577,6 +593,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -597,7 +621,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -614,7 +637,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -622,6 +644,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -698,6 +721,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc54608-LPCXpresso/project.uvprojx b/bsp/lpc54608-LPCXpresso/project.uvprojx index e14e2c61a5..ebb3c76a23 100644 --- a/bsp/lpc54608-LPCXpresso/project.uvprojx +++ b/bsp/lpc54608-LPCXpresso/project.uvprojx @@ -384,16 +384,16 @@ - startup.c + mnt.c 1 - applications\startup.c + applications\mnt.c - mnt.c + startup.c 1 - applications\mnt.c + applications\startup.c @@ -425,16 +425,16 @@ CPlusPlus - cxx_Thread.cpp + cxx_Semaphore.cpp 8 - ..\..\components\cplusplus\cxx_Thread.cpp + ..\..\components\cplusplus\cxx_Semaphore.cpp - cxx_Semaphore.cpp + cxx_Mutex.cpp 8 - ..\..\components\cplusplus\cxx_Semaphore.cpp + ..\..\components\cplusplus\cxx_Mutex.cpp @@ -453,9 +453,9 @@ - cxx_Mutex.cpp + cxx_Thread.cpp 8 - ..\..\components\cplusplus\cxx_Mutex.cpp + ..\..\components\cplusplus\cxx_Thread.cpp @@ -463,16 +463,16 @@ CPU - div0.c + showmem.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\showmem.c - showmem.c + div0.c 1 - ..\..\libcpu\arm\common\showmem.c + ..\..\libcpu\arm\common\div0.c @@ -484,16 +484,16 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -599,23 +599,9 @@ - ringbuffer.c + dataqueue.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\dataqueue.c @@ -625,13 +611,6 @@ ..\..\components\drivers\src\ringblk_buf.c - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - completion.c @@ -641,9 +620,30 @@ - dataqueue.c + pipe.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\components\drivers\src\waitqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c @@ -661,48 +661,6 @@ Drivers - - - drv_sram.c - 1 - drivers\drv_sram.c - - - - - drv_emac.c - 1 - drivers\drv_emac.c - - - - - fsl_phy.c - 1 - drivers\fsl_phy.c - - - - - board.c - 1 - drivers\board.c - - - - - drv_uart.c - 1 - drivers\drv_uart.c - - - - - drv_ft5406.c - 1 - drivers\drv_ft5406.c - - clock_config.c @@ -719,16 +677,30 @@ - drv_sd.c + drv_ft5406.c 1 - drivers\drv_sd.c + drivers\drv_ft5406.c - drv_sdram.c + drv_uart.c 1 - drivers\drv_sdram.c + drivers\drv_uart.c + + + + + drv_emac.c + 1 + drivers\drv_emac.c + + + + + drt_mpu.c + 1 + drivers\drt_mpu.c @@ -740,9 +712,37 @@ - drt_mpu.c + board.c 1 - drivers\drt_mpu.c + drivers\board.c + + + + + drv_sd.c + 1 + drivers\drv_sd.c + + + + + fsl_phy.c + 1 + drivers\fsl_phy.c + + + + + drv_sram.c + 1 + drivers\drv_sram.c + + + + + drv_sdram.c + 1 + drivers\drv_sdram.c @@ -806,16 +806,16 @@ - dfs_elm.c + ffunicode.c 1 - ..\..\components\dfs\filesystems\elmfat\dfs_elm.c + ..\..\components\dfs\filesystems\elmfat\ffunicode.c - ffunicode.c + dfs_elm.c 1 - ..\..\components\dfs\filesystems\elmfat\ffunicode.c + ..\..\components\dfs\filesystems\elmfat\dfs_elm.c @@ -852,41 +852,6 @@ Kernel - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - idle.c @@ -894,27 +859,6 @@ ..\..\src\idle.c - - - memheap.c - 1 - ..\..\src\memheap.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - timer.c - 1 - ..\..\src\timer.c - - components.c @@ -924,16 +868,9 @@ - object.c + thread.c 1 - ..\..\src\object.c - - - - - irq.c - 1 - ..\..\src\irq.c + ..\..\src\thread.c @@ -943,6 +880,55 @@ ..\..\src\ipc.c + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + + + + memheap.c + 1 + ..\..\src\memheap.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + object.c + 1 + ..\..\src\object.c + + clock.c @@ -950,21 +936,35 @@ ..\..\src\clock.c + + + timer.c + 1 + ..\..\src\timer.c + + + + + mem.c + 1 + ..\..\src\mem.c + + libc - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\mem_std.c - stdio.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\stdio.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -976,16 +976,9 @@ - mem_std.c + stdio.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\stdio.c @@ -995,13 +988,6 @@ ..\..\components\libc\compilers\common\unistd.c - - - delay.c - 1 - ..\..\components\libc\compilers\common\delay.c - - stdlib.c @@ -1011,9 +997,23 @@ - pthread_tls.c + time.c 1 - ..\..\components\libc\pthreads\pthread_tls.c + ..\..\components\libc\compilers\common\time.c + + + + + delay.c + 1 + ..\..\components\libc\compilers\common\delay.c + + + + + pthread_cond.c + 1 + ..\..\components\libc\pthreads\pthread_cond.c @@ -1025,9 +1025,9 @@ - pthread_attr.c + pthread_barrier.c 1 - ..\..\components\libc\pthreads\pthread_attr.c + ..\..\components\libc\pthreads\pthread_barrier.c @@ -1037,6 +1037,13 @@ ..\..\components\libc\pthreads\sched.c + + + pthread_tls.c + 1 + ..\..\components\libc\pthreads\pthread_tls.c + + pthread_mutex.c @@ -1053,16 +1060,9 @@ - pthread_rwlock.c + mqueue.c 1 - ..\..\components\libc\pthreads\pthread_rwlock.c - - - - - pthread_barrier.c - 1 - ..\..\components\libc\pthreads\pthread_barrier.c + ..\..\components\libc\pthreads\mqueue.c @@ -1074,21 +1074,49 @@ - mqueue.c + pthread_attr.c 1 - ..\..\components\libc\pthreads\mqueue.c + ..\..\components\libc\pthreads\pthread_attr.c - pthread_cond.c + pthread_rwlock.c 1 - ..\..\components\libc\pthreads\pthread_cond.c + ..\..\components\libc\pthreads\pthread_rwlock.c Libraries + + + fsl_dmic.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_dmic.c + + + + + fsl_power.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_power.c + + + + + fsl_flashiap.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_flashiap.c + + + + + fsl_utick.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_utick.c + + fsl_emc.c @@ -1105,16 +1133,51 @@ - fsl_dma.c + fsl_enet.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_dma.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_enet.c - fsl_usart_dma.c + fsl_reset.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_usart_dma.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_reset.c + + + + + fsl_flexcomm.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_flexcomm.c + + + + + fsl_lcdc.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_lcdc.c + + + + + fsl_spi_dma.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spi_dma.c + + + + + fsl_adc.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_adc.c + + + + + fsl_dma.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_dma.c @@ -1126,9 +1189,86 @@ - fsl_common.c + fsl_wwdt.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_common.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_wwdt.c + + + + + fsl_eeprom.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_eeprom.c + + + + + fsl_i2c_dma.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_i2c_dma.c + + + + + fsl_spi.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spi.c + + + + + fsl_ctimer.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_ctimer.c + + + + + fsl_i2c.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_i2c.c + + + + + fsl_clock.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_clock.c + + + + + fsl_usart.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_usart.c + + + + + fsl_mcan.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_mcan.c + + + + + fsl_fmc.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_fmc.c + + + + + fsl_mrt.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_mrt.c + + + + + fsl_gint.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_gint.c @@ -1145,20 +1285,6 @@ SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_dmic_dma.c - - - fsl_sdif.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_sdif.c - - - - - fsl_utick.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_utick.c - - fsl_i2s.c @@ -1166,153 +1292,6 @@ SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_i2s.c - - - fsl_flashiap.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_flashiap.c - - - - - fsl_i2c_dma.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_i2c_dma.c - - - - - fsl_adc.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_adc.c - - - - - fsl_spifi_dma.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spifi_dma.c - - - - - fsl_eeprom.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_eeprom.c - - - - - fsl_inputmux.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_inputmux.c - - - - - fsl_crc.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_crc.c - - - - - fsl_fmc.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_fmc.c - - - - - fsl_power.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_power.c - - - - - fsl_gpio.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_gpio.c - - - - - fsl_gint.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_gint.c - - - - - fsl_rtc.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_rtc.c - - - - - fsl_sctimer.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_sctimer.c - - - - - fsl_fmeas.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_fmeas.c - - - - - fsl_lcdc.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_lcdc.c - - - - - fsl_wwdt.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_wwdt.c - - - - - fsl_reset.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_reset.c - - - - - fsl_ctimer.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_ctimer.c - - - - - fsl_enet.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_enet.c - - - - - fsl_clock.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_clock.c - - - - - fsl_spi_dma.c - 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spi_dma.c - - fsl_spifi.c @@ -1322,51 +1301,72 @@ - fsl_dmic.c + fsl_rtc.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_dmic.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_rtc.c - fsl_usart.c + fsl_usart_dma.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_usart.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_usart_dma.c - fsl_mrt.c + fsl_fmeas.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_mrt.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_fmeas.c - fsl_spi.c + fsl_inputmux.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spi.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_inputmux.c - fsl_flexcomm.c + fsl_sdif.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_flexcomm.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_sdif.c - fsl_mcan.c + fsl_crc.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_mcan.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_crc.c - fsl_i2c.c + fsl_sctimer.c 1 - SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_i2c.c + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_sctimer.c + + + + + fsl_gpio.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_gpio.c + + + + + fsl_spifi_dma.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_spifi_dma.c + + + + + fsl_common.c + 1 + SDK_2.2_LPCXpresso54608\devices\LPC54608\drivers\fsl_common.c @@ -1421,13 +1421,6 @@ ..\..\components\net\lwip-2.0.2\src\core\ipv4\autoip.c - - - ping.c - 1 - ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - - ethernet.c @@ -1519,6 +1512,13 @@ ..\..\components\net\lwip-2.0.2\src\core\ipv4\ip4.c + + + ping.c + 1 + ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + + netbuf.c @@ -1683,13 +1683,6 @@ ..\..\components\net\sal_socket\src\sal_socket.c - - - net_sockets.c - 1 - ..\..\components\net\sal_socket\socket\net_sockets.c - - net_netdb.c @@ -1704,6 +1697,13 @@ ..\..\components\net\sal_socket\dfs_net\dfs_net.c + + + net_sockets.c + 1 + ..\..\components\net\sal_socket\socket\net_sockets.c + + af_inet_lwip.c diff --git a/bsp/lpc54608-LPCXpresso/rtconfig.h b/bsp/lpc54608-LPCXpresso/rtconfig.h index 3be42d885b..b419c80216 100644 --- a/bsp/lpc54608-LPCXpresso/rtconfig.h +++ b/bsp/lpc54608-LPCXpresso/rtconfig.h @@ -269,14 +269,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -285,10 +288,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/.config b/bsp/lpc55sxx/lpc55s69_nxp_evk/.config index fda7b86966..8751b6f03c 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/.config +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/.config @@ -326,6 +326,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -350,17 +351,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -373,11 +381,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -421,12 +429,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -436,6 +452,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -455,7 +479,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -472,7 +495,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -480,6 +502,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -556,6 +579,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp b/bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp index f1162d38bd..e68b26ff11 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/project.ewp @@ -1069,10 +1069,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -1090,26 +1090,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - Drivers @@ -1149,14 +1149,29 @@ Kernel + + $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\components.c + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\ipc.c @@ -1164,30 +1179,15 @@ $PROJ_DIR$\..\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\clock.c - - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\mem.c - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\irq.c - libc diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx b/bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx index e20aad1343..4cd027f88a 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/project.uvprojx @@ -391,16 +391,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -412,16 +412,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -450,9 +450,9 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c @@ -464,16 +464,16 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c - pipe.c + dataqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\dataqueue.c @@ -485,9 +485,9 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -571,23 +571,9 @@ Kernel - irq.c + thread.c 1 - ..\..\..\src\irq.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c + ..\..\..\src\thread.c @@ -599,23 +585,9 @@ - timer.c + kservice.c 1 - ..\..\..\src\timer.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\kservice.c @@ -625,6 +597,13 @@ ..\..\..\src\mempool.c + + + clock.c + 1 + ..\..\..\src\clock.c + + object.c @@ -634,9 +613,37 @@ - kservice.c + mem.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\mem.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -648,16 +655,9 @@ - clock.c + irq.c 1 - ..\..\..\src\clock.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\irq.c diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h b/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h index daed25f65e..08c0dc8db1 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/.config b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/.config index 790893f3d0..5b9e3d1aa1 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/.config +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/.config @@ -382,6 +382,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -410,17 +411,24 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -433,11 +441,11 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -481,12 +489,20 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -496,6 +512,14 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # 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_5_AUX 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 # @@ -515,7 +539,6 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -532,7 +555,6 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -540,6 +562,7 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # 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 # @@ -616,6 +639,7 @@ CONFIG_PKG_TFM_VER="nxp-lpc55-v1.0-beta" # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/project.uvprojx b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/project.uvprojx index 751770b12a..7a7bddd8c8 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/project.uvprojx +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/project.uvprojx @@ -381,16 +381,16 @@ Applications - mnt.c + main.c 1 - ..\lpc55s69_nxp_evk\applications\mnt.c + ..\lpc55s69_nxp_evk\applications\main.c - main.c + mnt.c 1 - ..\lpc55s69_nxp_evk\applications\main.c + ..\lpc55s69_nxp_evk\applications\mnt.c @@ -398,9 +398,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -412,16 +412,9 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c - - - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + ..\..\..\libcpu\arm\common\showmem.c @@ -431,6 +424,13 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -555,16 +555,16 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -574,6 +574,20 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + workqueue.c @@ -581,20 +595,6 @@ ..\..\..\components\drivers\src\workqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - @@ -769,16 +769,16 @@ - ffunicode.c + ff.c 1 - ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c + ..\..\..\components\dfs\filesystems\elmfat\ff.c - ff.c + ffunicode.c 1 - ..\..\..\components\dfs\filesystems\elmfat\ff.c + ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c @@ -824,16 +824,16 @@ Kernel - timer.c + irq.c 1 - ..\..\..\src\timer.c + ..\..\..\src\irq.c - mem.c + kservice.c 1 - ..\..\..\src\mem.c + ..\..\..\src\kservice.c @@ -852,16 +852,9 @@ - kservice.c + mem.c 1 - ..\..\..\src\kservice.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\mem.c @@ -873,30 +866,9 @@ - irq.c + timer.c 1 - ..\..\..\src\irq.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - object.c - 1 - ..\..\..\src\object.c + ..\..\..\src\timer.c @@ -913,14 +885,42 @@ ..\..\..\src\idle.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + libc - stdio.c + libc.c 1 - ..\..\..\components\libc\compilers\armlibc\stdio.c + ..\..\..\components\libc\compilers\armlibc\libc.c @@ -932,9 +932,9 @@ - libc.c + stdio.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\armlibc\stdio.c @@ -946,16 +946,9 @@ - time.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\time.c - - - - - delay.c - 1 - ..\..\..\components\libc\compilers\common\delay.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -967,9 +960,16 @@ - stdlib.c + delay.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\delay.c + + + + + time.c + 1 + ..\..\..\components\libc\compilers\common\time.c diff --git a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.h b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.h index ed54048a34..11266db86a 100644 --- a/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.h +++ b/bsp/lpc55sxx/lpc55s69_nxp_evk_ns/rtconfig.h @@ -207,14 +207,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -223,10 +226,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/ls1bdev/.config b/bsp/ls1bdev/.config index a04088ba86..aaeeb4c346 100644 --- a/bsp/ls1bdev/.config +++ b/bsp/ls1bdev/.config @@ -339,6 +339,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -363,17 +364,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -386,11 +394,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -434,12 +442,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -449,6 +465,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -468,7 +492,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -485,7 +508,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -493,6 +515,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -569,6 +592,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/ls1bdev/rtconfig.h b/bsp/ls1bdev/rtconfig.h index a833bcef67..26a7781f2d 100644 --- a/bsp/ls1bdev/rtconfig.h +++ b/bsp/ls1bdev/rtconfig.h @@ -174,14 +174,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -190,10 +193,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/ls2kdev/.config b/bsp/ls2kdev/.config index 4ce8bae883..22309ae014 100644 --- a/bsp/ls2kdev/.config +++ b/bsp/ls2kdev/.config @@ -453,6 +453,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -477,17 +478,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -500,11 +508,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -548,12 +556,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -563,6 +579,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -582,7 +606,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -599,7 +622,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -607,6 +629,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -683,6 +706,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/ls2kdev/rtconfig.h b/bsp/ls2kdev/rtconfig.h index 02333a6400..3f295be669 100644 --- a/bsp/ls2kdev/rtconfig.h +++ b/bsp/ls2kdev/rtconfig.h @@ -257,14 +257,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -273,10 +276,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/maxim/MAX32660_EVSYS/.config b/bsp/maxim/MAX32660_EVSYS/.config index 41e51f6d71..2d7b324ea0 100644 --- a/bsp/maxim/MAX32660_EVSYS/.config +++ b/bsp/maxim/MAX32660_EVSYS/.config @@ -323,6 +323,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -347,17 +348,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -370,11 +378,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -418,12 +426,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -433,6 +449,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -452,7 +476,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -469,7 +492,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -477,6 +499,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -553,6 +576,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/maxim/MAX32660_EVSYS/project.uvprojx b/bsp/maxim/MAX32660_EVSYS/project.uvprojx index 911e03e087..ed5eb3395e 100644 --- a/bsp/maxim/MAX32660_EVSYS/project.uvprojx +++ b/bsp/maxim/MAX32660_EVSYS/project.uvprojx @@ -397,16 +397,16 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -440,6 +440,13 @@ ..\..\..\components\drivers\serial\serial.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + workqueue.c @@ -454,6 +461,13 @@ ..\..\..\components\drivers\src\pipe.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + ringblk_buf.c @@ -461,13 +475,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - waitqueue.c @@ -475,13 +482,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - dataqueue.c @@ -549,16 +549,16 @@ Kernel - timer.c + thread.c 1 - ..\..\..\src\timer.c + ..\..\..\src\thread.c - device.c + ipc.c 1 - ..\..\..\src\device.c + ..\..\..\src\ipc.c @@ -568,6 +568,20 @@ ..\..\..\src\mempool.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + object.c + 1 + ..\..\..\src\object.c + + mem.c @@ -584,23 +598,9 @@ - idle.c + timer.c 1 - ..\..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c + ..\..\..\src\timer.c @@ -617,6 +617,13 @@ ..\..\..\src\scheduler.c + + + idle.c + 1 + ..\..\..\src\idle.c + + components.c @@ -626,16 +633,9 @@ - thread.c + device.c 1 - ..\..\..\src\thread.c - - - - - object.c - 1 - ..\..\..\src\object.c + ..\..\..\src\device.c diff --git a/bsp/maxim/MAX32660_EVSYS/rtconfig.h b/bsp/maxim/MAX32660_EVSYS/rtconfig.h index aca7677ff1..cf8e22119c 100644 --- a/bsp/maxim/MAX32660_EVSYS/rtconfig.h +++ b/bsp/maxim/MAX32660_EVSYS/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/mb9bf506r/project.ewp b/bsp/mb9bf506r/project.ewp index 6c93b23407..5fc9b1bb70 100644 --- a/bsp/mb9bf506r/project.ewp +++ b/bsp/mb9bf506r/project.ewp @@ -155,6 +155,7 @@ @@ -2078,10 +2076,10 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2095,44 +2093,32 @@ DeviceDrivers - - $PROJ_DIR$\..\..\..\components\drivers\hwtimer\hwtimer.c - - - $PROJ_DIR$\..\..\..\components\drivers\misc\rt_drv_pwm.c - $PROJ_DIR$\..\..\..\components\drivers\misc\pin.c $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\spi\spi_core.c - - - $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2149,21 +2135,12 @@ $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c - - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_spi.c - - - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_pwm.c - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_usart.c $PROJ_DIR$\..\libraries\HAL_Drivers\drv_common.c - - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_hwtimer.c - Finsh @@ -2179,32 +2156,14 @@ Kernel - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\mempool.c @@ -2212,11 +2171,29 @@ $PROJ_DIR$\..\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\kservice.c @@ -2228,56 +2205,17 @@ Libraries - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_spi.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Source\Templates\system_stm32f3xx.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_hrtim.c + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc.c $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_uart.c - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_gpio.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc_ex.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_dma.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart_ex.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc_ex.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_exti.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_tim.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_tim_ex.c - - - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_sram.c - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart.c + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal.c + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_uart_ex.c @@ -2287,15 +2225,39 @@ $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_pwr_ex.c + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_gpio.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc_ex.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart_ex.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Source\Templates\system_stm32f3xx.c + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_cortex.c - $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_spi_ex.c + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_exti.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc_ex.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc.c $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_pwr.c + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_dma.c + + + $PROJ_DIR$\..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_sram.c + utestcases diff --git a/bsp/stm32/stm32f302-st-nucleo/project.uvprojx b/bsp/stm32/stm32f302-st-nucleo/project.uvprojx index 5ea3673fbd..c4036b243c 100644 --- a/bsp/stm32/stm32f302-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f302-st-nucleo/project.uvprojx @@ -336,7 +336,7 @@ STM32F302x8, USE_HAL_DRIVER, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Inc;..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Include;..\libraries\STM32F3xx_HAL\CMSIS\Include;..\..\..\examples\utest\testcases\kernel + applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\CubeMX_Config\Inc;..\libraries\HAL_Drivers;..\libraries\HAL_Drivers\config;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Inc;..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Include;..\libraries\STM32F3xx_HAL\CMSIS\Include;..\..\..\examples\utest\testcases\kernel @@ -389,13 +389,6 @@ CPU - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - div0.c @@ -412,9 +405,9 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c @@ -424,23 +417,16 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers - - - hwtimer.c - 1 - ..\..\..\components\drivers\hwtimer\hwtimer.c - - - - - rt_drv_pwm.c - 1 - ..\..\..\components\drivers\misc\rt_drv_pwm.c - - pin.c @@ -457,16 +443,9 @@ - spi_core.c + workqueue.c 1 - ..\..\..\components\drivers\spi\spi_core.c - - - - - spi_dev.c - 1 - ..\..\..\components\drivers\spi\spi_dev.c + ..\..\..\components\drivers\src\workqueue.c @@ -478,16 +457,16 @@ - ringbuffer.c + pipe.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\pipe.c - dataqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -497,20 +476,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - completion.c @@ -518,18 +483,13 @@ ..\..\..\components\drivers\src\completion.c - - - - - - - - - - - - + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + Drivers @@ -561,20 +521,6 @@ ..\libraries\HAL_Drivers\drv_gpio.c - - - drv_spi.c - 1 - ..\libraries\HAL_Drivers\drv_spi.c - - - - - drv_pwm.c - 1 - ..\libraries\HAL_Drivers\drv_pwm.c - - drv_usart.c @@ -589,13 +535,6 @@ ..\libraries\HAL_Drivers\drv_common.c - - - drv_hwtimer.c - 1 - ..\libraries\HAL_Drivers\drv_hwtimer.c - - Finsh @@ -623,6 +562,13 @@ Kernel + + + kservice.c + 1 + ..\..\..\src\kservice.c + + idle.c @@ -630,6 +576,20 @@ ..\..\..\src\idle.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + thread.c @@ -637,6 +597,13 @@ ..\..\..\src\thread.c + + + mem.c + 1 + ..\..\..\src\mem.c + + components.c @@ -646,9 +613,30 @@ - irq.c + object.c 1 - ..\..\..\src\irq.c + ..\..\..\src\object.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c @@ -665,55 +653,6 @@ ..\..\..\src\clock.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - libc @@ -729,37 +668,9 @@ Libraries - stm32f3xx_hal_spi.c + stm32f3xx_hal_crc.c 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_spi.c - - - - - stm32f3xx_hal.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal.c - - - - - system_stm32f3xx.c - 1 - ..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Source\Templates\system_stm32f3xx.c - - - - - stm32f3xx_hal_rcc.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc.c - - - - - stm32f3xx_hal_hrtim.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_hrtim.c + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc.c @@ -769,76 +680,6 @@ ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_uart.c - - - stm32f3xx_hal_gpio.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_gpio.c - - - - - stm32f3xx_hal_crc_ex.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc_ex.c - - - - - stm32f3xx_hal_dma.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_dma.c - - - - - stm32f3xx_hal_usart_ex.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart_ex.c - - - - - stm32f3xx_hal_crc.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc.c - - - - - stm32f3xx_hal_rcc_ex.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc_ex.c - - - - - stm32f3xx_hal_exti.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_exti.c - - - - - stm32f3xx_hal_tim.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_tim.c - - - - - stm32f3xx_hal_tim_ex.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_tim_ex.c - - - - - stm32f3xx_hal_sram.c - 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_sram.c - - stm32f3xx_hal_usart.c @@ -846,6 +687,13 @@ ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart.c + + + stm32f3xx_hal.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal.c + + stm32f3xx_hal_uart_ex.c @@ -867,6 +715,34 @@ ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_pwr_ex.c + + + stm32f3xx_hal_gpio.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_gpio.c + + + + + stm32f3xx_hal_rcc_ex.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc_ex.c + + + + + stm32f3xx_hal_usart_ex.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_usart_ex.c + + + + + system_stm32f3xx.c + 1 + ..\libraries\STM32F3xx_HAL\CMSIS\Device\ST\STM32F3xx\Source\Templates\system_stm32f3xx.c + + stm32f3xx_hal_cortex.c @@ -876,9 +752,23 @@ - stm32f3xx_hal_spi_ex.c + stm32f3xx_hal_exti.c 1 - ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_spi_ex.c + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_exti.c + + + + + stm32f3xx_hal_crc_ex.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_crc_ex.c + + + + + stm32f3xx_hal_rcc.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_rcc.c @@ -888,6 +778,20 @@ ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_pwr.c + + + stm32f3xx_hal_dma.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_dma.c + + + + + stm32f3xx_hal_sram.c + 1 + ..\libraries\STM32F3xx_HAL\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_sram.c + + diff --git a/bsp/stm32/stm32f302-st-nucleo/rtconfig.h b/bsp/stm32/stm32f302-st-nucleo/rtconfig.h index 34fefe936c..1273313699 100644 --- a/bsp/stm32/stm32f302-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f302-st-nucleo/rtconfig.h @@ -1,8 +1,7 @@ #ifndef RT_CONFIG_H__ #define RT_CONFIG_H__ -/* Automatically generated file; DO NOT EDIT. */ -/* RT-Thread Configuration */ +/* Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) */ /* RT-Thread Kernel */ @@ -19,6 +18,7 @@ /* kservice optimization */ +/* end of kservice optimization */ #define RT_DEBUG #define RT_DEBUG_COLOR @@ -29,12 +29,14 @@ #define RT_USING_EVENT #define RT_USING_MAILBOX #define RT_USING_MESSAGEQUEUE +/* end of Inter-Thread communication */ /* Memory Management */ #define RT_USING_MEMPOOL #define RT_USING_SMALL_MEM #define RT_USING_HEAP +/* end of Memory Management */ /* Kernel Device Object */ @@ -42,7 +44,9 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart2" +/* end of Kernel Device Object */ #define RT_VER_NUM 0x40004 +/* end of RT-Thread Kernel */ #define ARCH_ARM #define RT_USING_CPU_FFS #define ARCH_ARM_CORTEX_M @@ -57,6 +61,7 @@ /* C++ features */ +/* end of C++ features */ /* Command shell */ @@ -73,9 +78,11 @@ #define MSH_USING_BUILT_IN_COMMANDS #define FINSH_USING_DESCRIPTION #define FINSH_ARG_MAX 10 +/* end of Command shell */ /* Device virtual file system */ +/* end of Device virtual file system */ /* Device Drivers */ @@ -89,34 +96,46 @@ /* Using USB */ +/* end of Using USB */ +/* end of Device Drivers */ /* POSIX layer and C standard library */ #define RT_LIBC_USING_TIME #define RT_LIBC_DEFAULT_TIMEZONE 8 +/* end of POSIX layer and C standard library */ /* Network */ /* Socket abstraction layer */ +/* end of Socket abstraction layer */ /* Network interface device */ +/* end of Network interface device */ /* light weight TCP/IP stack */ +/* 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 */ @@ -127,52 +146,83 @@ /* 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 */ -/* 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 */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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_FAMILY_STM32 #define SOC_SERIES_STM32F3 @@ -187,8 +237,10 @@ #define BSP_USING_GPIO #define BSP_USING_UART #define BSP_USING_UART2 +/* end of On-chip Peripheral Drivers */ /* Board extended module Drivers */ +/* end of Hardware Drivers Config */ #endif diff --git a/bsp/stm32/stm32f401-st-nucleo/.config b/bsp/stm32/stm32f401-st-nucleo/.config index 38e149905d..ecb094e43e 100644 --- a/bsp/stm32/stm32f401-st-nucleo/.config +++ b/bsp/stm32/stm32f401-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f401-st-nucleo/project.ewp b/bsp/stm32/stm32f401-st-nucleo/project.ewp index 489bda4f47..6288546ffd 100644 --- a/bsp/stm32/stm32f401-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f401-st-nucleo/project.ewp @@ -2084,9 +2084,6 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2094,11 +2091,14 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + DeviceDrivers @@ -2109,14 +2109,14 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c @@ -2124,10 +2124,10 @@ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2166,7 +2166,22 @@ Kernel - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\kservice.c @@ -2175,34 +2190,19 @@ $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\scheduler.c - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\object.c diff --git a/bsp/stm32/stm32f401-st-nucleo/project.uvprojx b/bsp/stm32/stm32f401-st-nucleo/project.uvprojx index 9d0589e365..f5a85d63a3 100644 --- a/bsp/stm32/stm32f401-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f401-st-nucleo/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -404,9 +411,9 @@ - backtrace.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -416,13 +423,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -442,23 +442,9 @@ - ringbuffer.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -484,9 +470,23 @@ - ringblk_buf.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c @@ -494,16 +494,16 @@ Drivers - startup_stm32f401xe.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xe.s + stm32f4xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - stm32f4xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + startup_stm32f401xe.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f401xe.s @@ -561,6 +561,34 @@ Kernel + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + irq.c @@ -568,6 +596,20 @@ ..\..\..\src\irq.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + object.c + 1 + ..\..\..\src\object.c + + components.c @@ -582,6 +624,13 @@ ..\..\..\src\scheduler.c + + + timer.c + 1 + ..\..\..\src\timer.c + + device.c @@ -596,48 +645,6 @@ ..\..\..\src\ipc.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - idle.c @@ -645,13 +652,6 @@ ..\..\..\src\idle.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - libc diff --git a/bsp/stm32/stm32f401-st-nucleo/rtconfig.h b/bsp/stm32/stm32f401-st-nucleo/rtconfig.h index 8c792d33a2..5b0f13e1a1 100644 --- a/bsp/stm32/stm32f401-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f401-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/.config b/bsp/stm32/stm32f405-smdz-breadfruit/.config index a710c6084b..8a49bbae51 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/.config +++ b/bsp/stm32/stm32f405-smdz-breadfruit/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp b/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp index ddbb729b2a..7cbc90c7bc 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp +++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.ewp @@ -2075,6 +2075,9 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2082,14 +2085,11 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - DeviceDrivers @@ -2103,23 +2103,23 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + Drivers @@ -2127,10 +2127,10 @@ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f405xx.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f405xx.s + $PROJ_DIR$\board\board.c $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2157,28 +2157,31 @@ Kernel - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\components.c $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\mem.c $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\timer.c @@ -2187,13 +2190,10 @@ $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj index aef5bbc50d..ee0dba8963 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj +++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvproj @@ -411,13 +411,6 @@ CPU - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - div0.c @@ -434,9 +427,9 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c @@ -446,6 +439,13 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -463,6 +463,34 @@ ..\..\..\components\drivers\serial\serial.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + pipe.c @@ -477,27 +505,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - ringblk_buf.c @@ -505,13 +512,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - Drivers @@ -584,41 +584,6 @@ Kernel - - - device.c - 1 - ..\..\..\src\device.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - components.c @@ -626,27 +591,6 @@ ..\..\..\src\components.c - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - kservice.c @@ -656,9 +600,30 @@ - object.c + mempool.c 1 - ..\..\..\src\object.c + ..\..\..\src\mempool.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -668,6 +633,20 @@ ..\..\..\src\scheduler.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + mem.c @@ -675,6 +654,27 @@ ..\..\..\src\mem.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + object.c + 1 + ..\..\..\src\object.c + + libc diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx index d72b6583ab..3362ad0d48 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx +++ b/bsp/stm32/stm32f405-smdz-breadfruit/project.uvprojx @@ -467,16 +467,9 @@ - pipe.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\pipe.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -488,9 +481,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\dataqueue.c @@ -500,6 +493,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + ringbuffer.c @@ -509,9 +509,9 @@ - ringblk_buf.c + pipe.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\pipe.c @@ -586,6 +586,48 @@ Kernel + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + idle.c @@ -600,62 +642,6 @@ ..\..\..\src\mem.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - components.c - 1 - ..\..\..\src\components.c - - object.c @@ -663,6 +649,13 @@ ..\..\..\src\object.c + + + timer.c + 1 + ..\..\..\src\timer.c + + kservice.c @@ -672,9 +665,16 @@ - clock.c + components.c 1 - ..\..\..\src\clock.c + ..\..\..\src\components.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c diff --git a/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.h b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.h index 9fad18f9ae..a39cb4dfa8 100644 --- a/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.h +++ b/bsp/stm32/stm32f405-smdz-breadfruit/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f407-armfly-v5/.config b/bsp/stm32/stm32f407-armfly-v5/.config index 9940e8a5a4..98b425d124 100644 --- a/bsp/stm32/stm32f407-armfly-v5/.config +++ b/bsp/stm32/stm32f407-armfly-v5/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f407-armfly-v5/project.ewp b/bsp/stm32/stm32f407-armfly-v5/project.ewp index beb39ebedd..c030fb993c 100644 --- a/bsp/stm32/stm32f407-armfly-v5/project.ewp +++ b/bsp/stm32/stm32f407-armfly-v5/project.ewp @@ -2081,10 +2081,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2102,25 +2102,25 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c @@ -2159,44 +2159,44 @@ Kernel - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\irq.c + libc diff --git a/bsp/stm32/stm32f407-armfly-v5/project.uvproj b/bsp/stm32/stm32f407-armfly-v5/project.uvproj index 9859932f30..c6d1199f0d 100644 --- a/bsp/stm32/stm32f407-armfly-v5/project.uvproj +++ b/bsp/stm32/stm32f407-armfly-v5/project.uvproj @@ -429,9 +429,9 @@ CPU - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -443,16 +443,9 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c - - - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\..\libcpu\arm\common\showmem.c @@ -462,6 +455,13 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -481,16 +481,16 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c - waitqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -502,9 +502,9 @@ - completion.c + pipe.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\pipe.c @@ -516,16 +516,16 @@ - workqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\waitqueue.c - pipe.c + workqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\workqueue.c @@ -540,16 +540,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -602,37 +602,16 @@ Kernel - kservice.c + thread.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\thread.c - scheduler.c + device.c 1 - ..\..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\device.c @@ -644,30 +623,9 @@ - idle.c + mem.c 1 - ..\..\..\src\idle.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\mem.c @@ -677,6 +635,34 @@ ..\..\..\src\timer.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + components.c @@ -686,9 +672,23 @@ - device.c + ipc.c 1 - ..\..\..\src\device.c + ..\..\..\src\ipc.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c diff --git a/bsp/stm32/stm32f407-armfly-v5/project.uvprojx b/bsp/stm32/stm32f407-armfly-v5/project.uvprojx index 5b955c712b..7025ce5e8f 100644 --- a/bsp/stm32/stm32f407-armfly-v5/project.uvprojx +++ b/bsp/stm32/stm32f407-armfly-v5/project.uvprojx @@ -389,6 +389,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -405,9 +412,9 @@ - backtrace.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -417,13 +424,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -443,37 +443,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -485,9 +457,37 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c @@ -502,16 +502,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -562,76 +562,6 @@ Kernel - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - object.c @@ -653,6 +583,76 @@ ..\..\..\src\irq.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + libc diff --git a/bsp/stm32/stm32f407-armfly-v5/rtconfig.h b/bsp/stm32/stm32f407-armfly-v5/rtconfig.h index c57093f423..b3f186023e 100644 --- a/bsp/stm32/stm32f407-armfly-v5/rtconfig.h +++ b/bsp/stm32/stm32f407-armfly-v5/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f407-atk-explorer/.config b/bsp/stm32/stm32f407-atk-explorer/.config index fcee8fa06c..d7867db295 100644 --- a/bsp/stm32/stm32f407-atk-explorer/.config +++ b/bsp/stm32/stm32f407-atk-explorer/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f407-atk-explorer/project.ewp b/bsp/stm32/stm32f407-atk-explorer/project.ewp index 47edd3e7f1..1566357a60 100644 --- a/bsp/stm32/stm32f407-atk-explorer/project.ewp +++ b/bsp/stm32/stm32f407-atk-explorer/project.ewp @@ -2078,20 +2078,20 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + DeviceDrivers @@ -2101,15 +2101,12 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -2117,10 +2114,13 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2158,38 +2158,23 @@ Kernel + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\idle.c - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\device.c @@ -2197,6 +2182,21 @@ $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\thread.c + libc diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvproj b/bsp/stm32/stm32f407-atk-explorer/project.uvproj index 1da2cd2e4a..a010faf637 100644 --- a/bsp/stm32/stm32f407-atk-explorer/project.uvproj +++ b/bsp/stm32/stm32f407-atk-explorer/project.uvproj @@ -413,16 +413,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -434,16 +434,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -463,6 +463,34 @@ ..\..\..\components\drivers\serial\serial.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + workqueue.c @@ -477,27 +505,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - dataqueue.c @@ -505,13 +512,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - Drivers @@ -524,16 +524,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -584,48 +584,6 @@ Kernel - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - idle.c @@ -633,20 +591,6 @@ ..\..\..\src\idle.c - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - object.c @@ -654,6 +598,13 @@ ..\..\..\src\object.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + device.c @@ -661,6 +612,41 @@ ..\..\..\src\device.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + scheduler.c @@ -670,9 +656,23 @@ - kservice.c + mempool.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\mempool.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + components.c + 1 + ..\..\..\src\components.c diff --git a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx index 1db8fe74df..ef6e7afae0 100644 --- a/bsp/stm32/stm32f407-atk-explorer/project.uvprojx +++ b/bsp/stm32/stm32f407-atk-explorer/project.uvprojx @@ -396,16 +396,16 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -455,9 +455,9 @@ - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -469,16 +469,16 @@ - pipe.c + workqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\workqueue.c - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -500,16 +500,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -560,41 +560,6 @@ Kernel - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - components.c @@ -602,27 +567,6 @@ ..\..\..\src\components.c - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - kservice.c @@ -632,9 +576,30 @@ - thread.c + mem.c 1 - ..\..\..\src\thread.c + ..\..\..\src\mem.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c @@ -644,6 +609,34 @@ ..\..\..\src\irq.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + ipc.c @@ -651,6 +644,13 @@ ..\..\..\src\ipc.c + + + timer.c + 1 + ..\..\..\src\timer.c + + libc diff --git a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h index ea25632ee2..969ef1a77f 100644 --- a/bsp/stm32/stm32f407-atk-explorer/rtconfig.h +++ b/bsp/stm32/stm32f407-atk-explorer/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f407-robomaster-c/.config b/bsp/stm32/stm32f407-robomaster-c/.config index cab51910ea..958187b976 100644 --- a/bsp/stm32/stm32f407-robomaster-c/.config +++ b/bsp/stm32/stm32f407-robomaster-c/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f407-robomaster-c/project.ewp b/bsp/stm32/stm32f407-robomaster-c/project.ewp index 747e4f30a1..1d341dbd20 100644 --- a/bsp/stm32/stm32f407-robomaster-c/project.ewp +++ b/bsp/stm32/stm32f407-robomaster-c/project.ewp @@ -2118,15 +2118,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2142,27 +2142,27 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - Drivers @@ -2200,44 +2200,44 @@ Kernel - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\mem.c $PROJ_DIR$\..\..\..\src\idle.c + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\scheduler.c - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\mempool.c - - $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\timer.c + + $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\clock.c + libc diff --git a/bsp/stm32/stm32f407-robomaster-c/project.uvproj b/bsp/stm32/stm32f407-robomaster-c/project.uvproj index da960ef08a..2702fea9be 100644 --- a/bsp/stm32/stm32f407-robomaster-c/project.uvproj +++ b/bsp/stm32/stm32f407-robomaster-c/project.uvproj @@ -411,6 +411,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -427,9 +434,9 @@ - backtrace.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -439,13 +446,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -463,20 +463,6 @@ ..\..\..\components\drivers\serial\serial.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - workqueue.c @@ -484,6 +470,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + completion.c @@ -507,9 +500,16 @@ - ringblk_buf.c + dataqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c @@ -524,16 +524,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -584,69 +584,6 @@ Kernel - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - components.c - 1 - ..\..\..\src\components.c - - mem.c @@ -654,6 +591,13 @@ ..\..\..\src\mem.c + + + irq.c + 1 + ..\..\..\src\irq.c + + kservice.c @@ -661,6 +605,13 @@ ..\..\..\src\kservice.c + + + clock.c + 1 + ..\..\..\src\clock.c + + object.c @@ -668,6 +619,48 @@ ..\..\..\src\object.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + mempool.c @@ -675,6 +668,13 @@ ..\..\..\src\mempool.c + + + device.c + 1 + ..\..\..\src\device.c + + libc diff --git a/bsp/stm32/stm32f407-robomaster-c/project.uvprojx b/bsp/stm32/stm32f407-robomaster-c/project.uvprojx index 578b9dc5fd..9d80ee39bc 100644 --- a/bsp/stm32/stm32f407-robomaster-c/project.uvprojx +++ b/bsp/stm32/stm32f407-robomaster-c/project.uvprojx @@ -390,16 +390,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -411,16 +411,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -440,6 +440,20 @@ ..\..\..\components\drivers\serial\serial.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + dataqueue.c @@ -454,20 +468,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - pipe.c @@ -484,9 +484,9 @@ - workqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -501,16 +501,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -561,27 +561,6 @@ Kernel - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - mempool.c @@ -589,13 +568,6 @@ ..\..\..\src\mempool.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - object.c @@ -603,6 +575,13 @@ ..\..\..\src\object.c + + + timer.c + 1 + ..\..\..\src\timer.c + + irq.c @@ -610,20 +589,6 @@ ..\..\..\src\irq.c - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - components.c - 1 - ..\..\..\src\components.c - - thread.c @@ -638,6 +603,41 @@ ..\..\..\src\scheduler.c + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + components.c + 1 + ..\..\..\src\components.c + + idle.c diff --git a/bsp/stm32/stm32f407-robomaster-c/rtconfig.h b/bsp/stm32/stm32f407-robomaster-c/rtconfig.h index 2ebd8bdaec..0f65e8308b 100644 --- a/bsp/stm32/stm32f407-robomaster-c/rtconfig.h +++ b/bsp/stm32/stm32f407-robomaster-c/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f407-st-discovery/.config b/bsp/stm32/stm32f407-st-discovery/.config index e5dc7412ed..6d12d1900f 100644 --- a/bsp/stm32/stm32f407-st-discovery/.config +++ b/bsp/stm32/stm32f407-st-discovery/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f407-st-discovery/project.ewp b/bsp/stm32/stm32f407-st-discovery/project.ewp index 4c656758c9..35353afdff 100644 --- a/bsp/stm32/stm32f407-st-discovery/project.ewp +++ b/bsp/stm32/stm32f407-st-discovery/project.ewp @@ -2085,10 +2085,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2100,23 +2100,23 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2157,43 +2157,43 @@ Kernel - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\kservice.c + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\mempool.c - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvproj b/bsp/stm32/stm32f407-st-discovery/project.uvproj index 643a5cae79..b7b53df314 100644 --- a/bsp/stm32/stm32f407-st-discovery/project.uvproj +++ b/bsp/stm32/stm32f407-st-discovery/project.uvproj @@ -411,6 +411,13 @@ CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + showmem.c @@ -425,13 +432,6 @@ ..\..\..\libcpu\arm\common\backtrace.c - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - context_rvds.S @@ -463,13 +463,6 @@ ..\..\..\components\drivers\serial\serial.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - waitqueue.c @@ -479,9 +472,9 @@ - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\workqueue.c @@ -500,9 +493,9 @@ - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -512,6 +505,13 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + Drivers @@ -524,16 +524,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -586,9 +586,9 @@ Kernel - irq.c + thread.c 1 - ..\..\..\src\irq.c + ..\..\..\src\thread.c @@ -598,6 +598,20 @@ ..\..\..\src\mem.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + device.c @@ -607,9 +621,9 @@ - components.c + kservice.c 1 - ..\..\..\src\components.c + ..\..\..\src\kservice.c @@ -619,6 +633,13 @@ ..\..\..\src\mempool.c + + + components.c + 1 + ..\..\..\src\components.c + + scheduler.c @@ -633,34 +654,6 @@ ..\..\..\src\clock.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - idle.c @@ -675,6 +668,13 @@ ..\..\..\src\object.c + + + irq.c + 1 + ..\..\..\src\irq.c + + libc diff --git a/bsp/stm32/stm32f407-st-discovery/project.uvprojx b/bsp/stm32/stm32f407-st-discovery/project.uvprojx index 20bae90ee8..96432efef2 100644 --- a/bsp/stm32/stm32f407-st-discovery/project.uvprojx +++ b/bsp/stm32/stm32f407-st-discovery/project.uvprojx @@ -385,13 +385,6 @@ CPU - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - backtrace.c @@ -406,6 +399,13 @@ ..\..\..\libcpu\arm\common\showmem.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + context_rvds.S @@ -437,27 +437,6 @@ ..\..\..\components\drivers\serial\serial.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - ringbuffer.c @@ -474,9 +453,23 @@ - completion.c + workqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\workqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -486,6 +479,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + Drivers @@ -498,16 +498,16 @@ - board.c - 1 - board\board.c + startup_stm32f407xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s - startup_stm32f407xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f407xx.s + board.c + 1 + board\board.c @@ -558,55 +558,6 @@ Kernel - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - ipc.c @@ -623,16 +574,9 @@ - thread.c + mempool.c 1 - ..\..\..\src\thread.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\mempool.c @@ -644,9 +588,65 @@ - mempool.c + scheduler.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + thread.c + 1 + ..\..\..\src\thread.c diff --git a/bsp/stm32/stm32f407-st-discovery/rtconfig.h b/bsp/stm32/stm32f407-st-discovery/rtconfig.h index 3f0a051056..40d3004ccc 100644 --- a/bsp/stm32/stm32f407-st-discovery/rtconfig.h +++ b/bsp/stm32/stm32f407-st-discovery/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f410-st-nucleo/.config b/bsp/stm32/stm32f410-st-nucleo/.config index 0c639220d0..e5833d4bc4 100644 --- a/bsp/stm32/stm32f410-st-nucleo/.config +++ b/bsp/stm32/stm32f410-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f410-st-nucleo/project.ewp b/bsp/stm32/stm32f410-st-nucleo/project.ewp index d4ae458ce1..2e655a3f9b 100644 --- a/bsp/stm32/stm32f410-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f410-st-nucleo/project.ewp @@ -2076,15 +2076,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2101,7 +2101,10 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -2110,25 +2113,22 @@ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f410rx.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f410rx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2160,6 +2160,21 @@ $PROJ_DIR$\..\..\..\src\timer.c + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\kservice.c @@ -2172,29 +2187,14 @@ $PROJ_DIR$\..\..\..\src\clock.c - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\ipc.c - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\object.c diff --git a/bsp/stm32/stm32f410-st-nucleo/project.uvprojx b/bsp/stm32/stm32f410-st-nucleo/project.uvprojx index f4fa514742..838f68eedd 100644 --- a/bsp/stm32/stm32f410-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f410-st-nucleo/project.uvprojx @@ -390,16 +390,16 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -440,20 +440,6 @@ ..\..\..\components\drivers\serial\serial.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - completion.c @@ -470,9 +456,16 @@ - dataqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c @@ -484,9 +477,16 @@ - ringblk_buf.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\workqueue.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c @@ -561,34 +561,6 @@ Kernel - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - irq.c @@ -596,27 +568,6 @@ ..\..\..\src\irq.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - idle.c @@ -624,6 +575,20 @@ ..\..\..\src\idle.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + object.c @@ -633,9 +598,30 @@ - scheduler.c + components.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\components.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + mem.c + 1 + ..\..\..\src\mem.c @@ -647,9 +633,23 @@ - components.c + scheduler.c 1 - ..\..\..\src\components.c + ..\..\..\src\scheduler.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32f410-st-nucleo/rtconfig.h b/bsp/stm32/stm32f410-st-nucleo/rtconfig.h index 78571b57ee..cfa0a6aa0e 100644 --- a/bsp/stm32/stm32f410-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f410-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f411-atk-nano/.config b/bsp/stm32/stm32f411-atk-nano/.config index 7fa29e10f8..09cae9753e 100644 --- a/bsp/stm32/stm32f411-atk-nano/.config +++ b/bsp/stm32/stm32f411-atk-nano/.config @@ -345,6 +345,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -369,17 +370,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -392,11 +400,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -440,12 +448,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -455,6 +471,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -475,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -492,7 +515,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -500,6 +522,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -576,6 +599,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f411-atk-nano/project.ewp b/bsp/stm32/stm32f411-atk-nano/project.ewp index 4dddb22b4b..ad072b04b8 100644 --- a/bsp/stm32/stm32f411-atk-nano/project.ewp +++ b/bsp/stm32/stm32f411-atk-nano/project.ewp @@ -2085,15 +2085,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2137,25 +2137,25 @@ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c @@ -2164,10 +2164,10 @@ Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2200,40 +2200,40 @@ Kernel - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\device.c + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mempool.c @@ -2241,45 +2241,45 @@ libc - - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + Libraries diff --git a/bsp/stm32/stm32f411-atk-nano/project.uvprojx b/bsp/stm32/stm32f411-atk-nano/project.uvprojx index 27b8587a62..edcffd90b7 100644 --- a/bsp/stm32/stm32f411-atk-nano/project.uvprojx +++ b/bsp/stm32/stm32f411-atk-nano/project.uvprojx @@ -386,6 +386,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -400,13 +407,6 @@ ..\..\..\libcpu\arm\common\showmem.c - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - context_rvds.S @@ -503,16 +503,9 @@ - ringblk_buf.c + completion.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\completion.c @@ -524,9 +517,9 @@ - dataqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -538,9 +531,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\dataqueue.c @@ -550,6 +543,13 @@ ..\..\..\components\drivers\src\pipe.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + watchdog.c @@ -581,16 +581,16 @@ - board.c - 1 - board\board.c + startup_stm32f411xe.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s - startup_stm32f411xe.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s + board.c + 1 + board\board.c @@ -648,34 +648,6 @@ Kernel - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - scheduler.c @@ -683,27 +655,6 @@ ..\..\..\src\scheduler.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - clock.c @@ -713,9 +664,30 @@ - components.c + mem.c 1 - ..\..\..\src\components.c + ..\..\..\src\mem.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + irq.c + 1 + ..\..\..\src\irq.c @@ -725,6 +697,13 @@ ..\..\..\src\object.c + + + thread.c + 1 + ..\..\..\src\thread.c + + ipc.c @@ -734,9 +713,30 @@ - irq.c + kservice.c 1 - ..\..\..\src\irq.c + ..\..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + timer.c + 1 + ..\..\..\src\timer.c @@ -749,13 +749,6 @@ ..\..\..\components\libc\compilers\armlibc\libc.c - - - syscalls.c - 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c - - mem_std.c @@ -765,9 +758,9 @@ - stdlib.c + syscalls.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c @@ -777,6 +770,13 @@ ..\..\..\components\libc\compilers\common\time.c + + + stdlib.c + 1 + ..\..\..\components\libc\compilers\common\stdlib.c + + Libraries diff --git a/bsp/stm32/stm32f411-atk-nano/rtconfig.h b/bsp/stm32/stm32f411-atk-nano/rtconfig.h index bf21c55f73..f81d094dc0 100644 --- a/bsp/stm32/stm32f411-atk-nano/rtconfig.h +++ b/bsp/stm32/stm32f411-atk-nano/rtconfig.h @@ -178,14 +178,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -194,10 +197,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f411-st-nucleo/.config b/bsp/stm32/stm32f411-st-nucleo/.config index 957efe49fc..c83dc9e9cb 100644 --- a/bsp/stm32/stm32f411-st-nucleo/.config +++ b/bsp/stm32/stm32f411-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f411-st-nucleo/project.ewp b/bsp/stm32/stm32f411-st-nucleo/project.ewp index 752de1cb2e..df5f8fdb42 100644 --- a/bsp/stm32/stm32f411-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f411-st-nucleo/project.ewp @@ -2080,10 +2080,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2101,34 +2101,34 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2158,43 +2158,43 @@ Kernel - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\mem.c - - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\kservice.c - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\thread.c diff --git a/bsp/stm32/stm32f411-st-nucleo/project.uvprojx b/bsp/stm32/stm32f411-st-nucleo/project.uvprojx index 0e60cb9e39..f9cb2a7d78 100644 --- a/bsp/stm32/stm32f411-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f411-st-nucleo/project.uvprojx @@ -386,6 +386,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -402,9 +409,9 @@ - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -414,13 +421,6 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - DeviceDrivers @@ -438,27 +438,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - workqueue.c @@ -468,9 +447,9 @@ - waitqueue.c + completion.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\completion.c @@ -487,6 +466,27 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + Drivers @@ -499,16 +499,16 @@ - board.c - 1 - board\board.c + startup_stm32f411xe.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s - startup_stm32f411xe.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s + board.c + 1 + board\board.c @@ -561,16 +561,23 @@ Kernel - device.c + scheduler.c 1 - ..\..\..\src\device.c + ..\..\..\src\scheduler.c - scheduler.c + ipc.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\ipc.c + + + + + device.c + 1 + ..\..\..\src\device.c @@ -580,20 +587,6 @@ ..\..\..\src\mempool.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - components.c @@ -601,13 +594,6 @@ ..\..\..\src\components.c - - - clock.c - 1 - ..\..\..\src\clock.c - - kservice.c @@ -615,6 +601,20 @@ ..\..\..\src\kservice.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + idle.c @@ -622,6 +622,13 @@ ..\..\..\src\idle.c + + + mem.c + 1 + ..\..\..\src\mem.c + + thread.c @@ -638,16 +645,9 @@ - timer.c + irq.c 1 - ..\..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\irq.c diff --git a/bsp/stm32/stm32f411-st-nucleo/rtconfig.h b/bsp/stm32/stm32f411-st-nucleo/rtconfig.h index 483ca4d7dc..2423cfb7b6 100644 --- a/bsp/stm32/stm32f411-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f411-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f411-weact-MiniF4/.config b/bsp/stm32/stm32f411-weact-MiniF4/.config index daed007dfd..1dd13bbf53 100644 --- a/bsp/stm32/stm32f411-weact-MiniF4/.config +++ b/bsp/stm32/stm32f411-weact-MiniF4/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f411-weact-MiniF4/project.ewp b/bsp/stm32/stm32f411-weact-MiniF4/project.ewp index bc67b01548..aa4a6c6029 100644 --- a/bsp/stm32/stm32f411-weact-MiniF4/project.ewp +++ b/bsp/stm32/stm32f411-weact-MiniF4/project.ewp @@ -2156,10 +2156,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2176,15 +2176,15 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2192,19 +2192,19 @@ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f411xe.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2234,43 +2234,43 @@ Kernel - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\object.c $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c diff --git a/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx b/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx index 207df30a20..ee77ad00f2 100644 --- a/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx +++ b/bsp/stm32/stm32f411-weact-MiniF4/project.uvprojx @@ -410,16 +410,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -441,23 +441,9 @@ - ringblk_buf.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -469,9 +455,23 @@ - ringbuffer.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c @@ -483,9 +483,9 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -500,16 +500,16 @@ - board.c - 1 - board\board.c + startup_stm32f411xe.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s - startup_stm32f411xe.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f411xe.s + board.c + 1 + board\board.c @@ -562,30 +562,9 @@ Kernel - scheduler.c + object.c 1 - ..\..\..\src\scheduler.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\object.c @@ -595,13 +574,6 @@ ..\..\..\src\components.c - - - timer.c - 1 - ..\..\..\src\timer.c - - device.c @@ -611,9 +583,16 @@ - kservice.c + mem.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\mem.c + + + + + clock.c + 1 + ..\..\..\src\clock.c @@ -625,23 +604,16 @@ - thread.c + scheduler.c 1 - ..\..\..\src\thread.c + ..\..\..\src\scheduler.c - object.c + mempool.c 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\mempool.c @@ -651,6 +623,34 @@ ..\..\..\src\irq.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + libc diff --git a/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.h b/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.h index 20046c338a..a3eb93879f 100644 --- a/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.h +++ b/bsp/stm32/stm32f411-weact-MiniF4/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f412-st-nucleo/.config b/bsp/stm32/stm32f412-st-nucleo/.config index 83bfa90b1a..9296ee73ee 100644 --- a/bsp/stm32/stm32f412-st-nucleo/.config +++ b/bsp/stm32/stm32f412-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f412-st-nucleo/project.ewp b/bsp/stm32/stm32f412-st-nucleo/project.ewp index af093ed25c..7b766a16f5 100644 --- a/bsp/stm32/stm32f412-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f412-st-nucleo/project.ewp @@ -2118,15 +2118,15 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2143,23 +2143,23 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2199,33 +2199,9 @@ Kernel - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c @@ -2233,11 +2209,35 @@ $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\device.c + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + libc diff --git a/bsp/stm32/stm32f412-st-nucleo/project.uvprojx b/bsp/stm32/stm32f412-st-nucleo/project.uvprojx index 6dd97cfdb2..c7ea99e375 100644 --- a/bsp/stm32/stm32f412-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f412-st-nucleo/project.uvprojx @@ -390,9 +390,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -404,16 +404,9 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c - - - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + ..\..\..\libcpu\arm\common\showmem.c @@ -423,6 +416,13 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -442,9 +442,23 @@ - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c @@ -461,13 +475,6 @@ ..\..\..\components\drivers\src\completion.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - pipe.c @@ -477,16 +484,9 @@ - dataqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -501,16 +501,16 @@ - board.c - 1 - board\board.c + startup_stm32f412zx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f412zx.s - startup_stm32f412zx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f412zx.s + board.c + 1 + board\board.c @@ -577,37 +577,9 @@ - ipc.c + mempool.c 1 - ..\..\..\src\ipc.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - components.c - 1 - ..\..\..\src\components.c + ..\..\..\src\mempool.c @@ -624,6 +596,41 @@ ..\..\..\src\thread.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + device.c + 1 + ..\..\..\src\device.c + + kservice.c @@ -645,13 +652,6 @@ ..\..\..\src\object.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - libc diff --git a/bsp/stm32/stm32f412-st-nucleo/rtconfig.h b/bsp/stm32/stm32f412-st-nucleo/rtconfig.h index 2f2acc6258..452265c6b5 100644 --- a/bsp/stm32/stm32f412-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f412-st-nucleo/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f413-st-nucleo/.config b/bsp/stm32/stm32f413-st-nucleo/.config index e65897fa2c..f134e94846 100644 --- a/bsp/stm32/stm32f413-st-nucleo/.config +++ b/bsp/stm32/stm32f413-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f413-st-nucleo/project.ewp b/bsp/stm32/stm32f413-st-nucleo/project.ewp index 70cf3fa24d..273cc04fc9 100644 --- a/bsp/stm32/stm32f413-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f413-st-nucleo/project.ewp @@ -2079,10 +2079,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2099,27 +2099,27 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c @@ -2127,10 +2127,10 @@ Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f413xx.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f413xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2159,26 +2159,23 @@ Kernel + + $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\clock.c @@ -2187,16 +2184,19 @@ $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32f413-st-nucleo/project.uvproj b/bsp/stm32/stm32f413-st-nucleo/project.uvproj index 9960020015..48ea386e2f 100644 --- a/bsp/stm32/stm32f413-st-nucleo/project.uvproj +++ b/bsp/stm32/stm32f413-st-nucleo/project.uvproj @@ -413,16 +413,16 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -465,16 +465,16 @@ - pipe.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringblk_buf.c - ringblk_buf.c + completion.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c @@ -491,6 +491,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + ringbuffer.c @@ -500,16 +507,9 @@ - completion.c + pipe.c 1 - ..\..\..\components\drivers\src\completion.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -522,13 +522,6 @@ Drivers - - - startup_stm32f413xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s - - stm32f4xx_hal_msp.c @@ -543,6 +536,13 @@ board\board.c + + + startup_stm32f413xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s + + drv_gpio.c @@ -593,9 +593,9 @@ Kernel - irq.c + device.c 1 - ..\..\..\src\irq.c + ..\..\..\src\device.c @@ -614,23 +614,9 @@ - mempool.c + timer.c 1 - ..\..\..\src\mempool.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\timer.c @@ -642,16 +628,16 @@ - idle.c + irq.c 1 - ..\..\..\src\idle.c + ..\..\..\src\irq.c - components.c + idle.c 1 - ..\..\..\src\components.c + ..\..\..\src\idle.c @@ -663,16 +649,23 @@ - timer.c + mempool.c 1 - ..\..\..\src\timer.c + ..\..\..\src\mempool.c - device.c + components.c 1 - ..\..\..\src\device.c + ..\..\..\src\components.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -682,6 +675,13 @@ ..\..\..\src\mem.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + libc diff --git a/bsp/stm32/stm32f413-st-nucleo/project.uvprojx b/bsp/stm32/stm32f413-st-nucleo/project.uvprojx index c04d9ef97d..7f1863ae66 100644 --- a/bsp/stm32/stm32f413-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f413-st-nucleo/project.uvprojx @@ -389,13 +389,6 @@ CPU - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - div0.c @@ -410,6 +403,13 @@ ..\..\..\libcpu\arm\common\showmem.c + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + context_rvds.S @@ -441,20 +441,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - waitqueue.c @@ -490,6 +476,20 @@ ..\..\..\components\drivers\src\workqueue.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + watchdog.c @@ -500,13 +500,6 @@ Drivers - - - startup_stm32f413xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s - - stm32f4xx_hal_msp.c @@ -521,6 +514,13 @@ board\board.c + + + startup_stm32f413xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f413xx.s + + drv_gpio.c @@ -571,16 +571,30 @@ Kernel - mem.c + thread.c 1 - ..\..\..\src\mem.c + ..\..\..\src\thread.c - mempool.c + clock.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\clock.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + device.c + 1 + ..\..\..\src\device.c @@ -592,9 +606,44 @@ - thread.c + timer.c 1 - ..\..\..\src\thread.c + ..\..\..\src\timer.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -611,55 +660,6 @@ ..\..\..\src\irq.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - device.c - 1 - ..\..\..\src\device.c - - libc diff --git a/bsp/stm32/stm32f413-st-nucleo/rtconfig.h b/bsp/stm32/stm32f413-st-nucleo/rtconfig.h index 4c74caadcb..2c167462ac 100644 --- a/bsp/stm32/stm32f413-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f413-st-nucleo/rtconfig.h @@ -169,14 +169,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -185,10 +188,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f427-robomaster-a/.config b/bsp/stm32/stm32f427-robomaster-a/.config index 7d80a6db5f..f1b8eb0643 100644 --- a/bsp/stm32/stm32f427-robomaster-a/.config +++ b/bsp/stm32/stm32f427-robomaster-a/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f427-robomaster-a/project.ewp b/bsp/stm32/stm32f427-robomaster-a/project.ewp index 8e8e206dd3..99a638a584 100644 --- a/bsp/stm32/stm32f427-robomaster-a/project.ewp +++ b/bsp/stm32/stm32f427-robomaster-a/project.ewp @@ -2087,10 +2087,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2101,15 +2101,15 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c @@ -2117,10 +2117,10 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2161,42 +2161,42 @@ $PROJ_DIR$\..\..\..\src\device.c - - $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\mem.c + libc diff --git a/bsp/stm32/stm32f427-robomaster-a/project.uvproj b/bsp/stm32/stm32f427-robomaster-a/project.uvproj index 9a9c189aac..2a38372673 100644 --- a/bsp/stm32/stm32f427-robomaster-a/project.uvproj +++ b/bsp/stm32/stm32f427-robomaster-a/project.uvproj @@ -420,16 +420,16 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -465,9 +465,9 @@ - dataqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -479,16 +479,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -498,6 +491,13 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + workqueue.c @@ -507,9 +507,9 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c @@ -517,16 +517,16 @@ Drivers - startup_stm32f427xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s + stm32f4xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - stm32f4xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + startup_stm32f427xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s @@ -586,9 +586,30 @@ Kernel - kservice.c + irq.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\irq.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -605,6 +626,20 @@ ..\..\..\src\device.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + clock.c @@ -612,34 +647,6 @@ ..\..\..\src\clock.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - mempool.c @@ -656,23 +663,16 @@ - irq.c + scheduler.c 1 - ..\..\..\src\irq.c + ..\..\..\src\scheduler.c - thread.c + object.c 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c + ..\..\..\src\object.c diff --git a/bsp/stm32/stm32f427-robomaster-a/project.uvprojx b/bsp/stm32/stm32f427-robomaster-a/project.uvprojx index 21dbfd49d7..051e38adb7 100644 --- a/bsp/stm32/stm32f427-robomaster-a/project.uvprojx +++ b/bsp/stm32/stm32f427-robomaster-a/project.uvprojx @@ -408,16 +408,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -444,13 +444,6 @@ ..\..\..\components\drivers\src\completion.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - dataqueue.c @@ -458,20 +451,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - workqueue.c @@ -486,21 +465,42 @@ ..\..\..\components\drivers\src\pipe.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + Drivers - startup_stm32f427xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s + stm32f4xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - stm32f4xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + startup_stm32f427xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f427xx.s @@ -558,13 +558,6 @@ Kernel - - - ipc.c - 1 - ..\..\..\src\ipc.c - - thread.c @@ -572,34 +565,6 @@ ..\..\..\src\thread.c - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - mempool.c @@ -607,6 +572,13 @@ ..\..\..\src\mempool.c + + + mem.c + 1 + ..\..\..\src\mem.c + + components.c @@ -616,9 +588,16 @@ - device.c + ipc.c 1 - ..\..\..\src\device.c + ..\..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c @@ -637,9 +616,16 @@ - timer.c + clock.c 1 - ..\..\..\src\timer.c + ..\..\..\src\clock.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -649,6 +635,20 @@ ..\..\..\src\scheduler.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + libc diff --git a/bsp/stm32/stm32f427-robomaster-a/rtconfig.h b/bsp/stm32/stm32f427-robomaster-a/rtconfig.h index 2ec23dd9f2..cf383da82a 100644 --- a/bsp/stm32/stm32f427-robomaster-a/rtconfig.h +++ b/bsp/stm32/stm32f427-robomaster-a/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f429-armfly-v6/.config b/bsp/stm32/stm32f429-armfly-v6/.config index aa88ecc84d..4144178dd5 100644 --- a/bsp/stm32/stm32f429-armfly-v6/.config +++ b/bsp/stm32/stm32f429-armfly-v6/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f429-armfly-v6/project.ewp b/bsp/stm32/stm32f429-armfly-v6/project.ewp index 588bc5d766..ebdd0546a0 100644 --- a/bsp/stm32/stm32f429-armfly-v6/project.ewp +++ b/bsp/stm32/stm32f429-armfly-v6/project.ewp @@ -2081,10 +2081,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2101,39 +2101,39 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + Drivers + + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\ports\drv_ext_io.c - - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s - $PROJ_DIR$\board\board.c @@ -2164,42 +2164,42 @@ $PROJ_DIR$\..\..\..\src\timer.c + + $PROJ_DIR$\..\..\..\src\memheap.c + $PROJ_DIR$\..\..\..\src\ipc.c - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\kservice.c + + $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\idle.c + + $PROJ_DIR$\..\..\..\src\object.c + libc diff --git a/bsp/stm32/stm32f429-armfly-v6/project.uvproj b/bsp/stm32/stm32f429-armfly-v6/project.uvproj index a0b161e4af..e95082a31c 100644 --- a/bsp/stm32/stm32f429-armfly-v6/project.uvproj +++ b/bsp/stm32/stm32f429-armfly-v6/project.uvproj @@ -411,13 +411,6 @@ CPU - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - backtrace.c @@ -434,9 +427,9 @@ - cpuport.c + showmem.c 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\..\libcpu\arm\common\showmem.c @@ -446,6 +439,13 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -463,13 +463,6 @@ ..\..\..\components\drivers\serial\serial.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - dataqueue.c @@ -479,16 +472,9 @@ - workqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\waitqueue.c @@ -498,6 +484,13 @@ ..\..\..\components\drivers\src\pipe.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + completion.c @@ -512,9 +505,23 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -536,13 +543,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -593,37 +593,9 @@ Kernel - components.c + idle.c 1 - ..\..\..\src\components.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\idle.c @@ -642,9 +614,44 @@ - ipc.c + object.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\object.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + device.c + 1 + ..\..\..\src\device.c @@ -663,23 +670,16 @@ - scheduler.c + ipc.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\ipc.c - idle.c + mempool.c 1 - ..\..\..\src\idle.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32f429-armfly-v6/project.uvprojx b/bsp/stm32/stm32f429-armfly-v6/project.uvprojx index 0ee9ff9adb..6ecb91e95e 100644 --- a/bsp/stm32/stm32f429-armfly-v6/project.uvprojx +++ b/bsp/stm32/stm32f429-armfly-v6/project.uvprojx @@ -387,13 +387,6 @@ CPU - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - backtrace.c @@ -408,6 +401,13 @@ ..\..\..\libcpu\arm\common\showmem.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + cpuport.c @@ -441,16 +441,23 @@ - ringblk_buf.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\ringbuffer.c - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c @@ -469,28 +476,28 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\workqueue.c Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -512,13 +519,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -576,30 +576,9 @@ - device.c + clock.c 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - idle.c - 1 - ..\..\..\src\idle.c + ..\..\..\src\clock.c @@ -609,6 +588,20 @@ ..\..\..\src\mempool.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + object.c + 1 + ..\..\..\src\object.c + + components.c @@ -616,20 +609,6 @@ ..\..\..\src\components.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - kservice.c @@ -639,16 +618,30 @@ - clock.c + memheap.c 1 - ..\..\..\src\clock.c + ..\..\..\src\memheap.c - scheduler.c + device.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\device.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -658,6 +651,13 @@ ..\..\..\src\thread.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + libc diff --git a/bsp/stm32/stm32f429-armfly-v6/rtconfig.h b/bsp/stm32/stm32f429-armfly-v6/rtconfig.h index 14be6dc7ef..b3b48efe5e 100644 --- a/bsp/stm32/stm32f429-armfly-v6/rtconfig.h +++ b/bsp/stm32/stm32f429-armfly-v6/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f429-atk-apollo/.config b/bsp/stm32/stm32f429-atk-apollo/.config index 2cb8df8c97..7adecaa7e9 100644 --- a/bsp/stm32/stm32f429-atk-apollo/.config +++ b/bsp/stm32/stm32f429-atk-apollo/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f429-atk-apollo/project.ewp b/bsp/stm32/stm32f429-atk-apollo/project.ewp index b2ec0e3767..662c37c18e 100644 --- a/bsp/stm32/stm32f429-atk-apollo/project.ewp +++ b/bsp/stm32/stm32f429-atk-apollo/project.ewp @@ -2078,15 +2078,15 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2103,13 +2103,19 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c @@ -2117,20 +2123,14 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2159,45 +2159,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\idle.c + libc diff --git a/bsp/stm32/stm32f429-atk-apollo/project.uvproj b/bsp/stm32/stm32f429-atk-apollo/project.uvproj index 741e2e0a6f..b9f671e27a 100644 --- a/bsp/stm32/stm32f429-atk-apollo/project.uvproj +++ b/bsp/stm32/stm32f429-atk-apollo/project.uvproj @@ -420,16 +420,16 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -493,16 +493,16 @@ - workqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\waitqueue.c - waitqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -515,6 +515,13 @@ Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -529,13 +536,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -586,58 +586,9 @@ Kernel - irq.c + ipc.c 1 - ..\..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\ipc.c @@ -649,16 +600,9 @@ - scheduler.c + thread.c 1 - ..\..\..\src\scheduler.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\thread.c @@ -670,9 +614,65 @@ - ipc.c + idle.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\idle.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + object.c + 1 + ..\..\..\src\object.c diff --git a/bsp/stm32/stm32f429-atk-apollo/project.uvprojx b/bsp/stm32/stm32f429-atk-apollo/project.uvprojx index 4c02890c82..69c96677c1 100644 --- a/bsp/stm32/stm32f429-atk-apollo/project.uvprojx +++ b/bsp/stm32/stm32f429-atk-apollo/project.uvprojx @@ -387,6 +387,13 @@ CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + backtrace.c @@ -403,9 +410,9 @@ - div0.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -415,13 +422,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -439,6 +439,13 @@ ..\..\..\components\drivers\serial\serial.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + waitqueue.c @@ -462,16 +469,16 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -481,16 +488,16 @@ ..\..\..\components\drivers\src\pipe.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -505,13 +512,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -562,30 +562,9 @@ Kernel - ipc.c + idle.c 1 - ..\..\..\src\ipc.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c + ..\..\..\src\idle.c @@ -597,9 +576,16 @@ - kservice.c + memheap.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\memheap.c + + + + + clock.c + 1 + ..\..\..\src\clock.c @@ -611,30 +597,16 @@ - thread.c + timer.c 1 - ..\..\..\src\thread.c + ..\..\..\src\timer.c - idle.c + ipc.c 1 - ..\..\..\src\idle.c - - - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\ipc.c @@ -646,9 +618,37 @@ - timer.c + object.c 1 - ..\..\..\src\timer.c + ..\..\..\src\object.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + thread.c + 1 + ..\..\..\src\thread.c diff --git a/bsp/stm32/stm32f429-atk-apollo/rtconfig.h b/bsp/stm32/stm32f429-atk-apollo/rtconfig.h index aa5d07b5cd..dcc86fe5a5 100644 --- a/bsp/stm32/stm32f429-atk-apollo/rtconfig.h +++ b/bsp/stm32/stm32f429-atk-apollo/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f429-fire-challenger/.config b/bsp/stm32/stm32f429-fire-challenger/.config index 5e1cebd080..5fec873c4a 100644 --- a/bsp/stm32/stm32f429-fire-challenger/.config +++ b/bsp/stm32/stm32f429-fire-challenger/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f429-fire-challenger/project.ewp b/bsp/stm32/stm32f429-fire-challenger/project.ewp index 37e4a28dea..6578348019 100644 --- a/bsp/stm32/stm32f429-fire-challenger/project.ewp +++ b/bsp/stm32/stm32f429-fire-challenger/project.ewp @@ -2081,18 +2081,18 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + DeviceDrivers @@ -2103,19 +2103,16 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c @@ -2123,14 +2120,17 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + Drivers - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f429xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2159,45 +2159,45 @@ Kernel + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\memheap.c + $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - $PROJ_DIR$\..\..\..\src\components.c - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\thread.c - libc diff --git a/bsp/stm32/stm32f429-fire-challenger/project.uvproj b/bsp/stm32/stm32f429-fire-challenger/project.uvproj index e9b9c90fd1..e07f2588b6 100644 --- a/bsp/stm32/stm32f429-fire-challenger/project.uvproj +++ b/bsp/stm32/stm32f429-fire-challenger/project.uvproj @@ -413,9 +413,9 @@ CPU - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c @@ -427,9 +427,9 @@ - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -463,34 +463,6 @@ ..\..\..\components\drivers\serial\serial.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - completion.c @@ -512,9 +484,44 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -529,13 +536,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -584,41 +584,6 @@ Kernel - - - components.c - 1 - ..\..\..\src\components.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - idle.c @@ -626,20 +591,6 @@ ..\..\..\src\idle.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - scheduler.c @@ -649,16 +600,23 @@ - clock.c + memheap.c 1 - ..\..\..\src\clock.c + ..\..\..\src\memheap.c - object.c + irq.c 1 - ..\..\..\src\object.c + ..\..\..\src\irq.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -668,6 +626,27 @@ ..\..\..\src\kservice.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + components.c + 1 + ..\..\..\src\components.c + + thread.c @@ -675,6 +654,27 @@ ..\..\..\src\thread.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + libc diff --git a/bsp/stm32/stm32f429-fire-challenger/project.uvprojx b/bsp/stm32/stm32f429-fire-challenger/project.uvprojx index 9d5047161e..bc64fa0004 100644 --- a/bsp/stm32/stm32f429-fire-challenger/project.uvprojx +++ b/bsp/stm32/stm32f429-fire-challenger/project.uvprojx @@ -441,9 +441,16 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -462,23 +469,9 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c @@ -488,9 +481,23 @@ ..\..\..\components\drivers\src\workqueue.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -505,13 +512,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -560,34 +560,6 @@ Kernel - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - object.c - 1 - ..\..\..\src\object.c - - mempool.c @@ -595,27 +567,6 @@ ..\..\..\src\mempool.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - memheap.c - 1 - ..\..\..\src\memheap.c - - irq.c @@ -623,6 +574,13 @@ ..\..\..\src\irq.c + + + thread.c + 1 + ..\..\..\src\thread.c + + device.c @@ -637,6 +595,13 @@ ..\..\..\src\timer.c + + + components.c + 1 + ..\..\..\src\components.c + + kservice.c @@ -644,6 +609,41 @@ ..\..\..\src\kservice.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + scheduler.c diff --git a/bsp/stm32/stm32f429-fire-challenger/rtconfig.h b/bsp/stm32/stm32f429-fire-challenger/rtconfig.h index aa5d07b5cd..dcc86fe5a5 100644 --- a/bsp/stm32/stm32f429-fire-challenger/rtconfig.h +++ b/bsp/stm32/stm32f429-fire-challenger/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f429-st-disco/.config b/bsp/stm32/stm32f429-st-disco/.config index 961f0b1985..610e0f0937 100644 --- a/bsp/stm32/stm32f429-st-disco/.config +++ b/bsp/stm32/stm32f429-st-disco/.config @@ -354,6 +354,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -378,17 +379,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -401,11 +409,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -449,12 +457,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -464,6 +480,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -484,7 +508,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -501,7 +524,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -509,6 +531,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -585,6 +608,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f429-st-disco/project.uvproj b/bsp/stm32/stm32f429-st-disco/project.uvproj index ca8d028a90..bc210476f4 100644 --- a/bsp/stm32/stm32f429-st-disco/project.uvproj +++ b/bsp/stm32/stm32f429-st-disco/project.uvproj @@ -420,16 +420,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -441,16 +441,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -507,16 +507,9 @@ - dataqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -528,16 +521,9 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c @@ -547,6 +533,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + waitqueue.c @@ -554,6 +547,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + @@ -569,6 +569,13 @@ Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -590,13 +597,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -727,16 +727,9 @@ Kernel - ipc.c + kservice.c 1 - ..\..\..\src\ipc.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\kservice.c @@ -748,58 +741,9 @@ - memheap.c + thread.c 1 - ..\..\..\src\memheap.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - signal.c - 1 - ..\..\..\src\signal.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\thread.c @@ -811,9 +755,23 @@ - thread.c + device.c 1 - ..\..\..\src\thread.c + ..\..\..\src\device.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + clock.c + 1 + ..\..\..\src\clock.c @@ -823,6 +781,48 @@ ..\..\..\src\scheduler.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + signal.c + 1 + ..\..\..\src\signal.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + libc @@ -833,13 +833,6 @@ ..\..\..\components\libc\compilers\armlibc\stdio.c - - - libc.c - 1 - ..\..\..\components\libc\compilers\armlibc\libc.c - - syscalls.c @@ -854,6 +847,13 @@ ..\..\..\components\libc\compilers\armlibc\mem_std.c + + + libc.c + 1 + ..\..\..\components\libc\compilers\armlibc\libc.c + + time.c diff --git a/bsp/stm32/stm32f429-st-disco/project.uvprojx b/bsp/stm32/stm32f429-st-disco/project.uvprojx index 8a08803054..b826d2d896 100644 --- a/bsp/stm32/stm32f429-st-disco/project.uvprojx +++ b/bsp/stm32/stm32f429-st-disco/project.uvprojx @@ -402,13 +402,6 @@ ..\..\..\libcpu\arm\common\div0.c - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -418,9 +411,9 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c @@ -430,6 +423,13 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -489,6 +489,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + waitqueue.c @@ -517,13 +524,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - completion.c @@ -546,6 +546,13 @@ Drivers + + + startup_stm32f429xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s + + stm32f4xx_hal_msp.c @@ -567,13 +574,6 @@ board\board.c - - - startup_stm32f429xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f429xx.s - - drv_gpio.c @@ -702,6 +702,41 @@ Kernel + + + device.c + 1 + ..\..\..\src\device.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + scheduler.c @@ -709,6 +744,13 @@ ..\..\..\src\scheduler.c + + + timer.c + 1 + ..\..\..\src\timer.c + + signal.c @@ -716,6 +758,27 @@ ..\..\..\src\signal.c + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + ipc.c @@ -737,79 +800,9 @@ ..\..\..\src\thread.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - libc - - - stdio.c - 1 - ..\..\..\components\libc\compilers\armlibc\stdio.c - - libc.c @@ -824,6 +817,13 @@ ..\..\..\components\libc\compilers\armlibc\syscalls.c + + + stdio.c + 1 + ..\..\..\components\libc\compilers\armlibc\stdio.c + + mem_std.c @@ -833,9 +833,9 @@ - stdlib.c + time.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\time.c @@ -847,16 +847,16 @@ - unistd.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\unistd.c + ..\..\..\components\libc\compilers\common\stdlib.c - time.c + unistd.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\common\unistd.c diff --git a/bsp/stm32/stm32f429-st-disco/rtconfig.h b/bsp/stm32/stm32f429-st-disco/rtconfig.h index 42b80f7b89..815c4132b3 100644 --- a/bsp/stm32/stm32f429-st-disco/rtconfig.h +++ b/bsp/stm32/stm32f429-st-disco/rtconfig.h @@ -182,14 +182,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -198,10 +201,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f446-st-nucleo/.config b/bsp/stm32/stm32f446-st-nucleo/.config index df3a4a360d..0bc33aeb5e 100644 --- a/bsp/stm32/stm32f446-st-nucleo/.config +++ b/bsp/stm32/stm32f446-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f446-st-nucleo/project.ewp b/bsp/stm32/stm32f446-st-nucleo/project.ewp index fa654ccc86..d3c4443a5d 100644 --- a/bsp/stm32/stm32f446-st-nucleo/project.ewp +++ b/bsp/stm32/stm32f446-st-nucleo/project.ewp @@ -2085,10 +2085,10 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2112,22 +2112,22 @@ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2136,10 +2136,10 @@ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f446xx.s + $PROJ_DIR$\board\board.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\iar\startup_stm32f446xx.s $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2166,25 +2166,34 @@ Kernel - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\ipc.c @@ -2195,15 +2204,6 @@ $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\components.c - libc diff --git a/bsp/stm32/stm32f446-st-nucleo/project.uvprojx b/bsp/stm32/stm32f446-st-nucleo/project.uvprojx index 1d0ca7c047..f2abb26825 100644 --- a/bsp/stm32/stm32f446-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f446-st-nucleo/project.uvprojx @@ -416,16 +416,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -475,16 +475,23 @@ - ringblk_buf.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\ringbuffer.c - pipe.c + dataqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -494,13 +501,6 @@ ..\..\..\components\drivers\src\completion.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - workqueue.c @@ -510,9 +510,9 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -589,16 +589,9 @@ Kernel - irq.c + mempool.c 1 - ..\..\..\src\irq.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\mempool.c @@ -608,27 +601,6 @@ ..\..\..\src\clock.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - components.c - 1 - ..\..\..\src\components.c - - thread.c @@ -636,27 +608,6 @@ ..\..\..\src\thread.c - - - device.c - 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - idle.c @@ -666,9 +617,44 @@ - mempool.c + ipc.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\ipc.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + timer.c + 1 + ..\..\..\src\timer.c @@ -678,6 +664,20 @@ ..\..\..\src\kservice.c + + + components.c + 1 + ..\..\..\src\components.c + + + + + device.c + 1 + ..\..\..\src\device.c + + libc diff --git a/bsp/stm32/stm32f446-st-nucleo/rtconfig.h b/bsp/stm32/stm32f446-st-nucleo/rtconfig.h index 454d275c70..100b7f758b 100644 --- a/bsp/stm32/stm32f446-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32f446-st-nucleo/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f469-st-disco/.config b/bsp/stm32/stm32f469-st-disco/.config index 1bf23c196b..b6e56151f1 100644 --- a/bsp/stm32/stm32f469-st-disco/.config +++ b/bsp/stm32/stm32f469-st-disco/.config @@ -378,6 +378,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -402,17 +403,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -425,11 +433,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -473,12 +481,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -488,6 +504,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -508,7 +532,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -525,7 +548,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -533,6 +555,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -609,6 +632,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f469-st-disco/project.uvproj b/bsp/stm32/stm32f469-st-disco/project.uvproj index 971eba7125..1b82033a02 100644 --- a/bsp/stm32/stm32f469-st-disco/project.uvproj +++ b/bsp/stm32/stm32f469-st-disco/project.uvproj @@ -420,16 +420,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -441,16 +441,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -514,23 +514,9 @@ - pipe.c + completion.c 1 - ..\..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\completion.c @@ -542,9 +528,9 @@ - completion.c + pipe.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\pipe.c @@ -561,21 +547,35 @@ ..\..\..\components\drivers\src\waitqueue.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + Drivers - startup_stm32f469xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s + stm32f4xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - stm32f4xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + startup_stm32f469xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s @@ -658,6 +658,13 @@ ..\..\..\components\dfs\filesystems\devfs\devfs.c + + + dfs_elm.c + 1 + ..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c + + ff.c @@ -672,13 +679,6 @@ ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c - - - dfs_elm.c - 1 - ..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c - - Finsh @@ -713,13 +713,6 @@ Kernel - - - device.c - 1 - ..\..\..\src\device.c - - ipc.c @@ -727,34 +720,6 @@ ..\..\..\src\ipc.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - memheap.c @@ -764,16 +729,9 @@ - object.c + kservice.c 1 - ..\..\..\src\object.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\kservice.c @@ -785,9 +743,44 @@ - scheduler.c + mempool.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + object.c + 1 + ..\..\..\src\object.c @@ -799,14 +792,28 @@ - mempool.c + device.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\device.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c libc + + + mem_std.c + 1 + ..\..\..\components\libc\compilers\armlibc\mem_std.c + + libc.c @@ -821,13 +828,6 @@ ..\..\..\components\libc\compilers\armlibc\syscalls.c - - - mem_std.c - 1 - ..\..\..\components\libc\compilers\armlibc\mem_std.c - - stdio.c @@ -837,9 +837,9 @@ - time.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -851,9 +851,9 @@ - stdlib.c + time.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\time.c diff --git a/bsp/stm32/stm32f469-st-disco/project.uvprojx b/bsp/stm32/stm32f469-st-disco/project.uvprojx index 38e87f6b1a..b8ceb5366f 100644 --- a/bsp/stm32/stm32f469-st-disco/project.uvprojx +++ b/bsp/stm32/stm32f469-st-disco/project.uvprojx @@ -418,16 +418,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -496,13 +496,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - waitqueue.c @@ -519,9 +512,9 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c @@ -533,9 +526,16 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c @@ -543,16 +543,16 @@ Drivers - startup_stm32f469xx.s - 2 - ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s + stm32f4xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32f4xx_hal_msp.c - stm32f4xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32f4xx_hal_msp.c + startup_stm32f469xx.s + 2 + ..\libraries\STM32F4xx_HAL\CMSIS\Device\ST\STM32F4xx\Source\Templates\arm\startup_stm32f469xx.s @@ -635,13 +635,6 @@ ..\..\..\components\dfs\filesystems\devfs\devfs.c - - - ffunicode.c - 1 - ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c - - ff.c @@ -656,6 +649,13 @@ ..\..\..\components\dfs\filesystems\elmfat\dfs_elm.c + + + ffunicode.c + 1 + ..\..\..\components\dfs\filesystems\elmfat\ffunicode.c + + Finsh @@ -690,6 +690,13 @@ Kernel + + + irq.c + 1 + ..\..\..\src\irq.c + + kservice.c @@ -699,9 +706,16 @@ - idle.c + mempool.c 1 - ..\..\..\src\idle.c + ..\..\..\src\mempool.c + + + + + object.c + 1 + ..\..\..\src\object.c @@ -713,9 +727,30 @@ - irq.c + device.c 1 - ..\..\..\src\irq.c + ..\..\..\src\device.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -734,16 +769,9 @@ - object.c + clock.c 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\clock.c @@ -753,44 +781,9 @@ ..\..\..\src\components.c - - - device.c - 1 - ..\..\..\src\device.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - libc - - - stdio.c - 1 - ..\..\..\components\libc\compilers\armlibc\stdio.c - - mem_std.c @@ -805,6 +798,13 @@ ..\..\..\components\libc\compilers\armlibc\syscalls.c + + + stdio.c + 1 + ..\..\..\components\libc\compilers\armlibc\stdio.c + + libc.c @@ -812,6 +812,13 @@ ..\..\..\components\libc\compilers\armlibc\libc.c + + + stdlib.c + 1 + ..\..\..\components\libc\compilers\common\stdlib.c + + delay.c @@ -826,13 +833,6 @@ ..\..\..\components\libc\compilers\common\unistd.c - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c - - time.c diff --git a/bsp/stm32/stm32f469-st-disco/rtconfig.h b/bsp/stm32/stm32f469-st-disco/rtconfig.h index 3a115cf31c..927ce8626f 100644 --- a/bsp/stm32/stm32f469-st-disco/rtconfig.h +++ b/bsp/stm32/stm32f469-st-disco/rtconfig.h @@ -204,14 +204,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -220,10 +223,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f746-st-disco/.config b/bsp/stm32/stm32f746-st-disco/.config index d58dd037ed..c345f120fa 100644 --- a/bsp/stm32/stm32f746-st-disco/.config +++ b/bsp/stm32/stm32f746-st-disco/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f746-st-disco/project.ewp b/bsp/stm32/stm32f746-st-disco/project.ewp index 7029398542..3e5027af43 100644 --- a/bsp/stm32/stm32f746-st-disco/project.ewp +++ b/bsp/stm32/stm32f746-st-disco/project.ewp @@ -2077,15 +2077,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S @@ -2107,39 +2107,39 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + Drivers + + $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f746xx.s + $PROJ_DIR$\board\board.c $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c - - $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f746xx.s - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2167,9 +2167,24 @@ Kernel + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\timer.c @@ -2177,34 +2192,19 @@ $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\mem.c + + $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\scheduler.c diff --git a/bsp/stm32/stm32f746-st-disco/project.uvprojx b/bsp/stm32/stm32f746-st-disco/project.uvprojx index c6819615b3..f746e85e23 100644 --- a/bsp/stm32/stm32f746-st-disco/project.uvprojx +++ b/bsp/stm32/stm32f746-st-disco/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -402,13 +409,6 @@ ..\..\..\libcpu\arm\common\div0.c - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - cpuport.c @@ -456,16 +456,9 @@ - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\workqueue.c @@ -482,6 +475,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + completion.c @@ -489,6 +489,13 @@ ..\..\..\components\drivers\src\completion.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + dataqueue.c @@ -496,21 +503,14 @@ ..\..\..\components\drivers\src\dataqueue.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - Drivers - board.c + stm32f7xx_hal_msp.c 1 - board\board.c + board\CubeMX_Config\Src\stm32f7xx_hal_msp.c @@ -522,9 +522,9 @@ - stm32f7xx_hal_msp.c + board.c 1 - board\CubeMX_Config\Src\stm32f7xx_hal_msp.c + board\board.c @@ -584,16 +584,23 @@ Kernel - components.c + mem.c 1 - ..\..\..\src\components.c + ..\..\..\src\mem.c - kservice.c + irq.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\irq.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -605,23 +612,9 @@ - mempool.c + object.c 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - mem.c - 1 - ..\..\..\src\mem.c + ..\..\..\src\object.c @@ -640,16 +633,23 @@ - object.c + mempool.c 1 - ..\..\..\src\object.c + ..\..\..\src\mempool.c - ipc.c + components.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c @@ -661,9 +661,9 @@ - irq.c + idle.c 1 - ..\..\..\src\irq.c + ..\..\..\src\idle.c diff --git a/bsp/stm32/stm32f746-st-disco/rtconfig.h b/bsp/stm32/stm32f746-st-disco/rtconfig.h index 5dbecd1df5..6b3fbaa606 100644 --- a/bsp/stm32/stm32f746-st-disco/rtconfig.h +++ b/bsp/stm32/stm32f746-st-disco/rtconfig.h @@ -169,14 +169,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -185,10 +188,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f746-st-nucleo/project.uvprojx b/bsp/stm32/stm32f746-st-nucleo/project.uvprojx index 9964425e47..60483e78df 100644 --- a/bsp/stm32/stm32f746-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f746-st-nucleo/project.uvprojx @@ -391,16 +391,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -419,16 +419,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + cpu_cache.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - cpu_cache.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S @@ -476,27 +476,6 @@ ..\..\..\components\drivers\spi\spi_dev.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - ringbuffer.c @@ -511,6 +490,13 @@ ..\..\..\components\drivers\src\dataqueue.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + ringblk_buf.c @@ -520,9 +506,23 @@ - pipe.c + completion.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\completion.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c @@ -549,16 +549,16 @@ - board.c - 1 - board\board.c + startup_stm32f746xx.s + 2 + ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f746xx.s - startup_stm32f746xx.s - 2 - ..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\arm\startup_stm32f746xx.s + board.c + 1 + board\board.c @@ -668,6 +668,41 @@ Kernel + + + components.c + 1 + ..\..\..\src\components.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + device.c + 1 + ..\..\..\src\device.c + + mempool.c @@ -684,51 +719,9 @@ - thread.c + idle.c 1 - ..\..\..\src\thread.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c + ..\..\..\src\idle.c @@ -747,35 +740,28 @@ - kservice.c + ipc.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\ipc.c - idle.c + mem.c 1 - ..\..\..\src\idle.c + ..\..\..\src\mem.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c libc - - - stdio.c - 1 - ..\..\..\components\libc\compilers\armlibc\stdio.c - - - - - libc.c - 1 - ..\..\..\components\libc\compilers\armlibc\libc.c - - mem_std.c @@ -792,9 +778,16 @@ - stdlib.c + libc.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\armlibc\libc.c + + + + + stdio.c + 1 + ..\..\..\components\libc\compilers\armlibc\stdio.c @@ -806,16 +799,23 @@ - time.c + unistd.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\common\unistd.c - unistd.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\unistd.c + ..\..\..\components\libc\compilers\common\stdlib.c + + + + + time.c + 1 + ..\..\..\components\libc\compilers\common\time.c diff --git a/bsp/stm32/stm32f767-atk-apollo/.config b/bsp/stm32/stm32f767-atk-apollo/.config index b7a26f0359..4ce90f1817 100644 --- a/bsp/stm32/stm32f767-atk-apollo/.config +++ b/bsp/stm32/stm32f767-atk-apollo/.config @@ -331,6 +331,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -355,17 +356,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -378,11 +386,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -426,12 +434,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -441,6 +457,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f767-atk-apollo/project.ewp b/bsp/stm32/stm32f767-atk-apollo/project.ewp index 457591c75f..487cc41794 100644 --- a/bsp/stm32/stm32f767-atk-apollo/project.ewp +++ b/bsp/stm32/stm32f767-atk-apollo/project.ewp @@ -2121,22 +2121,22 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c @@ -2160,13 +2160,13 @@ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2175,10 +2175,10 @@ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c - $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s + $PROJ_DIR$\board\board.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s $PROJ_DIR$\..\libraries\HAL_Drivers\drv_sdram.c @@ -2211,44 +2211,44 @@ Kernel - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\kservice.c - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + libc diff --git a/bsp/stm32/stm32f767-atk-apollo/project.uvprojx b/bsp/stm32/stm32f767-atk-apollo/project.uvprojx index 3fe8427832..de5bf765fd 100644 --- a/bsp/stm32/stm32f767-atk-apollo/project.uvprojx +++ b/bsp/stm32/stm32f767-atk-apollo/project.uvprojx @@ -446,20 +446,6 @@ ..\..\..\components\drivers\serial\serial.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - ringblk_buf.c @@ -476,9 +462,9 @@ - waitqueue.c + completion.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\completion.c @@ -490,9 +476,23 @@ - completion.c + pipe.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c @@ -583,37 +583,9 @@ Kernel - ipc.c + device.c 1 - ..\..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - irq.c - 1 - ..\..\..\src\irq.c + ..\..\..\src\device.c @@ -625,9 +597,9 @@ - memheap.c + clock.c 1 - ..\..\..\src\memheap.c + ..\..\..\src\clock.c @@ -639,9 +611,9 @@ - mempool.c + ipc.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\ipc.c @@ -651,6 +623,13 @@ ..\..\..\src\thread.c + + + object.c + 1 + ..\..\..\src\object.c + + components.c @@ -660,9 +639,30 @@ - device.c + mempool.c 1 - ..\..\..\src\device.c + ..\..\..\src\mempool.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + irq.c + 1 + ..\..\..\src\irq.c diff --git a/bsp/stm32/stm32f767-atk-apollo/rtconfig.h b/bsp/stm32/stm32f767-atk-apollo/rtconfig.h index 5ff8c70a2a..00541b8db4 100644 --- a/bsp/stm32/stm32f767-atk-apollo/rtconfig.h +++ b/bsp/stm32/stm32f767-atk-apollo/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/.config b/bsp/stm32/stm32f767-fire-challenger-v1/.config index 5fbe365c69..6b72bb4042 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/.config +++ b/bsp/stm32/stm32f767-fire-challenger-v1/.config @@ -336,6 +336,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -360,17 +361,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -383,11 +391,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -431,12 +439,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -446,6 +462,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -466,7 +490,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -483,7 +506,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -491,6 +513,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -567,6 +590,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/project.ewp b/bsp/stm32/stm32f767-fire-challenger-v1/project.ewp index 930ca6472a..bbe4d5f4a2 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/project.ewp +++ b/bsp/stm32/stm32f767-fire-challenger-v1/project.ewp @@ -2079,9 +2079,6 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c @@ -2089,13 +2086,16 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S @@ -2113,13 +2113,10 @@ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c @@ -2128,10 +2125,13 @@ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2140,10 +2140,10 @@ $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c - $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s + $PROJ_DIR$\board\board.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2172,17 +2172,35 @@ Kernel + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\components.c @@ -2190,24 +2208,6 @@ $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\ipc.c diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/project.uvprojx b/bsp/stm32/stm32f767-fire-challenger-v1/project.uvprojx index 831510fa45..aec8f4de88 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/project.uvprojx +++ b/bsp/stm32/stm32f767-fire-challenger-v1/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -402,13 +409,6 @@ ..\..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - cpu_cache.c @@ -418,16 +418,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -468,6 +468,13 @@ ..\..\..\components\drivers\src\pipe.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + waitqueue.c @@ -484,9 +491,9 @@ - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -498,16 +505,9 @@ - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -603,9 +603,9 @@ Kernel - idle.c + components.c 1 - ..\..\..\src\idle.c + ..\..\..\src\components.c @@ -615,6 +615,48 @@ ..\..\..\src\object.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + kservice.c @@ -631,9 +673,9 @@ - irq.c + clock.c 1 - ..\..\..\src\irq.c + ..\..\..\src\clock.c @@ -643,13 +685,6 @@ ..\..\..\src\mempool.c - - - timer.c - 1 - ..\..\..\src\timer.c - - device.c @@ -657,41 +692,6 @@ ..\..\..\src\device.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - libc diff --git a/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.h b/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.h index 1e808a1dce..d3d5335ca5 100644 --- a/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.h +++ b/bsp/stm32/stm32f767-fire-challenger-v1/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32f767-st-nucleo/project.uvprojx b/bsp/stm32/stm32f767-st-nucleo/project.uvprojx index a433456e99..69e7e8d445 100644 --- a/bsp/stm32/stm32f767-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32f767-st-nucleo/project.uvprojx @@ -397,16 +397,16 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -418,16 +418,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -447,13 +447,6 @@ ..\..\..\components\drivers\serial\serial.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - workqueue.c @@ -461,13 +454,6 @@ ..\..\..\components\drivers\src\workqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - pipe.c @@ -475,6 +461,13 @@ ..\..\..\components\drivers\src\pipe.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + completion.c @@ -484,9 +477,16 @@ - ringblk_buf.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c @@ -627,6 +627,20 @@ ..\..\..\src\scheduler.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + kservice.c @@ -634,6 +648,34 @@ ..\..\..\src\kservice.c + + + device.c + 1 + ..\..\..\src\device.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + object.c @@ -643,9 +685,9 @@ - clock.c + thread.c 1 - ..\..\..\src\clock.c + ..\..\..\src\thread.c @@ -662,20 +704,6 @@ ..\..\..\src\components.c - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - mempool.c @@ -683,34 +711,6 @@ ..\..\..\src\mempool.c - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - libc @@ -721,6 +721,13 @@ ..\..\..\components\libc\compilers\armlibc\stdio.c + + + syscalls.c + 1 + ..\..\..\components\libc\compilers\armlibc\syscalls.c + + mem_std.c @@ -737,16 +744,9 @@ - syscalls.c + unistd.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c - - - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\unistd.c @@ -758,9 +758,9 @@ - unistd.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\unistd.c + ..\..\..\components\libc\compilers\common\stdlib.c diff --git a/bsp/stm32/stm32f769-st-disco/.config b/bsp/stm32/stm32f769-st-disco/.config index 8833f18a91..d41482d4dc 100644 --- a/bsp/stm32/stm32f769-st-disco/.config +++ b/bsp/stm32/stm32f769-st-disco/.config @@ -388,6 +388,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -412,17 +413,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -435,11 +443,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -483,12 +491,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -498,6 +514,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -518,7 +542,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -535,7 +558,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -543,6 +565,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -619,6 +642,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32f769-st-disco/project.ewp b/bsp/stm32/stm32f769-st-disco/project.ewp index db3c9b580e..db9e0f174c 100644 --- a/bsp/stm32/stm32f769-st-disco/project.ewp +++ b/bsp/stm32/stm32f769-st-disco/project.ewp @@ -2090,18 +2090,18 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -2114,39 +2114,39 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c Drivers - - $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s - $PROJ_DIR$\board\CubeMX_Config\Src\stm32f7xx_hal_msp.c $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\STM32F7xx_HAL\CMSIS\Device\ST\STM32F7xx\Source\Templates\iar\startup_stm32f767xx.s + $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2171,38 +2171,14 @@ Kernel - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\object.c $PROJ_DIR$\..\..\..\src\thread.c @@ -2210,6 +2186,30 @@ $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\device.c + libc @@ -2285,6 +2285,9 @@ lwIP + + $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\api\netdb.c @@ -2318,9 +2321,6 @@ $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\ipv4\dhcp.c - - $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - $PROJ_DIR$\..\..\..\components\net\lwip-2.0.2\src\core\init.c diff --git a/bsp/stm32/stm32f769-st-disco/project.uvprojx b/bsp/stm32/stm32f769-st-disco/project.uvprojx index 2cc22b32b0..cf29966558 100644 --- a/bsp/stm32/stm32f769-st-disco/project.uvprojx +++ b/bsp/stm32/stm32f769-st-disco/project.uvprojx @@ -388,13 +388,6 @@ CPU - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - backtrace.c @@ -404,16 +397,16 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c - cpu_cache.c + div0.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + ..\..\..\libcpu\arm\common\div0.c @@ -430,6 +423,13 @@ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + + + cpu_cache.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + + DeviceDrivers @@ -449,9 +449,23 @@ - pipe.c + waitqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c @@ -463,9 +477,9 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -482,20 +496,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - Drivers @@ -570,16 +570,16 @@ Kernel - ipc.c + mem.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\mem.c - timer.c + thread.c 1 - ..\..\..\src\timer.c + ..\..\..\src\thread.c @@ -589,13 +589,6 @@ ..\..\..\src\device.c - - - irq.c - 1 - ..\..\..\src\irq.c - - kservice.c @@ -612,30 +605,9 @@ - scheduler.c + timer.c 1 - ..\..\..\src\scheduler.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\timer.c @@ -647,9 +619,9 @@ - object.c + mempool.c 1 - ..\..\..\src\object.c + ..\..\..\src\mempool.c @@ -659,6 +631,34 @@ ..\..\..\src\idle.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + libc @@ -948,6 +948,13 @@ ..\..\..\components\net\lwip-2.0.2\src\core\raw.c + + + ping.c + 1 + ..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + + ip4_frag.c @@ -1067,13 +1074,6 @@ ..\..\..\components\net\lwip-2.0.2\src\api\api_msg.c - - - ping.c - 1 - ..\..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - - tcp.c diff --git a/bsp/stm32/stm32f769-st-disco/rtconfig.h b/bsp/stm32/stm32f769-st-disco/rtconfig.h index 34f5518e0b..f49da551e8 100644 --- a/bsp/stm32/stm32f769-st-disco/rtconfig.h +++ b/bsp/stm32/stm32f769-st-disco/rtconfig.h @@ -211,14 +211,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -227,10 +230,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32g070-st-nucleo/project.ewp b/bsp/stm32/stm32g070-st-nucleo/project.ewp index 3c03da7277..05409f8227 100644 --- a/bsp/stm32/stm32g070-st-nucleo/project.ewp +++ b/bsp/stm32/stm32g070-st-nucleo/project.ewp @@ -2121,10 +2121,10 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2145,26 +2145,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + Drivers @@ -2198,27 +2198,27 @@ Kernel - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\mem.c $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\device.c - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\timer.c @@ -2226,17 +2226,17 @@ $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\kservice.c - - $PROJ_DIR$\..\..\..\src\idle.c - libc diff --git a/bsp/stm32/stm32g070-st-nucleo/project.uvprojx b/bsp/stm32/stm32g070-st-nucleo/project.uvprojx index b12100b7a4..581741a57c 100644 --- a/bsp/stm32/stm32g070-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32g070-st-nucleo/project.uvprojx @@ -390,9 +390,9 @@ CPU - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c @@ -404,9 +404,9 @@ - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c @@ -442,9 +442,23 @@ - pipe.c + completion.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\completion.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c @@ -456,9 +470,9 @@ - ringbuffer.c + pipe.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\pipe.c @@ -475,35 +489,21 @@ ..\..\..\components\drivers\src\waitqueue.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - Drivers - stm32g0xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32g0xx_hal_msp.c + startup_stm32g070xx.s + 2 + ..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\arm\startup_stm32g070xx.s - startup_stm32g070xx.s - 2 - ..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\arm\startup_stm32g070xx.s + stm32g0xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32g0xx_hal_msp.c @@ -554,6 +554,34 @@ Kernel + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + ipc.c @@ -570,23 +598,9 @@ - device.c + timer.c 1 - ..\..\..\src\device.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\timer.c @@ -598,9 +612,9 @@ - idle.c + mempool.c 1 - ..\..\..\src\idle.c + ..\..\..\src\mempool.c @@ -619,16 +633,9 @@ - scheduler.c + irq.c 1 - ..\..\..\src\scheduler.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\irq.c @@ -638,13 +645,6 @@ ..\..\..\src\object.c - - - irq.c - 1 - ..\..\..\src\irq.c - - libc diff --git a/bsp/stm32/stm32g071-st-nucleo/.config b/bsp/stm32/stm32g071-st-nucleo/.config index 9b256377e2..2d13757c1d 100644 --- a/bsp/stm32/stm32g071-st-nucleo/.config +++ b/bsp/stm32/stm32g071-st-nucleo/.config @@ -328,6 +328,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -352,17 +353,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -375,11 +383,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -423,12 +431,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -438,6 +454,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -457,7 +481,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -474,7 +497,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -482,6 +504,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -558,6 +581,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32g071-st-nucleo/project.ewp b/bsp/stm32/stm32g071-st-nucleo/project.ewp index 88711483ad..783681b88f 100644 --- a/bsp/stm32/stm32g071-st-nucleo/project.ewp +++ b/bsp/stm32/stm32g071-st-nucleo/project.ewp @@ -2118,15 +2118,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c @@ -2143,34 +2143,34 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c Drivers - $PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\iar\startup_stm32g071xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32g0xx_hal_msp.c - $PROJ_DIR$\board\CubeMX_Config\Src\stm32g0xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32G0xx_HAL\CMSIS\Device\ST\STM32G0xx\Source\Templates\iar\startup_stm32g071xx.s $PROJ_DIR$\board\board.c @@ -2200,17 +2200,26 @@ Kernel - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\ipc.c + + $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\thread.c @@ -2218,26 +2227,17 @@ $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\mem.c - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\components.c - - $PROJ_DIR$\..\..\..\src\irq.c - libc diff --git a/bsp/stm32/stm32g071-st-nucleo/project.uvprojx b/bsp/stm32/stm32g071-st-nucleo/project.uvprojx index 459c756ff3..5cb54f16f4 100644 --- a/bsp/stm32/stm32g071-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32g071-st-nucleo/project.uvprojx @@ -387,6 +387,13 @@ CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + backtrace.c @@ -403,9 +410,9 @@ - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S @@ -415,13 +422,6 @@ ..\..\..\libcpu\arm\cortex-m0\cpuport.c - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m0\context_rvds.S - - DeviceDrivers @@ -446,20 +446,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - completion.c @@ -476,16 +462,30 @@ - ringbuffer.c + pipe.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\pipe.c - pipe.c + workqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\workqueue.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c @@ -560,27 +560,6 @@ Kernel - - - object.c - 1 - ..\..\..\src\object.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - components.c - 1 - ..\..\..\src\components.c - - scheduler.c @@ -588,27 +567,6 @@ ..\..\..\src\scheduler.c - - - device.c - 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - kservice.c @@ -625,16 +583,16 @@ - timer.c + components.c 1 - ..\..\..\src\timer.c + ..\..\..\src\components.c - clock.c + irq.c 1 - ..\..\..\src\clock.c + ..\..\..\src\irq.c @@ -646,9 +604,51 @@ - irq.c + object.c 1 - ..\..\..\src\irq.c + ..\..\..\src\object.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32g071-st-nucleo/rtconfig.h b/bsp/stm32/stm32g071-st-nucleo/rtconfig.h index 4fb824ccc5..7909bed631 100644 --- a/bsp/stm32/stm32g071-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32g071-st-nucleo/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32g431-st-nucleo/.config b/bsp/stm32/stm32g431-st-nucleo/.config index 32a63d100a..364645c22f 100644 --- a/bsp/stm32/stm32g431-st-nucleo/.config +++ b/bsp/stm32/stm32g431-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32g431-st-nucleo/project.ewp b/bsp/stm32/stm32g431-st-nucleo/project.ewp index 32cef4f2f4..97647ee709 100644 --- a/bsp/stm32/stm32g431-st-nucleo/project.ewp +++ b/bsp/stm32/stm32g431-st-nucleo/project.ewp @@ -2084,6 +2084,9 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c @@ -2091,14 +2094,11 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c - DeviceDrivers @@ -2109,26 +2109,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - Drivers @@ -2165,45 +2165,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\kservice.c + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\irq.c + libc diff --git a/bsp/stm32/stm32g431-st-nucleo/project.uvprojx b/bsp/stm32/stm32g431-st-nucleo/project.uvprojx index 86fdeebd5f..373b1ea1a8 100644 --- a/bsp/stm32/stm32g431-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32g431-st-nucleo/project.uvprojx @@ -388,13 +388,6 @@ CPU - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -409,6 +402,13 @@ ..\..\..\libcpu\arm\common\div0.c + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + cpuport.c @@ -442,16 +442,9 @@ - waitqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\workqueue.c @@ -461,6 +454,13 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + ringbuffer.c @@ -468,6 +468,13 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + dataqueue.c @@ -477,16 +484,9 @@ - workqueue.c + completion.c 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\completion.c @@ -561,20 +561,6 @@ Kernel - - - object.c - 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - components.c @@ -589,6 +575,20 @@ ..\..\..\src\timer.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + mem.c @@ -603,6 +603,13 @@ ..\..\..\src\kservice.c + + + thread.c + 1 + ..\..\..\src\thread.c + + irq.c @@ -612,9 +619,23 @@ - thread.c + mempool.c 1 - ..\..\..\src\thread.c + ..\..\..\src\mempool.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + object.c + 1 + ..\..\..\src\object.c @@ -631,27 +652,6 @@ ..\..\..\src\scheduler.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - device.c - 1 - ..\..\..\src\device.c - - libc diff --git a/bsp/stm32/stm32g431-st-nucleo/rtconfig.h b/bsp/stm32/stm32g431-st-nucleo/rtconfig.h index bbca86ecba..c6b1c86e7b 100644 --- a/bsp/stm32/stm32g431-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32g431-st-nucleo/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h743-armfly-V7/.config b/bsp/stm32/stm32h743-armfly-V7/.config index d422778804..0cf048e8ee 100644 --- a/bsp/stm32/stm32h743-armfly-V7/.config +++ b/bsp/stm32/stm32h743-armfly-V7/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h743-armfly-V7/project.ewp b/bsp/stm32/stm32h743-armfly-V7/project.ewp index c00f6854f9..d1b2812097 100644 --- a/bsp/stm32/stm32h743-armfly-V7/project.ewp +++ b/bsp/stm32/stm32h743-armfly-V7/project.ewp @@ -2100,9 +2100,6 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c @@ -2110,7 +2107,7 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -2118,6 +2115,9 @@ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + DeviceDrivers @@ -2128,16 +2128,16 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c @@ -2146,7 +2146,7 @@ $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c @@ -2155,10 +2155,10 @@ $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s - $PROJ_DIR$\board\board.c + $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c - $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c + $PROJ_DIR$\board\board.c $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2184,45 +2184,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\components.c + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\device.c + libc diff --git a/bsp/stm32/stm32h743-armfly-V7/project.uvprojx b/bsp/stm32/stm32h743-armfly-V7/project.uvprojx index d2096990dc..6daa673980 100644 --- a/bsp/stm32/stm32h743-armfly-V7/project.uvprojx +++ b/bsp/stm32/stm32h743-armfly-V7/project.uvprojx @@ -387,6 +387,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -403,16 +410,9 @@ - backtrace.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\backtrace.c - - - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m7\context_rvds.S + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -424,9 +424,9 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m7\context_rvds.S @@ -446,41 +446,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - dataqueue.c @@ -495,9 +460,51 @@ ..\..\..\components\drivers\src\pipe.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers + + + startup_stm32h743xx.s + 2 + ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s + + stm32h7xx_hal_msp.c @@ -512,13 +519,6 @@ board\board.c - - - startup_stm32h743xx.s - 2 - ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s - - drv_gpio.c @@ -569,16 +569,37 @@ Kernel - timer.c + device.c 1 - ..\..\..\src\timer.c + ..\..\..\src\device.c - device.c + irq.c 1 - ..\..\..\src\device.c + ..\..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -590,9 +611,30 @@ - irq.c + timer.c 1 - ..\..\..\src\irq.c + ..\..\..\src\timer.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c @@ -609,48 +651,6 @@ ..\..\..\src\object.c - - - components.c - 1 - ..\..\..\src\components.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - clock.c diff --git a/bsp/stm32/stm32h743-armfly-V7/rtconfig.h b/bsp/stm32/stm32h743-armfly-V7/rtconfig.h index 4e4b7d5fee..e0cb6abf11 100644 --- a/bsp/stm32/stm32h743-armfly-V7/rtconfig.h +++ b/bsp/stm32/stm32h743-armfly-V7/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h743-atk-apollo/.config b/bsp/stm32/stm32h743-atk-apollo/.config index 3eff96f9da..8453333349 100644 --- a/bsp/stm32/stm32h743-atk-apollo/.config +++ b/bsp/stm32/stm32h743-atk-apollo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h743-atk-apollo/project.ewp b/bsp/stm32/stm32h743-atk-apollo/project.ewp index 9444cd573c..45a5ad02ed 100644 --- a/bsp/stm32/stm32h743-atk-apollo/project.ewp +++ b/bsp/stm32/stm32h743-atk-apollo/project.ewp @@ -2151,10 +2151,10 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c @@ -2163,10 +2163,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S @@ -2178,26 +2178,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - Drivers @@ -2237,45 +2237,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\idle.c - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\mem.c + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\device.c + libc diff --git a/bsp/stm32/stm32h743-atk-apollo/project.uvprojx b/bsp/stm32/stm32h743-atk-apollo/project.uvprojx index 1ae5e0d07c..91bf66f3cd 100644 --- a/bsp/stm32/stm32h743-atk-apollo/project.uvprojx +++ b/bsp/stm32/stm32h743-atk-apollo/project.uvprojx @@ -390,9 +390,9 @@ CPU - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -404,16 +404,9 @@ - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c - - - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -430,6 +423,13 @@ ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpuport.c + + DeviceDrivers @@ -447,13 +447,6 @@ ..\..\..\components\drivers\serial\serial.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - ringbuffer.c @@ -468,6 +461,13 @@ ..\..\..\components\drivers\src\completion.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + ringblk_buf.c @@ -477,9 +477,9 @@ - dataqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\waitqueue.c @@ -491,14 +491,21 @@ - waitqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\dataqueue.c Drivers + + + startup_stm32h743xx.s + 2 + ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s + + stm32h7xx_hal_msp.c @@ -520,13 +527,6 @@ board\board.c - - - startup_stm32h743xx.s - 2 - ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h743xx.s - - drv_gpio.c @@ -575,41 +575,6 @@ Kernel - - - components.c - 1 - ..\..\..\src\components.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - scheduler.c @@ -617,27 +582,6 @@ ..\..\..\src\scheduler.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - irq.c @@ -647,9 +591,9 @@ - kservice.c + components.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\components.c @@ -659,6 +603,13 @@ ..\..\..\src\thread.c + + + mem.c + 1 + ..\..\..\src\mem.c + + mempool.c @@ -666,6 +617,55 @@ ..\..\..\src\mempool.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + libc diff --git a/bsp/stm32/stm32h743-atk-apollo/rtconfig.h b/bsp/stm32/stm32h743-atk-apollo/rtconfig.h index 63ac8ebfd1..198acf3b7b 100644 --- a/bsp/stm32/stm32h743-atk-apollo/rtconfig.h +++ b/bsp/stm32/stm32h743-atk-apollo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h743-st-nucleo/.config b/bsp/stm32/stm32h743-st-nucleo/.config index dcaf40fa8e..7b5d373593 100644 --- a/bsp/stm32/stm32h743-st-nucleo/.config +++ b/bsp/stm32/stm32h743-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h743-st-nucleo/project.ewp b/bsp/stm32/stm32h743-st-nucleo/project.ewp index e732b6f194..724a3ed983 100644 --- a/bsp/stm32/stm32h743-st-nucleo/project.ewp +++ b/bsp/stm32/stm32h743-st-nucleo/project.ewp @@ -2117,19 +2117,19 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -2144,34 +2144,34 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c Drivers - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s - $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h743xx.s + $PROJ_DIR$\board\board.c $PROJ_DIR$\board\CubeMX_Config\Src\stm32h7xx_hal_msp.c @@ -2201,25 +2201,16 @@ Kernel - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\mem.c @@ -2228,14 +2219,23 @@ $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\device.c + + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\scheduler.c diff --git a/bsp/stm32/stm32h743-st-nucleo/project.uvprojx b/bsp/stm32/stm32h743-st-nucleo/project.uvprojx index d2112826c3..689975abf5 100644 --- a/bsp/stm32/stm32h743-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32h743-st-nucleo/project.uvprojx @@ -388,13 +388,6 @@ CPU - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -409,6 +402,20 @@ ..\..\..\libcpu\arm\common\div0.c + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m7\cpuport.c + + cpu_cache.c @@ -423,13 +430,6 @@ ..\..\..\libcpu\arm\cortex-m7\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c - - DeviceDrivers @@ -449,9 +449,16 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c @@ -470,9 +477,9 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\waitqueue.c @@ -489,23 +496,9 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - Drivers - - - stm32h7xx_hal_msp.c - 1 - board\CubeMX_Config\Src\stm32h7xx_hal_msp.c - - startup_stm32h743xx.s @@ -520,6 +513,13 @@ board\board.c + + + stm32h7xx_hal_msp.c + 1 + board\CubeMX_Config\Src\stm32h7xx_hal_msp.c + + drv_gpio.c @@ -568,34 +568,6 @@ Kernel - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - irq.c @@ -603,34 +575,6 @@ ..\..\..\src\irq.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - clock.c @@ -638,6 +582,41 @@ ..\..\..\src\clock.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + object.c + 1 + ..\..\..\src\object.c + + mempool.c @@ -645,6 +624,20 @@ ..\..\..\src\mempool.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + mem.c @@ -654,9 +647,16 @@ - device.c + components.c 1 - ..\..\..\src\device.c + ..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c diff --git a/bsp/stm32/stm32h743-st-nucleo/rtconfig.h b/bsp/stm32/stm32h743-st-nucleo/rtconfig.h index 36020a074c..1390b1debe 100644 --- a/bsp/stm32/stm32h743-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32h743-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h747-st-discovery/.config b/bsp/stm32/stm32h747-st-discovery/.config index 0e0698dc46..edfa02282b 100644 --- a/bsp/stm32/stm32h747-st-discovery/.config +++ b/bsp/stm32/stm32h747-st-discovery/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h747-st-discovery/project.ewp b/bsp/stm32/stm32h747-st-discovery/project.ewp index 9e170021da..9afb5fe83f 100644 --- a/bsp/stm32/stm32h747-st-discovery/project.ewp +++ b/bsp/stm32/stm32h747-st-discovery/project.ewp @@ -2127,15 +2127,15 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - DeviceDrivers @@ -2145,38 +2145,38 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c Drivers - $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h747xx.s + $PROJ_DIR$\board\board.c $PROJ_DIR$\board\CubeMX_Config\CM7\Src\stm32h7xx_hal_msp.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h747xx.s $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2202,45 +2202,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\object.c - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\kservice.c + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\irq.c + libc diff --git a/bsp/stm32/stm32h747-st-discovery/project.uvprojx b/bsp/stm32/stm32h747-st-discovery/project.uvprojx index 813e9120a0..f0945675fe 100644 --- a/bsp/stm32/stm32h747-st-discovery/project.uvprojx +++ b/bsp/stm32/stm32h747-st-discovery/project.uvprojx @@ -397,16 +397,16 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -449,9 +449,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\dataqueue.c @@ -461,20 +461,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - workqueue.c @@ -482,6 +468,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + ringblk_buf.c @@ -491,9 +484,16 @@ - pipe.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c @@ -501,9 +501,9 @@ Drivers - startup_stm32h747xx.s - 2 - ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h747xx.s + stm32h7xx_hal_msp.c + 1 + board\CubeMX_Config\CM7\Src\stm32h7xx_hal_msp.c @@ -515,9 +515,9 @@ - stm32h7xx_hal_msp.c - 1 - board\CubeMX_Config\CM7\Src\stm32h7xx_hal_msp.c + startup_stm32h747xx.s + 2 + ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h747xx.s @@ -570,9 +570,23 @@ Kernel - clock.c + timer.c 1 - ..\..\..\src\clock.c + ..\..\..\src\timer.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + object.c + 1 + ..\..\..\src\object.c @@ -591,16 +605,9 @@ - object.c + mem.c 1 - ..\..\..\src\object.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\mem.c @@ -612,9 +619,9 @@ - irq.c + scheduler.c 1 - ..\..\..\src\irq.c + ..\..\..\src\scheduler.c @@ -624,27 +631,6 @@ ..\..\..\src\ipc.c - - - components.c - 1 - ..\..\..\src\components.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - kservice.c @@ -654,9 +640,23 @@ - scheduler.c + clock.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\clock.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + components.c + 1 + ..\..\..\src\components.c diff --git a/bsp/stm32/stm32h747-st-discovery/rtconfig.h b/bsp/stm32/stm32h747-st-discovery/rtconfig.h index c333a6e748..53d9a6a9ae 100644 --- a/bsp/stm32/stm32h747-st-discovery/rtconfig.h +++ b/bsp/stm32/stm32h747-st-discovery/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/.config b/bsp/stm32/stm32h750-armfly-h7-tool/.config index c91dd6b5a0..32cd361765 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/.config +++ b/bsp/stm32/stm32h750-armfly-h7-tool/.config @@ -348,6 +348,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -372,17 +373,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -395,11 +403,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -443,12 +451,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -458,6 +474,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -478,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -495,7 +518,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -503,6 +525,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -579,6 +602,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp b/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp index 0f1905bad6..d88b47638a 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp +++ b/bsp/stm32/stm32h750-armfly-h7-tool/project.ewp @@ -2118,6 +2118,9 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c @@ -2125,14 +2128,11 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S @@ -2155,25 +2155,25 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2215,43 +2215,43 @@ Kernel - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\mem.c $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\kservice.c diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx index 89babfda03..b31d5f03a4 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx +++ b/bsp/stm32/stm32h750-armfly-h7-tool/project.uvprojx @@ -390,9 +390,9 @@ CPU - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -404,16 +404,16 @@ - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c - cpu_cache.c + cpuport.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c + ..\..\..\libcpu\arm\cortex-m7\cpuport.c @@ -425,9 +425,9 @@ - cpuport.c + cpu_cache.c 1 - ..\..\..\libcpu\arm\cortex-m7\cpuport.c + ..\..\..\libcpu\arm\cortex-m7\cpu_cache.c @@ -468,13 +468,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - completion.c @@ -482,20 +475,6 @@ ..\..\..\components\drivers\src\completion.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - workqueue.c @@ -503,6 +482,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + waitqueue.c @@ -510,6 +496,20 @@ ..\..\..\components\drivers\src\waitqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + dataqueue.c @@ -596,13 +596,6 @@ Kernel - - - irq.c - 1 - ..\..\..\src\irq.c - - clock.c @@ -610,62 +603,6 @@ ..\..\..\src\clock.c - - - components.c - 1 - ..\..\..\src\components.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - idle.c @@ -673,6 +610,34 @@ ..\..\..\src\idle.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + object.c @@ -680,6 +645,27 @@ ..\..\..\src\object.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + device.c + 1 + ..\..\..\src\device.c + + timer.c @@ -687,6 +673,20 @@ ..\..\..\src\timer.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + libc diff --git a/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.h b/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.h index d5786f7193..b3c26e560d 100644 --- a/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.h +++ b/bsp/stm32/stm32h750-armfly-h7-tool/rtconfig.h @@ -173,14 +173,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -189,10 +192,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32h750-artpi-h750/.config b/bsp/stm32/stm32h750-artpi-h750/.config index 6865b9b775..b39f667f7b 100644 --- a/bsp/stm32/stm32h750-artpi-h750/.config +++ b/bsp/stm32/stm32h750-artpi-h750/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32h750-artpi-h750/project.ewp b/bsp/stm32/stm32h750-artpi-h750/project.ewp index 6ec0b93362..eb888ce138 100644 --- a/bsp/stm32/stm32h750-artpi-h750/project.ewp +++ b/bsp/stm32/stm32h750-artpi-h750/project.ewp @@ -2127,15 +2127,15 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\context_iar.S $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpu_cache.c - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m7\cpuport.c - DeviceDrivers @@ -2146,34 +2146,34 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + Drivers - $PROJ_DIR$\board\CubeMX_Config\Core\Src\stm32h7xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h750xx.s - $PROJ_DIR$\..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\iar\startup_stm32h750xx.s + $PROJ_DIR$\board\CubeMX_Config\Core\Src\stm32h7xx_hal_msp.c $PROJ_DIR$\board\board.c @@ -2202,18 +2202,9 @@ Kernel - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\ipc.c - - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\clock.c @@ -2221,26 +2212,35 @@ $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\mem.c + + $PROJ_DIR$\..\..\..\src\components.c + libc diff --git a/bsp/stm32/stm32h750-artpi-h750/project.uvprojx b/bsp/stm32/stm32h750-artpi-h750/project.uvprojx index 3e744ce57f..a00bd3dfc7 100644 --- a/bsp/stm32/stm32h750-artpi-h750/project.uvprojx +++ b/bsp/stm32/stm32h750-artpi-h750/project.uvprojx @@ -390,9 +390,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -404,9 +404,9 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -447,13 +447,6 @@ ..\..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - dataqueue.c @@ -461,13 +454,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - workqueue.c @@ -477,9 +463,16 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c @@ -491,14 +484,28 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\waitqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c Drivers + + + board.c + 1 + board\board.c + + stm32h7xx_hal_msp.c @@ -513,13 +520,6 @@ ..\libraries\STM32H7xx_HAL\CMSIS\Device\ST\STM32H7xx\Source\Templates\arm\startup_stm32h750xx.s - - - board.c - 1 - board\board.c - - drv_gpio.c @@ -570,30 +570,9 @@ Kernel - timer.c + mem.c 1 - ..\..\..\src\timer.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\mem.c @@ -603,20 +582,6 @@ ..\..\..\src\mempool.c - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - components.c @@ -626,16 +591,9 @@ - thread.c + clock.c 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c + ..\..\..\src\clock.c @@ -645,6 +603,41 @@ ..\..\..\src\scheduler.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + kservice.c @@ -654,9 +647,16 @@ - clock.c + irq.c 1 - ..\..\..\src\clock.c + ..\..\..\src\irq.c + + + + + thread.c + 1 + ..\..\..\src\thread.c diff --git a/bsp/stm32/stm32h750-artpi-h750/rtconfig.h b/bsp/stm32/stm32h750-artpi-h750/rtconfig.h index 31df4923ca..2aa899af07 100644 --- a/bsp/stm32/stm32h750-artpi-h750/rtconfig.h +++ b/bsp/stm32/stm32h750-artpi-h750/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l010-st-nucleo/.config b/bsp/stm32/stm32l010-st-nucleo/.config index cdc301a7d8..7c0439c655 100644 --- a/bsp/stm32/stm32l010-st-nucleo/.config +++ b/bsp/stm32/stm32l010-st-nucleo/.config @@ -328,6 +328,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -352,17 +353,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -375,11 +383,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -423,12 +431,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -438,6 +454,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -457,7 +481,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -474,7 +497,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -482,6 +504,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -558,6 +581,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l010-st-nucleo/project.ewp b/bsp/stm32/stm32l010-st-nucleo/project.ewp index 8a616d03ae..01e3d7844a 100644 --- a/bsp/stm32/stm32l010-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l010-st-nucleo/project.ewp @@ -2153,18 +2153,18 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c + DeviceDrivers @@ -2175,10 +2175,7 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2187,22 +2184,25 @@ $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + Drivers - $PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\iar\startup_stm32l053xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l0xx_hal_msp.c - $PROJ_DIR$\board\CubeMX_Config\Src\stm32l0xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\iar\startup_stm32l053xx.s $PROJ_DIR$\board\board.c @@ -2232,16 +2232,7 @@ Kernel - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\components.c @@ -2249,9 +2240,6 @@ $PROJ_DIR$\..\..\..\src\idle.c - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\thread.c @@ -2259,17 +2247,29 @@ $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\timer.c + + $PROJ_DIR$\..\..\..\src\scheduler.c + libc diff --git a/bsp/stm32/stm32l010-st-nucleo/project.uvprojx b/bsp/stm32/stm32l010-st-nucleo/project.uvprojx index ba640b35f7..4869300c47 100644 --- a/bsp/stm32/stm32l010-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l010-st-nucleo/project.uvprojx @@ -411,16 +411,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m0\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m0\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m0\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m0\cpuport.c @@ -440,27 +440,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - waitqueue.c @@ -475,6 +454,27 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + completion.c @@ -484,9 +484,9 @@ - dataqueue.c + pipe.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\pipe.c @@ -563,9 +563,9 @@ Kernel - object.c + mempool.c 1 - ..\..\..\src\object.c + ..\..\..\src\mempool.c @@ -575,27 +575,6 @@ ..\..\..\src\device.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - kservice.c @@ -605,23 +584,9 @@ - mempool.c + mem.c 1 - ..\..\..\src\mempool.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - irq.c - 1 - ..\..\..\src\irq.c + ..\..\..\src\mem.c @@ -631,6 +596,13 @@ ..\..\..\src\scheduler.c + + + idle.c + 1 + ..\..\..\src\idle.c + + thread.c @@ -652,6 +624,34 @@ ..\..\..\src\timer.c + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + libc diff --git a/bsp/stm32/stm32l010-st-nucleo/rtconfig.h b/bsp/stm32/stm32l010-st-nucleo/rtconfig.h index 344165e401..e8a982bb75 100644 --- a/bsp/stm32/stm32l010-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l010-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l053-st-nucleo/.config b/bsp/stm32/stm32l053-st-nucleo/.config index d0503568d0..8a11fd8f96 100644 --- a/bsp/stm32/stm32l053-st-nucleo/.config +++ b/bsp/stm32/stm32l053-st-nucleo/.config @@ -328,6 +328,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -352,17 +353,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -375,11 +383,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -423,12 +431,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -438,6 +454,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -457,7 +481,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -474,7 +497,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -482,6 +504,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -558,6 +581,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l053-st-nucleo/project.ewp b/bsp/stm32/stm32l053-st-nucleo/project.ewp index 188c3ca9bc..f61ef533af 100644 --- a/bsp/stm32/stm32l053-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l053-st-nucleo/project.ewp @@ -2150,15 +2150,15 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c @@ -2175,10 +2175,13 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c @@ -2186,23 +2189,20 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - Drivers - $PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\iar\startup_stm32l053xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l0xx_hal_msp.c - $PROJ_DIR$\board\CubeMX_Config\Src\stm32l0xx_hal_msp.c + $PROJ_DIR$\..\libraries\STM32L0xx_HAL\CMSIS\Device\ST\STM32L0xx\Source\Templates\iar\startup_stm32l053xx.s $PROJ_DIR$\board\board.c @@ -2231,6 +2231,9 @@ Kernel + + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\mem.c @@ -2238,37 +2241,34 @@ $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\components.c diff --git a/bsp/stm32/stm32l053-st-nucleo/project.uvprojx b/bsp/stm32/stm32l053-st-nucleo/project.uvprojx index d37fa526e8..6420ec0f6b 100644 --- a/bsp/stm32/stm32l053-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l053-st-nucleo/project.uvprojx @@ -385,13 +385,6 @@ CPU - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - showmem.c @@ -406,6 +399,13 @@ ..\..\..\libcpu\arm\common\backtrace.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + cpuport.c @@ -437,6 +437,13 @@ ..\..\..\components\drivers\serial\serial.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + workqueue.c @@ -451,20 +458,6 @@ ..\..\..\components\drivers\src\ringbuffer.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - dataqueue.c @@ -479,6 +472,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + ringblk_buf.c @@ -558,69 +558,6 @@ Kernel - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - components.c - 1 - ..\..\..\src\components.c - - timer.c @@ -635,6 +572,41 @@ ..\..\..\src\object.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + ipc.c @@ -642,6 +614,13 @@ ..\..\..\src\ipc.c + + + device.c + 1 + ..\..\..\src\device.c + + mem.c @@ -649,6 +628,27 @@ ..\..\..\src\mem.c + + + components.c + 1 + ..\..\..\src\components.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + libc diff --git a/bsp/stm32/stm32l053-st-nucleo/rtconfig.h b/bsp/stm32/stm32l053-st-nucleo/rtconfig.h index 5c1ae22728..0aea164694 100644 --- a/bsp/stm32/stm32l053-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l053-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l412-st-nucleo/.config b/bsp/stm32/stm32l412-st-nucleo/.config index af324603da..1c78afdfa3 100644 --- a/bsp/stm32/stm32l412-st-nucleo/.config +++ b/bsp/stm32/stm32l412-st-nucleo/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l412-st-nucleo/project.ewp b/bsp/stm32/stm32l412-st-nucleo/project.ewp index a532f8eb37..fb97dfecd5 100644 --- a/bsp/stm32/stm32l412-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l412-st-nucleo/project.ewp @@ -2079,6 +2079,9 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c @@ -2086,14 +2089,11 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - DeviceDrivers @@ -2106,6 +2106,12 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2113,19 +2119,13 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c @@ -2133,15 +2133,15 @@ Drivers + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l412xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l412xx.s - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2166,86 +2166,86 @@ Kernel - - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\components.c + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\object.c $PROJ_DIR$\..\..\..\src\ipc.c - - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\kservice.c - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\mem.c + $PROJ_DIR$\..\..\..\src\clock.c libc - - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c diff --git a/bsp/stm32/stm32l412-st-nucleo/project.uvprojx b/bsp/stm32/stm32l412-st-nucleo/project.uvprojx index 0e21fbacf4..d75fd91548 100644 --- a/bsp/stm32/stm32l412-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l412-st-nucleo/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + backtrace.c @@ -402,13 +409,6 @@ ..\..\..\libcpu\arm\common\showmem.c - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - context_rvds.S @@ -449,9 +449,9 @@ - pipe.c + workqueue.c 1 - ..\..\..\components\drivers\src\pipe.c + ..\..\..\components\drivers\src\workqueue.c @@ -461,6 +461,13 @@ ..\..\..\components\drivers\src\ringbuffer.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + dataqueue.c @@ -475,6 +482,13 @@ ..\..\..\components\drivers\src\waitqueue.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + completion.c @@ -482,20 +496,6 @@ ..\..\..\components\drivers\src\completion.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - watchdog.c @@ -577,9 +577,23 @@ Kernel - components.c + ipc.c 1 - ..\..\..\src\components.c + ..\..\..\src\ipc.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + irq.c + 1 + ..\..\..\src\irq.c @@ -598,16 +612,9 @@ - clock.c + scheduler.c 1 - ..\..\..\src\clock.c - - - - - irq.c - 1 - ..\..\..\src\irq.c + ..\..\..\src\scheduler.c @@ -619,16 +626,9 @@ - kservice.c + clock.c 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c + ..\..\..\src\clock.c @@ -638,27 +638,6 @@ ..\..\..\src\mempool.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - object.c @@ -666,9 +645,37 @@ ..\..\..\src\object.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + components.c + 1 + ..\..\..\src\components.c + + libc + + + syscalls.c + 1 + ..\..\..\components\libc\compilers\armlibc\syscalls.c + + mem_std.c @@ -685,9 +692,9 @@ - syscalls.c + stdlib.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -697,13 +704,6 @@ ..\..\..\components\libc\compilers\common\time.c - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c - - Libraries diff --git a/bsp/stm32/stm32l412-st-nucleo/rtconfig.h b/bsp/stm32/stm32l412-st-nucleo/rtconfig.h index 20ad1bbd4c..2417226ac8 100644 --- a/bsp/stm32/stm32l412-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l412-st-nucleo/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l431-BearPi/.config b/bsp/stm32/stm32l431-BearPi/.config index f88385004f..c4c41ffdf8 100644 --- a/bsp/stm32/stm32l431-BearPi/.config +++ b/bsp/stm32/stm32l431-BearPi/.config @@ -337,6 +337,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -361,17 +362,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -384,11 +392,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -432,12 +440,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -447,6 +463,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -467,7 +491,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -484,7 +507,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -492,6 +514,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -568,6 +591,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l431-BearPi/project.ewp b/bsp/stm32/stm32l431-BearPi/project.ewp index a47c47fb80..55daa9f3dd 100644 --- a/bsp/stm32/stm32l431-BearPi/project.ewp +++ b/bsp/stm32/stm32l431-BearPi/project.ewp @@ -2110,15 +2110,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2143,26 +2143,26 @@ $PROJ_DIR$\..\..\..\components\drivers\spi\spi_dev.c - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c @@ -2170,9 +2170,6 @@ Drivers - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l431xx.s - $PROJ_DIR$\board\ports\lcd\drv_lcd.c @@ -2182,6 +2179,9 @@ $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l431xx.s + $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2210,79 +2210,73 @@ Kernel - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\clock.c + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\ipc.c + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\thread.c libc - - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c @@ -2290,6 +2284,12 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + Libraries diff --git a/bsp/stm32/stm32l431-BearPi/project.uvprojx b/bsp/stm32/stm32l431-BearPi/project.uvprojx index 604da301fb..05937661a8 100644 --- a/bsp/stm32/stm32l431-BearPi/project.uvprojx +++ b/bsp/stm32/stm32l431-BearPi/project.uvprojx @@ -397,16 +397,16 @@ - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c @@ -461,20 +461,6 @@ ..\..\..\components\drivers\spi\spi_dev.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - waitqueue.c @@ -489,6 +475,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + ringbuffer.c @@ -505,9 +498,16 @@ - completion.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c @@ -617,16 +617,9 @@ Kernel - mempool.c + components.c 1 - ..\..\..\src\mempool.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\components.c @@ -638,37 +631,9 @@ - ipc.c + clock.c 1 - ..\..\..\src\ipc.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c + ..\..\..\src\clock.c @@ -680,16 +645,16 @@ - object.c + idle.c 1 - ..\..\..\src\object.c + ..\..\..\src\idle.c - idle.c + timer.c 1 - ..\..\..\src\idle.c + ..\..\..\src\timer.c @@ -699,6 +664,27 @@ ..\..\..\src\kservice.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + object.c + 1 + ..\..\..\src\object.c + + mem.c @@ -706,9 +692,30 @@ ..\..\..\src\mem.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + device.c + 1 + ..\..\..\src\device.c + + libc + + + syscalls.c + 1 + ..\..\..\components\libc\compilers\armlibc\syscalls.c + + libc.c @@ -725,9 +732,9 @@ - syscalls.c + time.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\common\time.c @@ -737,13 +744,6 @@ ..\..\..\components\libc\compilers\common\stdlib.c - - - time.c - 1 - ..\..\..\components\libc\compilers\common\time.c - - Libraries diff --git a/bsp/stm32/stm32l431-BearPi/rtconfig.h b/bsp/stm32/stm32l431-BearPi/rtconfig.h index 449c5ab6f1..f5b8ad4af5 100644 --- a/bsp/stm32/stm32l431-BearPi/rtconfig.h +++ b/bsp/stm32/stm32l431-BearPi/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l432-st-nucleo/.config b/bsp/stm32/stm32l432-st-nucleo/.config index 1a0a28bc1d..535a2ad86f 100644 --- a/bsp/stm32/stm32l432-st-nucleo/.config +++ b/bsp/stm32/stm32l432-st-nucleo/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l432-st-nucleo/project.ewp b/bsp/stm32/stm32l432-st-nucleo/project.ewp index 1a618050e9..e2ed864d9d 100644 --- a/bsp/stm32/stm32l432-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l432-st-nucleo/project.ewp @@ -2109,6 +2109,9 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c @@ -2124,24 +2127,21 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\watchdog\watchdog.c Drivers + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l432xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l432xx.s - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2166,53 +2166,56 @@ Kernel - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\components.c $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\idle.c + libc + + $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c @@ -2221,31 +2224,28 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c diff --git a/bsp/stm32/stm32l432-st-nucleo/project.uvprojx b/bsp/stm32/stm32l432-st-nucleo/project.uvprojx index e412450fd8..ae258550b5 100644 --- a/bsp/stm32/stm32l432-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l432-st-nucleo/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + div0.c @@ -404,9 +411,9 @@ - backtrace.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -416,13 +423,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -454,13 +454,6 @@ ..\..\..\components\drivers\src\pipe.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - completion.c @@ -482,6 +475,13 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + workqueue.c @@ -506,13 +506,6 @@ Drivers - - - startup_stm32l432xx.s - 2 - ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l432xx.s - - stm32l4xx_hal_msp.c @@ -527,6 +520,13 @@ board\board.c + + + startup_stm32l432xx.s + 2 + ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l432xx.s + + drv_gpio.c @@ -577,30 +577,9 @@ Kernel - idle.c + kservice.c 1 - ..\..\..\src\idle.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - mem.c - 1 - ..\..\..\src\mem.c + ..\..\..\src\kservice.c @@ -612,9 +591,9 @@ - irq.c + timer.c 1 - ..\..\..\src\irq.c + ..\..\..\src\timer.c @@ -624,6 +603,13 @@ ..\..\..\src\thread.c + + + mem.c + 1 + ..\..\..\src\mem.c + + object.c @@ -633,23 +619,9 @@ - ipc.c + irq.c 1 - ..\..\..\src\ipc.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\irq.c @@ -659,6 +631,13 @@ ..\..\..\src\scheduler.c + + + clock.c + 1 + ..\..\..\src\clock.c + + mempool.c @@ -666,21 +645,42 @@ ..\..\..\src\mempool.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + libc - libc.c + syscalls.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\armlibc\syscalls.c - syscalls.c + libc.c 1 - ..\..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\..\components\libc\compilers\armlibc\libc.c @@ -692,16 +692,16 @@ - time.c + stdlib.c 1 - ..\..\..\components\libc\compilers\common\time.c + ..\..\..\components\libc\compilers\common\stdlib.c - stdlib.c + time.c 1 - ..\..\..\components\libc\compilers\common\stdlib.c + ..\..\..\components\libc\compilers\common\time.c diff --git a/bsp/stm32/stm32l432-st-nucleo/rtconfig.h b/bsp/stm32/stm32l432-st-nucleo/rtconfig.h index ab1397da01..078b027122 100644 --- a/bsp/stm32/stm32l432-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l432-st-nucleo/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l433-st-nucleo/.config b/bsp/stm32/stm32l433-st-nucleo/.config index 08da0a7266..d7345be09b 100644 --- a/bsp/stm32/stm32l433-st-nucleo/.config +++ b/bsp/stm32/stm32l433-st-nucleo/.config @@ -330,6 +330,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -354,17 +355,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -377,11 +385,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -425,12 +433,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -440,6 +456,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -460,7 +484,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -477,7 +500,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -485,6 +507,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -561,6 +584,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l433-st-nucleo/project.ewp b/bsp/stm32/stm32l433-st-nucleo/project.ewp index 9f1984b367..b2ab0cd2c5 100644 --- a/bsp/stm32/stm32l433-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l433-st-nucleo/project.ewp @@ -2079,9 +2079,6 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c @@ -2089,11 +2086,14 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + DeviceDrivers @@ -2104,13 +2104,7 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c @@ -2118,24 +2112,30 @@ $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c Drivers - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l433xx.s - $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l433xx.s + $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2160,77 +2160,80 @@ Kernel - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\clock.c - - $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\thread.c + libc - $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c + $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c @@ -2238,9 +2241,6 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - Libraries diff --git a/bsp/stm32/stm32l433-st-nucleo/project.uvprojx b/bsp/stm32/stm32l433-st-nucleo/project.uvprojx index 574dc24c65..920d59b24f 100644 --- a/bsp/stm32/stm32l433-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l433-st-nucleo/project.uvprojx @@ -388,13 +388,6 @@ CPU - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - backtrace.c @@ -409,6 +402,13 @@ ..\..\..\libcpu\arm\common\showmem.c + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + cpuport.c @@ -440,6 +440,20 @@ ..\..\..\components\drivers\serial\serial.c + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + completion.c @@ -447,6 +461,13 @@ ..\..\..\components\drivers\src\completion.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + ringbuffer.c @@ -461,13 +482,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - ringblk_buf.c @@ -475,20 +489,6 @@ ..\..\..\components\drivers\src\ringblk_buf.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - Drivers @@ -561,6 +561,34 @@ Kernel + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + mempool.c @@ -575,6 +603,34 @@ ..\..\..\src\scheduler.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + object.c + 1 + ..\..\..\src\object.c + + clock.c @@ -596,77 +652,21 @@ ..\..\..\src\timer.c - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - object.c - 1 - ..\..\..\src\object.c - - libc - libc.c + mem_std.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\armlibc\mem_std.c - mem_std.c + libc.c 1 - ..\..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\..\components\libc\compilers\armlibc\libc.c diff --git a/bsp/stm32/stm32l433-st-nucleo/rtconfig.h b/bsp/stm32/stm32l433-st-nucleo/rtconfig.h index 5c5f745355..0deff5e24a 100644 --- a/bsp/stm32/stm32l433-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l433-st-nucleo/rtconfig.h @@ -169,14 +169,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -185,10 +188,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l452-st-nucleo/.config b/bsp/stm32/stm32l452-st-nucleo/.config index 73deb887b8..e621d99a2f 100644 --- a/bsp/stm32/stm32l452-st-nucleo/.config +++ b/bsp/stm32/stm32l452-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l452-st-nucleo/project.ewp b/bsp/stm32/stm32l452-st-nucleo/project.ewp index 8cc808b4e3..3f063abea8 100644 --- a/bsp/stm32/stm32l452-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l452-st-nucleo/project.ewp @@ -2120,15 +2120,15 @@ CPU - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2144,26 +2144,26 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c @@ -2202,44 +2202,44 @@ Kernel - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\components.c $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\ipc.c $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + libc diff --git a/bsp/stm32/stm32l452-st-nucleo/project.uvprojx b/bsp/stm32/stm32l452-st-nucleo/project.uvprojx index f3cd97379b..863b92bca8 100644 --- a/bsp/stm32/stm32l452-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l452-st-nucleo/project.uvprojx @@ -390,16 +390,16 @@ CPU - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c @@ -411,16 +411,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -442,16 +442,16 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c - waitqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -463,16 +463,16 @@ - workqueue.c + waitqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\waitqueue.c - completion.c + workqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\workqueue.c @@ -492,6 +492,13 @@ Drivers + + + startup_stm32l452xx.s + 2 + ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l452xx.s + + stm32l4xx_hal_msp.c @@ -506,13 +513,6 @@ board\board.c - - - startup_stm32l452xx.s - 2 - ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l452xx.s - - drv_gpio.c @@ -568,13 +568,6 @@ ..\..\..\src\thread.c - - - clock.c - 1 - ..\..\..\src\clock.c - - ipc.c @@ -582,13 +575,6 @@ ..\..\..\src\ipc.c - - - device.c - 1 - ..\..\..\src\device.c - - mem.c @@ -603,6 +589,34 @@ ..\..\..\src\mempool.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + object.c @@ -619,9 +633,9 @@ - scheduler.c + timer.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\timer.c @@ -633,23 +647,9 @@ - kservice.c + clock.c 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - irq.c - 1 - ..\..\..\src\irq.c + ..\..\..\src\clock.c diff --git a/bsp/stm32/stm32l452-st-nucleo/rtconfig.h b/bsp/stm32/stm32l452-st-nucleo/rtconfig.h index 0717ab11b3..bc62ebaca6 100644 --- a/bsp/stm32/stm32l452-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l452-st-nucleo/rtconfig.h @@ -167,14 +167,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -183,10 +186,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l475-atk-pandora/.config b/bsp/stm32/stm32l475-atk-pandora/.config index 1b46e651ee..2dd244b967 100644 --- a/bsp/stm32/stm32l475-atk-pandora/.config +++ b/bsp/stm32/stm32l475-atk-pandora/.config @@ -327,6 +327,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -351,17 +352,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -374,11 +382,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -422,12 +430,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -437,6 +453,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -457,7 +481,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -474,7 +497,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -482,6 +504,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -558,6 +581,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l475-atk-pandora/project.ewp b/bsp/stm32/stm32l475-atk-pandora/project.ewp index 1ede27bc0f..7298c7c9d7 100644 --- a/bsp/stm32/stm32l475-atk-pandora/project.ewp +++ b/bsp/stm32/stm32l475-atk-pandora/project.ewp @@ -2102,22 +2102,22 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial_v2.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2125,15 +2125,15 @@ Drivers - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s - $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s + $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2159,25 +2159,25 @@ Kernel - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\mem.c - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\mempool.c + + $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\kservice.c @@ -2186,16 +2186,16 @@ $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\device.c $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\ipc.c diff --git a/bsp/stm32/stm32l475-atk-pandora/project.uvprojx b/bsp/stm32/stm32l475-atk-pandora/project.uvprojx index 6ea882f03d..eef4da0aca 100644 --- a/bsp/stm32/stm32l475-atk-pandora/project.uvprojx +++ b/bsp/stm32/stm32l475-atk-pandora/project.uvprojx @@ -448,9 +448,9 @@ - waitqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\workqueue.c @@ -462,9 +462,9 @@ - dataqueue.c + completion.c 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c @@ -476,16 +476,16 @@ - completion.c + waitqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\waitqueue.c - workqueue.c + dataqueue.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\dataqueue.c @@ -560,13 +560,6 @@ Kernel - - - components.c - 1 - ..\..\..\src\components.c - - thread.c @@ -576,16 +569,9 @@ - idle.c + kservice.c 1 - ..\..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c + ..\..\..\src\kservice.c @@ -597,9 +583,44 @@ - kservice.c + mempool.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\mempool.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + idle.c + 1 + ..\..\..\src\idle.c @@ -618,16 +639,9 @@ - mempool.c + components.c 1 - ..\..\..\src\mempool.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\components.c @@ -637,20 +651,6 @@ ..\..\..\src\object.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - Libraries diff --git a/bsp/stm32/stm32l475-atk-pandora/rtconfig.h b/bsp/stm32/stm32l475-atk-pandora/rtconfig.h index 2586c33014..db0a260499 100644 --- a/bsp/stm32/stm32l475-atk-pandora/rtconfig.h +++ b/bsp/stm32/stm32l475-atk-pandora/rtconfig.h @@ -165,14 +165,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -181,10 +184,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l475-st-discovery/.config b/bsp/stm32/stm32l475-st-discovery/.config index 66aebc70e4..44760b97d2 100644 --- a/bsp/stm32/stm32l475-st-discovery/.config +++ b/bsp/stm32/stm32l475-st-discovery/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l475-st-discovery/project.ewp b/bsp/stm32/stm32l475-st-discovery/project.ewp index 9bb22299c7..12c5350c55 100644 --- a/bsp/stm32/stm32l475-st-discovery/project.ewp +++ b/bsp/stm32/stm32l475-st-discovery/project.ewp @@ -2078,13 +2078,13 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2102,38 +2102,38 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c Drivers - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s - $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l475xx.s + $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2158,6 +2158,12 @@ Kernel + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\idle.c + $PROJ_DIR$\..\..\..\src\object.c @@ -2165,7 +2171,16 @@ $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\kservice.c $PROJ_DIR$\..\..\..\src\device.c @@ -2174,28 +2189,13 @@ $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\mempool.c diff --git a/bsp/stm32/stm32l475-st-discovery/project.uvprojx b/bsp/stm32/stm32l475-st-discovery/project.uvprojx index e87467c1c5..68ded86752 100644 --- a/bsp/stm32/stm32l475-st-discovery/project.uvprojx +++ b/bsp/stm32/stm32l475-st-discovery/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + backtrace.c @@ -404,9 +411,9 @@ - div0.c + cpuport.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -416,13 +423,6 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -442,23 +442,9 @@ - workqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -468,13 +454,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - completion.c @@ -484,9 +463,30 @@ - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c @@ -561,27 +561,6 @@ Kernel - - - components.c - 1 - ..\..\..\src\components.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - device.c - 1 - ..\..\..\src\device.c - - mempool.c @@ -589,41 +568,6 @@ ..\..\..\src\mempool.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - thread.c @@ -633,9 +577,58 @@ - idle.c + ipc.c 1 - ..\..\..\src\idle.c + ..\..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\src\components.c @@ -647,9 +640,16 @@ - irq.c + idle.c 1 - ..\..\..\src\irq.c + ..\..\..\src\idle.c + + + + + timer.c + 1 + ..\..\..\src\timer.c diff --git a/bsp/stm32/stm32l475-st-discovery/rtconfig.h b/bsp/stm32/stm32l475-st-discovery/rtconfig.h index ca7da3009c..b14986c664 100644 --- a/bsp/stm32/stm32l475-st-discovery/rtconfig.h +++ b/bsp/stm32/stm32l475-st-discovery/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l476-st-nucleo/.config b/bsp/stm32/stm32l476-st-nucleo/.config index b0f356973a..fd357d6e2a 100644 --- a/bsp/stm32/stm32l476-st-nucleo/.config +++ b/bsp/stm32/stm32l476-st-nucleo/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l476-st-nucleo/project.ewp b/bsp/stm32/stm32l476-st-nucleo/project.ewp index fdaef3c103..4816ed166f 100644 --- a/bsp/stm32/stm32l476-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l476-st-nucleo/project.ewp @@ -2082,19 +2082,19 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2112,11 +2112,17 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2126,24 +2132,18 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - Drivers + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l476xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l476xx.s - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2174,45 +2174,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\thread.c - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\scheduler.c + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\idle.c + libc @@ -2223,13 +2223,19 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c @@ -2238,22 +2244,16 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c diff --git a/bsp/stm32/stm32l476-st-nucleo/project.uvprojx b/bsp/stm32/stm32l476-st-nucleo/project.uvprojx index 0f448d6c06..0abc43a6c3 100644 --- a/bsp/stm32/stm32l476-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l476-st-nucleo/project.uvprojx @@ -397,16 +397,16 @@ - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\div0.c - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c @@ -454,13 +454,6 @@ ..\..\..\components\drivers\serial\serial.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - completion.c @@ -468,13 +461,6 @@ ..\..\..\components\drivers\src\completion.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - pipe.c @@ -484,9 +470,9 @@ - ringbuffer.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\waitqueue.c @@ -496,6 +482,13 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + dataqueue.c @@ -503,16 +496,16 @@ ..\..\..\components\drivers\src\dataqueue.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers - - - startup_stm32l476xx.s - 2 - ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l476xx.s - - stm32l4xx_hal_msp.c @@ -527,6 +520,13 @@ board\board.c + + + startup_stm32l476xx.s + 2 + ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l476xx.s + + drv_gpio.c @@ -591,44 +591,9 @@ Kernel - mempool.c + idle.c 1 - ..\..\..\src\mempool.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - object.c - 1 - ..\..\..\src\object.c + ..\..\..\src\idle.c @@ -638,6 +603,13 @@ ..\..\..\src\device.c + + + timer.c + 1 + ..\..\..\src\timer.c + + mem.c @@ -647,23 +619,30 @@ - clock.c + mempool.c 1 - ..\..\..\src\clock.c + ..\..\..\src\mempool.c - thread.c + object.c 1 - ..\..\..\src\thread.c + ..\..\..\src\object.c - timer.c + components.c 1 - ..\..\..\src\timer.c + ..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c @@ -675,14 +654,42 @@ - idle.c + scheduler.c 1 - ..\..\..\src\idle.c + ..\..\..\src\scheduler.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c libc + + + mem_std.c + 1 + ..\..\..\components\libc\compilers\armlibc\mem_std.c + + libc.c @@ -699,9 +706,9 @@ - mem_std.c + stdlib.c 1 - ..\..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -711,13 +718,6 @@ ..\..\..\components\libc\compilers\common\time.c - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c - - Libraries diff --git a/bsp/stm32/stm32l476-st-nucleo/rtconfig.h b/bsp/stm32/stm32l476-st-nucleo/rtconfig.h index adadaea863..36c7ae64a8 100644 --- a/bsp/stm32/stm32l476-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l476-st-nucleo/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l496-ali-developer/.config b/bsp/stm32/stm32l496-ali-developer/.config index 242a0658ca..4bb70f06f5 100644 --- a/bsp/stm32/stm32l496-ali-developer/.config +++ b/bsp/stm32/stm32l496-ali-developer/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l496-ali-developer/project.ewp b/bsp/stm32/stm32l496-ali-developer/project.ewp index 9509ee0850..993d52cad0 100644 --- a/bsp/stm32/stm32l496-ali-developer/project.ewp +++ b/bsp/stm32/stm32l496-ali-developer/project.ewp @@ -2081,10 +2081,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2105,22 +2105,22 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -2159,43 +2159,43 @@ Kernel - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\timer.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\mem.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\object.c diff --git a/bsp/stm32/stm32l496-ali-developer/project.uvprojx b/bsp/stm32/stm32l496-ali-developer/project.uvprojx index 4f459d4ffe..4f7eaf7520 100644 --- a/bsp/stm32/stm32l496-ali-developer/project.uvprojx +++ b/bsp/stm32/stm32l496-ali-developer/project.uvprojx @@ -439,20 +439,6 @@ ..\..\..\components\drivers\serial\serial.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - completion.c @@ -462,9 +448,9 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\waitqueue.c @@ -474,6 +460,20 @@ ..\..\..\components\drivers\src\pipe.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + ringbuffer.c @@ -483,14 +483,21 @@ - waitqueue.c + workqueue.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\workqueue.c Drivers + + + startup_stm32l496xx.s + 2 + ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s + + stm32l4xx_hal_msp.c @@ -505,13 +512,6 @@ board\board.c - - - startup_stm32l496xx.s - 2 - ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s - - drv_gpio.c @@ -560,13 +560,6 @@ Kernel - - - thread.c - 1 - ..\..\..\src\thread.c - - ipc.c @@ -574,27 +567,6 @@ ..\..\..\src\ipc.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - components.c - 1 - ..\..\..\src\components.c - - clock.c @@ -602,13 +574,6 @@ ..\..\..\src\clock.c - - - device.c - 1 - ..\..\..\src\device.c - - mem.c @@ -625,9 +590,9 @@ - idle.c + scheduler.c 1 - ..\..\..\src\idle.c + ..\..\..\src\scheduler.c @@ -637,6 +602,34 @@ ..\..\..\src\mempool.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + device.c + 1 + ..\..\..\src\device.c + + irq.c @@ -646,9 +639,16 @@ - scheduler.c + timer.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\timer.c + + + + + object.c + 1 + ..\..\..\src\object.c diff --git a/bsp/stm32/stm32l496-ali-developer/rtconfig.h b/bsp/stm32/stm32l496-ali-developer/rtconfig.h index 4a68b438db..f394bf0fc4 100644 --- a/bsp/stm32/stm32l496-ali-developer/rtconfig.h +++ b/bsp/stm32/stm32l496-ali-developer/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l496-st-nucleo/.config b/bsp/stm32/stm32l496-st-nucleo/.config index f1d3376819..f5412fd3ca 100644 --- a/bsp/stm32/stm32l496-st-nucleo/.config +++ b/bsp/stm32/stm32l496-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l496-st-nucleo/project.ewp b/bsp/stm32/stm32l496-st-nucleo/project.ewp index 7411ec8993..5348fa6dc7 100644 --- a/bsp/stm32/stm32l496-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l496-st-nucleo/project.ewp @@ -2105,22 +2105,22 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c @@ -2158,44 +2158,44 @@ Kernel - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\mempool.c $PROJ_DIR$\..\..\..\src\object.c - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\irq.c $PROJ_DIR$\..\..\..\src\thread.c - $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\components.c diff --git a/bsp/stm32/stm32l496-st-nucleo/project.uvprojx b/bsp/stm32/stm32l496-st-nucleo/project.uvprojx index 85f30fec3a..7e027ce449 100644 --- a/bsp/stm32/stm32l496-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l496-st-nucleo/project.uvprojx @@ -440,6 +440,13 @@ ..\..\..\components\drivers\serial\serial.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + ringblk_buf.c @@ -449,9 +456,16 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\dataqueue.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c @@ -470,28 +484,21 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c + ..\..\..\components\drivers\src\completion.c Drivers + + + startup_stm32l496xx.s + 2 + ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s + + stm32l4xx_hal_msp.c @@ -506,13 +513,6 @@ board\board.c - - - startup_stm32l496xx.s - 2 - ..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\arm\startup_stm32l496xx.s - - drv_gpio.c @@ -563,30 +563,9 @@ Kernel - thread.c + timer.c 1 - ..\..\..\src\thread.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - clock.c - 1 - ..\..\..\src\clock.c + ..\..\..\src\timer.c @@ -596,6 +575,13 @@ ..\..\..\src\mempool.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + mem.c @@ -605,9 +591,16 @@ - scheduler.c + idle.c 1 - ..\..\..\src\scheduler.c + ..\..\..\src\idle.c + + + + + components.c + 1 + ..\..\..\src\components.c @@ -619,9 +612,9 @@ - kservice.c + clock.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\clock.c @@ -631,13 +624,6 @@ ..\..\..\src\device.c - - - timer.c - 1 - ..\..\..\src\timer.c - - irq.c @@ -652,6 +638,20 @@ ..\..\..\src\ipc.c + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + libc diff --git a/bsp/stm32/stm32l496-st-nucleo/rtconfig.h b/bsp/stm32/stm32l496-st-nucleo/rtconfig.h index ee488523f1..ec8154e38b 100644 --- a/bsp/stm32/stm32l496-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l496-st-nucleo/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l4r5-st-nucleo/.config b/bsp/stm32/stm32l4r5-st-nucleo/.config index a66a5e8d76..f307cb5165 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/.config +++ b/bsp/stm32/stm32l4r5-st-nucleo/.config @@ -329,6 +329,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -353,17 +354,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -376,11 +384,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -424,12 +432,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -439,6 +455,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -459,7 +483,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -476,7 +499,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -484,6 +506,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -560,6 +583,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l4r5-st-nucleo/project.ewp b/bsp/stm32/stm32l4r5-st-nucleo/project.ewp index eb4a053b1e..f8af4a0d81 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/project.ewp +++ b/bsp/stm32/stm32l4r5-st-nucleo/project.ewp @@ -2150,6 +2150,9 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c @@ -2157,14 +2160,11 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c - DeviceDrivers @@ -2175,10 +2175,7 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c @@ -2190,11 +2187,14 @@ $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + Drivers @@ -2231,45 +2231,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\..\src\clock.c - $PROJ_DIR$\..\..\..\src\memheap.c + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + libc diff --git a/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx b/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx index 04e5eabd8d..77164c26e5 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32l4r5-st-nucleo/project.uvprojx @@ -390,16 +390,16 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -440,13 +440,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - dataqueue.c @@ -454,20 +447,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - waitqueue.c @@ -477,9 +456,16 @@ - completion.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -489,6 +475,20 @@ ..\..\..\components\drivers\src\pipe.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + Drivers @@ -561,41 +561,6 @@ Kernel - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - idle.c @@ -603,27 +568,6 @@ ..\..\..\src\idle.c - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - ipc.c @@ -631,6 +575,13 @@ ..\..\..\src\ipc.c + + + thread.c + 1 + ..\..\..\src\thread.c + + object.c @@ -638,6 +589,48 @@ ..\..\..\src\object.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + components.c @@ -647,9 +640,16 @@ - mem.c + timer.c 1 - ..\..\..\src\mem.c + ..\..\..\src\timer.c + + + + + device.c + 1 + ..\..\..\src\device.c diff --git a/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.h b/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.h index 764da539d8..3da022b1d5 100644 --- a/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32l4r5-st-nucleo/rtconfig.h @@ -166,14 +166,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -182,10 +185,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l4r9-st-eval/.config b/bsp/stm32/stm32l4r9-st-eval/.config index 8acb732b77..5d5ac18dbe 100644 --- a/bsp/stm32/stm32l4r9-st-eval/.config +++ b/bsp/stm32/stm32l4r9-st-eval/.config @@ -334,6 +334,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -358,17 +359,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -381,11 +389,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -429,12 +437,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -444,6 +460,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -464,7 +488,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -481,7 +504,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -489,6 +511,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -565,6 +588,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l4r9-st-eval/project.ewp b/bsp/stm32/stm32l4r9-st-eval/project.ewp index 00068a4b7e..09f8db37d7 100644 --- a/bsp/stm32/stm32l4r9-st-eval/project.ewp +++ b/bsp/stm32/stm32l4r9-st-eval/project.ewp @@ -2123,18 +2123,18 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + DeviceDrivers @@ -2153,39 +2153,39 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + Drivers + + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s + $PROJ_DIR$\board\CubeMX_Config\Src\stm32l4xx_hal_msp.c $PROJ_DIR$\board\board.c - - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s - $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2210,44 +2210,44 @@ Kernel + + $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\object.c + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\ipc.c - - $PROJ_DIR$\..\..\..\src\thread.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\timer.c $PROJ_DIR$\..\..\..\src\clock.c - - $PROJ_DIR$\..\..\..\src\mempool.c - $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\memheap.c diff --git a/bsp/stm32/stm32l4r9-st-eval/project.uvprojx b/bsp/stm32/stm32l4r9-st-eval/project.uvprojx index d263fb4a65..56bbb41e71 100644 --- a/bsp/stm32/stm32l4r9-st-eval/project.uvprojx +++ b/bsp/stm32/stm32l4r9-st-eval/project.uvprojx @@ -388,13 +388,6 @@ CPU - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - backtrace.c @@ -411,9 +404,9 @@ - cpuport.c + div0.c 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\..\libcpu\arm\common\div0.c @@ -423,6 +416,13 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -463,9 +463,9 @@ - ringbuffer.c + workqueue.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\workqueue.c @@ -475,6 +475,27 @@ ..\..\..\components\drivers\src\ringblk_buf.c + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + completion.c @@ -489,27 +510,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - Drivers @@ -584,9 +584,9 @@ Kernel - irq.c + idle.c 1 - ..\..\..\src\irq.c + ..\..\..\src\idle.c @@ -598,9 +598,9 @@ - idle.c + device.c 1 - ..\..\..\src\idle.c + ..\..\..\src\device.c @@ -612,16 +612,9 @@ - thread.c + irq.c 1 - ..\..\..\src\thread.c - - - - - components.c - 1 - ..\..\..\src\components.c + ..\..\..\src\irq.c @@ -633,9 +626,30 @@ - device.c + object.c 1 - ..\..\..\src\device.c + ..\..\..\src\object.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + clock.c + 1 + ..\..\..\src\clock.c @@ -645,13 +659,6 @@ ..\..\..\src\scheduler.c - - - object.c - 1 - ..\..\..\src\object.c - - ipc.c @@ -666,13 +673,6 @@ ..\..\..\src\kservice.c - - - clock.c - 1 - ..\..\..\src\clock.c - - libc diff --git a/bsp/stm32/stm32l4r9-st-eval/rtconfig.h b/bsp/stm32/stm32l4r9-st-eval/rtconfig.h index e76423e4cc..4fa518847e 100644 --- a/bsp/stm32/stm32l4r9-st-eval/rtconfig.h +++ b/bsp/stm32/stm32l4r9-st-eval/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/.config b/bsp/stm32/stm32l4r9-st-sensortile-box/.config index 0e44d76328..bc5f2721b3 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/.config +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/.config @@ -330,6 +330,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -354,17 +355,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -377,11 +385,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -425,12 +433,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -440,6 +456,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -460,7 +484,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -477,7 +500,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -485,6 +507,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -561,6 +584,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/project.ewp b/bsp/stm32/stm32l4r9-st-sensortile-box/project.ewp index 32d23f4f59..7f48b20a75 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/project.ewp +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/project.ewp @@ -2133,20 +2133,20 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - - - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S + + $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c + DeviceDrivers @@ -2157,19 +2157,13 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c @@ -2177,6 +2171,12 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + Drivers @@ -2184,10 +2184,10 @@ $PROJ_DIR$\board\CubeMX_Config\Core\Src\stm32l4xx_hal_msp.c - $PROJ_DIR$\board\board.c + $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s - $PROJ_DIR$\..\libraries\STM32L4xx_HAL\CMSIS\Device\ST\STM32L4xx\Source\Templates\iar\startup_stm32l4r9xx.s + $PROJ_DIR$\board\board.c $PROJ_DIR$\..\libraries\HAL_Drivers\drv_gpio.c @@ -2214,22 +2214,31 @@ Kernel - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\irq.c - $PROJ_DIR$\..\..\..\src\components.c + $PROJ_DIR$\..\..\..\src\thread.c $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\timer.c + + + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\device.c - $PROJ_DIR$\..\..\..\src\object.c + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\memheap.c $PROJ_DIR$\..\..\..\src\mempool.c @@ -2238,19 +2247,10 @@ $PROJ_DIR$\..\..\..\src\idle.c - $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\object.c - $PROJ_DIR$\..\..\..\src\irq.c - - - $PROJ_DIR$\..\..\..\src\memheap.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\kservice.c diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/project.uvprojx b/bsp/stm32/stm32l4r9-st-sensortile-box/project.uvprojx index e56fa491ec..91068ce38f 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/project.uvprojx +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/project.uvprojx @@ -412,16 +412,16 @@ - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S @@ -441,27 +441,6 @@ ..\..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - dataqueue.c @@ -478,9 +457,9 @@ - waitqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringbuffer.c @@ -490,6 +469,27 @@ ..\..\..\components\drivers\src\workqueue.c + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + waitqueue.c + 1 + ..\..\..\components\drivers\src\waitqueue.c + + Drivers @@ -564,9 +564,51 @@ Kernel - components.c + kservice.c 1 - ..\..\..\src\components.c + ..\..\..\src\kservice.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + device.c + 1 + ..\..\..\src\device.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + clock.c + 1 + ..\..\..\src\clock.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c @@ -585,37 +627,9 @@ - ipc.c + irq.c 1 - ..\..\..\src\ipc.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - device.c - 1 - ..\..\..\src\device.c + ..\..\..\src\irq.c @@ -627,9 +641,9 @@ - irq.c + components.c 1 - ..\..\..\src\irq.c + ..\..\..\src\components.c @@ -639,20 +653,6 @@ ..\..\..\src\thread.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - Libraries diff --git a/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.h b/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.h index 0540ad94e1..70edc10b22 100644 --- a/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.h +++ b/bsp/stm32/stm32l4r9-st-sensortile-box/rtconfig.h @@ -168,14 +168,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -184,10 +187,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32mp157a-st-discovery/.config b/bsp/stm32/stm32mp157a-st-discovery/.config index 0a86c3c957..a36ad9346a 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/.config +++ b/bsp/stm32/stm32mp157a-st-discovery/.config @@ -333,6 +333,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -357,17 +358,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -380,11 +388,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -428,12 +436,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -443,6 +459,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -463,7 +487,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -480,7 +503,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -488,6 +510,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -564,6 +587,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32mp157a-st-discovery/project.ewp b/bsp/stm32/stm32mp157a-st-discovery/project.ewp index 97aa60dd61..2c39faa087 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/project.ewp +++ b/bsp/stm32/stm32mp157a-st-discovery/project.ewp @@ -2169,10 +2169,10 @@ CPU - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c @@ -2195,23 +2195,23 @@ $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c @@ -2252,44 +2252,44 @@ Kernel - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\kservice.c - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\components.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\irq.c + + + $PROJ_DIR$\..\..\..\src\components.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\device.c + $PROJ_DIR$\..\..\..\src\timer.c - $PROJ_DIR$\..\..\..\src\irq.c + $PROJ_DIR$\..\..\..\src\clock.c $PROJ_DIR$\..\..\..\src\memheap.c - $PROJ_DIR$\..\..\..\src\mempool.c + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\object.c diff --git a/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx b/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx index fb8b0a430b..9131b8c38c 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx +++ b/bsp/stm32/stm32mp157a-st-discovery/project.uvprojx @@ -391,9 +391,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -405,9 +405,9 @@ - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -450,16 +450,9 @@ - ringbuffer.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -471,16 +464,23 @@ - ringblk_buf.c + waitqueue.c 1 - ..\..\..\components\drivers\src\ringblk_buf.c + ..\..\..\components\drivers\src\waitqueue.c - waitqueue.c + ringbuffer.c 1 - ..\..\..\components\drivers\src\waitqueue.c + ..\..\..\components\drivers\src\ringbuffer.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c @@ -569,41 +569,6 @@ Kernel - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - components.c @@ -618,6 +583,20 @@ ..\..\..\src\irq.c + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + ipc.c @@ -625,6 +604,13 @@ ..\..\..\src\ipc.c + + + kservice.c + 1 + ..\..\..\src\kservice.c + + idle.c @@ -634,16 +620,23 @@ - clock.c + timer.c 1 - ..\..\..\src\clock.c + ..\..\..\src\timer.c - timer.c + mempool.c 1 - ..\..\..\src\timer.c + ..\..\..\src\mempool.c + + + + + memheap.c + 1 + ..\..\..\src\memheap.c @@ -655,9 +648,16 @@ - mempool.c + clock.c 1 - ..\..\..\src\mempool.c + ..\..\..\src\clock.c + + + + + device.c + 1 + ..\..\..\src\device.c diff --git a/bsp/stm32/stm32mp157a-st-discovery/rtconfig.h b/bsp/stm32/stm32mp157a-st-discovery/rtconfig.h index 54f886a6b3..7afd90fa45 100644 --- a/bsp/stm32/stm32mp157a-st-discovery/rtconfig.h +++ b/bsp/stm32/stm32mp157a-st-discovery/rtconfig.h @@ -173,14 +173,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -189,10 +192,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32mp157a-st-ev1/.config b/bsp/stm32/stm32mp157a-st-ev1/.config index 7214d13c72..1d13c6130c 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/.config +++ b/bsp/stm32/stm32mp157a-st-ev1/.config @@ -333,6 +333,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -357,17 +358,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -380,11 +388,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -428,12 +436,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -443,6 +459,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -463,7 +487,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -480,7 +503,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -488,6 +510,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -564,6 +587,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32mp157a-st-ev1/project.ewp b/bsp/stm32/stm32mp157a-st-ev1/project.ewp index 7879bf3d06..acef261034 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/project.ewp +++ b/bsp/stm32/stm32mp157a-st-ev1/project.ewp @@ -2166,15 +2166,15 @@ CPU + + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c - - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2190,27 +2190,27 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - - $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c - Drivers @@ -2250,24 +2250,30 @@ Kernel - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - $PROJ_DIR$\..\..\..\src\components.c + + $PROJ_DIR$\..\..\..\src\timer.c + $PROJ_DIR$\..\..\..\src\memheap.c + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\clock.c + $PROJ_DIR$\..\..\..\src\device.c + + $PROJ_DIR$\..\..\..\src\thread.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + $PROJ_DIR$\..\..\..\src\irq.c @@ -2275,7 +2281,7 @@ $PROJ_DIR$\..\..\..\src\ipc.c - $PROJ_DIR$\..\..\..\src\thread.c + $PROJ_DIR$\..\..\..\src\idle.c $PROJ_DIR$\..\..\..\src\kservice.c @@ -2283,12 +2289,6 @@ $PROJ_DIR$\..\..\..\src\mempool.c - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\timer.c - libc diff --git a/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx b/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx index 670540722c..8ead12b873 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx +++ b/bsp/stm32/stm32mp157a-st-ev1/project.uvprojx @@ -391,16 +391,16 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + showmem.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\showmem.c @@ -412,16 +412,16 @@ - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -441,6 +441,13 @@ ..\..\..\components\drivers\serial\serial.c + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + ringbuffer.c @@ -457,9 +464,9 @@ - workqueue.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\..\..\components\drivers\src\ringblk_buf.c @@ -483,13 +490,6 @@ ..\..\..\components\drivers\src\waitqueue.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - Drivers @@ -569,20 +569,6 @@ Kernel - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - components.c @@ -590,13 +576,6 @@ ..\..\..\src\components.c - - - timer.c - 1 - ..\..\..\src\timer.c - - memheap.c @@ -606,9 +585,23 @@ - ipc.c + irq.c 1 - ..\..\..\src\ipc.c + ..\..\..\src\irq.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\..\src\timer.c @@ -627,9 +620,23 @@ - kservice.c + device.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\device.c + + + + + object.c + 1 + ..\..\..\src\object.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c @@ -641,23 +648,16 @@ - device.c + mempool.c 1 - ..\..\..\src\device.c + ..\..\..\src\mempool.c - scheduler.c + kservice.c 1 - ..\..\..\src\scheduler.c - - - - - object.c - 1 - ..\..\..\src\object.c + ..\..\..\src\kservice.c diff --git a/bsp/stm32/stm32mp157a-st-ev1/rtconfig.h b/bsp/stm32/stm32mp157a-st-ev1/rtconfig.h index 54f886a6b3..7afd90fa45 100644 --- a/bsp/stm32/stm32mp157a-st-ev1/rtconfig.h +++ b/bsp/stm32/stm32mp157a-st-ev1/rtconfig.h @@ -173,14 +173,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -189,10 +192,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32wb55-st-nucleo/.config b/bsp/stm32/stm32wb55-st-nucleo/.config index ae6cc74b9d..79064f5f49 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/.config +++ b/bsp/stm32/stm32wb55-st-nucleo/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32wb55-st-nucleo/project.ewp b/bsp/stm32/stm32wb55-st-nucleo/project.ewp index be16e2e3cf..6e9c96f1bb 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/project.ewp +++ b/bsp/stm32/stm32wb55-st-nucleo/project.ewp @@ -2085,10 +2085,10 @@ $PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c $PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2106,13 +2106,7 @@ $PROJ_DIR$\..\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c - - - $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\pipe.c @@ -2121,11 +2115,17 @@ $PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c $PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c + + $PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c + + + $PROJ_DIR$\..\..\..\components\drivers\src\completion.c + Drivers @@ -2162,45 +2162,45 @@ Kernel - - $PROJ_DIR$\..\..\..\src\mempool.c - - - $PROJ_DIR$\..\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\..\src\kservice.c - $PROJ_DIR$\..\..\..\src\timer.c - - $PROJ_DIR$\..\..\..\src\mem.c - - - $PROJ_DIR$\..\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\..\src\clock.c - - - $PROJ_DIR$\..\..\..\src\device.c - - - $PROJ_DIR$\..\..\..\src\object.c - - - $PROJ_DIR$\..\..\..\src\idle.c - - - $PROJ_DIR$\..\..\..\src\components.c - $PROJ_DIR$\..\..\..\src\irq.c + + $PROJ_DIR$\..\..\..\src\clock.c + + + $PROJ_DIR$\..\..\..\src\kservice.c + $PROJ_DIR$\..\..\..\src\thread.c + + $PROJ_DIR$\..\..\..\src\mem.c + + + $PROJ_DIR$\..\..\..\src\idle.c + + + $PROJ_DIR$\..\..\..\src\device.c + + + $PROJ_DIR$\..\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\..\src\object.c + + + $PROJ_DIR$\..\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\..\src\components.c + libc @@ -2210,14 +2210,26 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c @@ -2226,23 +2238,11 @@ $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c - - - $PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c - Libraries diff --git a/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx b/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx index e3b9cfc5b7..226900f4bb 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32wb55-st-nucleo/project.uvprojx @@ -389,13 +389,6 @@ CPU - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -410,6 +403,13 @@ ..\..\..\libcpu\arm\common\div0.c + + + backtrace.c + 1 + ..\..\..\libcpu\arm\common\backtrace.c + + context_rvds.S @@ -441,6 +441,20 @@ ..\..\..\components\drivers\serial\serial.c + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + workqueue.c @@ -457,9 +471,9 @@ - completion.c + dataqueue.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\dataqueue.c @@ -476,20 +490,6 @@ ..\..\..\components\drivers\src\pipe.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - Drivers @@ -564,9 +564,9 @@ Kernel - components.c + kservice.c 1 - ..\..\..\src\components.c + ..\..\..\src\kservice.c @@ -576,48 +576,6 @@ ..\..\..\src\device.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - object.c @@ -625,6 +583,13 @@ ..\..\..\src\object.c + + + components.c + 1 + ..\..\..\src\components.c + + idle.c @@ -634,9 +599,16 @@ - kservice.c + scheduler.c 1 - ..\..\..\src\kservice.c + ..\..\..\src\scheduler.c + + + + + timer.c + 1 + ..\..\..\src\timer.c @@ -646,6 +618,27 @@ ..\..\..\src\thread.c + + + ipc.c + 1 + ..\..\..\src\ipc.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + clock.c @@ -653,9 +646,23 @@ ..\..\..\src\clock.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + libc + + + libc.c + 1 + ..\..\..\components\libc\compilers\armlibc\libc.c + + mem_std.c @@ -672,9 +679,9 @@ - libc.c + stdlib.c 1 - ..\..\..\components\libc\compilers\armlibc\libc.c + ..\..\..\components\libc\compilers\common\stdlib.c @@ -684,13 +691,6 @@ ..\..\..\components\libc\compilers\common\time.c - - - stdlib.c - 1 - ..\..\..\components\libc\compilers\common\stdlib.c - - Libraries diff --git a/bsp/stm32/stm32wb55-st-nucleo/rtconfig.h b/bsp/stm32/stm32wb55-st-nucleo/rtconfig.h index 9491b9d728..4741923ea7 100644 --- a/bsp/stm32/stm32wb55-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32wb55-st-nucleo/rtconfig.h @@ -171,14 +171,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -187,10 +190,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32wl55-st-nucleo/.config b/bsp/stm32/stm32wl55-st-nucleo/.config index e203302c12..b8cd18b04f 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/.config +++ b/bsp/stm32/stm32wl55-st-nucleo/.config @@ -317,6 +317,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -341,17 +342,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -364,11 +372,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -412,12 +420,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -427,6 +443,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -447,7 +471,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -464,7 +487,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -472,6 +494,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -548,6 +571,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32wl55-st-nucleo/project.uvprojx b/bsp/stm32/stm32wl55-st-nucleo/project.uvprojx index fa2e2cabfd..30cb9229e6 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/project.uvprojx +++ b/bsp/stm32/stm32wl55-st-nucleo/project.uvprojx @@ -390,9 +390,9 @@ CPU - div0.c + showmem.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\showmem.c @@ -404,16 +404,9 @@ - showmem.c + div0.c 1 - ..\..\..\libcpu\arm\common\showmem.c - - - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + ..\..\..\libcpu\arm\common\div0.c @@ -423,6 +416,13 @@ ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -447,20 +447,6 @@ ..\..\..\components\drivers\src\dataqueue.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - pipe.c @@ -470,9 +456,16 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c @@ -484,9 +477,16 @@ - completion.c + ringblk_buf.c 1 - ..\..\..\components\drivers\src\completion.c + ..\..\..\components\drivers\src\ringblk_buf.c + + + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c @@ -563,51 +563,9 @@ Kernel - kservice.c + components.c 1 - ..\..\..\src\kservice.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c + ..\..\..\src\components.c @@ -617,6 +575,27 @@ ..\..\..\src\ipc.c + + + timer.c + 1 + ..\..\..\src\timer.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + idle.c + 1 + ..\..\..\src\idle.c + + mem.c @@ -626,16 +605,23 @@ - components.c + clock.c 1 - ..\..\..\src\components.c + ..\..\..\src\clock.c - device.c + kservice.c 1 - ..\..\..\src\device.c + ..\..\..\src\kservice.c + + + + + mempool.c + 1 + ..\..\..\src\mempool.c @@ -645,6 +631,20 @@ ..\..\..\src\scheduler.c + + + object.c + 1 + ..\..\..\src\object.c + + + + + device.c + 1 + ..\..\..\src\device.c + + thread.c diff --git a/bsp/stm32/stm32wl55-st-nucleo/rtconfig.h b/bsp/stm32/stm32wl55-st-nucleo/rtconfig.h index 0b47d883ac..a30b8c63c6 100644 --- a/bsp/stm32/stm32wl55-st-nucleo/rtconfig.h +++ b/bsp/stm32/stm32wl55-st-nucleo/rtconfig.h @@ -163,14 +163,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -179,10 +182,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/.config b/bsp/stm32/stm32wle5-yizhilian-lm401/.config index 32f265f10a..2f1baedd90 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/.config +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/.config @@ -317,6 +317,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -341,17 +342,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -364,11 +372,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -412,12 +420,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -427,6 +443,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -447,7 +471,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -464,7 +487,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -472,6 +494,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -548,6 +571,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/project.uvprojx b/bsp/stm32/stm32wle5-yizhilian-lm401/project.uvprojx index 88aa5b88e7..e2188aca76 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/project.uvprojx +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/project.uvprojx @@ -390,16 +390,16 @@ CPU - div0.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\div0.c + ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c + div0.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\..\..\libcpu\arm\common\div0.c @@ -440,27 +440,6 @@ ..\..\..\components\drivers\serial\serial.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - dataqueue.c @@ -475,6 +454,13 @@ ..\..\..\components\drivers\src\workqueue.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + waitqueue.c @@ -484,9 +470,23 @@ - ringbuffer.c + completion.c 1 - ..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\components\drivers\src\completion.c + + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c @@ -561,41 +561,6 @@ Kernel - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - object.c @@ -603,34 +568,6 @@ ..\..\..\src\object.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - device.c @@ -638,6 +575,27 @@ ..\..\..\src\device.c + + + idle.c + 1 + ..\..\..\src\idle.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + ipc.c + 1 + ..\..\..\src\ipc.c + + kservice.c @@ -645,6 +603,41 @@ ..\..\..\src\kservice.c + + + mempool.c + 1 + ..\..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\..\src\irq.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + components.c + 1 + ..\..\..\src\components.c + + + + + timer.c + 1 + ..\..\..\src\timer.c + + mem.c @@ -652,6 +645,13 @@ ..\..\..\src\mem.c + + + clock.c + 1 + ..\..\..\src\clock.c + + STM32_HAL diff --git a/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.h b/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.h index d2b53372d5..7f0fa9a956 100644 --- a/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.h +++ b/bsp/stm32/stm32wle5-yizhilian-lm401/rtconfig.h @@ -163,14 +163,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -179,10 +182,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/swm320-lq100/.config b/bsp/swm320-lq100/.config index a6132aff5c..fa26db2bab 100644 --- a/bsp/swm320-lq100/.config +++ b/bsp/swm320-lq100/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/swm320-lq100/project.ewp b/bsp/swm320-lq100/project.ewp index 4d09e09596..6515e589f6 100644 --- a/bsp/swm320-lq100/project.ewp +++ b/bsp/swm320-lq100/project.ewp @@ -2073,10 +2073,10 @@ $PROJ_DIR$\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\cpuport.c @@ -2094,26 +2094,26 @@ $PROJ_DIR$\..\..\components\drivers\serial\serial.c - $PROJ_DIR$\..\..\components\drivers\src\completion.c - - - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c + + + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + + $PROJ_DIR$\..\..\components\drivers\src\completion.c + Drivers @@ -2142,22 +2142,31 @@ Kernel - $PROJ_DIR$\..\..\src\components.c + $PROJ_DIR$\..\..\src\memheap.c + + + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\clock.c $PROJ_DIR$\..\..\src\scheduler.c - $PROJ_DIR$\..\..\src\ipc.c + $PROJ_DIR$\..\..\src\object.c - $PROJ_DIR$\..\..\src\memheap.c + $PROJ_DIR$\..\..\src\components.c $PROJ_DIR$\..\..\src\timer.c - $PROJ_DIR$\..\..\src\idle.c + $PROJ_DIR$\..\..\src\irq.c + + + $PROJ_DIR$\..\..\src\ipc.c $PROJ_DIR$\..\..\src\kservice.c @@ -2165,20 +2174,11 @@ $PROJ_DIR$\..\..\src\device.c - - $PROJ_DIR$\..\..\src\clock.c - - - $PROJ_DIR$\..\..\src\irq.c - - - $PROJ_DIR$\..\..\src\object.c - $PROJ_DIR$\..\..\src\mempool.c - $PROJ_DIR$\..\..\src\thread.c + $PROJ_DIR$\..\..\src\idle.c @@ -2190,89 +2190,47 @@ $PROJ_DIR$\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c Libraries - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_can.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_dma.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_crc.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - - - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c - $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c @@ -2280,11 +2238,53 @@ $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - $PROJ_DIR$\Libraries\CMSIS\DeviceSupport\system_SWM320.c + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + + + $PROJ_DIR$\Libraries\CMSIS\DeviceSupport\system_SWM320.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_crc.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + + + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + $PROJ_DIR$\Libraries\SWM320_StdPeriph_Driver\SWM320_port.c diff --git a/bsp/swm320-lq100/project.uvproj b/bsp/swm320-lq100/project.uvproj index 5415c9edfb..440fe070c1 100644 --- a/bsp/swm320-lq100/project.uvproj +++ b/bsp/swm320-lq100/project.uvproj @@ -413,16 +413,16 @@ CPU - backtrace.c + div0.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\div0.c - div0.c + backtrace.c 1 - ..\..\libcpu\arm\common\div0.c + ..\..\libcpu\arm\common\backtrace.c @@ -434,16 +434,16 @@ - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m4\cpuport.c @@ -472,16 +472,9 @@ - completion.c + waitqueue.c 1 - ..\..\components\drivers\src\completion.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\waitqueue.c @@ -500,16 +493,23 @@ - pipe.c + workqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\workqueue.c - waitqueue.c + completion.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\completion.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c @@ -565,30 +565,9 @@ Kernel - irq.c + timer.c 1 - ..\..\src\irq.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - kservice.c - 1 - ..\..\src\kservice.c + ..\..\src\timer.c @@ -600,16 +579,9 @@ - idle.c + components.c 1 - ..\..\src\idle.c - - - - - timer.c - 1 - ..\..\src\timer.c + ..\..\src\components.c @@ -621,16 +593,16 @@ - memheap.c + irq.c 1 - ..\..\src\memheap.c + ..\..\src\irq.c - components.c + scheduler.c 1 - ..\..\src\components.c + ..\..\src\scheduler.c @@ -642,16 +614,44 @@ - ipc.c + kservice.c 1 - ..\..\src\ipc.c + ..\..\src\kservice.c - scheduler.c + idle.c 1 - ..\..\src\scheduler.c + ..\..\src\idle.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + memheap.c + 1 + ..\..\src\memheap.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + ipc.c + 1 + ..\..\src\ipc.c @@ -697,16 +697,9 @@ Libraries - SWM320_exti.c + SWM320_wdt.c 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - - - - - SWM320_gpio.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c + Libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c @@ -716,20 +709,6 @@ Libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c - - - SWM320_pwm.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - - - - SWM320_wdt.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c - - SWM320_flash.c @@ -737,104 +716,6 @@ Libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - - SWM320_i2c.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c - - - - - SWM320_sdram.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c - - - - - SWM320_adc.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - - - - - SWM320_sdio.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c - - - - - SWM320_port.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_port.c - - - - - SWM320_spi.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c - - - - - startup_SWM320.s - 2 - Libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s - - - - - system_SWM320.c - 1 - Libraries\CMSIS\DeviceSupport\system_SWM320.c - - - - - SWM320_uart.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c - - - - - SWM320_lcd.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - - - SWM320_sram.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c - - - - - SWM320_norflash.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c - - - - - SWM320_dma.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_dma.c - - - - - SWM320_can.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_can.c - - SWM320_crc.c @@ -842,6 +723,83 @@ Libraries\SWM320_StdPeriph_Driver\SWM320_crc.c + + + SWM320_i2c.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + + + + + SWM320_gpio.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c + + + + + SWM320_sdio.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c + + + + + system_SWM320.c + 1 + Libraries\CMSIS\DeviceSupport\system_SWM320.c + + + + + SWM320_sdram.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + + + + + SWM320_can.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + + + SWM320_pwm.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c + + + + + SWM320_adc.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c + + + + + startup_SWM320.s + 2 + Libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s + + + + + SWM320_norflash.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + + + + + SWM320_exti.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_exti.c + + SWM320_timr.c @@ -849,6 +807,48 @@ Libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + + + SWM320_dma.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + + + + + SWM320_uart.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + + + + + SWM320_sram.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c + + + + + SWM320_lcd.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c + + + + + SWM320_spi.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + + + + + SWM320_port.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_port.c + + diff --git a/bsp/swm320-lq100/project.uvprojx b/bsp/swm320-lq100/project.uvprojx index 0880ae065d..7767e16e6f 100644 --- a/bsp/swm320-lq100/project.uvprojx +++ b/bsp/swm320-lq100/project.uvprojx @@ -388,6 +388,13 @@ CPU + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + showmem.c @@ -404,9 +411,9 @@ - backtrace.c + cpuport.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\cortex-m4\cpuport.c @@ -416,13 +423,6 @@ ..\..\libcpu\arm\cortex-m4\context_rvds.S - - - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m4\cpuport.c - - DeviceDrivers @@ -449,9 +449,9 @@ - ringblk_buf.c + dataqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\dataqueue.c @@ -470,16 +470,16 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringblk_buf.c - dataqueue.c + waitqueue.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\waitqueue.c @@ -542,51 +542,9 @@ Kernel - timer.c + clock.c 1 - ..\..\src\timer.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - memheap.c - 1 - ..\..\src\memheap.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - ipc.c - 1 - ..\..\src\ipc.c + ..\..\src\clock.c @@ -598,23 +556,23 @@ - object.c + scheduler.c 1 - ..\..\src\object.c + ..\..\src\scheduler.c - mempool.c + kservice.c 1 - ..\..\src\mempool.c + ..\..\src\kservice.c - clock.c + device.c 1 - ..\..\src\clock.c + ..\..\src\device.c @@ -626,9 +584,51 @@ - device.c + memheap.c 1 - ..\..\src\device.c + ..\..\src\memheap.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + timer.c + 1 + ..\..\src\timer.c + + + + + ipc.c + 1 + ..\..\src\ipc.c @@ -636,9 +636,9 @@ libc - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -650,16 +650,9 @@ - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c - - - - - time.c - 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -669,70 +662,21 @@ ..\..\components\libc\compilers\common\stdlib.c + + + time.c + 1 + ..\..\components\libc\compilers\common\time.c + + Libraries - SWM320_pwm.c + SWM320_lcd.c 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - - - - SWM320_timr.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_timr.c - - - - - SWM320_can.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_can.c - - - - - SWM320_flash.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - - - - SWM320_wdt.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c - - - - - SWM320_adc.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - - - - - SWM320_exti.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - - - - - SWM320_port.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_port.c - - - - - SWM320_crc.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_crc.c + Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c @@ -744,65 +688,9 @@ - SWM320_lcd.c + SWM320_crc.c 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - - - startup_SWM320.s - 2 - Libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s - - - - - SWM320_uart.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c - - - - - SWM320_sdio.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c - - - - - SWM320_norflash.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c - - - - - SWM320_rtc.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c - - - - - SWM320_gpio.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c - - - - - SWM320_sram.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c - - - - - SWM320_spi.c - 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + Libraries\SWM320_StdPeriph_Driver\SWM320_crc.c @@ -814,9 +702,37 @@ - SWM320_i2c.c + SWM320_wdt.c 1 - Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + Libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c + + + + + SWM320_can.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + + + SWM320_pwm.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c + + + + + SWM320_spi.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + + + + + SWM320_sram.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_sram.c @@ -826,6 +742,90 @@ Libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + + + SWM320_uart.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + + + + + SWM320_timr.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + + + + + startup_SWM320.s + 2 + Libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s + + + + + SWM320_flash.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_flash.c + + + + + SWM320_norflash.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + + + + + SWM320_exti.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_exti.c + + + + + SWM320_adc.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_adc.c + + + + + SWM320_gpio.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c + + + + + SWM320_rtc.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c + + + + + SWM320_i2c.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + + + + + SWM320_sdio.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c + + + + + SWM320_port.c + 1 + Libraries\SWM320_StdPeriph_Driver\SWM320_port.c + + diff --git a/bsp/swm320-lq100/rtconfig.h b/bsp/swm320-lq100/rtconfig.h index db098f1792..8780311793 100644 --- a/bsp/swm320-lq100/rtconfig.h +++ b/bsp/swm320-lq100/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/swm320/.config b/bsp/swm320/.config index 79b39820e0..f7cd4545c8 100644 --- a/bsp/swm320/.config +++ b/bsp/swm320/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -462,7 +486,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -479,7 +502,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -487,6 +509,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -563,6 +586,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/swm320/project.ewp b/bsp/swm320/project.ewp index 901565174a..ef4daf7ffa 100644 --- a/bsp/swm320/project.ewp +++ b/bsp/swm320/project.ewp @@ -2069,15 +2069,15 @@ CPU - - $PROJ_DIR$\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c + + $PROJ_DIR$\..\..\libcpu\arm\common\div0.c + $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2096,15 +2096,12 @@ $PROJ_DIR$\..\..\components\drivers\src\pipe.c - - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c - - - $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\components\drivers\src\completion.c + + $PROJ_DIR$\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c @@ -2112,7 +2109,10 @@ $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c - $PROJ_DIR$\..\..\components\drivers\src\workqueue.c + $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c @@ -2142,7 +2142,13 @@ Kernel - $PROJ_DIR$\..\..\src\object.c + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\device.c + + + $PROJ_DIR$\..\..\src\ipc.c $PROJ_DIR$\..\..\src\kservice.c @@ -2150,36 +2156,30 @@ $PROJ_DIR$\..\..\src\clock.c - - $PROJ_DIR$\..\..\src\thread.c - - - $PROJ_DIR$\..\..\src\components.c - - - $PROJ_DIR$\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\src\device.c - $PROJ_DIR$\..\..\src\timer.c - $PROJ_DIR$\..\..\src\scheduler.c + $PROJ_DIR$\..\..\src\object.c $PROJ_DIR$\..\..\src\mempool.c - - $PROJ_DIR$\..\..\src\irq.c - $PROJ_DIR$\..\..\src\memheap.c $PROJ_DIR$\..\..\src\idle.c + + $PROJ_DIR$\..\..\src\irq.c + + + $PROJ_DIR$\..\..\src\scheduler.c + + + $PROJ_DIR$\..\..\src\components.c + libc @@ -2190,103 +2190,103 @@ $PROJ_DIR$\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c + Libraries - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_sram.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_crc.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_port.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - - $PROJ_DIR$\libraries\CMSIS\DeviceSupport\system_SWM320.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_can.c + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_exti.c $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_dma.c - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_timr.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_crc.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_spi.c $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c - $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + $PROJ_DIR$\libraries\CMSIS\DeviceSupport\system_SWM320.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_flash.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_sram.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_port.c + + + $PROJ_DIR$\libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c $PROJ_DIR$\libraries\CMSIS\DeviceSupport\startup\iar\startup_SWM320.s diff --git a/bsp/swm320/project.uvproj b/bsp/swm320/project.uvproj index 8256282a28..94d79f1b5d 100644 --- a/bsp/swm320/project.uvproj +++ b/bsp/swm320/project.uvproj @@ -411,6 +411,13 @@ CPU + + + div0.c + 1 + ..\..\libcpu\arm\common\div0.c + + backtrace.c @@ -425,13 +432,6 @@ ..\..\libcpu\arm\common\showmem.c - - - div0.c - 1 - ..\..\libcpu\arm\common\div0.c - - context_rvds.S @@ -463,13 +463,6 @@ ..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - waitqueue.c @@ -486,16 +479,23 @@ - pipe.c + ringblk_buf.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\ringblk_buf.c - ringblk_buf.c + workqueue.c 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\workqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c @@ -507,9 +507,9 @@ - workqueue.c + pipe.c 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\pipe.c @@ -572,9 +572,16 @@ - memheap.c + mempool.c 1 - ..\..\src\memheap.c + ..\..\src\mempool.c + + + + + idle.c + 1 + ..\..\src\idle.c @@ -591,6 +598,13 @@ ..\..\src\components.c + + + ipc.c + 1 + ..\..\src\ipc.c + + kservice.c @@ -598,20 +612,6 @@ ..\..\src\kservice.c - - - clock.c - 1 - ..\..\src\clock.c - - - - - irq.c - 1 - ..\..\src\irq.c - - object.c @@ -619,6 +619,20 @@ ..\..\src\object.c + + + irq.c + 1 + ..\..\src\irq.c + + + + + memheap.c + 1 + ..\..\src\memheap.c + + timer.c @@ -628,16 +642,9 @@ - mempool.c + clock.c 1 - ..\..\src\mempool.c - - - - - idle.c - 1 - ..\..\src\idle.c + ..\..\src\clock.c @@ -647,23 +654,9 @@ ..\..\src\thread.c - - - ipc.c - 1 - ..\..\src\ipc.c - - libc - - - libc.c - 1 - ..\..\components\libc\compilers\armlibc\libc.c - - mem_std.c @@ -678,6 +671,13 @@ ..\..\components\libc\compilers\armlibc\syscalls.c + + + libc.c + 1 + ..\..\components\libc\compilers\armlibc\libc.c + + time.c @@ -697,30 +697,9 @@ Libraries - SWM320_lcd.c + SWM320_port.c 1 - libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - - - SWM320_sram.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_sram.c - - - - - SWM320_norflash.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c - - - - - SWM320_dma.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + libraries\SWM320_StdPeriph_Driver\SWM320_port.c @@ -730,13 +709,6 @@ libraries\SWM320_StdPeriph_Driver\SWM320_timr.c - - - SWM320_crc.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_crc.c - - SWM320_i2c.c @@ -746,79 +718,23 @@ - SWM320_rtc.c + SWM320_lcd.c 1 - libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c + libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - system_SWM320.c + SWM320_crc.c 1 - libraries\CMSIS\DeviceSupport\system_SWM320.c + libraries\SWM320_StdPeriph_Driver\SWM320_crc.c - SWM320_flash.c + SWM320_sram.c 1 - libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - - - - SWM320_port.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_port.c - - - - - SWM320_adc.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - - - - - startup_SWM320.s - 2 - libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s - - - - - SWM320_wdt.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c - - - - - SWM320_pwm.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - - - - SWM320_uart.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_uart.c - - - - - SWM320_exti.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - - - - - SWM320_can.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_can.c + libraries\SWM320_StdPeriph_Driver\SWM320_sram.c @@ -830,9 +746,23 @@ - SWM320_sdram.c + SWM320_rtc.c 1 - libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c + + + + + SWM320_can.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + + + system_SWM320.c + 1 + libraries\CMSIS\DeviceSupport\system_SWM320.c @@ -842,6 +772,27 @@ libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c + + + startup_SWM320.s + 2 + libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s + + + + + SWM320_norflash.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + + + + + SWM320_flash.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_flash.c + + SWM320_spi.c @@ -849,6 +800,55 @@ libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + + + SWM320_uart.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_uart.c + + + + + SWM320_pwm.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c + + + + + SWM320_wdt.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c + + + + + SWM320_adc.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_adc.c + + + + + SWM320_sdram.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + + + + + SWM320_exti.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_exti.c + + + + + SWM320_dma.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + + diff --git a/bsp/swm320/project.uvprojx b/bsp/swm320/project.uvprojx index 631dcb623f..ee4deb20e5 100644 --- a/bsp/swm320/project.uvprojx +++ b/bsp/swm320/project.uvprojx @@ -395,13 +395,6 @@ ..\..\libcpu\arm\common\div0.c - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c - - showmem.c @@ -411,9 +404,9 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m4\context_rvds.S + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c @@ -423,6 +416,13 @@ ..\..\libcpu\arm\cortex-m4\cpuport.c + + + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m4\context_rvds.S + + DeviceDrivers @@ -442,30 +442,9 @@ - completion.c + dataqueue.c 1 - ..\..\components\drivers\src\completion.c - - - - - waitqueue.c - 1 - ..\..\components\drivers\src\waitqueue.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\dataqueue.c @@ -484,9 +463,30 @@ - dataqueue.c + waitqueue.c 1 - ..\..\components\drivers\src\dataqueue.c + ..\..\components\drivers\src\waitqueue.c + + + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c @@ -540,13 +540,6 @@ Kernel - - - mempool.c - 1 - ..\..\src\mempool.c - - object.c @@ -554,27 +547,6 @@ ..\..\src\object.c - - - components.c - 1 - ..\..\src\components.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - device.c - 1 - ..\..\src\device.c - - kservice.c @@ -582,6 +554,27 @@ ..\..\src\kservice.c + + + timer.c + 1 + ..\..\src\timer.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + idle.c + 1 + ..\..\src\idle.c + + scheduler.c @@ -596,13 +589,6 @@ ..\..\src\irq.c - - - timer.c - 1 - ..\..\src\timer.c - - memheap.c @@ -612,9 +598,9 @@ - clock.c + thread.c 1 - ..\..\src\clock.c + ..\..\src\thread.c @@ -626,9 +612,23 @@ - idle.c + device.c 1 - ..\..\src\idle.c + ..\..\src\device.c + + + + + mempool.c + 1 + ..\..\src\mempool.c + + + + + components.c + 1 + ..\..\src\components.c @@ -636,16 +636,16 @@ libc - libc.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\libc.c + ..\..\components\libc\compilers\armlibc\syscalls.c - syscalls.c + libc.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\libc.c @@ -657,56 +657,21 @@ - stdlib.c + time.c 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\common\time.c - time.c + stdlib.c 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\common\stdlib.c Libraries - - - SWM320_sdio.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c - - - - - SWM320_sdram.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c - - - - - SWM320_wdt.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c - - - - - SWM320_lcd.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c - - - - - SWM320_crc.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_crc.c - - SWM320_gpio.c @@ -714,97 +679,6 @@ libraries\SWM320_StdPeriph_Driver\SWM320_gpio.c - - - SWM320_norflash.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c - - - - - SWM320_can.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_can.c - - - - - SWM320_spi.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_spi.c - - - - - system_SWM320.c - 1 - libraries\CMSIS\DeviceSupport\system_SWM320.c - - - - - SWM320_flash.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_flash.c - - - - - SWM320_timr.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_timr.c - - - - - SWM320_adc.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_adc.c - - - - - SWM320_i2c.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c - - - - - startup_SWM320.s - 2 - libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s - - - - - SWM320_exti.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_exti.c - - - - - SWM320_rtc.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c - - - - - SWM320_uart.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_uart.c - - - - - SWM320_pwm.c - 1 - libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c - - SWM320_port.c @@ -814,9 +688,44 @@ - SWM320_dma.c + SWM320_sdram.c 1 - libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + libraries\SWM320_StdPeriph_Driver\SWM320_sdram.c + + + + + SWM320_lcd.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_lcd.c + + + + + SWM320_adc.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_adc.c + + + + + SWM320_norflash.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_norflash.c + + + + + SWM320_crc.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_crc.c + + + + + SWM320_uart.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_uart.c @@ -826,6 +735,97 @@ libraries\SWM320_StdPeriph_Driver\SWM320_sram.c + + + SWM320_dma.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_dma.c + + + + + system_SWM320.c + 1 + libraries\CMSIS\DeviceSupport\system_SWM320.c + + + + + SWM320_sdio.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_sdio.c + + + + + SWM320_can.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_can.c + + + + + SWM320_wdt.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_wdt.c + + + + + SWM320_pwm.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_pwm.c + + + + + startup_SWM320.s + 2 + libraries\CMSIS\DeviceSupport\startup\arm\startup_SWM320.s + + + + + SWM320_rtc.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_rtc.c + + + + + SWM320_exti.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_exti.c + + + + + SWM320_flash.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_flash.c + + + + + SWM320_i2c.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_i2c.c + + + + + SWM320_timr.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_timr.c + + + + + SWM320_spi.c + 1 + libraries\SWM320_StdPeriph_Driver\SWM320_spi.c + + diff --git a/bsp/swm320/rtconfig.h b/bsp/swm320/rtconfig.h index 680749302a..d8c58190a2 100644 --- a/bsp/swm320/rtconfig.h +++ b/bsp/swm320/rtconfig.h @@ -170,14 +170,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -186,10 +189,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/tae32f5300/.config b/bsp/tae32f5300/.config index c957137af2..6b8a6070d6 100644 --- a/bsp/tae32f5300/.config +++ b/bsp/tae32f5300/.config @@ -335,6 +335,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -359,17 +360,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -382,11 +390,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -430,12 +438,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -445,6 +461,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -464,7 +488,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -481,7 +504,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -489,6 +511,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -565,6 +588,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/tae32f5300/project.uvprojx b/bsp/tae32f5300/project.uvprojx index 2d6fbf8ae2..be0281e797 100644 --- a/bsp/tae32f5300/project.uvprojx +++ b/bsp/tae32f5300/project.uvprojx @@ -404,16 +404,16 @@ CPU - backtrace.c + showmem.c 1 - ..\..\libcpu\arm\common\backtrace.c + ..\..\libcpu\arm\common\showmem.c - showmem.c + backtrace.c 1 - ..\..\libcpu\arm\common\showmem.c + ..\..\libcpu\arm\common\backtrace.c @@ -477,16 +477,9 @@ - dataqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\dataqueue.c - - - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\ringblk_buf.c @@ -498,16 +491,9 @@ - workqueue.c + dataqueue.c 1 - ..\..\components\drivers\src\workqueue.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\dataqueue.c @@ -517,6 +503,20 @@ ..\..\components\drivers\src\waitqueue.c + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + pipe.c @@ -582,27 +582,6 @@ ..\..\src\device.c - - - timer.c - 1 - ..\..\src\timer.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - clock.c - 1 - ..\..\src\clock.c - - components.c @@ -612,37 +591,9 @@ - thread.c + timer.c 1 - ..\..\src\thread.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - kservice.c - 1 - ..\..\src\kservice.c - - - - - idle.c - 1 - ..\..\src\idle.c - - - - - object.c - 1 - ..\..\src\object.c + ..\..\src\timer.c @@ -652,6 +603,13 @@ ..\..\src\mempool.c + + + clock.c + 1 + ..\..\src\clock.c + + irq.c @@ -659,21 +617,63 @@ ..\..\src\irq.c + + + idle.c + 1 + ..\..\src\idle.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + object.c + 1 + ..\..\src\object.c + + + + + thread.c + 1 + ..\..\src\thread.c + + + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + libc - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\syscalls.c - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -685,16 +685,16 @@ - time.c + stdlib.c 1 - ..\..\components\libc\compilers\common\time.c + ..\..\components\libc\compilers\common\stdlib.c - stdlib.c + time.c 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\common\time.c diff --git a/bsp/tae32f5300/rtconfig.h b/bsp/tae32f5300/rtconfig.h index 966c232d1e..cec7493d9b 100644 --- a/bsp/tae32f5300/rtconfig.h +++ b/bsp/tae32f5300/rtconfig.h @@ -172,14 +172,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -188,10 +191,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/thead-smart/.config b/bsp/thead-smart/.config index 0c203fa4cc..4f84fd2df4 100644 --- a/bsp/thead-smart/.config +++ b/bsp/thead-smart/.config @@ -315,6 +315,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -339,17 +340,24 @@ CONFIG_RT_USING_PIN=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -362,11 +370,11 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -410,12 +418,20 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -425,6 +441,14 @@ CONFIG_RT_USING_PIN=y # 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_5_AUX 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 # @@ -444,7 +468,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -461,7 +484,6 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -469,6 +491,7 @@ CONFIG_RT_USING_PIN=y # 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 # @@ -546,6 +569,7 @@ CONFIG_RT_USING_PIN=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/thead-smart/rtconfig.h b/bsp/thead-smart/rtconfig.h index 6948c3933f..29c990b55f 100644 --- a/bsp/thead-smart/rtconfig.h +++ b/bsp/thead-smart/rtconfig.h @@ -164,14 +164,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -180,10 +183,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/tm4c123bsp/.config b/bsp/tm4c123bsp/.config index 3ccf69f96e..d51e879825 100644 --- a/bsp/tm4c123bsp/.config +++ b/bsp/tm4c123bsp/.config @@ -332,6 +332,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -356,17 +357,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -379,11 +387,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -427,12 +435,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -442,6 +458,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -461,7 +485,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -478,7 +501,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -486,6 +508,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -562,6 +585,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/tm4c123bsp/project.ewp b/bsp/tm4c123bsp/project.ewp index 4bb4d422f0..a8a7007784 100644 --- a/bsp/tm4c123bsp/project.ewp +++ b/bsp/tm4c123bsp/project.ewp @@ -2084,10 +2084,10 @@ $PROJ_DIR$\..\..\libcpu\arm\common\div0.c - $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c + $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -2116,27 +2116,27 @@ $PROJ_DIR$\..\..\components\drivers\spi\spi_dev.c + + $PROJ_DIR$\..\..\components\drivers\src\pipe.c + $PROJ_DIR$\..\..\components\drivers\src\completion.c - - $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c - - $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - - - $PROJ_DIR$\..\..\components\drivers\src\pipe.c - $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + + $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c + + + $PROJ_DIR$\..\..\components\drivers\src\workqueue.c + Drivers @@ -2150,10 +2150,10 @@ $PROJ_DIR$\board\board.c - $PROJ_DIR$\libraries\Drivers\drv_adc.c + $PROJ_DIR$\libraries\Drivers\drv_gpio.c - $PROJ_DIR$\libraries\Drivers\drv_gpio.c + $PROJ_DIR$\libraries\Drivers\drv_adc.c $PROJ_DIR$\libraries\Drivers\drv_uart.c @@ -2179,68 +2179,59 @@ Kernel - - $PROJ_DIR$\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\src\clock.c - $PROJ_DIR$\..\..\src\irq.c - - $PROJ_DIR$\..\..\src\thread.c - - - $PROJ_DIR$\..\..\src\timer.c - - - $PROJ_DIR$\..\..\src\mem.c - - - $PROJ_DIR$\..\..\src\device.c - - - $PROJ_DIR$\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\mempool.c - $PROJ_DIR$\..\..\src\scheduler.c $PROJ_DIR$\..\..\src\components.c + + $PROJ_DIR$\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\src\mempool.c + + + $PROJ_DIR$\..\..\src\mem.c + + + $PROJ_DIR$\..\..\src\timer.c + + + $PROJ_DIR$\..\..\src\clock.c + + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\device.c + + + $PROJ_DIR$\..\..\src\ipc.c + $PROJ_DIR$\..\..\src\idle.c + + $PROJ_DIR$\..\..\src\thread.c + libc - - $PROJ_DIR$\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c + $PROJ_DIR$\..\..\components\libc\compilers\common\time.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c @@ -2249,16 +2240,25 @@ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c diff --git a/bsp/tm4c123bsp/project.uvproj b/bsp/tm4c123bsp/project.uvproj index a769100f67..ca0e0cffe6 100644 --- a/bsp/tm4c123bsp/project.uvproj +++ b/bsp/tm4c123bsp/project.uvproj @@ -411,13 +411,6 @@ CPU - - - backtrace.c - 1 - ..\..\libcpu\arm\common\backtrace.c - - div0.c @@ -432,6 +425,13 @@ ..\..\libcpu\arm\common\showmem.c + + + backtrace.c + 1 + ..\..\libcpu\arm\common\backtrace.c + + cpuport.c @@ -493,30 +493,9 @@ - completion.c + waitqueue.c 1 - ..\..\components\drivers\src\completion.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c - - - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\waitqueue.c @@ -535,9 +514,30 @@ - waitqueue.c + ringblk_buf.c 1 - ..\..\components\drivers\src\waitqueue.c + ..\..\components\drivers\src\ringblk_buf.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c @@ -640,30 +640,9 @@ Kernel - object.c + scheduler.c 1 - ..\..\src\object.c - - - - - irq.c - 1 - ..\..\src\irq.c - - - - - clock.c - 1 - ..\..\src\clock.c - - - - - device.c - 1 - ..\..\src\device.c + ..\..\src\scheduler.c @@ -675,23 +654,9 @@ - scheduler.c + idle.c 1 - ..\..\src\scheduler.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - kservice.c - 1 - ..\..\src\kservice.c + ..\..\src\idle.c @@ -703,16 +668,23 @@ - components.c + device.c 1 - ..\..\src\components.c + ..\..\src\device.c - idle.c + object.c 1 - ..\..\src\idle.c + ..\..\src\object.c + + + + + components.c + 1 + ..\..\src\components.c @@ -722,6 +694,27 @@ ..\..\src\mempool.c + + + thread.c + 1 + ..\..\src\thread.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + kservice.c + 1 + ..\..\src\kservice.c + + timer.c @@ -729,14 +722,21 @@ ..\..\src\timer.c + + + clock.c + 1 + ..\..\src\clock.c + + libc - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -748,9 +748,9 @@ - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c + ..\..\components\libc\compilers\armlibc\mem_std.c diff --git a/bsp/tm4c123bsp/project.uvprojx b/bsp/tm4c123bsp/project.uvprojx index 15c44f0b5c..d72f914c6f 100644 --- a/bsp/tm4c123bsp/project.uvprojx +++ b/bsp/tm4c123bsp/project.uvprojx @@ -422,6 +422,13 @@ CPU + + + showmem.c + 1 + ..\..\libcpu\arm\common\showmem.c + + backtrace.c @@ -436,13 +443,6 @@ ..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\libcpu\arm\common\showmem.c - - cpuport.c @@ -504,30 +504,9 @@ - workqueue.c + ringbuffer.c 1 - ..\..\components\drivers\src\workqueue.c - - - - - pipe.c - 1 - ..\..\components\drivers\src\pipe.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - - - - ringblk_buf.c - 1 - ..\..\components\drivers\src\ringblk_buf.c + ..\..\components\drivers\src\ringbuffer.c @@ -539,16 +518,37 @@ - completion.c + pipe.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\pipe.c - ringbuffer.c + ringblk_buf.c 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\ringblk_buf.c + + + + + dataqueue.c + 1 + ..\..\components\drivers\src\dataqueue.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + completion.c + 1 + ..\..\components\drivers\src\completion.c @@ -594,6 +594,13 @@ libraries\Drivers\drv_gpio.c + + + drv_adc.c + 1 + libraries\Drivers\drv_adc.c + + drv_uart.c @@ -608,13 +615,6 @@ libraries\Drivers\drv_pwm.c - - - drv_adc.c - 1 - libraries\Drivers\drv_adc.c - - drv_spi.c @@ -649,55 +649,6 @@ Kernel - - - device.c - 1 - ..\..\src\device.c - - - - - mem.c - 1 - ..\..\src\mem.c - - - - - mempool.c - 1 - ..\..\src\mempool.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - ipc.c - 1 - ..\..\src\ipc.c - - - - - thread.c - 1 - ..\..\src\thread.c - - - - - irq.c - 1 - ..\..\src\irq.c - - kservice.c @@ -714,9 +665,9 @@ - components.c + mempool.c 1 - ..\..\src\components.c + ..\..\src\mempool.c @@ -728,9 +679,9 @@ - clock.c + ipc.c 1 - ..\..\src\clock.c + ..\..\src\ipc.c @@ -740,6 +691,55 @@ ..\..\src\timer.c + + + thread.c + 1 + ..\..\src\thread.c + + + + + components.c + 1 + ..\..\src\components.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + mem.c + 1 + ..\..\src\mem.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + clock.c + 1 + ..\..\src\clock.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + libc @@ -750,13 +750,6 @@ ..\..\components\libc\compilers\armlibc\syscalls.c - - - mem_std.c - 1 - ..\..\components\libc\compilers\armlibc\mem_std.c - - libc.c @@ -766,9 +759,9 @@ - stdlib.c + mem_std.c 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -778,6 +771,13 @@ ..\..\components\libc\compilers\common\time.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + Libraries diff --git a/bsp/tm4c123bsp/rtconfig.h b/bsp/tm4c123bsp/rtconfig.h index 8e7afa57c5..6b561d708c 100644 --- a/bsp/tm4c123bsp/rtconfig.h +++ b/bsp/tm4c123bsp/rtconfig.h @@ -173,14 +173,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -189,10 +192,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/tm4c129x/.config b/bsp/tm4c129x/.config index ea49e07f90..f385a9cb8d 100644 --- a/bsp/tm4c129x/.config +++ b/bsp/tm4c129x/.config @@ -384,6 +384,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -408,17 +409,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -431,11 +439,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -479,12 +487,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -494,6 +510,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -513,7 +537,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -530,7 +553,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -538,6 +560,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -614,6 +637,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/tm4c129x/project.ewp b/bsp/tm4c129x/project.ewp index 7eb10c12e3..3a418ead64 100644 --- a/bsp/tm4c129x/project.ewp +++ b/bsp/tm4c129x/project.ewp @@ -1939,15 +1939,15 @@ CPU - - $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c - $PROJ_DIR$\..\..\libcpu\arm\common\showmem.c $PROJ_DIR$\..\..\libcpu\arm\common\div0.c + + $PROJ_DIR$\..\..\libcpu\arm\common\backtrace.c + $PROJ_DIR$\..\..\libcpu\arm\cortex-m4\context_iar.S @@ -1964,10 +1964,10 @@ $PROJ_DIR$\..\..\components\drivers\src\ringblk_buf.c - $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c + $PROJ_DIR$\..\..\components\drivers\src\completion.c - $PROJ_DIR$\..\..\components\drivers\src\completion.c + $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c $PROJ_DIR$\..\..\components\drivers\src\waitqueue.c @@ -1976,7 +1976,7 @@ $PROJ_DIR$\..\..\components\drivers\src\workqueue.c - $PROJ_DIR$\..\..\components\drivers\src\ringbuffer.c + $PROJ_DIR$\..\..\components\drivers\src\dataqueue.c $PROJ_DIR$\..\..\components\drivers\src\pipe.c @@ -1985,10 +1985,10 @@ Drivers - $PROJ_DIR$\drivers\drv_uart.c + $PROJ_DIR$\drivers\drv_eth.c - $PROJ_DIR$\drivers\drv_eth.c + $PROJ_DIR$\drivers\drv_uart.c @@ -2005,48 +2005,48 @@ Kernel - - $PROJ_DIR$\..\..\src\object.c - - - $PROJ_DIR$\..\..\src\irq.c - - - $PROJ_DIR$\..\..\src\ipc.c - - - $PROJ_DIR$\..\..\src\idle.c - - - $PROJ_DIR$\..\..\src\clock.c - - - $PROJ_DIR$\..\..\src\scheduler.c - - - $PROJ_DIR$\..\..\src\kservice.c - - - $PROJ_DIR$\..\..\src\thread.c - - - $PROJ_DIR$\..\..\src\timer.c - $PROJ_DIR$\..\..\src\mem.c - - $PROJ_DIR$\..\..\src\components.c - - - $PROJ_DIR$\..\..\src\device.c - $PROJ_DIR$\..\..\src\memheap.c $PROJ_DIR$\..\..\src\mempool.c + + $PROJ_DIR$\..\..\src\thread.c + + + $PROJ_DIR$\..\..\src\device.c + + + $PROJ_DIR$\..\..\src\clock.c + + + $PROJ_DIR$\..\..\src\ipc.c + + + $PROJ_DIR$\..\..\src\components.c + + + $PROJ_DIR$\..\..\src\irq.c + + + $PROJ_DIR$\..\..\src\timer.c + + + $PROJ_DIR$\..\..\src\object.c + + + $PROJ_DIR$\..\..\src\kservice.c + + + $PROJ_DIR$\..\..\src\idle.c + + + $PROJ_DIR$\..\..\src\scheduler.c + libc @@ -2057,19 +2057,10 @@ $PROJ_DIR$\..\..\components\libc\compilers\common\stdlib.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c $PROJ_DIR$\..\..\components\libc\compilers\dlib\libc.c @@ -2077,77 +2068,65 @@ $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_mem.c - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_lseek.c - - - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_open.c - $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_remove.c + $PROJ_DIR$\..\..\components\libc\compilers\dlib\stdio.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscalls.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\environ.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_write.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_close.c + + + $PROJ_DIR$\..\..\components\libc\compilers\dlib\syscall_read.c Libraries - $PROJ_DIR$\libraries\driverlib\comp.c + $PROJ_DIR$\libraries\driverlib\qei.c - $PROJ_DIR$\libraries\driverlib\lcd.c - - - $PROJ_DIR$\libraries\driverlib\fpu.c - - - $PROJ_DIR$\libraries\driverlib\shamd5.c + $PROJ_DIR$\libraries\driverlib\sysexc.c $PROJ_DIR$\libraries\driverlib\des.c - - $PROJ_DIR$\libraries\driverlib\hibernate.c - - - $PROJ_DIR$\libraries\driverlib\can.c - $PROJ_DIR$\libraries\driverlib\flash.c - $PROJ_DIR$\libraries\driverlib\tiva_timer.c - - - $PROJ_DIR$\libraries\driverlib\interrupt.c - - - $PROJ_DIR$\libraries\driverlib\crc.c + $PROJ_DIR$\libraries\driverlib\shamd5.c $PROJ_DIR$\libraries\driverlib\adc.c - $PROJ_DIR$\libraries\driverlib\ssi.c + $PROJ_DIR$\libraries\driverlib\tiva_timer.c - $PROJ_DIR$\libraries\driverlib\watchdog.c + $PROJ_DIR$\libraries\driverlib\can.c - $PROJ_DIR$\libraries\driverlib\aes.c + $PROJ_DIR$\libraries\driverlib\cpu.c - $PROJ_DIR$\libraries\driverlib\qei.c + $PROJ_DIR$\libraries\driverlib\interrupt.c - $PROJ_DIR$\libraries\driverlib\pwm.c + $PROJ_DIR$\libraries\driverlib\sw_crc.c - $PROJ_DIR$\libraries\driverlib\i2c.c - - - $PROJ_DIR$\libraries\driverlib\epi.c + $PROJ_DIR$\libraries\driverlib\systick.c $PROJ_DIR$\libraries\driverlib\mpu.c @@ -2156,40 +2135,61 @@ $PROJ_DIR$\libraries\driverlib\usb.c - $PROJ_DIR$\libraries\driverlib\eeprom.c - - - $PROJ_DIR$\libraries\driverlib\sw_crc.c - - - $PROJ_DIR$\libraries\driverlib\onewire.c - - - $PROJ_DIR$\libraries\driverlib\udma.c - - - $PROJ_DIR$\libraries\driverlib\systick.c - - - $PROJ_DIR$\libraries\startup\startup_ewarm.c - - - $PROJ_DIR$\libraries\driverlib\uart.c + $PROJ_DIR$\libraries\driverlib\epi.c $PROJ_DIR$\libraries\driverlib\emac.c - $PROJ_DIR$\libraries\driverlib\sysexc.c + $PROJ_DIR$\libraries\driverlib\i2c.c + + + $PROJ_DIR$\libraries\driverlib\watchdog.c + + + $PROJ_DIR$\libraries\driverlib\lcd.c + + + $PROJ_DIR$\libraries\driverlib\uart.c + + + $PROJ_DIR$\libraries\driverlib\comp.c + + + $PROJ_DIR$\libraries\driverlib\pwm.c $PROJ_DIR$\libraries\driverlib\sysctl.c + + $PROJ_DIR$\libraries\startup\startup_ewarm.c + + + $PROJ_DIR$\libraries\driverlib\ssi.c + $PROJ_DIR$\libraries\driverlib\gpio.c - $PROJ_DIR$\libraries\driverlib\cpu.c + $PROJ_DIR$\libraries\driverlib\fpu.c + + + $PROJ_DIR$\libraries\driverlib\eeprom.c + + + $PROJ_DIR$\libraries\driverlib\crc.c + + + $PROJ_DIR$\libraries\driverlib\hibernate.c + + + $PROJ_DIR$\libraries\driverlib\udma.c + + + $PROJ_DIR$\libraries\driverlib\onewire.c + + + $PROJ_DIR$\libraries\driverlib\aes.c @@ -2236,15 +2236,15 @@ $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\netif\slipif.c + + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\apps\ping\ping.c + $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\memp.c $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\ipv4\ip_addr.c - - $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\apps\ping\ping.c - $PROJ_DIR$\..\..\components\net\lwip-1.4.1\src\core\dhcp.c diff --git a/bsp/tm4c129x/project.uvproj b/bsp/tm4c129x/project.uvproj index 564530f253..e63facc7fe 100644 --- a/bsp/tm4c129x/project.uvproj +++ b/bsp/tm4c129x/project.uvproj @@ -467,13 +467,6 @@ ..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\components\drivers\src\completion.c - - ringblk_buf.c @@ -483,9 +476,23 @@ - pipe.c + completion.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\completion.c + + + + + workqueue.c + 1 + ..\..\components\drivers\src\workqueue.c + + + + + ringbuffer.c + 1 + ..\..\components\drivers\src\ringbuffer.c @@ -504,16 +511,9 @@ - ringbuffer.c + pipe.c 1 - ..\..\components\drivers\src\ringbuffer.c - - - - - workqueue.c - 1 - ..\..\components\drivers\src\workqueue.c + ..\..\components\drivers\src\pipe.c @@ -562,16 +562,30 @@ Kernel - device.c + components.c 1 - ..\..\src\device.c + ..\..\src\components.c - object.c + mem.c 1 - ..\..\src\object.c + ..\..\src\mem.c + + + + + irq.c + 1 + ..\..\src\irq.c + + + + + timer.c + 1 + ..\..\src\timer.c @@ -583,9 +597,16 @@ - irq.c + object.c 1 - ..\..\src\irq.c + ..\..\src\object.c + + + + + idle.c + 1 + ..\..\src\idle.c @@ -609,6 +630,13 @@ ..\..\src\scheduler.c + + + device.c + 1 + ..\..\src\device.c + + kservice.c @@ -623,13 +651,6 @@ ..\..\src\mempool.c - - - components.c - 1 - ..\..\src\components.c - - memheap.c @@ -637,35 +658,14 @@ ..\..\src\memheap.c - - - mem.c - 1 - ..\..\src\mem.c - - - - - timer.c - 1 - ..\..\src\timer.c - - - - - idle.c - 1 - ..\..\src\idle.c - - libc - mem_std.c + syscalls.c 1 - ..\..\components\libc\compilers\armlibc\mem_std.c + ..\..\components\libc\compilers\armlibc\syscalls.c @@ -677,16 +677,9 @@ - syscalls.c + mem_std.c 1 - ..\..\components\libc\compilers\armlibc\syscalls.c - - - - - stdlib.c - 1 - ..\..\components\libc\compilers\common\stdlib.c + ..\..\components\libc\compilers\armlibc\mem_std.c @@ -696,21 +689,21 @@ ..\..\components\libc\compilers\common\time.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + Libraries - shamd5.c + interrupt.c 1 - libraries\driverlib\shamd5.c - - - - - fpu.c - 1 - libraries\driverlib\fpu.c + libraries\driverlib\interrupt.c @@ -720,181 +713,6 @@ libraries\startup\startup_rvmdk.S - - - can.c - 1 - libraries\driverlib\can.c - - - - - gpio.c - 1 - libraries\driverlib\gpio.c - - - - - epi.c - 1 - libraries\driverlib\epi.c - - - - - sysctl.c - 1 - libraries\driverlib\sysctl.c - - - - - watchdog.c - 1 - libraries\driverlib\watchdog.c - - - - - i2c.c - 1 - libraries\driverlib\i2c.c - - - - - ssi.c - 1 - libraries\driverlib\ssi.c - - - - - cpu.c - 1 - libraries\driverlib\cpu.c - - - - - interrupt.c - 1 - libraries\driverlib\interrupt.c - - - - - uart.c - 1 - libraries\driverlib\uart.c - - - - - mpu.c - 1 - libraries\driverlib\mpu.c - - - - - tiva_timer.c - 1 - libraries\driverlib\tiva_timer.c - - - - - udma.c - 1 - libraries\driverlib\udma.c - - - - - adc.c - 1 - libraries\driverlib\adc.c - - - - - emac.c - 1 - libraries\driverlib\emac.c - - - - - eeprom.c - 1 - libraries\driverlib\eeprom.c - - - - - usb.c - 1 - libraries\driverlib\usb.c - - - - - onewire.c - 1 - libraries\driverlib\onewire.c - - - - - pwm.c - 1 - libraries\driverlib\pwm.c - - - - - comp.c - 1 - libraries\driverlib\comp.c - - - - - des.c - 1 - libraries\driverlib\des.c - - - - - qei.c - 1 - libraries\driverlib\qei.c - - - - - crc.c - 1 - libraries\driverlib\crc.c - - - - - sw_crc.c - 1 - libraries\driverlib\sw_crc.c - - - - - hibernate.c - 1 - libraries\driverlib\hibernate.c - - systick.c @@ -902,20 +720,6 @@ libraries\driverlib\systick.c - - - flash.c - 1 - libraries\driverlib\flash.c - - - - - lcd.c - 1 - libraries\driverlib\lcd.c - - aes.c @@ -923,6 +727,104 @@ libraries\driverlib\aes.c + + + qei.c + 1 + libraries\driverlib\qei.c + + + + + gpio.c + 1 + libraries\driverlib\gpio.c + + + + + adc.c + 1 + libraries\driverlib\adc.c + + + + + hibernate.c + 1 + libraries\driverlib\hibernate.c + + + + + des.c + 1 + libraries\driverlib\des.c + + + + + fpu.c + 1 + libraries\driverlib\fpu.c + + + + + mpu.c + 1 + libraries\driverlib\mpu.c + + + + + flash.c + 1 + libraries\driverlib\flash.c + + + + + sw_crc.c + 1 + libraries\driverlib\sw_crc.c + + + + + uart.c + 1 + libraries\driverlib\uart.c + + + + + emac.c + 1 + libraries\driverlib\emac.c + + + + + ssi.c + 1 + libraries\driverlib\ssi.c + + + + + lcd.c + 1 + libraries\driverlib\lcd.c + + + + + watchdog.c + 1 + libraries\driverlib\watchdog.c + + sysexc.c @@ -930,16 +832,107 @@ libraries\driverlib\sysexc.c + + + i2c.c + 1 + libraries\driverlib\i2c.c + + + + + tiva_timer.c + 1 + libraries\driverlib\tiva_timer.c + + + + + epi.c + 1 + libraries\driverlib\epi.c + + + + + onewire.c + 1 + libraries\driverlib\onewire.c + + + + + shamd5.c + 1 + libraries\driverlib\shamd5.c + + + + + comp.c + 1 + libraries\driverlib\comp.c + + + + + usb.c + 1 + libraries\driverlib\usb.c + + + + + crc.c + 1 + libraries\driverlib\crc.c + + + + + pwm.c + 1 + libraries\driverlib\pwm.c + + + + + udma.c + 1 + libraries\driverlib\udma.c + + + + + eeprom.c + 1 + libraries\driverlib\eeprom.c + + + + + can.c + 1 + libraries\driverlib\can.c + + + + + cpu.c + 1 + libraries\driverlib\cpu.c + + + + + sysctl.c + 1 + libraries\driverlib\sysctl.c + + lwIP - - - ping.c - 1 - ..\..\components\net\lwip-1.4.1\src\apps\ping\ping.c - - etharp.c @@ -1080,6 +1073,13 @@ ..\..\components\net\lwip-1.4.1\src\core\tcp_out.c + + + ping.c + 1 + ..\..\components\net\lwip-1.4.1\src\apps\ping\ping.c + + icmp.c diff --git a/bsp/tm4c129x/rtconfig.h b/bsp/tm4c129x/rtconfig.h index f862831992..45c05db6a5 100644 --- a/bsp/tm4c129x/rtconfig.h +++ b/bsp/tm4c129x/rtconfig.h @@ -210,14 +210,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -226,10 +229,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/w60x/.config b/bsp/w60x/.config index 0aa8cb2e30..ca04790ce0 100644 --- a/bsp/w60x/.config +++ b/bsp/w60x/.config @@ -528,6 +528,7 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -552,17 +553,24 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -575,11 +583,11 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -623,12 +631,20 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -638,6 +654,14 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # 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_5_AUX 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 # @@ -657,7 +681,6 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -674,7 +697,6 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -682,6 +704,7 @@ CONFIG_PKG_NETUTILS_VER_NUM=0x10301 # 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 # @@ -762,6 +785,7 @@ CONFIG_PKG_WM_LIBRARIES_VER="latest" # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/w60x/project.uvprojx b/bsp/w60x/project.uvprojx index 09384c314b..d18ca1c731 100644 --- a/bsp/w60x/project.uvprojx +++ b/bsp/w60x/project.uvprojx @@ -411,16 +411,16 @@ - context_rvds.S - 2 - ..\..\libcpu\arm\cortex-m3\context_rvds.S + cpuport.c + 1 + ..\..\libcpu\arm\cortex-m3\cpuport.c - cpuport.c - 1 - ..\..\libcpu\arm\cortex-m3\cpuport.c + context_rvds.S + 2 + ..\..\libcpu\arm\cortex-m3\context_rvds.S @@ -547,23 +547,9 @@ - ringblk_buf.c + completion.c 1 - ..\..\components\drivers\src\ringblk_buf.c - - - - - dataqueue.c - 1 - ..\..\components\drivers\src\dataqueue.c - - - - - ringbuffer.c - 1 - ..\..\components\drivers\src\ringbuffer.c + ..\..\components\drivers\src\completion.c @@ -573,6 +559,20 @@ ..\..\components\drivers\src\waitqueue.c + + + pipe.c + 1 + ..\..\components\drivers\src\pipe.c + + + + + ringblk_buf.c + 1 + ..\..\components\drivers\src\ringblk_buf.c + + workqueue.c @@ -582,16 +582,16 @@ - completion.c + ringbuffer.c 1 - ..\..\components\drivers\src\completion.c + ..\..\components\drivers\src\ringbuffer.c - pipe.c + dataqueue.c 1 - ..\..\components\drivers\src\pipe.c + ..\..\components\drivers\src\dataqueue.c @@ -795,37 +795,9 @@ Kernel - thread.c + clock.c 1 - ..\..\src\thread.c - - - - - device.c - 1 - ..\..\src\device.c - - - - - scheduler.c - 1 - ..\..\src\scheduler.c - - - - - components.c - 1 - ..\..\src\components.c - - - - - kservice.c - 1 - ..\..\src\kservice.c + ..\..\src\clock.c @@ -835,6 +807,20 @@ ..\..\src\mem.c + + + ipc.c + 1 + ..\..\src\ipc.c + + + + + scheduler.c + 1 + ..\..\src\scheduler.c + + mempool.c @@ -851,16 +837,9 @@ - clock.c + thread.c 1 - ..\..\src\clock.c - - - - - ipc.c - 1 - ..\..\src\ipc.c + ..\..\src\thread.c @@ -877,6 +856,27 @@ ..\..\src\idle.c + + + kservice.c + 1 + ..\..\src\kservice.c + + + + + device.c + 1 + ..\..\src\device.c + + + + + components.c + 1 + ..\..\src\components.c + + object.c @@ -887,6 +887,20 @@ libc + + + libc.c + 1 + ..\..\components\libc\compilers\armlibc\libc.c + + + + + stdio.c + 1 + ..\..\components\libc\compilers\armlibc\stdio.c + + syscalls.c @@ -901,27 +915,6 @@ ..\..\components\libc\compilers\armlibc\mem_std.c - - - stdio.c - 1 - ..\..\components\libc\compilers\armlibc\stdio.c - - - - - libc.c - 1 - ..\..\components\libc\compilers\armlibc\libc.c - - - - - stdlib.c - 1 - ..\..\components\libc\compilers\common\stdlib.c - - delay.c @@ -943,6 +936,13 @@ ..\..\components\libc\compilers\common\time.c + + + stdlib.c + 1 + ..\..\components\libc\compilers\common\stdlib.c + + lwIP @@ -1051,13 +1051,6 @@ ..\..\components\net\lwip-2.0.2\src\core\memp.c - - - ping.c - 1 - ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c - - ip4.c @@ -1114,6 +1107,13 @@ ..\..\components\net\lwip-2.0.2\src\api\api_lib.c + + + ping.c + 1 + ..\..\components\net\lwip-2.0.2\src\apps\ping\ping.c + + inet_chksum.c @@ -1227,16 +1227,16 @@ SAL - netdev_ipaddr.c + netdev.c 1 - ..\..\components\net\netdev\src\netdev_ipaddr.c + ..\..\components\net\netdev\src\netdev.c - netdev.c + netdev_ipaddr.c 1 - ..\..\components\net\netdev\src\netdev.c + ..\..\components\net\netdev\src\netdev_ipaddr.c diff --git a/bsp/w60x/rtconfig.h b/bsp/w60x/rtconfig.h index ebb8a0e84d..bb49036b6e 100644 --- a/bsp/w60x/rtconfig.h +++ b/bsp/w60x/rtconfig.h @@ -315,14 +315,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -331,10 +334,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/wch/arm/ch32f103c8-core/.config b/bsp/wch/arm/ch32f103c8-core/.config index cae3fc0a76..4a95ad0b17 100644 --- a/bsp/wch/arm/ch32f103c8-core/.config +++ b/bsp/wch/arm/ch32f103c8-core/.config @@ -340,6 +340,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -364,17 +365,24 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -387,11 +395,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -435,12 +443,20 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -450,6 +466,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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_5_AUX 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 # @@ -469,7 +493,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -486,7 +509,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -494,6 +516,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 # @@ -570,6 +593,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/wch/arm/ch32f103c8-core/project.uvprojx b/bsp/wch/arm/ch32f103c8-core/project.uvprojx index 4e18a9642e..e8b709b4b6 100644 --- a/bsp/wch/arm/ch32f103c8-core/project.uvprojx +++ b/bsp/wch/arm/ch32f103c8-core/project.uvprojx @@ -533,9 +533,9 @@ CPU - showmem.c + backtrace.c 1 - ..\..\..\..\libcpu\arm\common\showmem.c + ..\..\..\..\libcpu\arm\common\backtrace.c @@ -547,16 +547,9 @@ - backtrace.c + showmem.c 1 - ..\..\..\..\libcpu\arm\common\backtrace.c - - - - - cpuport.c - 1 - ..\..\..\..\libcpu\arm\cortex-m3\cpuport.c + ..\..\..\..\libcpu\arm\common\showmem.c @@ -566,6 +559,13 @@ ..\..\..\..\libcpu\arm\cortex-m3\context_rvds.S + + + cpuport.c + 1 + ..\..\..\..\libcpu\arm\cortex-m3\cpuport.c + + DeviceDrivers @@ -618,6 +618,13 @@ ..\..\..\..\components\drivers\spi\spi_dev.c + + + ringbuffer.c + 1 + ..\..\..\..\components\drivers\src\ringbuffer.c + + pipe.c @@ -627,16 +634,9 @@ - workqueue.c + completion.c 1 - ..\..\..\..\components\drivers\src\workqueue.c - - - - - ringbuffer.c - 1 - ..\..\..\..\components\drivers\src\ringbuffer.c + ..\..\..\..\components\drivers\src\completion.c @@ -648,16 +648,16 @@ - dataqueue.c + workqueue.c 1 - ..\..\..\..\components\drivers\src\dataqueue.c + ..\..\..\..\components\drivers\src\workqueue.c - completion.c + dataqueue.c 1 - ..\..\..\..\components\drivers\src\completion.c + ..\..\..\..\components\drivers\src\dataqueue.c @@ -689,13 +689,6 @@ Drivers - - - startup_ch32f10x.s - 2 - ..\Libraries\CH32F10x_StdPeriph_Driver\CMSIS\WCH\CH32F10x\Source\ARM\startup_ch32f10x.s - - system_ch32f10x.c @@ -710,6 +703,13 @@ board\board.c + + + startup_ch32f10x.s + 2 + ..\Libraries\CH32F10x_StdPeriph_Driver\CMSIS\WCH\CH32F10x\Source\ARM\startup_ch32f10x.s + + drv_rtc_ch32f10x.c @@ -786,34 +786,6 @@ Kernel - - - idle.c - 1 - ..\..\..\..\src\idle.c - - - - - scheduler.c - 1 - ..\..\..\..\src\scheduler.c - - - - - clock.c - 1 - ..\..\..\..\src\clock.c - - - - - irq.c - 1 - ..\..\..\..\src\irq.c - - object.c @@ -823,9 +795,37 @@ - thread.c + mem.c 1 - ..\..\..\..\src\thread.c + ..\..\..\..\src\mem.c + + + + + components.c + 1 + ..\..\..\..\src\components.c + + + + + kservice.c + 1 + ..\..\..\..\src\kservice.c + + + + + idle.c + 1 + ..\..\..\..\src\idle.c + + + + + device.c + 1 + ..\..\..\..\src\device.c @@ -844,9 +844,16 @@ - components.c + scheduler.c 1 - ..\..\..\..\src\components.c + ..\..\..\..\src\scheduler.c + + + + + irq.c + 1 + ..\..\..\..\src\irq.c @@ -858,23 +865,16 @@ - kservice.c + thread.c 1 - ..\..\..\..\src\kservice.c + ..\..\..\..\src\thread.c - device.c + clock.c 1 - ..\..\..\..\src\device.c - - - - - mem.c - 1 - ..\..\..\..\src\mem.c + ..\..\..\..\src\clock.c diff --git a/bsp/wch/arm/ch32f103c8-core/rtconfig.h b/bsp/wch/arm/ch32f103c8-core/rtconfig.h index 530b9f26e7..96dfcf751a 100644 --- a/bsp/wch/arm/ch32f103c8-core/rtconfig.h +++ b/bsp/wch/arm/ch32f103c8-core/rtconfig.h @@ -175,14 +175,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -191,10 +194,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/bsp/xplorer4330/M0/project.uvopt b/bsp/xplorer4330/M0/project.uvopt deleted file mode 100644 index 22c41365af..0000000000 --- a/bsp/xplorer4330/M0/project.uvopt +++ /dev/null @@ -1,1076 +0,0 @@ - - - - 1.0 - -
### uVision Project, (C) Keil Software
- - - *.c - *.s*; *.src; *.a* - *.obj - *.lib - *.txt; *.h; *.inc - *.plm - *.cpp - - - - 0 - 0 - - - - LPC4330 SPIFI - 0x4 - ARM-ADS - - 12000000 - - 0 - 1 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - .\build\ - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 1 - 0 - 1 - - 0 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - 1 - 0 - 1 - 1 - 1 - 0 - 0 - 1 - - - - - - - - - - - BIN\UL2CM3.DLL - - - - 0 - UL2CM3 - UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) - - - - - 0 - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - - - LPC4330 RAM - 0x4 - ARM-ADS - - 12000000 - - 0 - 1 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - .\build\ - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 0 - 0 - 0 - - 0 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - 1 - 1 - 0 - 0 - 1 - 0 - 1 - 1 - 1 - 0 - 0 - 1 - - - - - - - - - - .\Dbg_RAM.ini - BIN\UL2CM3.DLL - - - - 0 - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - - - Applications - 0 - 0 - 0 - 0 - - 1 - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\applications\application.c - application.c - 0 - 0 - - - 1 - 2 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\applications\startup.c - startup.c - 0 - 0 - - - - - Drivers - 0 - 0 - 0 - 0 - - 2 - 3 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\board.c - board.c - 0 - 0 - - - 2 - 4 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\drv_led.c - drv_led.c - 0 - 0 - - - 2 - 5 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\drv_uart.c - drv_uart.c - 0 - 0 - - - - - CMSIS - 0 - 0 - 0 - 0 - - 3 - 6 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c - system_LPC43xx.c - 0 - 0 - - - 3 - 7 - 2 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s - startup_LPC43xx_M0.s - 0 - 0 - - - - - Kernel - 0 - 0 - 0 - 0 - - 4 - 8 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\clock.c - clock.c - 0 - 0 - - - 4 - 9 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\device.c - device.c - 0 - 0 - - - 4 - 10 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\idle.c - idle.c - 0 - 0 - - - 4 - 11 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\ipc.c - ipc.c - 0 - 0 - - - 4 - 12 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\irq.c - irq.c - 0 - 0 - - - 4 - 13 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\kservice.c - kservice.c - 0 - 0 - - - 4 - 14 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\mem.c - mem.c - 0 - 0 - - - 4 - 15 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\memheap.c - memheap.c - 0 - 0 - - - 4 - 16 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\mempool.c - mempool.c - 0 - 0 - - - 4 - 17 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\object.c - object.c - 0 - 0 - - - 4 - 18 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\scheduler.c - scheduler.c - 0 - 0 - - - 4 - 19 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\signal.c - signal.c - 0 - 0 - - - 4 - 20 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\thread.c - thread.c - 0 - 0 - - - 4 - 21 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\timer.c - timer.c - 0 - 0 - - - - - CORTEX-M0 - 0 - 0 - 0 - 0 - - 5 - 22 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\cortex-m0\cpuport.c - cpuport.c - 0 - 0 - - - 5 - 23 - 2 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\cortex-m0\context_rvds.S - context_rvds.S - 0 - 0 - - - 5 - 24 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c - 0 - 0 - - - 5 - 25 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\div0.c - div0.c - 0 - 0 - - - 5 - 26 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\showmem.c - showmem.c - 0 - 0 - - - - - DeviceDrivers - 0 - 0 - 0 - 0 - - 6 - 27 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\serial\serial.c - serial.c - 0 - 0 - - - 6 - 28 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\completion.c - completion.c - 0 - 0 - - - 6 - 29 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\dataqueue.c - dataqueue.c - 0 - 0 - - - 6 - 30 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\pipe.c - pipe.c - 0 - 0 - - - 6 - 31 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\ringbuffer.c - ringbuffer.c - 0 - 0 - - - 6 - 32 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\waitqueue.c - waitqueue.c - 0 - 0 - - - 6 - 33 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\workqueue.c - workqueue.c - 0 - 0 - - - - - finsh - 0 - 0 - 0 - 0 - - 7 - 34 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\shell.c - shell.c - 0 - 0 - - - 7 - 35 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\symbol.c - symbol.c - 0 - 0 - - - 7 - 36 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\cmd.c - cmd.c - 0 - 0 - - - 7 - 37 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_compiler.c - finsh_compiler.c - 0 - 0 - - - 7 - 38 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_error.c - finsh_error.c - 0 - 0 - - - 7 - 39 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_heap.c - finsh_heap.c - 0 - 0 - - - 7 - 40 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_init.c - finsh_init.c - 0 - 0 - - - 7 - 41 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_node.c - finsh_node.c - 0 - 0 - - - 7 - 42 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_ops.c - finsh_ops.c - 0 - 0 - - - 7 - 43 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_parser.c - finsh_parser.c - 0 - 0 - - - 7 - 44 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_var.c - finsh_var.c - 0 - 0 - - - 7 - 45 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_vm.c - finsh_vm.c - 0 - 0 - - - 7 - 46 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_token.c - finsh_token.c - 0 - 0 - - - -
diff --git a/bsp/xplorer4330/M0/project.uvproj b/bsp/xplorer4330/M0/project.uvproj index 63fb65605f..1fe5cf03cc 100644 --- a/bsp/xplorer4330/M0/project.uvproj +++ b/bsp/xplorer4330/M0/project.uvproj @@ -1,41 +1,36 @@ - 1.1 -
### uVision Project, (C) Keil Software
- LPC4330 SPIFI 0x4 ARM-ADS - 0 LPC4330 CM0 NXP (founded by Philips) CLOCK(12000000) CPUTYPE("Cortex-M0") - + "STARTUP\NXP\LPC43xx\startup_LPC43xx_M0.s" ("NXP LPC43xx CM0 Startup Code") UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) 6914 LPC43xx.H - - - - - - - - - + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR - 0 0 - - - + + + NXP\LPC43xx\ NXP\LPC43xx\ @@ -59,8 +54,8 @@ 0 0 - - + + 0 0 0 @@ -69,25 +64,21 @@ 0 0 - - + + 0 0 - 0 - 0 0 0 - - + + 0 0 - 0 - 0 0 - + 0 @@ -101,17 +92,16 @@ 0 0 3 - - - 1 + + SARMCM3.DLL - + TARMCM1.DLL -pCM0 SARMCM3.DLL - + DARMCM1.DLL -pCM0 @@ -133,7 +123,6 @@ 1 1 0 - 1 1 @@ -145,23 +134,22 @@ 0 1 0 - 1 0 - 0 + 1 - - - - - + + + + + - - - - - + + + + + BIN\UL2CM3.DLL @@ -177,11 +165,7 @@ 1 BIN\UL2CM3.DLL "" () - - - - - 0 + @@ -213,7 +197,7 @@ 1 0 "Cortex-M0" - + 0 0 0 @@ -228,7 +212,6 @@ 1 0 0 - 0 0 3 0 @@ -345,7 +328,7 @@ 0x0 - + 1 @@ -361,21 +344,11 @@ 0 0 0 - 0 - 0 - 0 - 1 - 1 - 1 - 1 - 0 - 0 - 0 - - CORE_M0, USE_SPIFI - - .;..\..\..\include;applications;.;..\drivers;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common + + CORE_M0, USE_SPIFI, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND + + applications;.;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\..\..\examples\utest\testcases\kernel @@ -387,13 +360,11 @@ 0 0 0 - 0 - 0 - + NO_CRP - - + + @@ -405,102 +376,16 @@ 0 0x14000000 0x10000000 - - - - - - - + + + + + + - - Kernel - - - clock.c - 1 - ..\..\..\src\clock.c - - - components.c - 1 - ..\..\..\src\components.c - - - cpu.c - 1 - ..\..\..\src\cpu.c - - - device.c - 1 - ..\..\..\src\device.c - - - idle.c - 1 - ..\..\..\src\idle.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - irq.c - 1 - ..\..\..\src\irq.c - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - object.c - 1 - ..\..\..\src\object.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - signal.c - 1 - ..\..\..\src\signal.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - Applications @@ -509,6 +394,8 @@ 1 ..\applications\application.c + + startup.c 1 @@ -516,26 +403,6 @@ - - Drivers - - - board.c - 1 - ..\drivers\board.c - - - drv_led.c - 1 - ..\drivers\drv_led.c - - - drv_uart.c - 1 - ..\drivers\drv_uart.c - - - CMSIS @@ -544,6 +411,8 @@ 1 ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + startup_LPC43xx_M0.s 2 @@ -552,28 +421,36 @@ - cpu + CPU backtrace.c 1 ..\..\..\libcpu\arm\common\backtrace.c - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - + + showmem.c 1 ..\..\..\libcpu\arm\common\showmem.c + + + + div0.c + 1 + ..\..\..\libcpu\arm\common\div0.c + + + cpuport.c 1 ..\..\..\libcpu\arm\cortex-m0\cpuport.c + + context_rvds.S 2 @@ -589,105 +466,196 @@ 1 ..\..\..\components\drivers\serial\serial.c - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - + + ringblk_buf.c 1 ..\..\..\components\drivers\src\ringblk_buf.c + + ringbuffer.c 1 ..\..\..\components\drivers\src\ringbuffer.c + + waitqueue.c 1 ..\..\..\components\drivers\src\waitqueue.c + + + + pipe.c + 1 + ..\..\..\components\drivers\src\pipe.c + + + workqueue.c 1 ..\..\..\components\drivers\src\workqueue.c + + + dataqueue.c + 1 + ..\..\..\components\drivers\src\dataqueue.c + + + + + completion.c + 1 + ..\..\..\components\drivers\src\completion.c + + - finsh + Drivers + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + + + board.c + 1 + ..\drivers\board.c + + + + + drv_uart.c + 1 + ..\drivers\drv_uart.c + + + + + Finsh shell.c 1 ..\..\..\components\finsh\shell.c + + - cmd.c + msh.c 1 - ..\..\..\components\finsh\cmd.c + ..\..\..\components\finsh\msh.c + + + + Kernel + - finsh_compiler.c + memheap.c 1 - ..\..\..\components\finsh\finsh_compiler.c + ..\..\..\src\memheap.c + + - finsh_error.c + device.c 1 - ..\..\..\components\finsh\finsh_error.c + ..\..\..\src\device.c + + - finsh_heap.c + scheduler.c 1 - ..\..\..\components\finsh\finsh_heap.c + ..\..\..\src\scheduler.c + + - finsh_init.c + irq.c 1 - ..\..\..\components\finsh\finsh_init.c + ..\..\..\src\irq.c + + - finsh_node.c + components.c 1 - ..\..\..\components\finsh\finsh_node.c + ..\..\..\src\components.c + + - finsh_ops.c + mempool.c 1 - ..\..\..\components\finsh\finsh_ops.c + ..\..\..\src\mempool.c + + - finsh_parser.c + ipc.c 1 - ..\..\..\components\finsh\finsh_parser.c + ..\..\..\src\ipc.c + + - finsh_var.c + object.c 1 - ..\..\..\components\finsh\finsh_var.c + ..\..\..\src\object.c + + - finsh_vm.c + idle.c 1 - ..\..\..\components\finsh\finsh_vm.c + ..\..\..\src\idle.c + + - finsh_token.c + clock.c 1 - ..\..\..\components\finsh\finsh_token.c + ..\..\..\src\clock.c + + + + + thread.c + 1 + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + mem.c + 1 + ..\..\..\src\mem.c + + + + + timer.c + 1 + ..\..\..\src\timer.c @@ -697,32 +665,30 @@ LPC4330 RAM 0x4 ARM-ADS - 0 LPC4330 CM0 NXP (founded by Philips) CLOCK(12000000) CPUTYPE("Cortex-M0") - + "STARTUP\NXP\LPC43xx\startup_LPC43xx_M0.s" ("NXP LPC43xx CM0 Startup Code") UL2CM3(-O910 -S8 -C1 -FO7 -FD10000000 -FC800 -FN0) 6914 LPC43xx.H - - - - - - - - - + + + + + + + + + SFD\NXP\LPC43xx\LPC43xx.SFR - 0 0 - - - + + + NXP\LPC43xx\ NXP\LPC43xx\ @@ -746,8 +712,8 @@ 0 0 - - + + 0 0 0 @@ -756,25 +722,21 @@ 0 0 - - + + 0 0 - 0 - 0 0 0 - - + + 0 0 - 0 - 0 0 - + 0 @@ -788,17 +750,16 @@ 0 0 3 - - - 1 + + SARMCM3.DLL - + TARMCM1.DLL -pCM0 SARMCM3.DLL - + DARMCM1.DLL -pCM0 @@ -820,7 +781,6 @@ 1 1 0 - 1 1 @@ -832,22 +792,21 @@ 0 1 0 - 1 0 1 - - - - - + + + + + - - - - + + + + .\Dbg_RAM.ini BIN\UL2CM3.DLL @@ -863,12 +822,8 @@ 1 BIN\UL2CM3.DLL - - - - - - 0 + + @@ -900,7 +855,7 @@ 0 0 "Cortex-M0" - + 0 0 0 @@ -915,7 +870,6 @@ 1 0 0 - 0 3 3 0 @@ -1032,7 +986,7 @@ 0x0 - + 1 @@ -1048,21 +1002,11 @@ 0 0 0 - 0 - 0 - 0 - 1 - 1 - 1 - 1 - 0 - 0 - 0 - - - - + + + + @@ -1074,13 +1018,11 @@ 0 0 0 - 0 - 0 - + NO_CRP - - + + @@ -1092,294 +1034,15 @@ 0 0x10000000 0x20000000 - - - - - - - + + + + + + - - - Kernel - - - clock.c - 1 - ..\..\..\src\clock.c - - - components.c - 1 - ..\..\..\src\components.c - - - cpu.c - 1 - ..\..\..\src\cpu.c - - - device.c - 1 - ..\..\..\src\device.c - - - idle.c - 1 - ..\..\..\src\idle.c - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - irq.c - 1 - ..\..\..\src\irq.c - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - mem.c - 1 - ..\..\..\src\mem.c - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - object.c - 1 - ..\..\..\src\object.c - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - signal.c - 1 - ..\..\..\src\signal.c - - - thread.c - 1 - ..\..\..\src\thread.c - - - timer.c - 1 - ..\..\..\src\timer.c - - - - - Applications - - - application.c - 1 - ..\applications\application.c - - - startup.c - 1 - ..\applications\startup.c - - - - - Drivers - - - board.c - 1 - ..\drivers\board.c - - - drv_led.c - 1 - ..\drivers\drv_led.c - - - drv_uart.c - 1 - ..\drivers\drv_uart.c - - - - - CMSIS - - - system_LPC43xx.c - 1 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c - - - startup_LPC43xx_M0.s - 2 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx_M0.s - - - - - cpu - - - backtrace.c - 1 - ..\..\..\libcpu\arm\common\backtrace.c - - - div0.c - 1 - ..\..\..\libcpu\arm\common\div0.c - - - showmem.c - 1 - ..\..\..\libcpu\arm\common\showmem.c - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m0\cpuport.c - - - context_rvds.S - 2 - ..\..\..\libcpu\arm\cortex-m0\context_rvds.S - - - - - DeviceDrivers - - - serial.c - 1 - ..\..\..\components\drivers\serial\serial.c - - - completion.c - 1 - ..\..\..\components\drivers\src\completion.c - - - dataqueue.c - 1 - ..\..\..\components\drivers\src\dataqueue.c - - - pipe.c - 1 - ..\..\..\components\drivers\src\pipe.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - - waitqueue.c - 1 - ..\..\..\components\drivers\src\waitqueue.c - - - workqueue.c - 1 - ..\..\..\components\drivers\src\workqueue.c - - - - - finsh - - - shell.c - 1 - ..\..\..\components\finsh\shell.c - - - cmd.c - 1 - ..\..\..\components\finsh\cmd.c - - - finsh_compiler.c - 1 - ..\..\..\components\finsh\finsh_compiler.c - - - finsh_error.c - 1 - ..\..\..\components\finsh\finsh_error.c - - - finsh_heap.c - 1 - ..\..\..\components\finsh\finsh_heap.c - - - finsh_init.c - 1 - ..\..\..\components\finsh\finsh_init.c - - - finsh_node.c - 1 - ..\..\..\components\finsh\finsh_node.c - - - finsh_ops.c - 1 - ..\..\..\components\finsh\finsh_ops.c - - - finsh_parser.c - 1 - ..\..\..\components\finsh\finsh_parser.c - - - finsh_var.c - 1 - ..\..\..\components\finsh\finsh_var.c - - - finsh_vm.c - 1 - ..\..\..\components\finsh\finsh_vm.c - - - finsh_token.c - 1 - ..\..\..\components\finsh\finsh_token.c - - - - -
diff --git a/bsp/xplorer4330/M4/project.uvopt b/bsp/xplorer4330/M4/project.uvopt deleted file mode 100644 index e2f32a5ac1..0000000000 --- a/bsp/xplorer4330/M4/project.uvopt +++ /dev/null @@ -1,1076 +0,0 @@ - - - - 1.0 - -
### uVision Project, (C) Keil Software
- - - *.c - *.s*; *.src; *.a* - *.obj - *.lib - *.txt; *.h; *.inc - *.plm - *.cpp - - - - 0 - 0 - - - - LPC4330 SPIFI - 0x4 - ARM-ADS - - 12000000 - - 0 - 1 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - .\build\ - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 0 - 0 - 1 - - 0 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - 1 - 0 - 1 - 1 - 1 - 0 - 0 - 1 - - - - - - - - - - - BIN\UL2CM3.DLL - - - - 0 - UL2CM3 - UL2CM3(-O975 -S0 -C0) - - - - - 0 - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - - - LPC4330 RAM - 0x4 - ARM-ADS - - 12000000 - - 0 - 1 - 1 - 0 - - - 1 - 65535 - 0 - 0 - 0 - - - 79 - 66 - 8 - .\build\ - - - 1 - 1 - 1 - 0 - 1 - 1 - 0 - 1 - 0 - 0 - 0 - 0 - - - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - - - 0 - 0 - 0 - - 0 - - 0 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 1 - 0 - 0 - 1 - 1 - 0 - 0 - 1 - 0 - 1 - 1 - 1 - 0 - 0 - 1 - - - - - - - - - - .\Dbg_RAM.ini - BIN\UL2CM3.DLL - - - - 0 - - - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - - - - - - - - Applications - 0 - 0 - 0 - 0 - - 1 - 1 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\applications\application.c - application.c - 0 - 0 - - - 1 - 2 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\applications\startup.c - startup.c - 0 - 0 - - - - - Drivers - 0 - 0 - 0 - 0 - - 2 - 3 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\board.c - board.c - 0 - 0 - - - 2 - 4 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\drv_led.c - drv_led.c - 0 - 0 - - - 2 - 5 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\drivers\drv_uart.c - drv_uart.c - 0 - 0 - - - - - CMSIS - 0 - 0 - 0 - 0 - - 3 - 6 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c - system_LPC43xx.c - 0 - 0 - - - 3 - 7 - 2 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx.s - startup_LPC43xx.s - 0 - 0 - - - - - Kernel - 0 - 0 - 0 - 0 - - 4 - 8 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\clock.c - clock.c - 0 - 0 - - - 4 - 9 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\device.c - device.c - 0 - 0 - - - 4 - 10 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\idle.c - idle.c - 0 - 0 - - - 4 - 11 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\ipc.c - ipc.c - 0 - 0 - - - 4 - 12 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\irq.c - irq.c - 0 - 0 - - - 4 - 13 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\kservice.c - kservice.c - 0 - 0 - - - 4 - 14 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\mem.c - mem.c - 0 - 0 - - - 4 - 15 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\memheap.c - memheap.c - 0 - 0 - - - 4 - 16 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\mempool.c - mempool.c - 0 - 0 - - - 4 - 17 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\object.c - object.c - 0 - 0 - - - 4 - 18 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\scheduler.c - scheduler.c - 0 - 0 - - - 4 - 19 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\signal.c - signal.c - 0 - 0 - - - 4 - 20 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\thread.c - thread.c - 0 - 0 - - - 4 - 21 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\src\timer.c - timer.c - 0 - 0 - - - - - CORTEX-M4 - 0 - 0 - 0 - 0 - - 5 - 22 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c - cpuport.c - 0 - 0 - - - 5 - 23 - 2 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\cortex-m4\context_rvds.S - context_rvds.S - 0 - 0 - - - 5 - 24 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\backtrace.c - backtrace.c - 0 - 0 - - - 5 - 25 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\div0.c - div0.c - 0 - 0 - - - 5 - 26 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\libcpu\arm\common\showmem.c - showmem.c - 0 - 0 - - - - - DeviceDrivers - 0 - 0 - 0 - 0 - - 6 - 27 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\serial\serial.c - serial.c - 0 - 0 - - - 6 - 28 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\completion.c - completion.c - 0 - 0 - - - 6 - 29 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\dataqueue.c - dataqueue.c - 0 - 0 - - - 6 - 30 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\pipe.c - pipe.c - 0 - 0 - - - 6 - 31 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\ringbuffer.c - ringbuffer.c - 0 - 0 - - - 6 - 32 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\waitqueue.c - waitqueue.c - 0 - 0 - - - 6 - 33 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\drivers\src\workqueue.c - workqueue.c - 0 - 0 - - - - - finsh - 0 - 0 - 0 - 0 - - 7 - 34 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\shell.c - shell.c - 0 - 0 - - - 7 - 35 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\symbol.c - symbol.c - 0 - 0 - - - 7 - 36 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\cmd.c - cmd.c - 0 - 0 - - - 7 - 37 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_compiler.c - finsh_compiler.c - 0 - 0 - - - 7 - 38 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_error.c - finsh_error.c - 0 - 0 - - - 7 - 39 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_heap.c - finsh_heap.c - 0 - 0 - - - 7 - 40 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_init.c - finsh_init.c - 0 - 0 - - - 7 - 41 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_node.c - finsh_node.c - 0 - 0 - - - 7 - 42 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_ops.c - finsh_ops.c - 0 - 0 - - - 7 - 43 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_parser.c - finsh_parser.c - 0 - 0 - - - 7 - 44 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_var.c - finsh_var.c - 0 - 0 - - - 7 - 45 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_vm.c - finsh_vm.c - 0 - 0 - - - 7 - 46 - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - ..\..\..\components\finsh\finsh_token.c - finsh_token.c - 0 - 0 - - - -
diff --git a/bsp/xplorer4330/M4/project.uvproj b/bsp/xplorer4330/M4/project.uvproj index 058f2226b8..34d875f1a6 100644 --- a/bsp/xplorer4330/M4/project.uvproj +++ b/bsp/xplorer4330/M4/project.uvproj @@ -346,9 +346,9 @@ 0 - USE_SPIFI, CORE_M4 + USE_SPIFI, CORE_M4, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND - .;..\..\..\include;applications;.;..\drivers;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;..\..\..\components\libc\compilers\common + applications;.;..\Libraries\Device\NXP\LPC43xx\Include;..\Libraries\CMSIS\Include;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\..\..\examples\utest\testcases\kernel
@@ -386,121 +386,6 @@ - - Kernel - - - clock.c - 1 - ..\..\..\src\clock.c - - - - - components.c - 1 - ..\..\..\src\components.c - - - - - cpu.c - 1 - ..\..\..\src\cpu.c - - - - - device.c - 1 - ..\..\..\src\device.c - - - - - idle.c - 1 - ..\..\..\src\idle.c - - - - - ipc.c - 1 - ..\..\..\src\ipc.c - - - - - irq.c - 1 - ..\..\..\src\irq.c - - - - - kservice.c - 1 - ..\..\..\src\kservice.c - - - - - mem.c - 1 - ..\..\..\src\mem.c - - - - - memheap.c - 1 - ..\..\..\src\memheap.c - - - - - mempool.c - 1 - ..\..\..\src\mempool.c - - - - - object.c - 1 - ..\..\..\src\object.c - - - - - scheduler.c - 1 - ..\..\..\src\scheduler.c - - - - - signal.c - 1 - ..\..\..\src\signal.c - - - - - thread.c - 1 - ..\..\..\src\thread.c - - - - - timer.c - 1 - ..\..\..\src\timer.c - - - Applications @@ -518,39 +403,8 @@ - - Drivers - - - board.c - 1 - ..\drivers\board.c - - - - - drv_led.c - 1 - ..\drivers\drv_led.c - - - - - drv_uart.c - 1 - ..\drivers\drv_uart.c - - - CMSIS - - - system_LPC43xx.c - 1 - ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c - - startup_LPC43xx.s @@ -558,14 +412,21 @@ ..\Libraries\Device\NXP\LPC43xx\Source\Templates\ARM\startup_LPC43xx.s - - - cpu - backtrace.c + system_LPC43xx.c 1 - ..\..\..\libcpu\arm\common\backtrace.c + ..\Libraries\Device\NXP\LPC43xx\Source\Templates\system_LPC43xx.c + + + + + CPU + + + showmem.c + 1 + ..\..\..\libcpu\arm\common\showmem.c @@ -577,16 +438,9 @@ - showmem.c + backtrace.c 1 - ..\..\..\libcpu\arm\common\showmem.c - - - - - cpuport.c - 1 - ..\..\..\libcpu\arm\cortex-m4\cpuport.c + ..\..\..\libcpu\arm\common\backtrace.c @@ -596,6 +450,13 @@ ..\..\..\libcpu\arm\cortex-m4\context_rvds.S + + + cpuport.c + 1 + ..\..\..\libcpu\arm\cortex-m4\cpuport.c + + DeviceDrivers @@ -606,6 +467,27 @@ ..\..\..\components\drivers\serial\serial.c + + + ringbuffer.c + 1 + ..\..\..\components\drivers\src\ringbuffer.c + + + + + workqueue.c + 1 + ..\..\..\components\drivers\src\workqueue.c + + + + + ringblk_buf.c + 1 + ..\..\..\components\drivers\src\ringblk_buf.c + + completion.c @@ -627,20 +509,6 @@ ..\..\..\components\drivers\src\pipe.c - - - ringblk_buf.c - 1 - ..\..\..\components\drivers\src\ringblk_buf.c - - - - - ringbuffer.c - 1 - ..\..\..\components\drivers\src\ringbuffer.c - - waitqueue.c @@ -648,16 +516,33 @@ ..\..\..\components\drivers\src\waitqueue.c + + + Drivers - workqueue.c + drv_uart.c 1 - ..\..\..\components\drivers\src\workqueue.c + ..\drivers\drv_uart.c + + + + + drv_led.c + 1 + ..\drivers\drv_led.c + + + + + board.c + 1 + ..\drivers\board.c - finsh + Finsh shell.c @@ -667,79 +552,110 @@ - cmd.c + msh.c 1 - ..\..\..\components\finsh\cmd.c + ..\..\..\components\finsh\msh.c + + + + + Kernel + + + object.c + 1 + ..\..\..\src\object.c - finsh_compiler.c + components.c 1 - ..\..\..\components\finsh\finsh_compiler.c + ..\..\..\src\components.c - finsh_error.c + ipc.c 1 - ..\..\..\components\finsh\finsh_error.c + ..\..\..\src\ipc.c - finsh_heap.c + clock.c 1 - ..\..\..\components\finsh\finsh_heap.c + ..\..\..\src\clock.c - finsh_init.c + mempool.c 1 - ..\..\..\components\finsh\finsh_init.c + ..\..\..\src\mempool.c - finsh_node.c + timer.c 1 - ..\..\..\components\finsh\finsh_node.c + ..\..\..\src\timer.c - finsh_ops.c + irq.c 1 - ..\..\..\components\finsh\finsh_ops.c + ..\..\..\src\irq.c - finsh_parser.c + mem.c 1 - ..\..\..\components\finsh\finsh_parser.c + ..\..\..\src\mem.c - finsh_var.c + idle.c 1 - ..\..\..\components\finsh\finsh_var.c + ..\..\..\src\idle.c - finsh_vm.c + memheap.c 1 - ..\..\..\components\finsh\finsh_vm.c + ..\..\..\src\memheap.c - finsh_token.c + thread.c 1 - ..\..\..\components\finsh\finsh_token.c + ..\..\..\src\thread.c + + + + + kservice.c + 1 + ..\..\..\src\kservice.c + + + + + scheduler.c + 1 + ..\..\..\src\scheduler.c + + + + + device.c + 1 + ..\..\..\src\device.c diff --git a/bsp/zynqmp-r5-axu4ev/.config b/bsp/zynqmp-r5-axu4ev/.config index c701ee413e..8ba9bd830e 100644 --- a/bsp/zynqmp-r5-axu4ev/.config +++ b/bsp/zynqmp-r5-axu4ev/.config @@ -440,6 +440,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_LORA_GW_DRIVER_LIB is not set # 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 # @@ -464,17 +465,24 @@ CONFIG_RT_LWIP_USING_PING=y # # multimedia packages # + +# +# LVGL: powerful and easy-to-use embedded GUI library +# +# CONFIG_PKG_USING_LVGL is not set +# CONFIG_PKG_USING_LITTLEVGL2RTT 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 - -# -# lvgl: powerful and easy-to-use embedded GUI library -# -# CONFIG_PKG_USING_LITTLEVGL2RTT is not set -# CONFIG_PKG_USING_LVGL is not set -# end of lvgl: powerful and easy-to-use embedded GUI library - # CONFIG_PKG_USING_WAVPLAYER is not set # CONFIG_PKG_USING_TJPGD is not set # CONFIG_PKG_USING_PDFGEN is not set @@ -487,11 +495,11 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_UGUI is not set # -# u8g2: a monochrome graphic library +# PainterEngine: A cross-platform graphics application framework written in C language # -# 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_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 # @@ -535,12 +543,20 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MEM_SANDBOX is not set # 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 # +# +# rt_kprintf: enhanced rt_kprintf packages +# +# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set +# CONFIG_PKG_USING_RT_VSNPRINTF_FULL is not set +# end of rt_kprintf: enhanced rt_kprintf packages + # # acceleration: Assembly language or algorithmic acceleration packages # @@ -550,6 +566,14 @@ CONFIG_RT_LWIP_USING_PING=y # 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_5_AUX 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 # @@ -569,7 +593,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_FLASHDB is not set # CONFIG_PKG_USING_SQLITE is not set # CONFIG_PKG_USING_RTI is not set -# CONFIG_PKG_USING_CMSIS is not set # CONFIG_PKG_USING_DFS_YAFFS is not set # CONFIG_PKG_USING_LITTLEFS is not set # CONFIG_PKG_USING_DFS_JFFS2 is not set @@ -586,7 +609,6 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_QBOOT is not set # CONFIG_PKG_USING_PPOOL is not set # CONFIG_PKG_USING_OPENAMP is not set -# CONFIG_PKG_USING_RT_KPRINTF_THREADSAFE is not set # CONFIG_PKG_USING_LPM is not set # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set @@ -594,6 +616,7 @@ CONFIG_RT_LWIP_USING_PING=y # 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 # @@ -670,6 +693,7 @@ CONFIG_RT_LWIP_USING_PING=y # CONFIG_PKG_USING_MISAKA_RGB_BLING 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 # diff --git a/bsp/zynqmp-r5-axu4ev/rtconfig.h b/bsp/zynqmp-r5-axu4ev/rtconfig.h index 2d37e03a4a..bb3a78d260 100644 --- a/bsp/zynqmp-r5-axu4ev/rtconfig.h +++ b/bsp/zynqmp-r5-axu4ev/rtconfig.h @@ -250,14 +250,17 @@ /* multimedia packages */ +/* LVGL: powerful and easy-to-use embedded GUI library */ -/* lvgl: powerful and easy-to-use embedded GUI library */ - -/* end of 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 */ @@ -266,10 +269,18 @@ /* system packages */ +/* rt_kprintf: enhanced rt_kprintf packages */ + +/* end of rt_kprintf: enhanced rt_kprintf packages */ + /* 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 */ diff --git a/tools/buildbot.py b/tools/buildbot.py index bcce3449ec..02f6e37d4f 100644 --- a/tools/buildbot.py +++ b/tools/buildbot.py @@ -12,6 +12,46 @@ if len(sys.argv) != 2: usage() sys.exit(0) +def update_project_file(project_dir): + if os.path.isfile(os.path.join(project_dir, 'template.Uv2')): + print('prepare MDK3 project file on ' + project_dir) + command = ' --target=mdk -s' + os.system('scons --directory=' + project_dir + command + ' > 1.txt') + + if os.path.isfile(os.path.join(project_dir, 'template.uvproj')): + print('prepare MDK4 project file on ' + project_dir) + command = ' --target=mdk4 -s' + os.system('scons --directory=' + project_dir + command + ' > 1.txt') + + if os.path.isfile(os.path.join(project_dir, 'template.uvprojx')): + print('prepare MDK5 project file on ' + project_dir) + command = ' --target=mdk5 -s' + os.system('scons --directory=' + project_dir + command + ' > 1.txt') + + if os.path.isfile(os.path.join(project_dir, 'template.ewp')): + print('prepare IAR project file on ' + project_dir) + command = ' --target=iar -s' + os.system('scons --directory=' + project_dir + command + ' > 1.txt') + + +def update_all_project_files(root_path): + # current path is dir + if os.path.isdir(root_path): + projects = os.listdir(root_path) + # is a project path? + if "SConscript" in projects: + print('new bsp path {}'.format(root_path)) + try: + os.system('scons --pyconfig-silent -C {0}'.format(root_path)) # update rtconfig.h and .config + update_project_file(root_path) + except Exception as e: + print("error message: {}".format(e)) + sys.exit(-1) + else: + for i in projects: + new_root_path = os.path.join(root_path, i) + update_all_project_files(new_root_path) + # get command options command = '' if sys.argv[1] == 'all': @@ -19,34 +59,7 @@ if sys.argv[1] == 'all': elif sys.argv[1] == 'clean': command = ' -c' elif sys.argv[1] == 'project': - - projects = os.listdir(BSP_ROOT) - for item in projects: - project_dir = os.path.join(BSP_ROOT, item) - - if os.path.isfile(os.path.join(project_dir, 'template.Uv2')): - print('prepare MDK3 project file on ' + project_dir) - command = ' --target=mdk -s' - - os.system('scons --directory=' + project_dir + command) - - if os.path.isfile(os.path.join(project_dir, 'template.uvproj')): - print('prepare MDK4 project file on ' + project_dir) - command = ' --target=mdk4 -s' - - os.system('scons --directory=' + project_dir + command) - - if os.path.isfile(os.path.join(project_dir, 'template.uvprojx')): - print('prepare MDK5 project file on ' + project_dir) - command = ' --target=mdk5 -s' - - os.system('scons --directory=' + project_dir + command) - - if os.path.isfile(os.path.join(project_dir, 'template.ewp')): - print('prepare IAR project file on ' + project_dir) - command = ' --target=iar -s' - - os.system('scons --directory=' + project_dir + command) + update_all_project_files(BSP_ROOT) sys.exit(0) else: