2.1
### uVision Project, (C) Keil Software
rt-thread
0x4
ARM-ADS
5060422::V5.06 update 4 (build 422)::ARMCC
HT32F52352
Holtek
Holtek.HT32_DFP.1.0.19
http://mcu.holtek.com.tw/pack
IRAM(0x20000000,0x4000) IROM(0x00000000,0x1FE00) CPUTYPE("Cortex-M0+") CLOCK(12000000) ELITTLE
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0HT32F -FS00 -FL0100000 -FF1HT32F_OPT -FS11FF00000 -FL11000 -FP0($$Device:HT32F52352$ARM\Flash\HT32F.FLM) -FP1($$Device:HT32F52352$ARM\Flash\HT32F_OPT.FLM))
0
$$Device:HT32F52352$ARM\INC\Holtek\HT32F5xxxx\ht32f5xxxx_01.h
$$Device:HT32F52352$SVD\HT32F52342_52.svd
0
0
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
0x1fe00
0
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x1fe00
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
__STDC_LIMIT_MACROS, RT_USING_ARMLIBC, RT_USING_LIBC, __CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, __RTTHREAD__, USE_HT32F52352_SK, USE_HT32F52342_52, USE_MEM_HT32F52352
..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\ht32_drivers;..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Include;..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\libraries\HT32_STD_5xxxx_FWLib\library\CMSIS\Include;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\eventfd;board\inc;..\..\..\components\drivers\include;..\..\..\components\drivers\include;.;..\..\..\components\libc\posix\io\poll;..\..\..\components\libc\compilers\common\include;..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\finsh;applications;..\..\..\components\drivers\spi;..\..\..\libcpu\arm\cortex-m0
1
0
0
0
0
0
0
0
0
0
USE_HT32_CHIP=4
0
0
0
0
1
0
0x00000000
0x20000000
.\board\linker_scripts\link.sct
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__
i2c-bit-ops.c
1
..\..\..\components\drivers\i2c\i2c-bit-ops.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__
i2c_core.c
1
..\..\..\components\drivers\i2c\i2c_core.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__
i2c_dev.c
1
..\..\..\components\drivers\i2c\i2c_dev.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.c
1
..\..\..\components\drivers\ipc\completion.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__
adc.c
1
..\..\..\components\drivers\misc\adc.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__
pin.c
1
..\..\..\components\drivers\pin\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__
serial.c
1
..\..\..\components\drivers\serial\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__
spi_core.c
1
..\..\..\components\drivers\spi\spi_core.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__
spi_dev.c
1
..\..\..\components\drivers\spi\spi_dev.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__
watchdog.c
1
..\..\..\components\drivers\watchdog\watchdog.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_01.s
2
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\ARM\startup_ht32f5xxxx_01.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
shell.c
1
..\..\..\components\finsh\shell.c
msh.c
1
..\..\..\components\finsh\msh.c
msh_parse.c
1
..\..\..\components\finsh\msh_parse.c
cmd.c
1
..\..\..\components\finsh\cmd.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__
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__
kstdio.c
1
..\..\..\src\klibc\kstdio.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__
kstring.c
1
..\..\..\src\klibc\kstring.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__
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_sci.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_sci.c
ht32f5xxxx_rstcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rstcu.c
ht32f5xxxx_adc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_adc.c
ht32f5xxxx_cmp.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_cmp.c
ht32_cm0plus_misc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32_cm0plus_misc.c
ht32f5xxxx_crc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_crc.c
ht32f5xxxx_spi.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_spi.c
ht32f5xxxx_pwrcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pwrcu.c
ht32f5xxxx_pdma.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_pdma.c
ht32f5xxxx_mctm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_mctm.c
ht32f5xxxx_rtc.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_rtc.c
ht32f5xxxx_i2s.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2s.c
ht32f5xxxx_usbd.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_usbd.c
ht32f5xxxx_wdt.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_wdt.c
ht32f5xxxx_ebi.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ebi.c
ht32f5xxxx_tm.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_tm.c
ht32f5xxxx_ckcu.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_ckcu.c
ht32f5xxxx_gpio.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_gpio.c
ht32f5xxxx_exti.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_exti.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_i2c.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_i2c.c
ht32f5xxxx_flash.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\HT32F5xxxx_Driver\src\ht32f5xxxx_flash.c
system_ht32f5xxxx_01.c
1
..\libraries\HT32_STD_5xxxx_FWLib\library\Device\Holtek\HT32F5xxxx\Source\system_ht32f5xxxx_01.c