diff options
| author | guo <[email protected]> | 2021-10-15 13:54:46 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-10-15 13:54:46 +0800 |
| commit | cda8caeda0cf105dd660192e367017eea0d407ec (patch) | |
| tree | 57d94dad0b8c396302d1500f2b21f31d1e450dad /bsp/hk32 | |
| parent | 762e1ea9b2540d541e57860d04009074812b6582 (diff) | |
| parent | 7e88605008bc36352f99091d77a1d307da42cbb6 (diff) | |
Merge pull request #5180 from liukangcc/bsp
[update] bsp .config file and rtconfig.h file.
Diffstat (limited to 'bsp/hk32')
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/.config | 111 | ||||
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/project.ewp | 197 | ||||
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/project.uvoptx | 826 | ||||
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/project.uvproj | 289 | ||||
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/project.uvprojx | 351 | ||||
| -rw-r--r-- | bsp/hk32/hk32f030c8-mini/rtconfig.h | 65 |
6 files changed, 595 insertions, 1244 deletions
diff --git a/bsp/hk32/hk32f030c8-mini/.config b/bsp/hk32/hk32f030c8-mini/.config index f1adc14a37..3edc926834 100644 --- a/bsp/hk32/hk32f030c8-mini/.config +++ b/bsp/hk32/hk32f030c8-mini/.config @@ -1,7 +1,4 @@ -# -# Automatically generated file; DO NOT EDIT. -# RT-Thread Configuration -# +# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib) # # RT-Thread Kernel @@ -27,6 +24,8 @@ CONFIG_IDLE_THREAD_STACK_SIZE=256 # # CONFIG_RT_KSERVICE_USING_STDLIB is not set # CONFIG_RT_KSERVICE_USING_TINY_SIZE is not set +# end of kservice optimization + CONFIG_RT_DEBUG=y CONFIG_RT_DEBUG_COLOR=y # CONFIG_RT_DEBUG_INIT_CONFIG is not set @@ -49,6 +48,7 @@ CONFIG_RT_USING_EVENT=y CONFIG_RT_USING_MAILBOX=y CONFIG_RT_USING_MESSAGEQUEUE=y # CONFIG_RT_USING_SIGNALS is not set +# end of Inter-Thread communication # # Memory Management @@ -61,6 +61,7 @@ CONFIG_RT_USING_SMALL_MEM=y # CONFIG_RT_USING_USERHEAP is not set # CONFIG_RT_USING_MEMTRACE is not set CONFIG_RT_USING_HEAP=y +# end of Memory Management # # Kernel Device Object @@ -72,12 +73,14 @@ CONFIG_RT_USING_CONSOLE=y CONFIG_RT_CONSOLEBUF_SIZE=128 CONFIG_RT_CONSOLE_DEVICE_NAME="uart1" # CONFIG_RT_PRINTF_LONGLONG is not set +# end of Kernel Device Object + CONFIG_RT_VER_NUM=0x40004 +# end of RT-Thread Kernel + CONFIG_ARCH_ARM=y -# CONFIG_RT_USING_CPU_FFS is not set CONFIG_ARCH_ARM_CORTEX_M=y CONFIG_ARCH_ARM_CORTEX_M0=y -# CONFIG_ARCH_CPU_STACK_GROWS_UPWARD is not set # # RT-Thread Components @@ -91,30 +94,33 @@ CONFIG_RT_MAIN_THREAD_PRIORITY=10 # C++ features # # CONFIG_RT_USING_CPLUSPLUS is not set +# end of C++ features # # Command shell # CONFIG_RT_USING_FINSH=y +CONFIG_RT_USING_MSH=y +CONFIG_FINSH_USING_MSH=y CONFIG_FINSH_THREAD_NAME="tshell" +CONFIG_FINSH_THREAD_PRIORITY=20 +CONFIG_FINSH_THREAD_STACK_SIZE=1024 CONFIG_FINSH_USING_HISTORY=y CONFIG_FINSH_HISTORY_LINES=5 CONFIG_FINSH_USING_SYMTAB=y +CONFIG_FINSH_CMD_SIZE=80 +CONFIG_MSH_USING_BUILT_IN_COMMANDS=y CONFIG_FINSH_USING_DESCRIPTION=y # CONFIG_FINSH_ECHO_DISABLE_DEFAULT is not set -CONFIG_FINSH_THREAD_PRIORITY=20 -CONFIG_FINSH_THREAD_STACK_SIZE=1024 -CONFIG_FINSH_CMD_SIZE=80 # CONFIG_FINSH_USING_AUTH is not set -CONFIG_FINSH_USING_MSH=y -CONFIG_FINSH_USING_MSH_DEFAULT=y -CONFIG_FINSH_USING_MSH_ONLY=y CONFIG_FINSH_ARG_MAX=10 +# end of Command shell # # Device virtual file system # # CONFIG_RT_USING_DFS is not set +# end of Device virtual file system # # Device Drivers @@ -159,14 +165,18 @@ CONFIG_RT_USING_PIN=y # # CONFIG_RT_USING_USB_HOST is not set # CONFIG_RT_USING_USB_DEVICE is not set +# end of Using USB +# end of Device Drivers # # POSIX layer and C standard library # CONFIG_RT_USING_LIBC=y # CONFIG_RT_USING_PTHREADS is not set +CONFIG_RT_LIBC_USING_TIME=y # CONFIG_RT_USING_MODULE is not set CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 +# end of POSIX layer and C standard library # # Network @@ -176,26 +186,32 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # Socket abstraction layer # # CONFIG_RT_USING_SAL is not set +# end of Socket abstraction layer # # Network interface device # # CONFIG_RT_USING_NETDEV is not set +# end of Network interface device # # light weight TCP/IP stack # # CONFIG_RT_USING_LWIP is not set +# end of light weight TCP/IP stack # # AT commands # # CONFIG_RT_USING_AT is not set +# end of AT commands +# end of Network # # VBUS(Virtual Software BUS) # # CONFIG_RT_USING_VBUS is not set +# end of VBUS(Virtual Software BUS) # # Utilities @@ -203,13 +219,18 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_RT_USING_RYM is not set # CONFIG_RT_USING_ULOG is not set # CONFIG_RT_USING_UTEST is not set +# CONFIG_RT_USING_VAR_EXPORT is not set # CONFIG_RT_USING_RT_LINK is not set +# end of Utilities + # CONFIG_RT_USING_LWP is not set +# end of RT-Thread Components # # RT-Thread Utestcases # # CONFIG_RT_USING_UTESTCASES is not set +# end of RT-Thread Utestcases # # RT-Thread online packages @@ -244,12 +265,17 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # Marvell WiFi # # CONFIG_PKG_USING_WLANMARVELL is not set +# end of Marvell WiFi # # Wiced WiFi # # CONFIG_PKG_USING_WLAN_WICED is not set +# end of Wiced WiFi + # CONFIG_PKG_USING_RW007 is not set +# end of Wi-Fi + # CONFIG_PKG_USING_COAP is not set # CONFIG_PKG_USING_NOPOLL is not set # CONFIG_PKG_USING_NETUTILS is not set @@ -271,6 +297,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_JIOT-C-SDK is not set # CONFIG_PKG_USING_UCLOUD_IOT_SDK is not set # CONFIG_PKG_USING_JOYLINK is not set +# end of IoT Cloud + # CONFIG_PKG_USING_NIMBLE is not set # CONFIG_PKG_USING_OTA_DOWNLOADER is not set # CONFIG_PKG_USING_IPMSG is not set @@ -300,6 +328,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_AGILE_FTP is not set # CONFIG_PKG_USING_EMBEDDEDPROTO is not set # CONFIG_PKG_USING_RT_LINK_HW is not set +# CONFIG_PKG_USING_LORA_PKT_FWD is not set +# 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 +# end of IoT - internet of things # # security packages @@ -309,6 +342,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_TINYCRYPT is not set # CONFIG_PKG_USING_TFM is not set # CONFIG_PKG_USING_YD_CRYPTO is not set +# end of security packages # # language packages @@ -317,6 +351,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_JERRYSCRIPT is not set # CONFIG_PKG_USING_MICROPYTHON is not set # CONFIG_PKG_USING_PIKASCRIPT is not set +# end of language packages # # multimedia packages @@ -324,6 +359,14 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # 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 @@ -333,6 +376,15 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_NUEMWIN is not set # CONFIG_PKG_USING_MP3PLAYER is not set # CONFIG_PKG_USING_TINYJPEG is not set +# CONFIG_PKG_USING_UGUI is not set + +# +# 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 +# end of multimedia packages # # tools packages @@ -375,6 +427,7 @@ 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 +# end of tools packages # # system packages @@ -387,6 +440,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_QFPLIB_M0_FULL is not set # CONFIG_PKG_USING_QFPLIB_M0_TINY is not set # CONFIG_PKG_USING_QFPLIB_M3 is not set +# end of acceleration: Assembly language or algorithmic acceleration packages # # Micrium: Micrium software products porting for RT-Thread @@ -397,6 +451,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_UC_CLK is not set # CONFIG_PKG_USING_UC_COMMON is not set # CONFIG_PKG_USING_UC_MODBUS is not set +# end of Micrium: Micrium software products porting for RT-Thread + # CONFIG_PKG_USING_GUIENGINE is not set # CONFIG_PKG_USING_CAIRO is not set # CONFIG_PKG_USING_PIXMAN is not set @@ -405,7 +461,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_LITTLEVGL2RTT 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 @@ -428,6 +483,10 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_TLSF is not set # CONFIG_PKG_USING_EVENT_RECORDER is not set # CONFIG_PKG_USING_ARM_2D is not set +# CONFIG_PKG_USING_WCWIDTH is not set +# CONFIG_PKG_USING_MCUBOOT is not set +# CONFIG_PKG_USING_TINYUSB is not set +# end of system packages # # peripheral libraries and drivers @@ -439,16 +498,6 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_AS7341 is not set # CONFIG_PKG_USING_STM32_SDIO is not set # CONFIG_PKG_USING_ICM20608 is not set -# CONFIG_PKG_USING_U8G2 is not set -# CONFIG_PKG_USING_U8G2_V100 is not set -# CONFIG_PKG_USING_U8G2_V110 is not set -# CONFIG_PKG_USING_U8G2_V120 is not set -# CONFIG_PKG_USING_U8G2_V200 is not set -# CONFIG_PKG_USING_U8G2_V210 is not set -# CONFIG_PKG_USING_U8G2_V300 is not set -# CONFIG_PKG_USING_U8G2_C_LATEST_VERSION is not set -# CONFIG_PKG_USING_U8G2_CPP_LATEST_VERSION is not set -# CONFIG_PKG_USING_U8G2_LATEST_VERSION is not set # CONFIG_PKG_USING_BUTTON is not set # CONFIG_PKG_USING_PCF8574 is not set # CONFIG_PKG_USING_SX12XX is not set @@ -509,6 +558,11 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_MICRO_ROS is not set # CONFIG_PKG_USING_MCP23008 is not set # CONFIG_PKG_USING_BLUETRUM_SDK is not set +# CONFIG_PKG_USING_MISAKA_AT24CXX is not set +# CONFIG_PKG_USING_MISAKA_RGB_BLING is not set +# CONFIG_PKG_USING_BL_MCU_SDK is not set +# CONFIG_PKG_USING_SOFT_SERIAL is not set +# end of peripheral libraries and drivers # # AI packages @@ -522,6 +576,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_ULAPACK is not set # CONFIG_PKG_USING_QUEST is not set # CONFIG_PKG_USING_NAXOS is not set +# end of AI packages # # miscellaneous packages @@ -534,6 +589,7 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_FILESYSTEM_SAMPLES is not set # CONFIG_PKG_USING_NETWORK_SAMPLES is not set # CONFIG_PKG_USING_PERIPHERAL_SAMPLES is not set +# end of samples: kernel and components samples # # entertainment: terminal games and other interesting software packages @@ -547,6 +603,8 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_SNAKE is not set # CONFIG_PKG_USING_TETRIS is not set # CONFIG_PKG_USING_DONUT is not set +# end of entertainment: terminal games and other interesting software packages + # CONFIG_PKG_USING_LIBCSV is not set # CONFIG_PKG_USING_OPTPARSE is not set # CONFIG_PKG_USING_FASTLZ is not set @@ -575,6 +633,10 @@ CONFIG_RT_LIBC_DEFAULT_TIMEZONE=8 # CONFIG_PKG_USING_STATE_MACHINE is not set # CONFIG_PKG_USING_MCURSES is not set # CONFIG_PKG_USING_COWSAY is not set +# CONFIG_PKG_USING_TERMBOX is not set +# end of miscellaneous packages +# end of RT-Thread online packages + CONFIG_SOC_FAMILY_HK32=y CONFIG_SOC_SERIES_HK32F0XX=y @@ -587,6 +649,7 @@ CONFIG_SOC_HK32F030C8T6=y # Onboard Peripheral Drivers # CONFIG_BSP_USING_SERIAL=y +# end of Onboard Peripheral Drivers # # On-chip Peripheral Drivers @@ -608,3 +671,5 @@ CONFIG_BSP_USING_I2C2=y CONFIG_BSP_I2C2_SCL_PIN=26 CONFIG_BSP_I2C2_SDA_PIN=27 # CONFIG_BSP_USING_ADC is not set +# end of On-chip Peripheral Drivers +# end of Hardware Drivers Config diff --git a/bsp/hk32/hk32f030c8-mini/project.ewp b/bsp/hk32/hk32f030c8-mini/project.ewp index b99b7b5fa5..19c4c84de6 100644 --- a/bsp/hk32/hk32f030c8-mini/project.ewp +++ b/bsp/hk32/hk32f030c8-mini/project.ewp @@ -219,7 +219,7 @@ <option>
<name>CCDefines</name>
<state />
- <state>AT32F403AVGT7</state>
+ <state>HK32F030x8</state>
<state>__RTTHREAD__</state>
<state>RT_USING_DLIBC</state>
<state>USE_STDPERIPH_DRIVER</state>
@@ -348,21 +348,23 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\board\msp</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
+ <state>$PROJ_DIR$\board\msp</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\Libraries\rt_drivers</state>
+ <state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\examples\utest\testcases\kernel</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib</state>
<state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\CMSIS</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\CMSIS\AT32\AT32F4xx\inc</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core</state>
<state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\nogcc</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -1256,7 +1258,7 @@ <option>
<name>CCDefines</name>
<state />
- <state>AT32F403AVGT7</state>
+ <state>HK32F030x8</state>
<state>__RTTHREAD__</state>
<state>RT_USING_DLIBC</state>
<state>USE_STDPERIPH_DRIVER</state>
@@ -1385,21 +1387,23 @@ <option>
<name>CCIncludePath2</name>
<state />
- <state>$PROJ_DIR$\board\msp</state>
+ <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\inc</state>
<state>$PROJ_DIR$\..\..\..\components\finsh</state>
<state>$PROJ_DIR$\..\..\..\libcpu\arm\common</state>
- <state>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4</state>
+ <state>$PROJ_DIR$\board\msp</state>
<state>$PROJ_DIR$\..\..\..\components\drivers\include</state>
- <state>$PROJ_DIR$\..\Libraries\rt_drivers</state>
+ <state>$PROJ_DIR$\..\libraries\rt_drivers</state>
<state>$PROJ_DIR$\.</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include</state>
<state>$PROJ_DIR$\applications</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\inc</state>
+ <state>$PROJ_DIR$\..\..\..\examples\utest\testcases\kernel</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib</state>
<state>$PROJ_DIR$\board</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\CMSIS</state>
<state>$PROJ_DIR$\..\..\..\components\libc\compilers\common</state>
- <state>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\CMSIS\AT32\AT32F4xx\inc</state>
+ <state>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core</state>
<state>$PROJ_DIR$\..\..\..\include</state>
+ <state>$PROJ_DIR$\..\..\..\components\libc\compilers\common\nogcc</state>
</option>
<option>
<name>CCStdIncCheck</name>
@@ -2083,151 +2087,142 @@ <group>
<name>CPU</name>
<file>
- <name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
+ <name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\libcpu\arm\common\div0.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\libcpu\arm\common\showmem.c</name>
+ <name>$PROJ_DIR$\..\..\..\libcpu\arm\common\backtrace.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\cpuport.c</name>
+ <name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\cpuport.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m4\context_iar.S</name>
+ <name>$PROJ_DIR$\..\..\..\libcpu\arm\cortex-m0\context_iar.S</name>
</file>
</group>
<group>
<name>DeviceDrivers</name>
<file>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_core.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\i2c\i2c_dev.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\i2c\i2c-bit-ops.c</name>
+ </file>
+ <file>
<name>$PROJ_DIR$\..\..\..\components\drivers\misc\pin.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\drivers\serial\serial.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\completion.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\pipe.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\completion.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\ringbuffer.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\dataqueue.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\waitqueue.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\pipe.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\drivers\src\workqueue.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\drivers\src\ringblk_buf.c</name>
</file>
</group>
<group>
<name>Drivers</name>
<file>
- <name>$PROJ_DIR$\board\board.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c</name>
</file>
<file>
- <name>$PROJ_DIR$\board\msp\at32_msp.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\iar\startup_hk32f030x4x6x8.s</name>
</file>
<file>
- <name>$PROJ_DIR$\board\msp\system_at32f4xx.c</name>
+ <name>$PROJ_DIR$\board\msp\hk32_msp.c</name>
+ </file>
+ <file>
+ <name>$PROJ_DIR$\board\board.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\CMSIS\AT32\AT32F4xx\src\iar\startup_at32f403avgt7.s</name>
+ <name>$PROJ_DIR$\..\libraries\rt_drivers\drv_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\rt_drivers\drv_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\rt_drivers\drv_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\rt_drivers\drv_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\rt_drivers\drv_soft_i2c.c</name>
</file>
</group>
<group>
- <name>finsh</name>
+ <name>Finsh</name>
<file>
<name>$PROJ_DIR$\..\..\..\components\finsh\shell.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\finsh\msh.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\finsh\cmd.c</name>
</file>
</group>
<group>
<name>Kernel</name>
<file>
- <name>$PROJ_DIR$\..\..\..\src\clock.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\thread.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\components.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\device.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\idle.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\idle.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\timer.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\clock.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\irq.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\device.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\kservice.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\object.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\mem.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\memheap.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\ipc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\mempool.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\irq.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\src\object.c</name>
+ <name>$PROJ_DIR$\..\..\..\src\components.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\src\scheduler.c</name>
</file>
- <file>
- <name>$PROJ_DIR$\..\..\..\src\thread.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\src\timer.c</name>
- </file>
</group>
<group>
<name>libc</name>
<file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\time.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\rmtx.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\common\stdlib.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_lseek.c</name>
@@ -2236,100 +2231,94 @@ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_mem.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
- </file>
- <file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_remove.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\stdio.c</name>
</file>
<file>
<name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscalls.c</name>
</file>
- </group>
- <group>
- <name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_adc.c</name>
- </file>
- <file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_can.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_close.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_crc.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\environ.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dbgmcu.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_write.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dma.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\libc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_exti.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_read.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_flash.c</name>
+ <name>$PROJ_DIR$\..\..\..\components\libc\compilers\dlib\syscall_open.c</name>
</file>
+ </group>
+ <group>
+ <name>Libraries</name>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_gpio.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_i2c.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_iwdg.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_pwr.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_rcc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_spi.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_tim.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_usart.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_wwdg.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_sdio.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_acc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_bkp.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_rtc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_ertc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_eth.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_xmc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_comp.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dac.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c</name>
</file>
<file>
- <name>$PROJ_DIR$\..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\misc.c</name>
+ <name>$PROJ_DIR$\..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c</name>
</file>
</group>
+ <group>
+ <name>utestcases</name>
+ </group>
</project>
diff --git a/bsp/hk32/hk32f030c8-mini/project.uvoptx b/bsp/hk32/hk32f030c8-mini/project.uvoptx index 5a9679ab08..a262b866e6 100644 --- a/bsp/hk32/hk32f030c8-mini/project.uvoptx +++ b/bsp/hk32/hk32f030c8-mini/project.uvoptx @@ -182,835 +182,11 @@ </Target> <Group> - <GroupName>Applications</GroupName> - <tvExp>1</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>1</GroupNumber> - <FileNumber>1</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>applications\main.c</PathWithFileName> - <FilenameWithoutPath>main.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>CPU</GroupName> - <tvExp>1</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>2</GroupNumber> - <FileNumber>2</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\showmem.c</PathWithFileName> - <FilenameWithoutPath>showmem.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>2</GroupNumber> - <FileNumber>3</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\backtrace.c</PathWithFileName> - <FilenameWithoutPath>backtrace.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>2</GroupNumber> - <FileNumber>4</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\div0.c</PathWithFileName> - <FilenameWithoutPath>div0.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>2</GroupNumber> - <FileNumber>5</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\cortex-m0\cpuport.c</PathWithFileName> - <FilenameWithoutPath>cpuport.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>2</GroupNumber> - <FileNumber>6</FileNumber> - <FileType>2</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\cortex-m0\context_rvds.S</PathWithFileName> - <FilenameWithoutPath>context_rvds.S</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>DeviceDrivers</GroupName> + <GroupName>Source Group 1</GroupName> <tvExp>0</tvExp> <tvExpOptDlg>0</tvExpOptDlg> <cbSel>0</cbSel> <RteFlg>0</RteFlg> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>7</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c_core.c</PathWithFileName> - <FilenameWithoutPath>i2c_core.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>8</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c_dev.c</PathWithFileName> - <FilenameWithoutPath>i2c_dev.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>9</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c-bit-ops.c</PathWithFileName> - <FilenameWithoutPath>i2c-bit-ops.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>10</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\misc\pin.c</PathWithFileName> - <FilenameWithoutPath>pin.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>11</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\serial\serial.c</PathWithFileName> - <FilenameWithoutPath>serial.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>12</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\pipe.c</PathWithFileName> - <FilenameWithoutPath>pipe.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>13</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\completion.c</PathWithFileName> - <FilenameWithoutPath>completion.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>14</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\waitqueue.c</PathWithFileName> - <FilenameWithoutPath>waitqueue.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>15</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\ringbuffer.c</PathWithFileName> - <FilenameWithoutPath>ringbuffer.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>16</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\dataqueue.c</PathWithFileName> - <FilenameWithoutPath>dataqueue.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>17</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\workqueue.c</PathWithFileName> - <FilenameWithoutPath>workqueue.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>3</GroupNumber> - <FileNumber>18</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\ringblk_buf.c</PathWithFileName> - <FilenameWithoutPath>ringblk_buf.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>Drivers</GroupName> - <tvExp>1</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>19</FileNumber> - <FileType>2</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s</PathWithFileName> - <FilenameWithoutPath>startup_hk32f030x4x6x8.s</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>20</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>board\msp\hk32_msp.c</PathWithFileName> - <FilenameWithoutPath>hk32_msp.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>21</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>board\board.c</PathWithFileName> - <FilenameWithoutPath>board.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>22</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c</PathWithFileName> - <FilenameWithoutPath>system_hk32f0xx.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>23</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\rt_drivers\drv_gpio.c</PathWithFileName> - <FilenameWithoutPath>drv_gpio.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>24</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\rt_drivers\drv_usart.c</PathWithFileName> - <FilenameWithoutPath>drv_usart.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>4</GroupNumber> - <FileNumber>25</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\rt_drivers\drv_soft_i2c.c</PathWithFileName> - <FilenameWithoutPath>drv_soft_i2c.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>finsh</GroupName> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>5</GroupNumber> - <FileNumber>26</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\finsh\shell.c</PathWithFileName> - <FilenameWithoutPath>shell.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>5</GroupNumber> - <FileNumber>27</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\finsh\msh.c</PathWithFileName> - <FilenameWithoutPath>msh.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>5</GroupNumber> - <FileNumber>28</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\finsh\cmd.c</PathWithFileName> - <FilenameWithoutPath>cmd.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>Kernel</GroupName> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>29</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\ipc.c</PathWithFileName> - <FilenameWithoutPath>ipc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>30</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\irq.c</PathWithFileName> - <FilenameWithoutPath>irq.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>31</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\mem.c</PathWithFileName> - <FilenameWithoutPath>mem.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>32</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\timer.c</PathWithFileName> - <FilenameWithoutPath>timer.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>33</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\scheduler.c</PathWithFileName> - <FilenameWithoutPath>scheduler.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>34</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\clock.c</PathWithFileName> - <FilenameWithoutPath>clock.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>35</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\components.c</PathWithFileName> - <FilenameWithoutPath>components.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>36</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\device.c</PathWithFileName> - <FilenameWithoutPath>device.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>37</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\kservice.c</PathWithFileName> - <FilenameWithoutPath>kservice.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>38</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\idle.c</PathWithFileName> - <FilenameWithoutPath>idle.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>39</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\object.c</PathWithFileName> - <FilenameWithoutPath>object.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>6</GroupNumber> - <FileNumber>40</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\src\thread.c</PathWithFileName> - <FilenameWithoutPath>thread.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>libc</GroupName> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>7</GroupNumber> - <FileNumber>41</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\mem_std.c</PathWithFileName> - <FilenameWithoutPath>mem_std.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>7</GroupNumber> - <FileNumber>42</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\syscalls.c</PathWithFileName> - <FilenameWithoutPath>syscalls.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>7</GroupNumber> - <FileNumber>43</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\libc.c</PathWithFileName> - <FilenameWithoutPath>libc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>7</GroupNumber> - <FileNumber>44</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common\stdlib.c</PathWithFileName> - <FilenameWithoutPath>stdlib.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>7</GroupNumber> - <FileNumber>45</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common\time.c</PathWithFileName> - <FilenameWithoutPath>time.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - </Group> - - <Group> - <GroupName>Libraries</GroupName> - <tvExp>1</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <cbSel>0</cbSel> - <RteFlg>0</RteFlg> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>46</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_rtc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>47</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_syscfg.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>48</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_exti.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>49</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_wwdg.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>50</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_misc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>51</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_i2c.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>52</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_iwdg.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>53</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_flash.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>54</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_divsqrt.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>55</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_gpio.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>56</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_crc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>57</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_spi.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>58</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_pwr.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>59</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_dma.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>60</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_dbgmcu.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>61</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_rcc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>62</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_tim.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>63</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_usart.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> - <File> - <GroupNumber>8</GroupNumber> - <FileNumber>64</FileNumber> - <FileType>1</FileType> - <tvExp>0</tvExp> - <tvExpOptDlg>0</tvExpOptDlg> - <bDave2>0</bDave2> - <PathWithFileName>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c</PathWithFileName> - <FilenameWithoutPath>hk32f0xx_adc.c</FilenameWithoutPath> - <RteFlg>0</RteFlg> - <bShared>0</bShared> - </File> </Group> </ProjectOpt> diff --git a/bsp/hk32/hk32f030c8-mini/project.uvproj b/bsp/hk32/hk32f030c8-mini/project.uvproj index 260d5aec61..3d61cfa029 100644 --- a/bsp/hk32/hk32f030c8-mini/project.uvproj +++ b/bsp/hk32/hk32f030c8-mini/project.uvproj @@ -357,9 +357,9 @@ <useXO>0</useXO> <VariousControls> <MiscControls /> - <Define>USE_STDPERIPH_DRIVER, RT_USING_ARM_LIBC, AT32F403AVGT7, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> + <Define>HK32F030x8, USE_STDPERIPH_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> <Undefine /> - <IncludePath>applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m4;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\msp;..\Libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\Libraries\AT32_Std_Driver\CMSIS\AT32\AT32F4xx\inc;..\Libraries\AT32_Std_Driver\CMSIS;..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\inc</IncludePath> + <IncludePath>applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\msp;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\..\..\examples\utest\testcases\kernel</IncludePath> </VariousControls> </Cads> <Aads> @@ -436,14 +436,14 @@ <File> <FileName>cpuport.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\libcpu\arm\cortex-m4\cpuport.c</FilePath> + <FilePath>..\..\..\libcpu\arm\cortex-m0\cpuport.c</FilePath> </File> </Files> <Files> <File> <FileName>context_rvds.S</FileName> <FileType>2</FileType> - <FilePath>..\..\..\libcpu\arm\cortex-m4\context_rvds.S</FilePath> + <FilePath>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</FilePath> </File> </Files> </Group> @@ -451,6 +451,27 @@ <GroupName>DeviceDrivers</GroupName> <Files> <File> + <FileName>i2c_core.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\components\drivers\i2c\i2c_core.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>i2c_dev.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\components\drivers\i2c\i2c_dev.c</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>i2c-bit-ops.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\components\drivers\i2c\i2c-bit-ops.c</FilePath> + </File> + </Files> + <Files> + <File> <FileName>pin.c</FileName> <FileType>1</FileType> <FilePath>..\..\..\components\drivers\misc\pin.c</FilePath> @@ -465,30 +486,30 @@ </Files> <Files> <File> - <FileName>completion.c</FileName> + <FileName>pipe.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\completion.c</FilePath> + <FilePath>..\..\..\components\drivers\src\pipe.c</FilePath> </File> </Files> <Files> <File> - <FileName>dataqueue.c</FileName> + <FileName>completion.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\dataqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\completion.c</FilePath> </File> </Files> <Files> <File> - <FileName>pipe.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\pipe.c</FilePath> + <FilePath>..\..\..\components\drivers\src\waitqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>dataqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\ringblk_buf.c</FilePath> + <FilePath>..\..\..\components\drivers\src\dataqueue.c</FilePath> </File> </Files> <Files> @@ -500,16 +521,16 @@ </Files> <Files> <File> - <FileName>waitqueue.c</FileName> + <FileName>workqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\waitqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\workqueue.c</FilePath> </File> </Files> <Files> <File> - <FileName>workqueue.c</FileName> + <FileName>ringblk_buf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\drivers\src\workqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\ringblk_buf.c</FilePath> </File> </Files> </Group> @@ -517,61 +538,61 @@ <GroupName>Drivers</GroupName> <Files> <File> - <FileName>board.c</FileName> - <FileType>1</FileType> - <FilePath>board\board.c</FilePath> + <FileName>startup_hk32f030x4x6x8.s</FileName> + <FileType>2</FileType> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s</FilePath> </File> </Files> <Files> <File> - <FileName>at32_msp.c</FileName> + <FileName>system_hk32f0xx.c</FileName> <FileType>1</FileType> - <FilePath>board\msp\at32_msp.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c</FilePath> </File> </Files> <Files> <File> - <FileName>system_at32f4xx.c</FileName> + <FileName>hk32_msp.c</FileName> <FileType>1</FileType> - <FilePath>board\msp\system_at32f4xx.c</FilePath> + <FilePath>board\msp\hk32_msp.c</FilePath> </File> </Files> <Files> <File> - <FileName>startup_at32f403avgt7.s</FileName> - <FileType>2</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\CMSIS\AT32\AT32F4xx\src\mdk\startup_at32f403avgt7.s</FilePath> + <FileName>board.c</FileName> + <FileType>1</FileType> + <FilePath>board\board.c</FilePath> </File> </Files> <Files> <File> <FileName>drv_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\rt_drivers\drv_gpio.c</FilePath> + <FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath> </File> </Files> <Files> <File> <FileName>drv_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\rt_drivers\drv_usart.c</FilePath> + <FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>finsh</GroupName> <Files> <File> - <FileName>shell.c</FileName> + <FileName>drv_soft_i2c.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\shell.c</FilePath> + <FilePath>..\libraries\rt_drivers\drv_soft_i2c.c</FilePath> </File> </Files> + </Group> + <Group> + <GroupName>Finsh</GroupName> <Files> <File> - <FileName>cmd.c</FileName> + <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> </Files> <Files> @@ -581,105 +602,98 @@ <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> </Files> - </Group> - <Group> - <GroupName>Kernel</GroupName> - <Files> - <File> - <FileName>clock.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\src\clock.c</FilePath> - </File> - </Files> <Files> <File> - <FileName>components.c</FileName> + <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\components.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> + </Group> + <Group> + <GroupName>Kernel</GroupName> <Files> <File> - <FileName>device.c</FileName> + <FileName>timer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\device.c</FilePath> + <FilePath>..\..\..\src\timer.c</FilePath> </File> </Files> <Files> <File> - <FileName>idle.c</FileName> + <FileName>object.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\idle.c</FilePath> + <FilePath>..\..\..\src\object.c</FilePath> </File> </Files> <Files> <File> - <FileName>ipc.c</FileName> + <FileName>thread.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\ipc.c</FilePath> + <FilePath>..\..\..\src\thread.c</FilePath> </File> </Files> <Files> <File> - <FileName>irq.c</FileName> + <FileName>scheduler.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\irq.c</FilePath> + <FilePath>..\..\..\src\scheduler.c</FilePath> </File> </Files> <Files> <File> - <FileName>kservice.c</FileName> + <FileName>clock.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\kservice.c</FilePath> + <FilePath>..\..\..\src\clock.c</FilePath> </File> </Files> <Files> <File> - <FileName>mem.c</FileName> + <FileName>components.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\mem.c</FilePath> + <FilePath>..\..\..\src\components.c</FilePath> </File> </Files> <Files> <File> - <FileName>memheap.c</FileName> + <FileName>idle.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\memheap.c</FilePath> + <FilePath>..\..\..\src\idle.c</FilePath> </File> </Files> <Files> <File> - <FileName>mempool.c</FileName> + <FileName>kservice.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\mempool.c</FilePath> + <FilePath>..\..\..\src\kservice.c</FilePath> </File> </Files> <Files> <File> - <FileName>object.c</FileName> + <FileName>device.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\object.c</FilePath> + <FilePath>..\..\..\src\device.c</FilePath> </File> </Files> <Files> <File> - <FileName>scheduler.c</FileName> + <FileName>irq.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\scheduler.c</FilePath> + <FilePath>..\..\..\src\irq.c</FilePath> </File> </Files> <Files> <File> - <FileName>thread.c</FileName> + <FileName>mem.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\thread.c</FilePath> + <FilePath>..\..\..\src\mem.c</FilePath> </File> </Files> <Files> <File> - <FileName>timer.c</FileName> + <FileName>ipc.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\src\timer.c</FilePath> + <FilePath>..\..\..\src\ipc.c</FilePath> </File> </Files> </Group> @@ -694,16 +708,16 @@ </Files> <Files> <File> - <FileName>mem_std.c</FileName> + <FileName>syscalls.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\libc\compilers\armlibc\mem_std.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> </File> </Files> <Files> <File> - <FileName>syscalls.c</FileName> + <FileName>mem_std.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\armlibc\mem_std.c</FilePath> </File> </Files> <Files> @@ -725,184 +739,135 @@ <GroupName>Libraries</GroupName> <Files> <File> - <FileName>at32f4xx_adc.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_adc.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_can.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_can.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_crc.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_crc.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_dbgmcu.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dbgmcu.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_dma.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dma.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_exti.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_exti.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_flash.c</FileName> - <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_flash.c</FilePath> - </File> - </Files> - <Files> - <File> - <FileName>at32f4xx_gpio.c</FileName> + <FileName>hk32f0xx_rtc.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_gpio.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_i2c.c</FileName> + <FileName>hk32f0xx_syscfg.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_i2c.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_iwdg.c</FileName> + <FileName>hk32f0xx_exti.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_iwdg.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_pwr.c</FileName> + <FileName>hk32f0xx_wwdg.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_pwr.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_rcc.c</FileName> + <FileName>hk32f0xx_misc.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_rcc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_spi.c</FileName> + <FileName>hk32f0xx_i2c.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_spi.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_tim.c</FileName> + <FileName>hk32f0xx_iwdg.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_tim.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_usart.c</FileName> + <FileName>hk32f0xx_flash.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_usart.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_wwdg.c</FileName> + <FileName>hk32f0xx_divsqrt.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_wwdg.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_sdio.c</FileName> + <FileName>hk32f0xx_gpio.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_sdio.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_acc.c</FileName> + <FileName>hk32f0xx_crc.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_acc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_bkp.c</FileName> + <FileName>hk32f0xx_spi.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_bkp.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_rtc.c</FileName> + <FileName>hk32f0xx_pwr.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_rtc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_ertc.c</FileName> + <FileName>hk32f0xx_dma.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_ertc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_eth.c</FileName> + <FileName>hk32f0xx_dbgmcu.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_eth.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_xmc.c</FileName> + <FileName>hk32f0xx_rcc.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_xmc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_comp.c</FileName> + <FileName>hk32f0xx_tim.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_comp.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c</FilePath> </File> </Files> <Files> <File> - <FileName>at32f4xx_dac.c</FileName> + <FileName>hk32f0xx_usart.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\at32f4xx_dac.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c</FilePath> </File> </Files> <Files> <File> - <FileName>misc.c</FileName> + <FileName>hk32f0xx_adc.c</FileName> <FileType>1</FileType> - <FilePath>..\Libraries\AT32_Std_Driver\AT32F4xx_StdPeriph_Driver\src\misc.c</FilePath> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_adc.c</FilePath> </File> </Files> </Group> diff --git a/bsp/hk32/hk32f030c8-mini/project.uvprojx b/bsp/hk32/hk32f030c8-mini/project.uvprojx index 75087ceb5c..59afda7662 100644 --- a/bsp/hk32/hk32f030c8-mini/project.uvprojx +++ b/bsp/hk32/hk32f030c8-mini/project.uvprojx @@ -1,16 +1,13 @@ <?xml version="1.0" encoding="UTF-8" standalone="no" ?> <Project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="project_projx.xsd"> - <SchemaVersion>2.1</SchemaVersion> - <Header>### uVision Project, (C) Keil Software</Header> - <Targets> <Target> <TargetName>rt-thread</TargetName> <ToolsetNumber>0x4</ToolsetNumber> <ToolsetName>ARM-ADS</ToolsetName> - <pCCUsed>5060960::V5.06 update 7 (build 960)::.\ARMCC</pCCUsed> + <pCCUsed>5060750::V5.06 update 6 (build 750)::ARMCC</pCCUsed> <uAC6>0</uAC6> <TargetOption> <TargetCommonOption> @@ -19,28 +16,28 @@ <PackID>HKMicroChip.HK32F0xx_DFP.1.0.8</PackID> <PackURL>http://www.hsxp-hk.com/companyfile/2/</PackURL> <Cpu>IRAM(0x20000000,0x00002800) IROM(0x08000000,0x00010000) CPUTYPE("Cortex-M0") CLOCK(12000000) ELITTLE</Cpu> - <FlashUtilSpec></FlashUtilSpec> - <StartupFile></StartupFile> + <FlashUtilSpec /> + <StartupFile /> <FlashDriverDll>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0HK32F0xx_64 -FS08000000 -FL010000 -FP0($$Device:HK32F030C8Tx$Flash\HK32F0xx_64.FLM))</FlashDriverDll> <DeviceId>0</DeviceId> - <RegisterFile></RegisterFile> - <MemoryEnv></MemoryEnv> - <Cmp></Cmp> - <Asm></Asm> - <Linker></Linker> - <OHString></OHString> - <InfinionOptionDll></InfinionOptionDll> - <SLE66CMisc></SLE66CMisc> - <SLE66AMisc></SLE66AMisc> - <SLE66LinkerMisc></SLE66LinkerMisc> + <RegisterFile /> + <MemoryEnv /> + <Cmp /> + <Asm /> + <Linker /> + <OHString /> + <InfinionOptionDll /> + <SLE66CMisc /> + <SLE66AMisc /> + <SLE66LinkerMisc /> <SFDFile>$$Device:HK32F030C8Tx$SVD\HK32F030x.svd</SFDFile> <bCustSvd>0</bCustSvd> <UseEnv>0</UseEnv> - <BinPath></BinPath> - <IncludePath></IncludePath> - <LibPath></LibPath> - <RegisterFilePath></RegisterFilePath> - <DBRegisterFilePath></DBRegisterFilePath> + <BinPath /> + <IncludePath /> + <LibPath /> + <RegisterFilePath /> + <DBRegisterFilePath /> <TargetStatus> <Error>0</Error> <ExitCodeStop>0</ExitCodeStop> @@ -62,8 +59,8 @@ <BeforeCompile> <RunUserProg1>0</RunUserProg1> <RunUserProg2>0</RunUserProg2> - <UserProg1Name></UserProg1Name> - <UserProg2Name></UserProg2Name> + <UserProg1Name /> + <UserProg2Name /> <UserProg1Dos16Mode>0</UserProg1Dos16Mode> <UserProg2Dos16Mode>0</UserProg2Dos16Mode> <nStopU1X>0</nStopU1X> @@ -72,8 +69,8 @@ <BeforeMake> <RunUserProg1>0</RunUserProg1> <RunUserProg2>0</RunUserProg2> - <UserProg1Name></UserProg1Name> - <UserProg2Name></UserProg2Name> + <UserProg1Name /> + <UserProg2Name /> <UserProg1Dos16Mode>0</UserProg1Dos16Mode> <UserProg2Dos16Mode>0</UserProg2Dos16Mode> <nStopB1X>0</nStopB1X> @@ -83,14 +80,14 @@ <RunUserProg1>1</RunUserProg1> <RunUserProg2>0</RunUserProg2> <UserProg1Name>fromelf --bin !L --output rtthread.bin</UserProg1Name> - <UserProg2Name></UserProg2Name> + <UserProg2Name /> <UserProg1Dos16Mode>0</UserProg1Dos16Mode> <UserProg2Dos16Mode>0</UserProg2Dos16Mode> <nStopA1X>0</nStopA1X> <nStopA2X>0</nStopA2X> </AfterMake> <SelectedForBatchBuild>0</SelectedForBatchBuild> - <SVCSIdString></SVCSIdString> + <SVCSIdString /> </TargetCommonOption> <CommonProperty> <UseCPPCompiler>0</UseCPPCompiler> @@ -104,8 +101,8 @@ <AssembleAssemblyFile>0</AssembleAssemblyFile> <PublicsOnly>0</PublicsOnly> <StopOnExitCode>3</StopOnExitCode> - <CustomArgument></CustomArgument> - <IncludeLibraryModules></IncludeLibraryModules> + <CustomArgument /> + <IncludeLibraryModules /> <ComprImg>1</ComprImg> </CommonProperty> <DllOption> @@ -139,10 +136,10 @@ <bUseTDR>1</bUseTDR> <Flash2>BIN\UL2CM3.DLL</Flash2> <Flash3>"" ()</Flash3> - <Flash4></Flash4> - <pFcarmOut></pFcarmOut> - <pFcarmGrp></pFcarmGrp> - <pFcArmRoot></pFcArmRoot> + <Flash4 /> + <pFcarmOut /> + <pFcarmGrp /> + <pFcArmRoot /> <FcArmLst>0</FcArmLst> </Utilities> <TargetArmAds> @@ -175,7 +172,7 @@ <RvctClst>0</RvctClst> <GenPPlst>0</GenPPlst> <AdsCpuType>"Cortex-M0"</AdsCpuType> - <RvctDeviceName></RvctDeviceName> + <RvctDeviceName /> <mOS>0</mOS> <uocRom>0</uocRom> <uocRam>0</uocRam> @@ -309,7 +306,7 @@ <Size>0x0</Size> </OCR_RVCT10> </OnChipMemories> - <RvctStartVector></RvctStartVector> + <RvctStartVector /> </ArmAdsMisc> <Cads> <interw>1</interw> @@ -336,10 +333,10 @@ <v6WtE>0</v6WtE> <v6Rtti>0</v6Rtti> <VariousControls> - <MiscControls></MiscControls> + <MiscControls /> <Define>HK32F030x8, USE_STDPERIPH_DRIVER, RT_USING_ARM_LIBC, __RTTHREAD__, __CLK_TCK=RT_TICK_PER_SECOND</Define> - <Undefine></Undefine> - <IncludePath>applications;.;..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common;..\..\..\..\..\Workspace\rt-thread\libcpu\arm\cortex-m0;..\..\..\..\..\Workspace\rt-thread\components\drivers\include;..\..\..\..\..\Workspace\rt-thread\components\drivers\include;..\..\..\..\..\Workspace\rt-thread\components\drivers\include;..\..\..\..\..\Workspace\rt-thread\components\drivers\include;board;board\msp;..\libraries\rt_drivers;..\..\..\..\..\Workspace\rt-thread\components\finsh;.;..\..\..\..\..\Workspace\rt-thread\include;..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc;..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common;..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common\none-gcc;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\..\..\..\..\Workspace\rt-thread\examples\utest\testcases\kernel</IncludePath> + <Undefine /> + <IncludePath>applications;.;..\..\..\libcpu\arm\common;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;board;board\msp;..\libraries\rt_drivers;..\..\..\components\finsh;.;..\..\..\include;..\..\..\components\libc\compilers\armlibc;..\..\..\components\libc\compilers\common;..\..\..\components\libc\compilers\common\nogcc;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Include;..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\Core;..\libraries\HK32F0xx_StdPeriph_Driver\inc;..\..\..\examples\utest\testcases\kernel</IncludePath> </VariousControls> </Cads> <Aads> @@ -354,10 +351,10 @@ <useXO>0</useXO> <ClangAsOpt>4</ClangAsOpt> <VariousControls> - <MiscControls></MiscControls> - <Define></Define> - <Undefine></Undefine> - <IncludePath></IncludePath> + <MiscControls /> + <Define /> + <Undefine /> + <IncludePath /> </VariousControls> </Aads> <LDads> @@ -369,13 +366,13 @@ <useFile>0</useFile> <TextAddressRange>0x08000000</TextAddressRange> <DataAddressRange>0x20000000</DataAddressRange> - <pXoBase></pXoBase> + <pXoBase /> <ScatterFile>.\board\linker_scripts\link.sct</ScatterFile> - <IncludeLibs></IncludeLibs> - <IncludeLibsPath></IncludeLibsPath> - <Misc></Misc> - <LinkerInputFile></LinkerInputFile> - <DisabledWarnings></DisabledWarnings> + <IncludeLibs /> + <IncludeLibsPath /> + <Misc /> + <LinkerInputFile /> + <DisabledWarnings /> </LDads> </TargetArmAds> </TargetOption> @@ -394,29 +391,37 @@ <GroupName>CPU</GroupName> <Files> <File> - <FileName>showmem.c</FileName> - <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\showmem.c</FilePath> - </File> - <File> <FileName>backtrace.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\backtrace.c</FilePath> + <FilePath>..\..\..\libcpu\arm\common\backtrace.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>div0.c</FileName> + <FileName>showmem.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\common\div0.c</FilePath> + <FilePath>..\..\..\libcpu\arm\common\showmem.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>cpuport.c</FileName> + <FileName>div0.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\cortex-m0\cpuport.c</FilePath> + <FilePath>..\..\..\libcpu\arm\common\div0.c</FilePath> </File> + </Files> + <Files> <File> <FileName>context_rvds.S</FileName> <FileType>2</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\libcpu\arm\cortex-m0\context_rvds.S</FilePath> + <FilePath>..\..\..\libcpu\arm\cortex-m0\context_rvds.S</FilePath> + </File> + </Files> + <Files> + <File> + <FileName>cpuport.c</FileName> + <FileType>1</FileType> + <FilePath>..\..\..\libcpu\arm\cortex-m0\cpuport.c</FilePath> </File> </Files> </Group> @@ -426,62 +431,84 @@ <File> <FileName>i2c_core.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c_core.c</FilePath> + <FilePath>..\..\..\components\drivers\i2c\i2c_core.c</FilePath> </File> + </Files> + <Files> <File> <FileName>i2c_dev.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c_dev.c</FilePath> + <FilePath>..\..\..\components\drivers\i2c\i2c_dev.c</FilePath> </File> + </Files> + <Files> <File> <FileName>i2c-bit-ops.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\i2c\i2c-bit-ops.c</FilePath> + <FilePath>..\..\..\components\drivers\i2c\i2c-bit-ops.c</FilePath> </File> + </Files> + <Files> <File> <FileName>pin.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\misc\pin.c</FilePath> + <FilePath>..\..\..\components\drivers\misc\pin.c</FilePath> </File> + </Files> + <Files> <File> <FileName>serial.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\serial\serial.c</FilePath> + <FilePath>..\..\..\components\drivers\serial\serial.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>pipe.c</FileName> + <FileName>waitqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\pipe.c</FilePath> + <FilePath>..\..\..\components\drivers\src\waitqueue.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>completion.c</FileName> + <FileName>ringblk_buf.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\completion.c</FilePath> + <FilePath>..\..\..\components\drivers\src\ringblk_buf.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>waitqueue.c</FileName> + <FileName>dataqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\waitqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\dataqueue.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>ringbuffer.c</FileName> + <FileName>pipe.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\ringbuffer.c</FilePath> + <FilePath>..\..\..\components\drivers\src\pipe.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>dataqueue.c</FileName> + <FileName>workqueue.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\dataqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\workqueue.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>workqueue.c</FileName> + <FileName>ringbuffer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\workqueue.c</FilePath> + <FilePath>..\..\..\components\drivers\src\ringbuffer.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>ringblk_buf.c</FileName> + <FileName>completion.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\drivers\src\ringblk_buf.c</FilePath> + <FilePath>..\..\..\components\drivers\src\completion.c</FilePath> </File> </Files> </Group> @@ -493,31 +520,43 @@ <FileType>2</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\ARM\startup_hk32f030x4x6x8.s</FilePath> </File> + </Files> + <Files> + <File> + <FileName>system_hk32f0xx.c</FileName> + <FileType>1</FileType> + <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c</FilePath> + </File> + </Files> + <Files> <File> <FileName>hk32_msp.c</FileName> <FileType>1</FileType> <FilePath>board\msp\hk32_msp.c</FilePath> </File> + </Files> + <Files> <File> <FileName>board.c</FileName> <FileType>1</FileType> <FilePath>board\board.c</FilePath> </File> - <File> - <FileName>system_hk32f0xx.c</FileName> - <FileType>1</FileType> - <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\CMSIS\HK32F0xx\Source\system_hk32f0xx.c</FilePath> - </File> + </Files> + <Files> <File> <FileName>drv_gpio.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\rt_drivers\drv_gpio.c</FilePath> </File> + </Files> + <Files> <File> <FileName>drv_usart.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\rt_drivers\drv_usart.c</FilePath> </File> + </Files> + <Files> <File> <FileName>drv_soft_i2c.c</FileName> <FileType>1</FileType> @@ -526,22 +565,26 @@ </Files> </Group> <Group> - <GroupName>finsh</GroupName> + <GroupName>Finsh</GroupName> <Files> <File> <FileName>shell.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\finsh\shell.c</FilePath> + <FilePath>..\..\..\components\finsh\shell.c</FilePath> </File> + </Files> + <Files> <File> <FileName>msh.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\finsh\msh.c</FilePath> + <FilePath>..\..\..\components\finsh\msh.c</FilePath> </File> + </Files> + <Files> <File> <FileName>cmd.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\finsh\cmd.c</FilePath> + <FilePath>..\..\..\components\finsh\cmd.c</FilePath> </File> </Files> </Group> @@ -549,64 +592,86 @@ <GroupName>Kernel</GroupName> <Files> <File> - <FileName>ipc.c</FileName> + <FileName>timer.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\ipc.c</FilePath> + <FilePath>..\..\..\src\timer.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>irq.c</FileName> + <FileName>device.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\irq.c</FilePath> + <FilePath>..\..\..\src\device.c</FilePath> </File> + </Files> + <Files> <File> <FileName>mem.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\mem.c</FilePath> + <FilePath>..\..\..\src\mem.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>timer.c</FileName> + <FileName>components.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\timer.c</FilePath> + <FilePath>..\..\..\src\components.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>scheduler.c</FileName> + <FileName>irq.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\scheduler.c</FilePath> + <FilePath>..\..\..\src\irq.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>clock.c</FileName> + <FileName>scheduler.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\clock.c</FilePath> + <FilePath>..\..\..\src\scheduler.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>components.c</FileName> + <FileName>object.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\components.c</FilePath> + <FilePath>..\..\..\src\object.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>device.c</FileName> + <FileName>ipc.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\device.c</FilePath> + <FilePath>..\..\..\src\ipc.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>kservice.c</FileName> + <FileName>clock.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\kservice.c</FilePath> + <FilePath>..\..\..\src\clock.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>idle.c</FileName> + <FileName>thread.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\idle.c</FilePath> + <FilePath>..\..\..\src\thread.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>object.c</FileName> + <FileName>idle.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\object.c</FilePath> + <FilePath>..\..\..\src\idle.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>thread.c</FileName> + <FileName>kservice.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\src\thread.c</FilePath> + <FilePath>..\..\..\src\kservice.c</FilePath> </File> </Files> </Group> @@ -614,29 +679,37 @@ <GroupName>libc</GroupName> <Files> <File> - <FileName>mem_std.c</FileName> + <FileName>syscalls.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\mem_std.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\armlibc\syscalls.c</FilePath> </File> + </Files> + <Files> <File> - <FileName>syscalls.c</FileName> + <FileName>mem_std.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\syscalls.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\armlibc\mem_std.c</FilePath> </File> + </Files> + <Files> <File> <FileName>libc.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\armlibc\libc.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\armlibc\libc.c</FilePath> </File> + </Files> + <Files> <File> <FileName>stdlib.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common\stdlib.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\common\stdlib.c</FilePath> </File> + </Files> + <Files> <File> <FileName>time.c</FileName> <FileType>1</FileType> - <FilePath>..\..\..\..\..\Workspace\rt-thread\components\libc\compilers\common\time.c</FilePath> + <FilePath>..\..\..\components\libc\compilers\common\time.c</FilePath> </File> </Files> </Group> @@ -648,91 +721,127 @@ <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rtc.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_syscfg.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_syscfg.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_exti.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_exti.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_wwdg.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_wwdg.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_misc.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_misc.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_i2c.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_i2c.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_iwdg.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_iwdg.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_flash.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_flash.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_divsqrt.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_divsqrt.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_gpio.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_gpio.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_crc.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_crc.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_spi.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_spi.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_pwr.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_pwr.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_dma.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dma.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_dbgmcu.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_dbgmcu.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_rcc.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_rcc.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_tim.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_tim.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_usart.c</FileName> <FileType>1</FileType> <FilePath>..\libraries\HK32F0xx_StdPeriph_Driver\src\hk32f0xx_usart.c</FilePath> </File> + </Files> + <Files> <File> <FileName>hk32f0xx_adc.c</FileName> <FileType>1</FileType> @@ -743,11 +852,9 @@ </Groups> </Target> </Targets> - <RTE> - <apis/> - <components/> - <files/> + <apis /> + <components /> + <files /> </RTE> - </Project> diff --git a/bsp/hk32/hk32f030c8-mini/rtconfig.h b/bsp/hk32/hk32f030c8-mini/rtconfig.h index 70c6d10440..ad1410a531 100644 --- a/bsp/hk32/hk32f030c8-mini/rtconfig.h +++ b/bsp/hk32/hk32f030c8-mini/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,11 +29,13 @@ #define RT_USING_EVENT #define RT_USING_MAILBOX #define RT_USING_MESSAGEQUEUE +/* end of Inter-Thread communication */ /* Memory Management */ #define RT_USING_SMALL_MEM #define RT_USING_HEAP +/* end of Memory Management */ /* Kernel Device Object */ @@ -41,7 +43,9 @@ #define RT_USING_CONSOLE #define RT_CONSOLEBUF_SIZE 128 #define RT_CONSOLE_DEVICE_NAME "uart1" +/* end of Kernel Device Object */ #define RT_VER_NUM 0x40004 +/* end of RT-Thread Kernel */ #define ARCH_ARM #define ARCH_ARM_CORTEX_M #define ARCH_ARM_CORTEX_M0 @@ -55,25 +59,28 @@ /* C++ features */ +/* end of C++ features */ /* Command shell */ #define RT_USING_FINSH +#define RT_USING_MSH +#define FINSH_USING_MSH #define FINSH_THREAD_NAME "tshell" +#define FINSH_THREAD_PRIORITY 20 +#define FINSH_THREAD_STACK_SIZE 1024 #define FINSH_USING_HISTORY #define FINSH_HISTORY_LINES 5 #define FINSH_USING_SYMTAB -#define FINSH_USING_DESCRIPTION -#define FINSH_THREAD_PRIORITY 20 -#define FINSH_THREAD_STACK_SIZE 1024 #define FINSH_CMD_SIZE 80 -#define FINSH_USING_MSH -#define FINSH_USING_MSH_DEFAULT -#define FINSH_USING_MSH_ONLY +#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 */ @@ -88,34 +95,47 @@ /* Using USB */ +/* end of Using USB */ +/* end of Device Drivers */ /* POSIX layer and C standard library */ #define RT_USING_LIBC +#define RT_LIBC_USING_TIME #define RT_LIBC_DEFAULT_TIMEZONE 8 +/* 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 */ @@ -126,46 +146,72 @@ /* Marvell WiFi */ +/* end of Marvell WiFi */ /* Wiced WiFi */ +/* end of Wiced WiFi */ +/* end of Wi-Fi */ /* IoT Cloud */ +/* end of IoT Cloud */ +/* end of IoT - internet of things */ /* security packages */ +/* end of security packages */ /* language packages */ +/* end of language packages */ /* multimedia packages */ +/* lvgl: powerful and easy-to-use embedded GUI library */ + +/* end of lvgl: powerful and easy-to-use embedded GUI library */ + +/* u8g2: a monochrome graphic library */ + +/* end of u8g2: a monochrome graphic library */ +/* end of multimedia packages */ + /* tools packages */ +/* end of tools packages */ /* system packages */ /* acceleration: Assembly language or algorithmic acceleration packages */ +/* end of acceleration: Assembly language or algorithmic acceleration packages */ /* 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_HK32 #define SOC_SERIES_HK32F0XX @@ -176,6 +222,7 @@ /* Onboard Peripheral Drivers */ #define BSP_USING_SERIAL +/* end of Onboard Peripheral Drivers */ /* On-chip Peripheral Drivers */ @@ -189,5 +236,7 @@ #define BSP_USING_I2C2 #define BSP_I2C2_SCL_PIN 26 #define BSP_I2C2_SDA_PIN 27 +/* end of On-chip Peripheral Drivers */ +/* end of Hardware Drivers Config */ #endif |
