2.1
### uVision Project, (C) Keil Software
rt-thread
0x4
ARM-ADS
5060422::V5.06 update 4 (build 422)::ARMCC
HT32F53252
Holtek
Holtek.HT32_DFP.1.0.55
https://mcu.holtek.com.tw/pack
IRAM(0x20000000-0x20003FFF) IROM(0x00000000-0x0001FBFF) CLOCK(8000000) CPUTYPE("Cortex-M0+")
"STARTUP\Holtek\HT32F5xxxx\startup_ht32f53242_52.s" ("Holtek HT32F5xxxx Startup Code")
UL2CM3(-O142 -S0 -C0 -FO7 -FD20000000 -FC800 -FN2 -FF0HT32F -FS00 -FL01FC00 -FF1HT32F_OPT -FS11FF00000 -FL1400)
0
HT32F5xxxx_01.h
SFD\Holtek\HT32F5xxxx\HT32F53242_52.SFR
0
0
Holtek\HT32F5xxxx\
Holtek\HT32F5xxxx\
0
0
0
0
1
.\build\keil\Obj\
rt-thread
1
0
0
1
1
.\build\keil\List\
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
3
1
SARMCM3.DLL
DARMCM1.DLL
-pCM0+
SARMCM3.DLL
TARMCM1.DLL
-pCM0+
1
0
0
0
16
1
0
0
1
0
-1
1
BIN\UL2CM3.DLL
0
0
1
1
1
1
1
1
1
0
1
1
0
1
1
0
0
1
1
1
1
1
1
1
1
1
0
0
"Cortex-M0+"
0
0
0
1
1
0
0
0
0
0
8
0
0
0
0
3
3
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x20000000
0x4000
1
0x0
0x1fc00
0
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x1fc00
1
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x20000000
0x4000
0
0x0
0x0
1
1
0
0
1
0
0
0
0
0
2
0
0
1
0
1
1
1
1
0
0
0
--gnu
__CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, RT_USING_ARMLIBC, __STDC_LIMIT_MACROS, USE_HT32F53252_SK, USE_HT32F53242_52, USE_MEM_HT32F53252, __RTTHREAD__, RT_USING_LIBC
..\..\..\components\libc\posix\io\epoll;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\components\drivers\phy;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\libc\compilers\common\include;..\..\..\libcpu\arm\cortex-m0;..\..\..\components\finsh;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\libcpu\arm\common;..\libraries\ht32_drivers;applications;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\smp_call;..\..\..\components\drivers\include;..\libraries\usbd_library\inc;..\..\..\components\libc\compilers\common\extension;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\..\..\include
1
0
0
0
0
0
0
0
0
0
USE_HT32_CHIP=28
1
0
0
0
1
0
0x00000000
0x20000000
Applications
main.c
1
applications\main.c
Compiler
syscall_mem.c
1
..\..\..\components\libc\compilers\armlibc\syscall_mem.c
syscalls.c
1
..\..\..\components\libc\compilers\armlibc\syscalls.c
cctype.c
1
..\..\..\components\libc\compilers\common\cctype.c
cstdlib.c
1
..\..\..\components\libc\compilers\common\cstdlib.c
cstring.c
1
..\..\..\components\libc\compilers\common\cstring.c
ctime.c
1
..\..\..\components\libc\compilers\common\ctime.c
cunistd.c
1
..\..\..\components\libc\compilers\common\cunistd.c
cwchar.c
1
..\..\..\components\libc\compilers\common\cwchar.c
DeviceDrivers
device.c
1
..\..\..\components\drivers\core\device.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
completion_comm.c
1
..\..\..\components\drivers\ipc\completion_comm.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
completion_up.c
1
..\..\..\components\drivers\ipc\completion_up.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
condvar.c
1
..\..\..\components\drivers\ipc\condvar.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
dataqueue.c
1
..\..\..\components\drivers\ipc\dataqueue.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
pipe.c
1
..\..\..\components\drivers\ipc\pipe.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
ringblk_buf.c
1
..\..\..\components\drivers\ipc\ringblk_buf.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
ringbuffer.c
1
..\..\..\components\drivers\ipc\ringbuffer.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
waitqueue.c
1
..\..\..\components\drivers\ipc\waitqueue.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
workqueue.c
1
..\..\..\components\drivers\ipc\workqueue.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
dev_pin.c
1
..\..\..\components\drivers\pin\dev_pin.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
dev_serial.c
1
..\..\..\components\drivers\serial\dev_serial.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_IPC_SOURCE__
Drivers
board.c
1
board\src\board.c
ht32_msp.c
1
board\src\ht32_msp.c
startup_ht32f5xxxx_15.s
2
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_15.s
drv_common.c
1
..\libraries\ht32_drivers\drv_common.c
drv_gpio.c
1
..\libraries\ht32_drivers\drv_gpio.c
drv_usart.c
1
..\libraries\ht32_drivers\drv_usart.c
Finsh
msh_parse.c
1
..\..\..\components\finsh\msh_parse.c
cmd.c
1
..\..\..\components\finsh\cmd.c
msh.c
1
..\..\..\components\finsh\msh.c
shell.c
1
..\..\..\components\finsh\shell.c
Kernel
clock.c
1
..\..\..\src\clock.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
components.c
1
..\..\..\src\components.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
cpu_up.c
1
..\..\..\src\cpu_up.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
defunct.c
1
..\..\..\src\defunct.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
idle.c
1
..\..\..\src\idle.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
ipc.c
1
..\..\..\src\ipc.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
irq.c
1
..\..\..\src\irq.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
kservice.c
1
..\..\..\src\kservice.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
mem.c
1
..\..\..\src\mem.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
memheap.c
1
..\..\..\src\memheap.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
mempool.c
1
..\..\..\src\mempool.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
object.c
1
..\..\..\src\object.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
scheduler_comm.c
1
..\..\..\src\scheduler_comm.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
scheduler_up.c
1
..\..\..\src\scheduler_up.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
thread.c
1
..\..\..\src\thread.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
timer.c
1
..\..\..\src\timer.c
2
0
0
0
0
1
0
0
0
0
3
1
2
0
2
2
2
2
2
2
2
2
0
2
2
2
2
0
0
2
2
2
2
2
__RT_KERNEL_SOURCE__
klibc
kstring.c
1
..\..\..\src\klibc\kstring.c
kstdio.c
1
..\..\..\src\klibc\kstdio.c
rt_vsnprintf_tiny.c
1
..\..\..\src\klibc\rt_vsnprintf_tiny.c
kerrno.c
1
..\..\..\src\klibc\kerrno.c
rt_vsscanf.c
1
..\..\..\src\klibc\rt_vsscanf.c
libcpu
div0.c
1
..\..\..\libcpu\arm\common\div0.c
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
context_rvds.S
2
..\..\..\libcpu\arm\cortex-m0\context_rvds.S
cpuport.c
1
..\..\..\libcpu\arm\cortex-m0\cpuport.c
Libraries
ht32f5xxxx_gpio.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
ht32_cm0plus_misc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
ht32f5xxxx_ledc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ledc.c
ht32f5xxxx_tm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
ht32f5xxxx_wdt.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
ht32f5xxxx_bftm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_bftm.c
ht32f5xxxx_usart.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usart.c
ht32f5xxxx_flash.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
ht32f5xxxx_ebi.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
ht32f5xxxx_ckcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
ht32f5xxxx_div.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_div.c
ht32f5xxxx_pwrcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
ht32f5xxxx_i2c.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
ht32f5xxxx_cmp.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
ht32f5xxxx_pdma.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
ht32f5xxxx_can.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_can.c
ht32f5xxxx_crc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
ht32f5xxxx_rtc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
ht32f5xxxx_mctm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
ht32f5xxxx_adc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
system_ht32f5xxxx_15.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_15.c
ht32f5xxxx_exti.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.c
ht32f5xxxx_rstcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
ht32f5xxxx_spi.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c