2.1
### uVision Project, (C) Keil Software
rt-thread
0x4
ARM-ADS
5060422::V5.06 update 4 (build 422)::ARMCC
HT32F12366
Holtek
Holtek.HT32_DFP.1.0.19
http://mcu.holtek.com.tw/pack
IRAM(0x20000000,0x20000) IROM(0x00000000,0x3FC00) CPUTYPE("Cortex-M3") CLOCK(12000000) ELITTLE
UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN2 -FF0HT32F -FS00 -FL0100000 -FF1HT32F_OPT -FS11FF00000 -FL11000 -FP0($$Device:HT32F12366$ARM\Flash\HT32F.FLM) -FP1($$Device:HT32F12366$ARM\Flash\HT32F_OPT.FLM))
0
$$Device:HT32F12366$ARM\INC\Holtek\HT32F1xxxx\ht32f1xxxx_01.h
$$Device:HT32F12366$SVD\HT32F12365_66.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
DCM.DLL
-pCM3
SARMCM3.DLL
TCM.DLL
-pCM3
1
0
0
0
16
1
0
0
1
1
4096
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-M3"
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
0x20000
1
0x0
0x3fc00
0
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x0
1
0x0
0x3fc00
1
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x0
0x0
0
0x20000000
0x20000
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, USE_HT32F12366_SK, USE_HT32F12365_66, USE_MEM_HT32F12366, __CLK_TCK=RT_TICK_PER_SECOND, USE_HT32_DRIVER, __RTTHREAD__
..\..\..\components\drivers\include;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\extension;..\..\..\include;..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\inc;..\..\..\components\libc\posix\ipc;..\..\..\components\drivers\include;..\libraries\ht32_drivers;board\inc;..\..\..\libcpu\arm\common;..\..\..\components\libc\compilers\common\extension\fcntl\octal;..\..\..\components\libc\posix\io\epoll;..\..\..\components\drivers\include;applications;..\libraries\HT32_STD_1xxxx_FWLib\library\CMSIS\Include;..\..\..\components\libc\posix\io\eventfd;..\..\..\components\drivers\include;.;..\..\..\components\drivers\include;..\..\..\components\libc\posix\io\poll;..\..\..\components\drivers\include;..\..\..\components\libc\compilers\common\include;..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Include;..\..\..\components\finsh;..\..\..\components\drivers\spi;..\..\..\components\drivers\include;..\..\..\libcpu\arm\cortex-m3
1
0
0
0
0
0
0
0
0
0
USE_HT32_CHIP=2
0
0
0
0
1
0
0x00000000
0x20000000
.\board\linker_scripts\link.sct
Applications
main.c
1
applications\main.c
test.c
1
applications\test.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_ht32f1xxxx_01.s
2
..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\ARM\startup_ht32f1xxxx_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
atomic_arm.c
1
..\..\..\libcpu\arm\common\atomic_arm.c
div0.c
1
..\..\..\libcpu\arm\common\div0.c
showmem.c
1
..\..\..\libcpu\arm\common\showmem.c
context_rvds.S
2
..\..\..\libcpu\arm\cortex-m3\context_rvds.S
cpuport.c
1
..\..\..\libcpu\arm\cortex-m3\cpuport.c
Libraries
ht32f1xxxx_wdt.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_wdt.c
ht32f1xxxx_sci.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sci.c
ht32f1xxxx_rstcu.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rstcu.c
ht32f1xxxx_usbd.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usbd.c
ht32f1xxxx_tm.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_tm.c
ht32f1xxxx_ckcu.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ckcu.c
ht32f1xxxx_usart.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_usart.c
ht32f1xxxx_aes.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_aes.c
ht32f1xxxx_flash.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_flash.c
ht32f1xxxx_gpio.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_gpio.c
ht32_cm3_misc.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32_cm3_misc.c
ht32f1xxxx_crc.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_crc.c
ht32f1xxxx_sdio.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_sdio.c
ht32f1xxxx_ebi.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_ebi.c
ht32f1xxxx_cmp.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_cmp.c
ht32f2xxxx_csif.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f2xxxx_csif.c
ht32f1xxxx_i2c.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2c.c
ht32f1xxxx_adc.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_adc.c
ht32f1xxxx_pwrcu.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pwrcu.c
ht32f1xxxx_pdma.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_pdma.c
system_ht32f1xxxx_02.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\Device\Holtek\HT32F1xxxx\Source\system_ht32f1xxxx_02.c
ht32f1xxxx_mctm.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_mctm.c
ht32f1xxxx_spi.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_spi.c
ht32f1xxxx_bftm.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_bftm.c
ht32f1xxxx_i2s.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_i2s.c
ht32f1xxxx_exti.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_exti.c
ht32f1xxxx_rtc.c
1
..\libraries\HT32_STD_1xxxx_FWLib\library\HT32F1xxxx_Driver\src\ht32f1xxxx_rtc.c