添加了PIN设备框架,修改了设备类型

This commit is contained in:
小马_666 2024-09-05 10:47:43 +08:00
parent 2102dda0f3
commit cc9a664bcd
16 changed files with 3309 additions and 3279 deletions

Binary file not shown.

View File

@ -27,11 +27,11 @@ Project File Date: 09/04/2024
<h2>Output:</h2>
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'USART1_Interrupt'
compiling cpu.c...
compiling slab.c...
compiling idle.c...
compiling slab.c...
compiling dev_pin.c...
compiling device.c...
compiling cpu.c...
compiling cmd.c...
compiling ulog.c...
../bsp/src/bsp_flash.c(17): warning: In file included from...
../LIB/perf_counter\perf_counter.h(285): warning: Please enable GNU extensions, it is required by __cycleof__() and __super_loop_monitor__() [-W#warnings]
@ -41,15 +41,15 @@ compiling ulog.c...
compiling bsp_flash.c...
compiling ipc.c...
linking...
Program Size: Code=31354 RO-data=7446 RW-data=144 ZI-data=9280
Program Size: Code=31374 RO-data=7614 RW-data=144 ZI-data=9256
FromELF: creating hex file...
After Build - User command #1: "D:\SXDT\Official_information\HDDZ\demo\CIU32_L051_PROJECT\USART1_Interrupt - RT-Thread\keil5_disp_size_bar\keil5_disp_size_bar.exe"
ram:
RW_IRAM1 :0x20000000
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö_________| 57.52 % ( 9.20 KB / 16.00 KB) [6960 B]
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö_________| 57.37 % ( 9.18 KB / 16.00 KB) [6984 B]
flash:
ER_IROM1 :0x8000000
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö_________| 59.20 % ( 37.89 KB / 64.00 KB) [26736 B]
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö_________| 59.49 % ( 38.07 KB / 64.00 KB) [26548 B]
".\CIU32_L051_M307R.axf" - 0 Error(s), 1 Warning(s).
<h2>Software Packages used:</h2>

File diff suppressed because it is too large Load Diff

View File

@ -3,7 +3,7 @@
<title>Static Call Graph - [.\CIU32_L051_M307R.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\CIU32_L051_M307R.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6210000: Last Updated: Thu Sep 5 09:58:58 2024
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6210000: Last Updated: Thu Sep 5 10:46:25 2024
<BR><P>
<H3>Maximum Stack Usage = 1080 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@ -69,12 +69,12 @@ Function Pointers
<LI><a href="#[24]">__main</a> from entry.o(.ARM.Collect$$$$00000000) referenced from startup_ciu32l051.o(.text)
<LI><a href="#[59]">__perf_counter_init</a> from perf_counter.o(.text.__perf_counter_init) referenced from perf_counter.o(.init_array)
<LI><a href="#[44]">_perf_counter_init</a> from perf_os_patch_rt_thread.o(.text._perf_counter_init) referenced from perf_os_patch_rt_thread.o(.rti_fn.6)
<LI><a href="#[2f]">_pin_control</a> from dev_pin.o(.text._pin_control) referenced from dev_pin.o(.text.rt_device_pin_register)
<LI><a href="#[35]">_pin_mode</a> from drv_gpio.o(.text._pin_mode) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[37]">_pin_read</a> from drv_gpio.o(.text._pin_read) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[31]">_pin_read</a> from dev_pin.o(.text._pin_read) referenced from dev_pin.o(.text.rt_device_pin_register)
<LI><a href="#[36]">_pin_write</a> from drv_gpio.o(.text._pin_write) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[30]">_pin_write</a> from dev_pin.o(.text._pin_write) referenced from dev_pin.o(.text.rt_device_pin_register)
<LI><a href="#[37]">_pin_control</a> from dev_pin.o(.text._pin_control) referenced from dev_pin.o(.rodata.pin_ops)
<LI><a href="#[32]">_pin_mode</a> from drv_gpio.o(.text._pin_mode) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[34]">_pin_read</a> from drv_gpio.o(.text._pin_read) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[35]">_pin_read</a> from dev_pin.o(.text._pin_read) referenced from dev_pin.o(.rodata.pin_ops)
<LI><a href="#[33]">_pin_write</a> from drv_gpio.o(.text._pin_write) referenced from drv_gpio.o(.rodata._pin_ops)
<LI><a href="#[36]">_pin_write</a> from dev_pin.o(.text._pin_write) referenced from dev_pin.o(.rodata.pin_ops)
<LI><a href="#[57]">cmd_free</a> from msh.o(.text.cmd_free) referenced from msh.o(FSymTab)
<LI><a href="#[56]">cmd_ps</a> from msh.o(.text.cmd_ps) referenced from msh.o(FSymTab)
<LI><a href="#[2b]">finsh_rx_ind</a> from shell.o(.text.finsh_rx_ind) referenced from shell.o(.text.finsh_set_device)
@ -100,17 +100,17 @@ Function Pointers
<LI><a href="#[2d]">rt_kprintf</a> from kservice.o(.text.rt_kprintf) referenced from cpuport.o(.text.rt_hw_hard_fault_exception)
<LI><a href="#[2d]">rt_kprintf</a> from kservice.o(.text.rt_kprintf) referenced from kservice.o(.text.rt_show_version)
<LI><a href="#[29]">rt_thread_exit</a> from thread.o(.text.rt_thread_exit) referenced from thread.o(.text._rt_thread_init)
<LI><a href="#[32]">rt_thread_idle_entry</a> from idle.o(.text.rt_thread_idle_entry) referenced from idle.o(.text.rt_thread_idle_init)
<LI><a href="#[2f]">rt_thread_idle_entry</a> from idle.o(.text.rt_thread_idle_entry) referenced from idle.o(.text.rt_thread_idle_init)
<LI><a href="#[2a]">rt_thread_timeout</a> from thread.o(.text.rt_thread_timeout) referenced from thread.o(.text._rt_thread_init)
<LI><a href="#[3c]">rti_board_end</a> from components.o(.text.rti_board_end) referenced from components.o(.rti_fn.1.end)
<LI><a href="#[39]">rti_board_start</a> from components.o(.text.rti_board_start) referenced from components.o(.rti_fn.0.end)
<LI><a href="#[45]">rti_end</a> from components.o(.text.rti_end) referenced from components.o(.rti_fn.6.end)
<LI><a href="#[38]">rti_start</a> from components.o(.text.rti_start) referenced from components.o(.rti_fn.0)
<LI><a href="#[40]">ulog_console_backend_init</a> from console_be.o(.text.ulog_console_backend_init) referenced from console_be.o(.rti_fn.2)
<LI><a href="#[33]">ulog_console_backend_output</a> from console_be.o(.text.ulog_console_backend_output) referenced from console_be.o(.text.ulog_console_backend_init)
<LI><a href="#[30]">ulog_console_backend_output</a> from console_be.o(.text.ulog_console_backend_output) referenced from console_be.o(.text.ulog_console_backend_init)
<LI><a href="#[3b]">ulog_init</a> from ulog.o(.text.ulog_init) referenced from ulog.o(.rti_fn.1)
<LI><a href="#[34]">ulog_strcpy</a> from ulog.o(.text.ulog_strcpy) referenced from ulog.o(.text.ulog_formater)
<LI><a href="#[34]">ulog_strcpy</a> from ulog.o(.text.ulog_strcpy) referenced from ulog.o(.text.ulog_hexdump)
<LI><a href="#[31]">ulog_strcpy</a> from ulog.o(.text.ulog_strcpy) referenced from ulog.o(.text.ulog_formater)
<LI><a href="#[31]">ulog_strcpy</a> from ulog.o(.text.ulog_strcpy) referenced from ulog.o(.text.ulog_hexdump)
<LI><a href="#[4b]">version</a> from cmd.o(.text.version) referenced 2 times from cmd.o(FSymTab)
</UL>
<P>
@ -401,8 +401,7 @@ Global Symbols
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;BSP_Flash_Init
<LI><a href="#[97]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HR_ProcessData
<LI><a href="#[25]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Hr_Thread_Entry
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_mode
<LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_device_pin_register
<LI><a href="#[32]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_mode
<LI><a href="#[a9]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_DoInit
</UL>
@ -1145,7 +1144,7 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> cmd.o(FSymTab)
</UL>
<P><STRONG><a name="[53]"></a>list_device</STRONG> (Thumb, 160 bytes, Stack size 96 bytes, cmd.o(.text.list_device))
<P><STRONG><a name="[53]"></a>list_device</STRONG> (Thumb, 164 bytes, Stack size 96 bytes, cmd.o(.text.list_device))
<BR><BR>[Stack]<UL><LI>Max Depth = 456<LI>Call Chain = list_device &rArr; object_split &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[e8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_object_get_information
@ -1428,9 +1427,9 @@ Global Symbols
<LI><a href="#[96]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_malloc
<LI><a href="#[f2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_pin_write
<LI><a href="#[f1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_pin_mode
<LI><a href="#[31]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_read
<LI><a href="#[30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_write
<LI><a href="#[2f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_control
<LI><a href="#[37]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_control
<LI><a href="#[36]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_write
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_read
<LI><a href="#[128]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_sleep
<LI><a href="#[123]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_delete
<LI><a href="#[122]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_detach
@ -1460,7 +1459,7 @@ Global Symbols
<LI><a href="#[13e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_backend_register
<LI><a href="#[141]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_voutput
<LI><a href="#[13f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_formater
<LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
<LI><a href="#[31]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
</UL>
<P><STRONG><a name="[d8]"></a>rt_calloc</STRONG> (Thumb, 32 bytes, Stack size 16 bytes, mem.o(.text.rt_calloc))
@ -1486,10 +1485,10 @@ Global Symbols
<P><STRONG><a name="[db]"></a>rt_console_get_device</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, kservice.o(.text.rt_console_get_device))
<BR><BR>[Called By]<UL><LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;finsh_thread_entry
<LI><a href="#[33]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
<LI><a href="#[30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
</UL>
<P><STRONG><a name="[d5]"></a>rt_device_close</STRONG> (Thumb, 100 bytes, Stack size 16 bytes, device.o(.text.rt_device_close))
<P><STRONG><a name="[d5]"></a>rt_device_close</STRONG> (Thumb, 108 bytes, Stack size 16 bytes, device.o(.text.rt_device_close))
<BR><BR>[Stack]<UL><LI>Max Depth = 40<LI>Call Chain = rt_device_close &rArr; rt_object_get_type &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
@ -1507,7 +1506,7 @@ Global Symbols
<LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_device_register
</UL>
<P><STRONG><a name="[d4]"></a>rt_device_open</STRONG> (Thumb, 196 bytes, Stack size 24 bytes, device.o(.text.rt_device_open))
<P><STRONG><a name="[d4]"></a>rt_device_open</STRONG> (Thumb, 208 bytes, Stack size 24 bytes, device.o(.text.rt_device_open))
<BR><BR>[Stack]<UL><LI>Max Depth = 480<LI>Call Chain = rt_device_open &rArr; ulog_output &rArr; ulog_voutput &rArr; do_output &rArr; rt_kputs &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
@ -1517,16 +1516,15 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;finsh_set_device
</UL>
<P><STRONG><a name="[ff]"></a>rt_device_pin_register</STRONG> (Thumb, 56 bytes, Stack size 24 bytes, dev_pin.o(.text.rt_device_pin_register))
<BR><BR>[Stack]<UL><LI>Max Depth = 424<LI>Call Chain = rt_device_pin_register &rArr; rt_device_register &rArr; rt_device_find &rArr; rt_object_find &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
<P><STRONG><a name="[ff]"></a>rt_device_pin_register</STRONG> (Thumb, 36 bytes, Stack size 16 bytes, dev_pin.o(.text.rt_device_pin_register))
<BR><BR>[Stack]<UL><LI>Max Depth = 416<LI>Call Chain = rt_device_pin_register &rArr; rt_device_register &rArr; rt_device_find &rArr; rt_object_find &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[100]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_device_register
<LI><a href="#[70]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__aeabi_memclr4
</UL>
<BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_hw_pin_init
</UL>
<P><STRONG><a name="[dc]"></a>rt_device_read</STRONG> (Thumb, 96 bytes, Stack size 24 bytes, device.o(.text.rt_device_read))
<P><STRONG><a name="[dc]"></a>rt_device_read</STRONG> (Thumb, 104 bytes, Stack size 24 bytes, device.o(.text.rt_device_read))
<BR><BR>[Stack]<UL><LI>Max Depth = 48<LI>Call Chain = rt_device_read &rArr; rt_object_get_type &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
@ -1554,7 +1552,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[d2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;finsh_set_device
</UL>
<P><STRONG><a name="[103]"></a>rt_device_write</STRONG> (Thumb, 96 bytes, Stack size 24 bytes, device.o(.text.rt_device_write))
<P><STRONG><a name="[103]"></a>rt_device_write</STRONG> (Thumb, 104 bytes, Stack size 24 bytes, device.o(.text.rt_device_write))
<BR><BR>[Stack]<UL><LI>Max Depth = 48<LI>Call Chain = rt_device_write &rArr; rt_object_get_type &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
@ -1563,7 +1561,7 @@ Global Symbols
</UL>
<BR>[Called By]<UL><LI><a href="#[2d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_kprintf
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_kputs
<LI><a href="#[33]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
<LI><a href="#[30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
</UL>
<P><STRONG><a name="[104]"></a>rt_enter_critical</STRONG> (Thumb, 20 bytes, Stack size 8 bytes, scheduler.o(.text.rt_enter_critical))
@ -1632,7 +1630,7 @@ Global Symbols
</UL>
<BR>[Called By]<UL><LI><a href="#[2d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_kprintf
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_kputs
<LI><a href="#[33]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
<LI><a href="#[30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
</UL>
<P><STRONG><a name="[5e]"></a>rt_hw_hard_fault_exception</STRONG> (Thumb, 68 bytes, Stack size 0 bytes, cpuport.o(.text.rt_hw_hard_fault_exception))
@ -1644,7 +1642,7 @@ Global Symbols
</UL>
<P><STRONG><a name="[3a]"></a>rt_hw_pin_init</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, drv_gpio.o(.text.rt_hw_pin_init))
<BR><BR>[Stack]<UL><LI>Max Depth = 432<LI>Call Chain = rt_hw_pin_init &rArr; rt_device_pin_register &rArr; rt_device_register &rArr; rt_device_find &rArr; rt_object_find &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
<BR><BR>[Stack]<UL><LI>Max Depth = 424<LI>Call Chain = rt_hw_pin_init &rArr; rt_device_pin_register &rArr; rt_device_register &rArr; rt_device_find &rArr; rt_object_find &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[ff]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_device_pin_register
</UL>
@ -2276,7 +2274,7 @@ Global Symbols
<LI><a href="#[8c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_hw_interrupt_disable
<LI><a href="#[9e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_free
</UL>
<BR>[Called By]<UL><LI><a href="#[32]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_idle_entry
<BR>[Called By]<UL><LI><a href="#[2f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_idle_entry
</UL>
<P><STRONG><a name="[126]"></a>rt_thread_idle_init</STRONG> (Thumb, 44 bytes, Stack size 24 bytes, idle.o(.text.rt_thread_idle_init))
@ -2588,7 +2586,7 @@ Global Symbols
</UL>
<BR>[Called By]<UL><LI><a href="#[a2]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Lpuart1_Gpio_Init
<LI><a href="#[ba]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Uart1_Gpio_Init
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_mode
<LI><a href="#[32]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_pin_mode
</UL>
<P><STRONG><a name="[c0]"></a>std_lpuart_init</STRONG> (Thumb, 136 bytes, Stack size 16 bytes, ciu32l051_std_lpuart.o(.text.std_lpuart_init))
@ -2735,7 +2733,7 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> console_be.o(.rti_fn.2)
</UL>
<P><STRONG><a name="[33]"></a>ulog_console_backend_output</STRONG> (Thumb, 46 bytes, Stack size 16 bytes, console_be.o(.text.ulog_console_backend_output))
<P><STRONG><a name="[30]"></a>ulog_console_backend_output</STRONG> (Thumb, 46 bytes, Stack size 16 bytes, console_be.o(.text.ulog_console_backend_output))
<BR><BR>[Stack]<UL><LI>Max Depth = 328<LI>Call Chain = ulog_console_backend_output &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[10c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_hw_console_output
@ -2754,7 +2752,7 @@ Global Symbols
<LI><a href="#[111]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_vsnprintf
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_strlen
<LI><a href="#[140]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_ultoa
<LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
<LI><a href="#[31]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
</UL>
<BR>[Called By]<UL><LI><a href="#[141]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_voutput
</UL>
@ -2769,7 +2767,7 @@ Global Symbols
<LI><a href="#[11f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_snprintf
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_strlen
<LI><a href="#[140]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_ultoa
<LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
<LI><a href="#[31]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_strcpy
<LI><a href="#[f8]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;output_unlock
<LI><a href="#[ca]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;do_output
<LI><a href="#[f5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;output_lock
@ -2808,7 +2806,7 @@ Global Symbols
<LI><a href="#[28]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Uart1_Rx_Thread_Entry
</UL>
<P><STRONG><a name="[34]"></a>ulog_strcpy</STRONG> (Thumb, 60 bytes, Stack size 16 bytes, ulog.o(.text.ulog_strcpy))
<P><STRONG><a name="[31]"></a>ulog_strcpy</STRONG> (Thumb, 60 bytes, Stack size 16 bytes, ulog.o(.text.ulog_strcpy))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = ulog_strcpy &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
@ -3030,7 +3028,7 @@ Local Symbols
<P><STRONG><a name="[45]"></a>rti_end</STRONG> (Thumb, 4 bytes, Stack size 0 bytes, components.o(.text.rti_end))
<BR>[Address Reference Count : 1]<UL><LI> components.o(.rti_fn.6.end)
</UL>
<P><STRONG><a name="[32]"></a>rt_thread_idle_entry</STRONG> (Thumb, 32 bytes, Stack size 0 bytes, idle.o(.text.rt_thread_idle_entry))
<P><STRONG><a name="[2f]"></a>rt_thread_idle_entry</STRONG> (Thumb, 32 bytes, Stack size 0 bytes, idle.o(.text.rt_thread_idle_entry))
<BR><BR>[Stack]<UL><LI>Max Depth = 440<LI>Call Chain = rt_thread_idle_entry &rArr; rt_thread_idle_excute &rArr; rt_object_delete &rArr; rt_free &rArr; rt_sem_take &rArr; rt_kprintf &rArr; rt_hw_console_output &rArr; SEGGER_RTT_printf &rArr; SEGGER_RTT_vprintf &rArr; _PrintUnsigned &rArr; _StoreChar &rArr; SEGGER_RTT_Write &rArr; SEGGER_RTT_WriteNoLock &rArr; _WriteBlocking
</UL>
<BR>[Calls]<UL><LI><a href="#[125]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_idle_excute
@ -3100,28 +3098,28 @@ Local Symbols
<LI><a href="#[78]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_thread_init
</UL>
<P><STRONG><a name="[2f]"></a>_pin_control</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_control))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = _pin_control &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.text.rt_device_pin_register)
</UL>
<P><STRONG><a name="[30]"></a>_pin_write</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_write))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = _pin_write &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.text.rt_device_pin_register)
</UL>
<P><STRONG><a name="[31]"></a>_pin_read</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_read))
<P><STRONG><a name="[35]"></a>_pin_read</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_read))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = _pin_read &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.text.rt_device_pin_register)
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.rodata.pin_ops)
</UL>
<P><STRONG><a name="[35]"></a>_pin_mode</STRONG> (Thumb, 104 bytes, Stack size 40 bytes, drv_gpio.o(.text._pin_mode))
<P><STRONG><a name="[36]"></a>_pin_write</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_write))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = _pin_write &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.rodata.pin_ops)
</UL>
<P><STRONG><a name="[37]"></a>_pin_control</STRONG> (Thumb, 48 bytes, Stack size 16 bytes, dev_pin.o(.text._pin_control))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = _pin_control &rArr; rt_assert_handler &rArr; rt_kprintf (Cycle)
</UL>
<BR>[Calls]<UL><LI><a href="#[c5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_assert_handler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> dev_pin.o(.rodata.pin_ops)
</UL>
<P><STRONG><a name="[32]"></a>_pin_mode</STRONG> (Thumb, 104 bytes, Stack size 40 bytes, drv_gpio.o(.text._pin_mode))
<BR><BR>[Stack]<UL><LI>Max Depth = 72<LI>Call Chain = _pin_mode &rArr; std_gpio_init
</UL>
<BR>[Calls]<UL><LI><a href="#[a5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;std_gpio_init
@ -3129,10 +3127,10 @@ Local Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> drv_gpio.o(.rodata._pin_ops)
</UL>
<P><STRONG><a name="[36]"></a>_pin_write</STRONG> (Thumb, 40 bytes, Stack size 0 bytes, drv_gpio.o(.text._pin_write))
<P><STRONG><a name="[33]"></a>_pin_write</STRONG> (Thumb, 40 bytes, Stack size 0 bytes, drv_gpio.o(.text._pin_write))
<BR>[Address Reference Count : 1]<UL><LI> drv_gpio.o(.rodata._pin_ops)
</UL>
<P><STRONG><a name="[37]"></a>_pin_read</STRONG> (Thumb, 40 bytes, Stack size 0 bytes, drv_gpio.o(.text._pin_read))
<P><STRONG><a name="[34]"></a>_pin_read</STRONG> (Thumb, 40 bytes, Stack size 0 bytes, drv_gpio.o(.text._pin_read))
<BR>[Address Reference Count : 1]<UL><LI> drv_gpio.o(.rodata._pin_ops)
</UL>
<P><STRONG><a name="[3e]"></a>_UART1_SemCreate</STRONG> (Thumb, 128 bytes, Stack size 24 bytes, drv_uart.o(.text._UART1_SemCreate))
@ -3255,7 +3253,7 @@ Local Symbols
<BR>[Calls]<UL><LI><a href="#[cb]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_interrupt_get_nest
<LI><a href="#[cd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_kputs
<LI><a href="#[cc]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;rt_strlen
<LI><a href="#[33]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
<LI><a href="#[30]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_console_backend_output
</UL>
<BR>[Called By]<UL><LI><a href="#[9d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_hexdump
<LI><a href="#[141]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_voutput

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -202,7 +202,7 @@ I (..\LIB\perf_counter\rtconfig_preinc.h)(0x66D17F95)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x666E44C6)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\startup\startup_ciu32l051.s)(0x66C6D715)(--cpu Cortex-M0+ -g --pd "__MICROLIB SETA 1" --diag_suppress=A1950W -IC:\Users\16005\AppData\Local\Arm\Packs\HED\CIU32L0xx_DFP\1.2.5\Drivers\CMSIS\Device\CIU32L051\Include --pd "__UVISION_VERSION SETA 539" --pd "CIU32L051 SETA 1" --list .\listings\startup_ciu32l051.lst --xref -o .\startup_ciu32l051.o --depend .\startup_ciu32l051.d)
F (..\RTOS\components\finsh\cmd.c)(0x66C2BE4F)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./cmd.o -MD)
F (..\RTOS\components\finsh\cmd.c)(0x66D91B4B)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./cmd.o -MD)
I (..\RTOS\inc\rtthread.hs.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -1213,7 +1213,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D90FE2)
I (..\RTOS\components\finsh\finsh_api.hi.\RTOS\inc\rthw.h)(0x00000000)
F (..\RTOS\context_rvds.S)(0x66C6DD10)(--cpu Cortex-M0+ -g --pd "__MICROLIB SETA 1" --diag_suppress=A1950W -IC:\Users\16005\AppData\Local\Arm\Packs\HED\CIU32L0xx_DFP\1.2.5\Drivers\CMSIS\Device\CIU32L051\Include --pd "__UVISION_VERSION SETA 539" --pd "CIU32L051 SETA 1" --list .\listings\context_rvds.lst --xref -o .\context_rvds.o --depend .\context_rvds.d)
F (..\RTOS\src\device.c)(0x66D91043)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./device.o -MD)
F (..\RTOS\src\device.c)(0x66D910B8)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./device.o -MD)
I (..\RTOS\rtconfig.h..\RTOS\components\finsh\finsh_config.h)(0x00000000)
I (..\RTOS\inc\rtdebug.hR.\RTOS\inc\rtdef.hs.\RTOS\inc\stdarg.h)(0x00000000)
I (..\RTOS\inc\rtservice.h)(0x66C2AAF4)
@ -1260,7 +1260,7 @@ I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D90FE2)
I (..\RTOS\components\finsh\finsh_api.hi.\RTOS\inc\rtm.h)(0x00000000)
I (..\RTOS\inc\rtdbg.hf.\RTOS\components\utilities\ulog\ulog.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\RTOS\components\drivers\src\dev_pin.c)(0x66D91058)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./dev_pin.o -MD)
F (..\RTOS\components\drivers\src\dev_pin.c)(0x66D91B77)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./dev_pin.o -MD)
I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D90FE2)
I (..\RTOS\rtconfig.h\.\RTOS\components\finsh\finsh_config.h)(0x00000000)
I (..\RTOS\inc\rtdebug.hR.\RTOS\inc\rtdef.hs.\RTOS\inc\stdarg.h)(0x00000000)

View File

@ -6,18 +6,18 @@
[Found keyword]: ----------Execution Region----------
[name]: ER_IROM1
[Exec base]: 0x8000000
[Size]: 0x9790
[Size]: 0x984c
[Max]: 0x10000
[Found keyword]: ----------Execution Region----------
[name]: RW_IRAM1
[Exec base]: 0x20000000
[Size]: 0x24d0
[Size]: 0x24b8
[Max]: 0x4000
[parse_keil_map over printf bar]:
RW_IRAM1 :0x20000000
16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö_________| 57.52 % ( 9.20 KB / 16.00 KB) [6960 B]
16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö_________| 57.37 % ( 9.18 KB / 16.00 KB) [6984 B]
ER_IROM1 :0x8000000
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö_________| 59.20 % ( 37.89 KB / 64.00 KB) [26736 B]
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö_________| 59.49 % ( 38.07 KB / 64.00 KB) [26548 B]
[export csv]: ./USART1_Interrupt_sort_by_flash.csv
[export csv]: ./USART1_Interrupt_sort_by_ram.csv
[export xlsx]: USART1_Interrupt_analysis.xlsx

Binary file not shown.

View File

@ -1,68 +1,68 @@
File_name,flash percent,flash,ram,Code,RO_data,RW_data,ZI_data
bsp_flash.o,11.311718%,4511,4,3032,1479,0,4
cmd.o,10.822739%,4316,0,2860,1456,0,0
ipc.o,6.153615%,2454,0,1440,1014,0,0
kservice.o,5.436445%,2168,268,1912,256,0,268
ulog.o,5.398831%,2153,589,1950,203,0,589
thread.o,5.376263%,2144,12,1902,242,0,12
mem.o,4.714261%,1880,72,1512,368,0,72
shell.o,4.511146%,1799,281,1768,31,0,281
drv_uart.o,4.481055%,1787,3180,1708,79,0,3180
bsp_history.o,3.793977%,1513,1684,1404,109,0,1684
timer.o,2.901276%,1157,20,1002,155,0,20
object.o,2.675594%,1067,148,832,107,128,20
drv_gpio.o,2.587828%,1032,0,232,800,0,0
mc_p.l,2.560245%,1021,4,884,133,4,0
segger_rtt_printf.o,2.502570%,998,0,998,0,0,0
device.o,2.462449%,982,0,670,312,0,0
msh.o,2.369668%,945,0,784,161,0,0
bsp_rtc.o,1.752802%,699,6,600,99,0,6
segger_rtt.o,1.594824%,636,1208,610,26,0,1208
lwrb.o,1.359111%,542,0,542,0,0,0
scheduler.o,1.258808%,502,280,484,18,0,280
dev_pin.o,1.078262%,430,76,392,38,0,76
ciu32l051_std_lpuart.o,0.832518%,332,0,332,0,0,0
perf_counter.o,0.777351%,310,56,298,4,8,48
cpuport.o,0.772336%,308,12,308,0,0,12
idle.o,0.677048%,270,416,248,22,0,416
components.o,0.611851%,244,0,228,16,0,0
ciu32l051_std_rtc.o,0.591790%,236,0,236,0,0,0
startup_ciu32l051.o,0.551669%,220,1024,28,192,0,1024
context_rvds.o,0.541638%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.541638%,216,0,216,0,0,0
drv_common.o,0.511547%,204,0,204,0,0,0
system_ciu32l051.o,0.501517%,200,4,164,32,4,0
main.o,0.486472%,194,0,148,46,0,0
ciu32l051_std_flash.o,0.471426%,188,0,188,0,0,0
ciu32l051_std_usart.o,0.466411%,186,0,186,0,0,0
_strtoul.o,0.416259%,166,0,166,0,0,0
perf_os_patch_rt_thread.o,0.396199%,158,0,154,4,0,0
ciu32l051_std_gpio.o,0.386168%,154,0,154,0,0,0
ctype_o.o,0.353570%,141,0,8,133,0,0
board.o,0.325986%,130,0,130,0,0,0
strtol.o,0.280850%,112,0,112,0,0,0
ciu32l051_std_dma.o,0.250759%,100,0,100,0,0,0
uldiv.o,0.240728%,96,0,96,0,0,0
console_be.o,0.225683%,90,48,86,4,0,48
irq.o,0.220668%,88,12,88,0,0,12
uidiv_div0.o,0.155470%,62,0,62,0,0,0
clock.o,0.135410%,54,4,54,0,0,4
init.o,0.120364%,48,0,48,0,0,0
cpp_init.o,0.100303%,40,0,40,0,0,0
memseta.o,0.090273%,36,0,36,0,0,0
memcpya.o,0.090273%,36,0,36,0,0,0
llushr.o,0.085258%,34,0,34,0,0,0
llshl.o,0.080243%,32,0,32,0,0,0
strncmp.o,0.075228%,30,0,30,0,0,0
handlers.o,0.075228%,30,0,30,0,0,0
_chval.o,0.075228%,30,0,30,0,0,0
strncpy.o,0.065197%,26,0,26,0,0,0
memcmp.o,0.065197%,26,0,26,0,0,0
atoi.o,0.065197%,26,0,26,0,0,0
ciu32l051_std.o,0.060182%,24,0,24,0,0,0
strlen.o,0.035106%,14,0,14,0,0,0
errno.o,0.030091%,12,4,8,0,4,0
entry9a.o,0.020061%,8,0,8,0,0,0
entry2.o,0.020061%,8,0,8,0,0,0
entry8a.o,0.010030%,4,0,4,0,0,0
entry5.o,0.010030%,4,0,4,0,0,0
bsp_flash.o,11.258361%,4511,4,3032,1479,0,4
cmd.o,11.163522%,4473,0,2872,1601,0,0
ipc.o,6.124588%,2454,0,1440,1014,0,0
kservice.o,5.410801%,2168,268,1912,256,0,268
ulog.o,5.373365%,2153,589,1950,203,0,589
thread.o,5.350904%,2144,12,1902,242,0,12
mem.o,4.692024%,1880,72,1512,368,0,72
shell.o,4.489867%,1799,281,1768,31,0,281
drv_uart.o,4.459918%,1787,3180,1708,79,0,3180
bsp_history.o,3.776081%,1513,1684,1404,109,0,1684
timer.o,2.887591%,1157,20,1002,155,0,20
object.o,2.662973%,1067,148,832,107,128,20
drv_gpio.o,2.575621%,1032,0,232,800,0,0
mc_p.l,2.548168%,1021,4,884,133,4,0
device.o,2.540681%,1018,0,706,312,0,0
segger_rtt_printf.o,2.490766%,998,0,998,0,0,0
msh.o,2.358490%,945,0,784,161,0,0
bsp_rtc.o,1.744534%,699,6,600,99,0,6
segger_rtt.o,1.587302%,636,1208,610,26,0,1208
lwrb.o,1.352700%,542,0,542,0,0,0
scheduler.o,1.252870%,502,280,484,18,0,280
dev_pin.o,1.063193%,426,56,364,62,0,56
ciu32l051_std_lpuart.o,0.828591%,332,0,332,0,0,0
perf_counter.o,0.773685%,310,56,298,4,8,48
cpuport.o,0.768693%,308,12,308,0,0,12
idle.o,0.673854%,270,416,248,22,0,416
components.o,0.608965%,244,0,228,16,0,0
ciu32l051_std_rtc.o,0.588999%,236,0,236,0,0,0
startup_ciu32l051.o,0.549067%,220,1024,28,192,0,1024
context_rvds.o,0.539084%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.539084%,216,0,216,0,0,0
drv_common.o,0.509134%,204,0,204,0,0,0
system_ciu32l051.o,0.499151%,200,4,164,32,4,0
main.o,0.484177%,194,0,148,46,0,0
ciu32l051_std_flash.o,0.469202%,188,0,188,0,0,0
ciu32l051_std_usart.o,0.464211%,186,0,186,0,0,0
_strtoul.o,0.414296%,166,0,166,0,0,0
perf_os_patch_rt_thread.o,0.394330%,158,0,154,4,0,0
ciu32l051_std_gpio.o,0.384347%,154,0,154,0,0,0
ctype_o.o,0.351902%,141,0,8,133,0,0
board.o,0.324448%,130,0,130,0,0,0
strtol.o,0.279525%,112,0,112,0,0,0
ciu32l051_std_dma.o,0.249576%,100,0,100,0,0,0
uldiv.o,0.239593%,96,0,96,0,0,0
console_be.o,0.224618%,90,48,86,4,0,48
irq.o,0.219627%,88,12,88,0,0,12
uidiv_div0.o,0.154737%,62,0,62,0,0,0
clock.o,0.134771%,54,4,54,0,0,4
init.o,0.119796%,48,0,48,0,0,0
cpp_init.o,0.099830%,40,0,40,0,0,0
memseta.o,0.089847%,36,0,36,0,0,0
memcpya.o,0.089847%,36,0,36,0,0,0
llushr.o,0.084856%,34,0,34,0,0,0
llshl.o,0.079864%,32,0,32,0,0,0
strncmp.o,0.074873%,30,0,30,0,0,0
handlers.o,0.074873%,30,0,30,0,0,0
_chval.o,0.074873%,30,0,30,0,0,0
strncpy.o,0.064890%,26,0,26,0,0,0
memcmp.o,0.064890%,26,0,26,0,0,0
atoi.o,0.064890%,26,0,26,0,0,0
ciu32l051_std.o,0.059898%,24,0,24,0,0,0
strlen.o,0.034941%,14,0,14,0,0,0
errno.o,0.029949%,12,4,8,0,4,0
entry9a.o,0.019966%,8,0,8,0,0,0
entry2.o,0.019966%,8,0,8,0,0,0
entry8a.o,0.009983%,4,0,4,0,0,0
entry5.o,0.009983%,4,0,4,0,0,0

1 File_name flash percent flash ram Code RO_data RW_data ZI_data
2 bsp_flash.o 11.311718% 11.258361% 4511 4 3032 1479 0 4
3 cmd.o 10.822739% 11.163522% 4316 4473 0 2860 2872 1456 1601 0 0
4 ipc.o 6.153615% 6.124588% 2454 0 1440 1014 0 0
5 kservice.o 5.436445% 5.410801% 2168 268 1912 256 0 268
6 ulog.o 5.398831% 5.373365% 2153 589 1950 203 0 589
7 thread.o 5.376263% 5.350904% 2144 12 1902 242 0 12
8 mem.o 4.714261% 4.692024% 1880 72 1512 368 0 72
9 shell.o 4.511146% 4.489867% 1799 281 1768 31 0 281
10 drv_uart.o 4.481055% 4.459918% 1787 3180 1708 79 0 3180
11 bsp_history.o 3.793977% 3.776081% 1513 1684 1404 109 0 1684
12 timer.o 2.901276% 2.887591% 1157 20 1002 155 0 20
13 object.o 2.675594% 2.662973% 1067 148 832 107 128 20
14 drv_gpio.o 2.587828% 2.575621% 1032 0 232 800 0 0
15 mc_p.l 2.560245% 2.548168% 1021 4 884 133 4 0
16 segger_rtt_printf.o device.o 2.502570% 2.540681% 998 1018 0 998 706 0 312 0 0
17 device.o segger_rtt_printf.o 2.462449% 2.490766% 982 998 0 670 998 312 0 0 0
18 msh.o 2.369668% 2.358490% 945 0 784 161 0 0
19 bsp_rtc.o 1.752802% 1.744534% 699 6 600 99 0 6
20 segger_rtt.o 1.594824% 1.587302% 636 1208 610 26 0 1208
21 lwrb.o 1.359111% 1.352700% 542 0 542 0 0 0
22 scheduler.o 1.258808% 1.252870% 502 280 484 18 0 280
23 dev_pin.o 1.078262% 1.063193% 430 426 76 56 392 364 38 62 0 76 56
24 ciu32l051_std_lpuart.o 0.832518% 0.828591% 332 0 332 0 0 0
25 perf_counter.o 0.777351% 0.773685% 310 56 298 4 8 48
26 cpuport.o 0.772336% 0.768693% 308 12 308 0 0 12
27 idle.o 0.677048% 0.673854% 270 416 248 22 0 416
28 components.o 0.611851% 0.608965% 244 0 228 16 0 0
29 ciu32l051_std_rtc.o 0.591790% 0.588999% 236 0 236 0 0 0
30 startup_ciu32l051.o 0.551669% 0.549067% 220 1024 28 192 0 1024
31 context_rvds.o 0.541638% 0.539084% 216 0 216 0 0 0
32 ciu32l051_std_rcc.o 0.541638% 0.539084% 216 0 216 0 0 0
33 drv_common.o 0.511547% 0.509134% 204 0 204 0 0 0
34 system_ciu32l051.o 0.501517% 0.499151% 200 4 164 32 4 0
35 main.o 0.486472% 0.484177% 194 0 148 46 0 0
36 ciu32l051_std_flash.o 0.471426% 0.469202% 188 0 188 0 0 0
37 ciu32l051_std_usart.o 0.466411% 0.464211% 186 0 186 0 0 0
38 _strtoul.o 0.416259% 0.414296% 166 0 166 0 0 0
39 perf_os_patch_rt_thread.o 0.396199% 0.394330% 158 0 154 4 0 0
40 ciu32l051_std_gpio.o 0.386168% 0.384347% 154 0 154 0 0 0
41 ctype_o.o 0.353570% 0.351902% 141 0 8 133 0 0
42 board.o 0.325986% 0.324448% 130 0 130 0 0 0
43 strtol.o 0.280850% 0.279525% 112 0 112 0 0 0
44 ciu32l051_std_dma.o 0.250759% 0.249576% 100 0 100 0 0 0
45 uldiv.o 0.240728% 0.239593% 96 0 96 0 0 0
46 console_be.o 0.225683% 0.224618% 90 48 86 4 0 48
47 irq.o 0.220668% 0.219627% 88 12 88 0 0 12
48 uidiv_div0.o 0.155470% 0.154737% 62 0 62 0 0 0
49 clock.o 0.135410% 0.134771% 54 4 54 0 0 4
50 init.o 0.120364% 0.119796% 48 0 48 0 0 0
51 cpp_init.o 0.100303% 0.099830% 40 0 40 0 0 0
52 memseta.o 0.090273% 0.089847% 36 0 36 0 0 0
53 memcpya.o 0.090273% 0.089847% 36 0 36 0 0 0
54 llushr.o 0.085258% 0.084856% 34 0 34 0 0 0
55 llshl.o 0.080243% 0.079864% 32 0 32 0 0 0
56 strncmp.o 0.075228% 0.074873% 30 0 30 0 0 0
57 handlers.o 0.075228% 0.074873% 30 0 30 0 0 0
58 _chval.o 0.075228% 0.074873% 30 0 30 0 0 0
59 strncpy.o 0.065197% 0.064890% 26 0 26 0 0 0
60 memcmp.o 0.065197% 0.064890% 26 0 26 0 0 0
61 atoi.o 0.065197% 0.064890% 26 0 26 0 0 0
62 ciu32l051_std.o 0.060182% 0.059898% 24 0 24 0 0 0
63 strlen.o 0.035106% 0.034941% 14 0 14 0 0 0
64 errno.o 0.030091% 0.029949% 12 4 8 0 4 0
65 entry9a.o 0.020061% 0.019966% 8 0 8 0 0 0
66 entry2.o 0.020061% 0.019966% 8 0 8 0 0 0
67 entry8a.o 0.010030% 0.009983% 4 0 4 0 0 0
68 entry5.o 0.010030% 0.009983% 4 0 4 0 0 0

View File

@ -1,25 +1,25 @@
File_name,ram_percent,ram,flash,Code,RO_data,RW_data,ZI_data
drv_uart.o,33.786655%,3180,1787,1708,79,0,3180
bsp_history.o,17.892054%,1684,1513,1404,109,0,1684
segger_rtt.o,12.834680%,1208,636,610,26,0,1208
startup_ciu32l051.o,10.879728%,1024,220,28,192,0,1024
ulog.o,6.257968%,589,2153,1950,203,0,589
idle.o,4.419889%,416,270,248,22,0,416
shell.o,2.985550%,281,1799,1768,31,0,281
scheduler.o,2.974926%,280,502,484,18,0,280
kservice.o,2.847429%,268,2168,1912,256,0,268
object.o,1.572461%,148,1067,832,107,128,20
dev_pin.o,0.807480%,76,430,392,38,0,76
mem.o,0.764981%,72,1880,1512,368,0,72
perf_counter.o,0.594985%,56,310,298,4,8,48
console_be.o,0.509987%,48,90,86,4,0,48
timer.o,0.212495%,20,1157,1002,155,0,20
thread.o,0.127497%,12,2144,1902,242,0,12
irq.o,0.127497%,12,88,88,0,0,12
cpuport.o,0.127497%,12,308,308,0,0,12
bsp_rtc.o,0.063748%,6,699,600,99,0,6
mc_p.l,0.042499%,4,1021,884,133,4,0
errno.o,0.042499%,4,12,8,0,4,0
system_ciu32l051.o,0.042499%,4,200,164,32,4,0
clock.o,0.042499%,4,54,54,0,0,4
bsp_flash.o,0.042499%,4,4511,3032,1479,0,4
drv_uart.o,33.858604%,3180,1787,1708,79,0,3180
bsp_history.o,17.930153%,1684,1513,1404,109,0,1684
segger_rtt.o,12.862010%,1208,636,610,26,0,1208
startup_ciu32l051.o,10.902896%,1024,220,28,192,0,1024
ulog.o,6.271295%,589,2153,1950,203,0,589
idle.o,4.429302%,416,270,248,22,0,416
shell.o,2.991908%,281,1799,1768,31,0,281
scheduler.o,2.981261%,280,502,484,18,0,280
kservice.o,2.853492%,268,2168,1912,256,0,268
object.o,1.575809%,148,1067,832,107,128,20
mem.o,0.766610%,72,1880,1512,368,0,72
perf_counter.o,0.596252%,56,310,298,4,8,48
dev_pin.o,0.596252%,56,426,364,62,0,56
console_be.o,0.511073%,48,90,86,4,0,48
timer.o,0.212947%,20,1157,1002,155,0,20
thread.o,0.127768%,12,2144,1902,242,0,12
irq.o,0.127768%,12,88,88,0,0,12
cpuport.o,0.127768%,12,308,308,0,0,12
bsp_rtc.o,0.063884%,6,699,600,99,0,6
mc_p.l,0.042589%,4,1021,884,133,4,0
errno.o,0.042589%,4,12,8,0,4,0
system_ciu32l051.o,0.042589%,4,200,164,32,4,0
clock.o,0.042589%,4,54,54,0,0,4
bsp_flash.o,0.042589%,4,4511,3032,1479,0,4

1 File_name ram_percent ram flash Code RO_data RW_data ZI_data
2 drv_uart.o 33.786655% 33.858604% 3180 1787 1708 79 0 3180
3 bsp_history.o 17.892054% 17.930153% 1684 1513 1404 109 0 1684
4 segger_rtt.o 12.834680% 12.862010% 1208 636 610 26 0 1208
5 startup_ciu32l051.o 10.879728% 10.902896% 1024 220 28 192 0 1024
6 ulog.o 6.257968% 6.271295% 589 2153 1950 203 0 589
7 idle.o 4.419889% 4.429302% 416 270 248 22 0 416
8 shell.o 2.985550% 2.991908% 281 1799 1768 31 0 281
9 scheduler.o 2.974926% 2.981261% 280 502 484 18 0 280
10 kservice.o 2.847429% 2.853492% 268 2168 1912 256 0 268
11 object.o 1.572461% 1.575809% 148 1067 832 107 128 20
12 dev_pin.o mem.o 0.807480% 0.766610% 76 72 430 1880 392 1512 38 368 0 76 72
13 mem.o perf_counter.o 0.764981% 0.596252% 72 56 1880 310 1512 298 368 4 0 8 72 48
14 perf_counter.o dev_pin.o 0.594985% 0.596252% 56 310 426 298 364 4 62 8 0 48 56
15 console_be.o 0.509987% 0.511073% 48 90 86 4 0 48
16 timer.o 0.212495% 0.212947% 20 1157 1002 155 0 20
17 thread.o 0.127497% 0.127768% 12 2144 1902 242 0 12
18 irq.o 0.127497% 0.127768% 12 88 88 0 0 12
19 cpuport.o 0.127497% 0.127768% 12 308 308 0 0 12
20 bsp_rtc.o 0.063748% 0.063884% 6 699 600 99 0 6
21 mc_p.l 0.042499% 0.042589% 4 1021 884 133 4 0
22 errno.o 0.042499% 0.042589% 4 12 8 0 4 0
23 system_ciu32l051.o 0.042499% 0.042589% 4 200 164 32 4 0
24 clock.o 0.042499% 0.042589% 4 54 54 0 0 4
25 bsp_flash.o 0.042499% 0.042589% 4 4511 3032 1479 0 4

BIN
MDK/cmd.o

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -789,7 +789,7 @@ FINSH_FUNCTION_EXPORT(list_timer, list timer in system);
MSH_CMD_EXPORT(list_timer, list timer in system);
#ifdef RT_USING_DEVICE
static char *const device_type_str[] =
static char *const device_type_str[RT_Device_Class_Unknown] =
{
"Character Device",
"Block Device",
@ -802,6 +802,7 @@ static char *const device_type_str[] =
"I2C Bus",
"USB Slave Device",
"USB Host Bus",
"USB OTG Bus",
"SPI Bus",
"SPI Device",
"SDIO Bus",
@ -812,7 +813,15 @@ static char *const device_type_str[] =
"Miscellaneous Device",
"Sensor Device",
"Touch Device",
"Unknown"
"Phy Device",
"Security Device",
"WLAN Device",
"Pin Device",
"ADC Device",
"DAC Device",
"WDT Device",
"PWM Device",
"Bus Device",
};
long list_device(void)
@ -821,7 +830,7 @@ long list_device(void)
list_get_next_t find_arg;
rt_list_t *obj_list[LIST_FIND_OBJ_NR];
rt_list_t *next = (rt_list_t*)RT_NULL;
const char *device_type;
int maxlen;
const char *item_title = "device";
@ -852,13 +861,24 @@ long list_device(void)
rt_hw_interrupt_enable(level);
device = (struct rt_device *)obj;
// rt_kprintf("%-*.*s %-20s %-8d\n",
// maxlen, RT_NAME_MAX,
// device->parent.name,
// (device->type <= RT_Device_Class_Unknown) ?
// device_type_str[device->type] :
// device_type_str[RT_Device_Class_Unknown],
// device->ref_count);
device_type = "Unknown";
if (device->type < RT_Device_Class_Unknown &&
device_type_str[device->type] != RT_NULL)
{
device_type = device_type_str[device->type];
}
rt_kprintf("%-*.*s %-20s %-8d\n",
maxlen, RT_NAME_MAX,
device->parent.name,
(device->type <= RT_Device_Class_Unknown) ?
device_type_str[device->type] :
device_type_str[RT_Device_Class_Unknown],
device->ref_count);
maxlen, RT_NAME_MAX,
device->parent.name,
device_type,
device->ref_count);
}
}

View File

@ -84,7 +84,7 @@
#define RT_USING_DEVICE
#define RT_USING_DEVICE_IPC
#define RT_USING_PIN
// #define RT_USING_DEVICE_OPS
#define RT_USING_DEVICE_OPS
// #define RT_USING_POSIX_DEVIO
// #define RT_USING_MODULE