将串口DMA接收改成中断接收,降低点占用

This commit is contained in:
小马_666 2024-09-20 13:11:15 +08:00
parent d7a851b5ba
commit 79049d97df
16 changed files with 3702 additions and 3760 deletions

Binary file not shown.

View File

@ -26,78 +26,17 @@ Project File Date: 09/19/2024
<h2>Output:</h2> <h2>Output:</h2>
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin' *** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'USART1_Interrupt' Build target 'USART1_Interrupt'
assembling startup_ciu32l051.s...
compiling bsp_button.c...
compiling bsp_rtc.c...
compiling finsh_port.c...
compiling bsp_io_dev.c... compiling bsp_io_dev.c...
compiling main.c...
compiling bsp_wdg.c...
compiling bsp_sensor.c...
compiling bsp_adc.c...
compiling bsp_history.c...
compiling msh.c...
compiling cmd.c...
compiling bsp_flash.c...
compiling shell.c...
compiling board.c...
compiling clock.c...
compiling components.c...
compiling cpu.c... compiling cpu.c...
compiling cpuport.c...
compiling idle.c...
compiling irq.c...
compiling memheap.c...
compiling mempool.c...
assembling context_rvds.S...
compiling mem.c...
compiling kservice.c...
compiling slab.c... compiling slab.c...
compiling object.c... compiling bsp_button.c...
compiling scheduler.c... compiling idle.c...
compiling ipc.c... compiling bsp_flash.c...
compiling timer.c...
compiling thread.c...
compiling device.c...
compiling drv_common.c...
compiling drv_gpio.c...
compiling ciu32l051_std.c...
compiling ciu32l051_std_adc.c...
compiling drv_uart.c...
compiling ciu32l051_std_comp.c...
compiling ciu32l051_std_aes.c...
compiling ciu32l051_std_crc.c...
compiling ciu32l051_std_dma.c...
compiling ciu32l051_std_exti.c...
compiling ciu32l051_std_flash.c...
compiling ciu32l051_std_i2c.c...
compiling ciu32l051_std_gpio.c...
compiling ciu32l051_std_lcd.c...
compiling ciu32l051_std_lptim.c...
compiling ciu32l051_std_lpuart.c...
compiling ciu32l051_std_pmu.c...
compiling ciu32l051_std_rcc.c...
compiling ciu32l051_std_tamp.c...
compiling ciu32l051_std_rtc.c...
compiling ciu32l051_std_spi.c...
compiling ciu32l051_std_trng.c...
compiling ciu32l051_std_tim.c...
compiling SEGGER_RTT_printf.c...
compiling system_ciu32l051.c...
compiling ciu32l051_std_usart.c...
compiling lwutil.c...
compiling lwrb.c...
compiling flexible_button.c...
compiling SEGGER_RTT.c...
compiling dev_pin.c...
compiling agile_led.c...
compiling ringbuffer.c...
compiling completion.c...
compiling console_be.c...
compiling ulog.c... compiling ulog.c...
compiling ipc.c...
linking... linking...
Program Size: Code=40382 RO-data=7790 RW-data=136 ZI-data=10368 Program Size: Code=40390 RO-data=7790 RW-data=136 ZI-data=10368
FromELF: creating hex file... 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" 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: ram:
@ -105,7 +44,8 @@ ram:
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö________| 64.11 % ( 10.26 KB / 16.00 KB) [5880 B] 16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö________| 64.11 % ( 10.26 KB / 16.00 KB) [5880 B]
flash: flash:
ER_IROM1 :0x8000000 ER_IROM1 :0x8000000
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö______| 73.50 % ( 47.04 KB / 64.00 KB) [17364 B] 64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö______| 73.52 % ( 47.05 KB / 64.00 KB) [17356 B]
Error deleting ./USART1_Interrupt_analysis.xlsx If you opened this file using Excel, please close it first
".\CIU32_L051_M307R.axf" - 0 Error(s), 0 Warning(s). ".\CIU32_L051_M307R.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2> <h2>Software Packages used:</h2>
@ -119,7 +59,7 @@ Package Vendor: HED
C:/Users/16005/AppData/Local/Arm/Packs/HED/CIU32L0xx_DFP/1.2.5/Drivers/CMSIS/Device/CIU32L051/Include C:/Users/16005/AppData/Local/Arm/Packs/HED/CIU32L0xx_DFP/1.2.5/Drivers/CMSIS/Device/CIU32L051/Include
<h2>Collection of Component Files used:</h2> <h2>Collection of Component Files used:</h2>
Build Time Elapsed: 00:00:03 Build Time Elapsed: 00:00:02
</pre> </pre>
</body> </body>
</html> </html>

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> <title>Static Call Graph - [.\CIU32_L051_M307R.axf]</title></head>
<body><HR> <body><HR>
<H1>Static Call Graph for image .\CIU32_L051_M307R.axf</H1><HR> <H1>Static Call Graph for image .\CIU32_L051_M307R.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6210000: Last Updated: Fri Sep 20 11:13:04 2024 <BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6210000: Last Updated: Fri Sep 20 13:03:09 2024
<BR><P> <BR><P>
<H3>Maximum Stack Usage = 912 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3> <H3>Maximum Stack Usage = 912 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3> Call chain for Maximum Stack Depth:</H3>
@ -1117,6 +1117,7 @@ Global Symbols
</UL> </UL>
<BR>[Called By]<UL><LI><a href="#[c4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Check_Fault <BR>[Called By]<UL><LI><a href="#[c4]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Check_Fault
<LI><a href="#[c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Check_Concentration <LI><a href="#[c0]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Check_Concentration
<LI><a href="#[34]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;common_btn_evt_cb
<LI><a href="#[29]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Alarm_Thread_Recv_Event <LI><a href="#[29]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Alarm_Thread_Recv_Event
</UL> </UL>
@ -3635,10 +3636,11 @@ Local Symbols
<LI><a href="#[a5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Flash_Write_Record <LI><a href="#[a5]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Flash_Write_Record
</UL> </UL>
<P><STRONG><a name="[34]"></a>common_btn_evt_cb</STRONG> (Thumb, 116 bytes, Stack size 32 bytes, bsp_button.o(.text.common_btn_evt_cb)) <P><STRONG><a name="[34]"></a>common_btn_evt_cb</STRONG> (Thumb, 124 bytes, Stack size 32 bytes, bsp_button.o(.text.common_btn_evt_cb))
<BR><BR>[Stack]<UL><LI>Max Depth = 320<LI>Call Chain = common_btn_evt_cb &rArr; ulog_output &rArr; ulog_voutput &rArr; output_lock &rArr; rt_mutex_take &rArr; rt_kprintf &rArr; rt_vsnprintf &rArr; print_number &rArr; __aeabi_uidiv <BR><BR>[Stack]<UL><LI>Max Depth = 320<LI>Call Chain = common_btn_evt_cb &rArr; ulog_output &rArr; ulog_voutput &rArr; output_lock &rArr; rt_mutex_take &rArr; rt_kprintf &rArr; rt_vsnprintf &rArr; print_number &rArr; __aeabi_uidiv
</UL> </UL>
<BR>[Calls]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;flex_button_event_read <BR>[Calls]<UL><LI><a href="#[117]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;flex_button_event_read
<LI><a href="#[a3]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Send_Laser_Alarm_Event
<LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_output <LI><a href="#[2c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;ulog_output
</UL> </UL>
<BR>[Address Reference Count : 1]<UL><LI> bsp_button.o(.text.Flex_Button_Thread) <BR>[Address Reference Count : 1]<UL><LI> bsp_button.o(.text.Flex_Button_Thread)

File diff suppressed because it is too large Load Diff

View File

@ -1822,7 +1822,7 @@
<Name>Build</Name> <Name>Build</Name>
<Buttons> <Buttons>
<Len>992</Len> <Len>992</Len>
<Data>00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000000001D000000000000000000000000000000000100000001000000018030800000000002001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000000000000100000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA0000000000000000000000000000000000000000000000000100000001000000960000000300205000000000105553415254315F496E7465727275707496000000000000000100105553415254315F496E74657272757074000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C64DC010000</Data> <Data>00200000010000001000FFFF01001100434D4643546F6F6C426172427574746F6ECF7F0000000004001C0000000000000000000000000000000001000000010000000180D07F0000000002001D000000000000000000000000000000000100000001000000018030800000000000001E000000000000000000000000000000000100000001000000FFFF01001500434D4643546F6F6C4261724D656E75427574746F6EC7040000000000006A0000000C4261746368204275696C2664000000000000000000000000010000000100000000000000000000000100000004000580C7040000000000006A0000000C4261746368204275696C266400000000000000000000000001000000010000000000000000000000010000000000058046070000000000006B0000000D42617463682052656275696C640000000000000000000000000100000001000000000000000000000001000000000005804707000000000000FFFFFFFF0B426174636820436C65616E0100000000000000000000000100000001000000000000000000000001000000000005809E8A0000000000001F0000000F4261746326682053657475702E2E2E000000000000000000000000010000000100000000000000000000000100000000000180D17F0000000004002000000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF00000000000000000000000000010000000100000001804C8A0000000000002100000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF000000000000000000000000000100000001000000FFFF01001900434D4643546F6F6C426172436F6D626F426F78427574746F6EBA0000000000000000000000000000000000000000000000000100000001000000960000000300205000000000105553415254315F496E7465727275707496000000000000000100105553415254315F496E74657272757074000000000180EB880000000000002200000000000000000000000000000000010000000100000001800000000001000000FFFFFFFF0000000000000000000000000001000000010000000180C07F000000000000230000000000000000000000000000000001000000010000000180B08A000000000400240000000000000000000000000000000001000000010000000180A8010000000000004E00000000000000000000000000000000010000000100000001807202000000000000530000000000000000000000000000000001000000010000000180BE010000000000005000000000000000000000000000000000010000000100000000000000054275696C64DC010000</Data>
</Buttons> </Buttons>
<OriginalItems> <OriginalItems>
<Len>583</Len> <Len>583</Len>

View File

@ -1,6 +1,6 @@
Dependencies for Project 'USART1_Interrupt', Target 'USART1_Interrupt': (DO NOT MODIFY !) Dependencies for Project 'USART1_Interrupt', Target 'USART1_Interrupt': (DO NOT MODIFY !)
CompilerVersion: 6210000::V6.21::ARMCLANG CompilerVersion: 6210000::V6.21::ARMCLANG
F (..\user\Source\main.c)(0x66ECE1D4)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./main.o -MD) F (..\user\Source\main.c)(0x66ECE985)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./main.o -MD)
I (..\RTOS\components\finsh\finsh_config.ha.\RTOS\inc\rtdebug.h)(0x00000000) I (..\RTOS\components\finsh\finsh_config.ha.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ha.\RTOS\inc\rtservice.h)(0x00000000) I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ha.\RTOS\inc\rtservice.h)(0x00000000)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664) I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664)
@ -201,7 +201,7 @@ I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.hs\LIB\RTT\user_rtt.h)(0x00000000)
I (..\LIB\RTT\SEGGER_RTT.h\.\LIB\RTT\SEGGER_RTT_Conf.h)(0x00000000) I (..\LIB\RTT\SEGGER_RTT.h\.\LIB\RTT\SEGGER_RTT_Conf.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x66D94573) I (..\RTOS\components\utilities\ulog\ulog.h)(0x66D94573)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6) I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\bsp\src\bsp_button.c)(0x66D95A84)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_button.o -MD) F (..\bsp\src\bsp_button.c)(0x66ECEA28)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_button.o -MD)
I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.hn.\RTOS\rtconfig.h)(0x00000000) I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.hn.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.ht.\RTOS\inc\rtdebug.h)(0x00000000) I (..\RTOS\components\finsh\finsh_config.ht.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ht.\RTOS\inc\rtservice.h)(0x00000000) I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ht.\RTOS\inc\rtservice.h)(0x00000000)
@ -246,11 +246,11 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_vrefbuf.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5) I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D9591B) I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D9591B)
I (..\RTOS\components\finsh\finsh_api.hi.\LIB\agile_led\agile_led.h)(0x00000000) I (..\RTOS\components\finsh\finsh_api.hi.\LIB\agile_led\agile_led.h)(0x00000000)
I (..\LIB\FlexibleButton-master\flexible_button.h)(0x66B5791C) I (..\LIB\FlexibleButton-master\flexible_button.hl.\user\Include\main.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x66D94573) I (..\RTOS\components\utilities\ulog\ulog.h)(0x66D94573)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6) I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\bsp\src\bsp_io_dev.c)(0x66EA4932)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_io_dev.o -MD) F (..\bsp\src\bsp_io_dev.c)(0x66EA4932)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_io_dev.o -MD)
I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.he.\RTOS\rtconfig.h)(0x00000000) I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.h..\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.ht.\RTOS\inc\rtdebug.h)(0x00000000) I (..\RTOS\components\finsh\finsh_config.ht.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ht.\RTOS\inc\rtservice.h)(0x00000000) I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.ht.\RTOS\inc\rtservice.h)(0x00000000)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664) I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664)
@ -1539,7 +1539,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D9591B) I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D9591B)
I (..\RTOS\components\finsh\finsh_api.hi.\RTOS\inc\rthw.h)(0x00000000) I (..\RTOS\components\finsh\finsh_api.hi.\RTOS\inc\rthw.h)(0x00000000)
I (..\drivers\inc\drv_gpio.h)(0x66ECE4F9) I (..\drivers\inc\drv_gpio.h)(0x66ECE4F9)
F (..\drivers\src\drv_uart.c)(0x66ECE819)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_uart.o -MD) F (..\drivers\src\drv_uart.c)(0x66ED01B3)(-xc -std=gnu99 --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 -I ../LIB/agile_led -I ../LIB/FlexibleButton-master -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_uart.o -MD)
I (..\RTOS\inc\rtthread.ht.\RTOS\rtconfig.h)(0x00000000) I (..\RTOS\inc\rtthread.ht.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.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) I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)

View File

@ -6,7 +6,7 @@
[Found keyword]: ----------Execution Region---------- [Found keyword]: ----------Execution Region----------
[name]: ER_IROM1 [name]: ER_IROM1
[Exec base]: 0x8000000 [Exec base]: 0x8000000
[Size]: 0xbc2c [Size]: 0xbc34
[Max]: 0x10000 [Max]: 0x10000
[Found keyword]: ----------Execution Region---------- [Found keyword]: ----------Execution Region----------
[name]: RW_IRAM1 [name]: RW_IRAM1
@ -17,7 +17,7 @@
RW_IRAM1 :0x20000000 RW_IRAM1 :0x20000000
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö________| 64.11 % ( 10.26 KB / 16.00 KB) [5880 B] 16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö________| 64.11 % ( 10.26 KB / 16.00 KB) [5880 B]
ER_IROM1 :0x8000000 ER_IROM1 :0x8000000
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö______| 73.50 % ( 47.04 KB / 64.00 KB) [17364 B] 64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö______| 73.52 % ( 47.05 KB / 64.00 KB) [17356 B]
[export csv]: ./USART1_Interrupt_sort_by_flash.csv [export csv]: ./USART1_Interrupt_sort_by_flash.csv
[export csv]: ./USART1_Interrupt_sort_by_ram.csv [export csv]: ./USART1_Interrupt_sort_by_ram.csv
[export xlsx]: USART1_Interrupt_analysis.xlsx [export xlsx]: USART1_Interrupt_analysis.xlsx

Binary file not shown.

View File

@ -1,94 +1,94 @@
File_name,flash percent,flash,ram,Code,RO_data,RW_data,ZI_data File_name,flash percent,flash,ram,Code,RO_data,RW_data,ZI_data
cmd.o,8.436757%,4473,0,2872,1601,0,0 cmd.o,8.435485%,4473,0,2872,1601,0,0
mc_p.l,7.022143%,3723,4,3586,133,4,0 mc_p.l,7.021084%,3723,4,3586,133,4,0
bsp_flash.o,6.727904%,3567,4,2660,907,0,4 bsp_flash.o,6.726889%,3567,4,2660,907,0,4
ipc.o,5.986646%,3174,0,2160,1014,0,0 ipc.o,5.985743%,3174,0,2160,1014,0,0
thread.o,4.062771%,2154,12,1912,242,0,12 thread.o,4.062158%,2154,12,1912,242,0,12
ulog.o,4.045796%,2145,333,1934,211,0,333 ulog.o,4.045186%,2145,333,1934,211,0,333
kservice.o,3.987325%,2114,140,1858,256,0,140 kservice.o,3.986723%,2114,140,1858,256,0,140
main.o,3.713833%,1969,1036,1764,205,0,1036 main.o,3.713273%,1969,1036,1764,205,0,1036
mem.o,3.545965%,1880,72,1512,368,0,72 mem.o,3.545431%,1880,72,1512,368,0,72
shell.o,3.393187%,1799,153,1768,31,0,153 shell.o,3.392675%,1799,153,1768,31,0,153
drv_uart.o,3.280018%,1739,1420,1722,17,0,1420 drv_uart.o,3.279523%,1739,1420,1722,17,0,1420
agile_led.o,2.866951%,1520,708,1320,200,0,708 agile_led.o,2.866518%,1520,708,1320,200,0,708
bsp_history.o,2.518013%,1335,1180,1256,79,0,1180 bsp_history.o,2.517633%,1335,1180,1256,79,0,1180
timer.o,2.182278%,1157,20,1002,155,0,20 timer.o,2.181948%,1157,20,1002,155,0,20
object.o,2.012524%,1067,148,832,107,128,20 object.o,2.012220%,1067,148,832,107,128,20
drv_gpio.o,1.969143%,1044,0,244,800,0,0 drv_gpio.o,1.968845%,1044,0,244,800,0,0
mf_p.l,1.942736%,1030,0,1030,0,0,0 bsp_button.o,1.951873%,1035,684,644,391,0,684
bsp_button.o,1.937078%,1027,684,636,391,0,684 mf_p.l,1.942443%,1030,0,1030,0,0,0
device.o,1.852201%,982,0,670,312,0,0 device.o,1.851922%,982,0,670,312,0,0
msh.o,1.782413%,945,0,784,161,0,0 msh.o,1.782145%,945,0,784,161,0,0
bsp_sensor.o,1.695651%,899,1256,882,17,0,1256 bsp_sensor.o,1.695395%,899,1256,882,17,0,1256
scanf_fp.o,1.693764%,898,0,898,0,0,0 scanf_fp.o,1.693509%,898,0,898,0,0,0
_scanf.o,1.554189%,824,0,824,0,0,0 _scanf.o,1.553955%,824,0,824,0,0,0
bsp_adc.o,1.554189%,824,748,812,12,0,748 bsp_adc.o,1.553955%,824,748,812,12,0,748
bsp_rtc.o,1.318420%,699,6,600,99,0,6 bsp_rtc.o,1.318221%,699,6,600,99,0,6
completion.o,1.244860%,660,0,572,88,0,0 completion.o,1.244672%,660,0,572,88,0,0
lwrb.o,1.195820%,634,0,634,0,0,0 lwrb.o,1.195640%,634,0,634,0,0,0
flexible_button.o,1.018522%,540,16,540,0,0,16 flexible_button.o,1.018368%,540,16,540,0,0,16
scheduler.o,0.969482%,514,280,496,18,0,280 scheduler.o,0.969336%,514,280,496,18,0,280
dev_pin.o,0.916670%,486,76,448,38,0,76 dev_pin.o,0.916532%,486,76,448,38,0,76
ciu32l051_std_lpuart.o,0.626202%,332,0,332,0,0,0 ciu32l051_std_lpuart.o,0.626108%,332,0,332,0,0,0
_scanf_int.o,0.622430%,330,0,330,0,0,0 _scanf_int.o,0.622336%,330,0,330,0,0,0
cpuport.o,0.580935%,308,12,308,0,0,12 cpuport.o,0.580847%,308,12,308,0,0,12
board.o,0.524350%,278,0,278,0,0,0 board.o,0.524271%,278,0,278,0,0,0
idle.o,0.509261%,270,416,248,22,0,416 idle.o,0.509184%,270,416,248,22,0,416
components.o,0.460221%,244,0,228,16,0,0 components.o,0.460152%,244,0,228,16,0,0
ddiv.o,0.452676%,240,0,240,0,0,0 ddiv.o,0.452608%,240,0,240,0,0,0
depilogue.o,0.445132%,236,0,236,0,0,0 depilogue.o,0.445065%,236,0,236,0,0,0
ciu32l051_std_rtc.o,0.445132%,236,0,236,0,0,0 ciu32l051_std_rtc.o,0.445065%,236,0,236,0,0,0
_scanf_str.o,0.437587%,232,0,232,0,0,0 _scanf_str.o,0.437521%,232,0,232,0,0,0
bsp_wdg.o,0.437587%,232,656,220,12,0,656 bsp_wdg.o,0.437521%,232,656,220,12,0,656
startup_ciu32l051.o,0.414953%,220,1024,28,192,0,1024 startup_ciu32l051.o,0.414891%,220,1024,28,192,0,1024
context_rvds.o,0.407409%,216,0,216,0,0,0 context_rvds.o,0.407347%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.407409%,216,0,216,0,0,0 ciu32l051_std_rcc.o,0.407347%,216,0,216,0,0,0
dmul.o,0.392320%,208,0,208,0,0,0 dmul.o,0.392260%,208,0,208,0,0,0
drv_common.o,0.384775%,204,0,204,0,0,0 drv_common.o,0.384717%,204,0,204,0,0,0
system_ciu32l051.o,0.377230%,200,4,164,32,4,0 system_ciu32l051.o,0.377173%,200,4,164,32,4,0
ciu32l051_std_flash.o,0.354597%,188,0,188,0,0,0 ciu32l051_std_flash.o,0.354543%,188,0,188,0,0,0
ciu32l051_std_usart.o,0.350824%,186,0,186,0,0,0 ciu32l051_std_usart.o,0.350771%,186,0,186,0,0,0
strtod.o,0.339507%,180,0,180,0,0,0 strtod.o,0.339456%,180,0,180,0,0,0
_strtoul.o,0.313101%,166,0,166,0,0,0 _strtoul.o,0.313054%,166,0,166,0,0,0
ciu32l051_std_gpio.o,0.290467%,154,0,154,0,0,0 ciu32l051_std_gpio.o,0.290424%,154,0,154,0,0,0
ciu32l051_std_adc.o,0.279150%,148,0,148,0,0,0 ciu32l051_std_adc.o,0.279108%,148,0,148,0,0,0
ctype_o.o,0.265947%,141,0,8,133,0,0 ctype_o.o,0.265907%,141,0,8,133,0,0
fepilogue.o,0.245200%,130,0,130,0,0,0 fepilogue.o,0.245163%,130,0,130,0,0,0
strtol.o,0.211249%,112,0,112,0,0,0 strtol.o,0.211217%,112,0,112,0,0,0
ciu32l051_std_dma.o,0.188615%,100,0,100,0,0,0 ciu32l051_std_dma.o,0.188587%,100,0,100,0,0,0
uldiv.o,0.181071%,96,0,96,0,0,0 uldiv.o,0.181043%,96,0,96,0,0,0
console_be.o,0.169754%,90,48,86,4,0,48 console_be.o,0.169728%,90,48,86,4,0,48
bsp_io_dev.o,0.167868%,89,16,76,13,0,16 bsp_io_dev.o,0.167842%,89,16,76,13,0,16
irq.o,0.165981%,88,12,88,0,0,12 irq.o,0.165956%,88,12,88,0,0,12
_sgetc.o,0.128258%,68,0,68,0,0,0 _sgetc.o,0.128239%,68,0,68,0,0,0
uidiv_div0.o,0.116941%,62,0,62,0,0,0 uidiv_div0.o,0.116924%,62,0,62,0,0,0
__0sscanf.o,0.113169%,60,0,60,0,0,0 __0sscanf.o,0.113152%,60,0,60,0,0,0
d2f.o,0.105625%,56,0,56,0,0,0 d2f.o,0.105609%,56,0,56,0,0,0
clock.o,0.101852%,54,4,54,0,0,4 clock.o,0.101837%,54,4,54,0,0,4
llmul.o,0.090535%,48,0,48,0,0,0 llmul.o,0.090522%,48,0,48,0,0,0
init.o,0.090535%,48,0,48,0,0,0 init.o,0.090522%,48,0,48,0,0,0
m_ps.l,0.082991%,44,0,44,0,0,0 m_ps.l,0.082978%,44,0,44,0,0,0
dcmplt.o,0.082991%,44,0,44,0,0,0 dcmplt.o,0.082978%,44,0,44,0,0,0
dcmple.o,0.082991%,44,0,44,0,0,0 dcmple.o,0.082978%,44,0,44,0,0,0
dcmpge.o,0.082991%,44,0,44,0,0,0 dcmpge.o,0.082978%,44,0,44,0,0,0
scanf_char.o,0.082991%,44,0,44,0,0,0 scanf_char.o,0.082978%,44,0,44,0,0,0
atof.o,0.082991%,44,0,44,0,0,0 atof.o,0.082978%,44,0,44,0,0,0
memseta.o,0.067901%,36,0,36,0,0,0 memseta.o,0.067891%,36,0,36,0,0,0
memcpya.o,0.067901%,36,0,36,0,0,0 memcpya.o,0.067891%,36,0,36,0,0,0
errno.o,0.067901%,36,4,32,0,4,0 errno.o,0.067891%,36,4,32,0,4,0
llushr.o,0.064129%,34,0,34,0,0,0 llushr.o,0.064119%,34,0,34,0,0,0
llshl.o,0.060357%,32,0,32,0,0,0 llshl.o,0.060348%,32,0,32,0,0,0
strncmp.o,0.056585%,30,0,30,0,0,0 strncmp.o,0.056576%,30,0,30,0,0,0
handlers.o,0.056585%,30,0,30,0,0,0 handlers.o,0.056576%,30,0,30,0,0,0
_chval.o,0.056585%,30,0,30,0,0,0 _chval.o,0.056576%,30,0,30,0,0,0
dfltul.o,0.052812%,28,0,28,0,0,0 dfltul.o,0.052804%,28,0,28,0,0,0
strncpy.o,0.049040%,26,0,26,0,0,0 strncpy.o,0.049033%,26,0,26,0,0,0
memcmp.o,0.049040%,26,0,26,0,0,0 memcmp.o,0.049033%,26,0,26,0,0,0
atoi.o,0.049040%,26,0,26,0,0,0 atoi.o,0.049033%,26,0,26,0,0,0
ciu32l051_std.o,0.045268%,24,0,24,0,0,0 ciu32l051_std.o,0.045261%,24,0,24,0,0,0
strchr.o,0.037723%,20,0,20,0,0,0 strchr.o,0.037717%,20,0,20,0,0,0
isspace_o.o,0.033951%,18,0,18,0,0,0 isspace_o.o,0.033946%,18,0,18,0,0,0
strlen.o,0.026406%,14,0,14,0,0,0 strlen.o,0.026402%,14,0,14,0,0,0
entry9a.o,0.015089%,8,0,8,0,0,0 entry9a.o,0.015087%,8,0,8,0,0,0
entry2.o,0.015089%,8,0,8,0,0,0 entry2.o,0.015087%,8,0,8,0,0,0
entry5.o,0.007545%,4,0,4,0,0,0 entry5.o,0.007543%,4,0,4,0,0,0

1 File_name flash percent flash ram Code RO_data RW_data ZI_data
2 cmd.o 8.436757% 8.435485% 4473 0 2872 1601 0 0
3 mc_p.l 7.022143% 7.021084% 3723 4 3586 133 4 0
4 bsp_flash.o 6.727904% 6.726889% 3567 4 2660 907 0 4
5 ipc.o 5.986646% 5.985743% 3174 0 2160 1014 0 0
6 thread.o 4.062771% 4.062158% 2154 12 1912 242 0 12
7 ulog.o 4.045796% 4.045186% 2145 333 1934 211 0 333
8 kservice.o 3.987325% 3.986723% 2114 140 1858 256 0 140
9 main.o 3.713833% 3.713273% 1969 1036 1764 205 0 1036
10 mem.o 3.545965% 3.545431% 1880 72 1512 368 0 72
11 shell.o 3.393187% 3.392675% 1799 153 1768 31 0 153
12 drv_uart.o 3.280018% 3.279523% 1739 1420 1722 17 0 1420
13 agile_led.o 2.866951% 2.866518% 1520 708 1320 200 0 708
14 bsp_history.o 2.518013% 2.517633% 1335 1180 1256 79 0 1180
15 timer.o 2.182278% 2.181948% 1157 20 1002 155 0 20
16 object.o 2.012524% 2.012220% 1067 148 832 107 128 20
17 drv_gpio.o 1.969143% 1.968845% 1044 0 244 800 0 0
18 mf_p.l bsp_button.o 1.942736% 1.951873% 1030 1035 0 684 1030 644 0 391 0 0 684
19 bsp_button.o mf_p.l 1.937078% 1.942443% 1027 1030 684 0 636 1030 391 0 0 684 0
20 device.o 1.852201% 1.851922% 982 0 670 312 0 0
21 msh.o 1.782413% 1.782145% 945 0 784 161 0 0
22 bsp_sensor.o 1.695651% 1.695395% 899 1256 882 17 0 1256
23 scanf_fp.o 1.693764% 1.693509% 898 0 898 0 0 0
24 _scanf.o 1.554189% 1.553955% 824 0 824 0 0 0
25 bsp_adc.o 1.554189% 1.553955% 824 748 812 12 0 748
26 bsp_rtc.o 1.318420% 1.318221% 699 6 600 99 0 6
27 completion.o 1.244860% 1.244672% 660 0 572 88 0 0
28 lwrb.o 1.195820% 1.195640% 634 0 634 0 0 0
29 flexible_button.o 1.018522% 1.018368% 540 16 540 0 0 16
30 scheduler.o 0.969482% 0.969336% 514 280 496 18 0 280
31 dev_pin.o 0.916670% 0.916532% 486 76 448 38 0 76
32 ciu32l051_std_lpuart.o 0.626202% 0.626108% 332 0 332 0 0 0
33 _scanf_int.o 0.622430% 0.622336% 330 0 330 0 0 0
34 cpuport.o 0.580935% 0.580847% 308 12 308 0 0 12
35 board.o 0.524350% 0.524271% 278 0 278 0 0 0
36 idle.o 0.509261% 0.509184% 270 416 248 22 0 416
37 components.o 0.460221% 0.460152% 244 0 228 16 0 0
38 ddiv.o 0.452676% 0.452608% 240 0 240 0 0 0
39 depilogue.o 0.445132% 0.445065% 236 0 236 0 0 0
40 ciu32l051_std_rtc.o 0.445132% 0.445065% 236 0 236 0 0 0
41 _scanf_str.o 0.437587% 0.437521% 232 0 232 0 0 0
42 bsp_wdg.o 0.437587% 0.437521% 232 656 220 12 0 656
43 startup_ciu32l051.o 0.414953% 0.414891% 220 1024 28 192 0 1024
44 context_rvds.o 0.407409% 0.407347% 216 0 216 0 0 0
45 ciu32l051_std_rcc.o 0.407409% 0.407347% 216 0 216 0 0 0
46 dmul.o 0.392320% 0.392260% 208 0 208 0 0 0
47 drv_common.o 0.384775% 0.384717% 204 0 204 0 0 0
48 system_ciu32l051.o 0.377230% 0.377173% 200 4 164 32 4 0
49 ciu32l051_std_flash.o 0.354597% 0.354543% 188 0 188 0 0 0
50 ciu32l051_std_usart.o 0.350824% 0.350771% 186 0 186 0 0 0
51 strtod.o 0.339507% 0.339456% 180 0 180 0 0 0
52 _strtoul.o 0.313101% 0.313054% 166 0 166 0 0 0
53 ciu32l051_std_gpio.o 0.290467% 0.290424% 154 0 154 0 0 0
54 ciu32l051_std_adc.o 0.279150% 0.279108% 148 0 148 0 0 0
55 ctype_o.o 0.265947% 0.265907% 141 0 8 133 0 0
56 fepilogue.o 0.245200% 0.245163% 130 0 130 0 0 0
57 strtol.o 0.211249% 0.211217% 112 0 112 0 0 0
58 ciu32l051_std_dma.o 0.188615% 0.188587% 100 0 100 0 0 0
59 uldiv.o 0.181071% 0.181043% 96 0 96 0 0 0
60 console_be.o 0.169754% 0.169728% 90 48 86 4 0 48
61 bsp_io_dev.o 0.167868% 0.167842% 89 16 76 13 0 16
62 irq.o 0.165981% 0.165956% 88 12 88 0 0 12
63 _sgetc.o 0.128258% 0.128239% 68 0 68 0 0 0
64 uidiv_div0.o 0.116941% 0.116924% 62 0 62 0 0 0
65 __0sscanf.o 0.113169% 0.113152% 60 0 60 0 0 0
66 d2f.o 0.105625% 0.105609% 56 0 56 0 0 0
67 clock.o 0.101852% 0.101837% 54 4 54 0 0 4
68 llmul.o 0.090535% 0.090522% 48 0 48 0 0 0
69 init.o 0.090535% 0.090522% 48 0 48 0 0 0
70 m_ps.l 0.082991% 0.082978% 44 0 44 0 0 0
71 dcmplt.o 0.082991% 0.082978% 44 0 44 0 0 0
72 dcmple.o 0.082991% 0.082978% 44 0 44 0 0 0
73 dcmpge.o 0.082991% 0.082978% 44 0 44 0 0 0
74 scanf_char.o 0.082991% 0.082978% 44 0 44 0 0 0
75 atof.o 0.082991% 0.082978% 44 0 44 0 0 0
76 memseta.o 0.067901% 0.067891% 36 0 36 0 0 0
77 memcpya.o 0.067901% 0.067891% 36 0 36 0 0 0
78 errno.o 0.067901% 0.067891% 36 4 32 0 4 0
79 llushr.o 0.064129% 0.064119% 34 0 34 0 0 0
80 llshl.o 0.060357% 0.060348% 32 0 32 0 0 0
81 strncmp.o 0.056585% 0.056576% 30 0 30 0 0 0
82 handlers.o 0.056585% 0.056576% 30 0 30 0 0 0
83 _chval.o 0.056585% 0.056576% 30 0 30 0 0 0
84 dfltul.o 0.052812% 0.052804% 28 0 28 0 0 0
85 strncpy.o 0.049040% 0.049033% 26 0 26 0 0 0
86 memcmp.o 0.049040% 0.049033% 26 0 26 0 0 0
87 atoi.o 0.049040% 0.049033% 26 0 26 0 0 0
88 ciu32l051_std.o 0.045268% 0.045261% 24 0 24 0 0 0
89 strchr.o 0.037723% 0.037717% 20 0 20 0 0 0
90 isspace_o.o 0.033951% 0.033946% 18 0 18 0 0 0
91 strlen.o 0.026406% 0.026402% 14 0 14 0 0 0
92 entry9a.o 0.015089% 0.015087% 8 0 8 0 0 0
93 entry2.o 0.015089% 0.015087% 8 0 8 0 0 0
94 entry5.o 0.007545% 0.007543% 4 0 4 0 0 0

View File

@ -6,7 +6,7 @@ main.o,9.874190%,1036,1969,1764,205,0,1036
startup_ciu32l051.o,9.759817%,1024,220,28,192,0,1024 startup_ciu32l051.o,9.759817%,1024,220,28,192,0,1024
bsp_adc.o,7.129241%,748,824,812,12,0,748 bsp_adc.o,7.129241%,748,824,812,12,0,748
agile_led.o,6.747998%,708,1520,1320,200,0,708 agile_led.o,6.747998%,708,1520,1320,200,0,708
bsp_button.o,6.519253%,684,1027,636,391,0,684 bsp_button.o,6.519253%,684,1035,644,391,0,684
bsp_wdg.o,6.252383%,656,232,220,12,0,656 bsp_wdg.o,6.252383%,656,232,220,12,0,656
idle.o,3.964926%,416,270,248,22,0,416 idle.o,3.964926%,416,270,248,22,0,416
ulog.o,3.173847%,333,2145,1934,211,0,333 ulog.o,3.173847%,333,2145,1934,211,0,333

1 File_name ram_percent ram flash Code RO_data RW_data ZI_data
6 startup_ciu32l051.o 9.759817% 1024 220 28 192 0 1024
7 bsp_adc.o 7.129241% 748 824 812 12 0 748
8 agile_led.o 6.747998% 708 1520 1320 200 0 708
9 bsp_button.o 6.519253% 684 1027 1035 636 644 391 0 684
10 bsp_wdg.o 6.252383% 656 232 220 12 0 656
11 idle.o 3.964926% 416 270 248 22 0 416
12 ulog.o 3.173847% 333 2145 1934 211 0 333

View File

@ -43,6 +43,6 @@
..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h \ ..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h \
..\RTOS\components\drivers\inc\dev_pin.h \ ..\RTOS\components\drivers\inc\dev_pin.h \
..\RTOS\components\finsh\finsh_api.h ..\LIB\agile_led\agile_led.h \ ..\RTOS\components\finsh\finsh_api.h ..\LIB\agile_led\agile_led.h \
..\LIB\FlexibleButton-master\flexible_button.h \ ..\LIB\FlexibleButton-master\flexible_button.h ..\user\Include\main.h \
..\RTOS\components\utilities\ulog\ulog.h \ ..\RTOS\components\utilities\ulog\ulog.h \
..\RTOS\components\utilities\ulog\ulog_def.h ..\RTOS\components\utilities\ulog\ulog_def.h

Binary file not shown.

Binary file not shown.

View File

@ -2,6 +2,7 @@
#include <rtthread.h> #include <rtthread.h>
#include "flexible_button.h" #include "flexible_button.h"
#include "drv_gpio.h" #include "drv_gpio.h"
#include "main.h"
#define LOG_TAG "bsp_button" #define LOG_TAG "bsp_button"
#define LOG_LVL LOG_LVL_DBG #define LOG_LVL LOG_LVL_DBG
@ -78,7 +79,7 @@ static void common_btn_evt_cb(void *arg)
if (flex_button_event_read(&user_button[USER_BUTTON_0]) == FLEX_BTN_PRESS_CLICK) // µ¥»÷ if (flex_button_event_read(&user_button[USER_BUTTON_0]) == FLEX_BTN_PRESS_CLICK) // µ¥»÷
{ {
LOG_I("FLEX_BTN_PRESS_CLICK\n"); LOG_I("FLEX_BTN_PRESS_CLICK\n");
// Send_Laser_Alarm_Event(kSelfInspectionEvents); Send_Laser_Alarm_Event(kSelfInspectionEvents);
} }
if (flex_button_event_read(&user_button[USER_BUTTON_0]) == FLEX_BTN_PRESS_DOUBLE_CLICK) // Ë«»÷ if (flex_button_event_read(&user_button[USER_BUTTON_0]) == FLEX_BTN_PRESS_DOUBLE_CLICK) // Ë«»÷
{ {

View File

@ -30,26 +30,26 @@
#include <ulog.h> #include <ulog.h>
// #define UART1_DMA_RX_ENABLE // #define UART1_DMA_RX_ENABLE
struct rt_semaphore uart3_rx_sem;
/*-------------------------------------用户自定义-----------------*/ /*-------------------------------------用户自定义-----------------*/
/* 定时器的控制块 */ /* 定时器的控制块 */
static rt_timer_t uart2_rx_timer; rt_timer_t uart2_rx_timer;
#ifdef UART3_4_ENABLE #ifdef UART3_4_ENABLE
static rt_timer_t uart3_rx_timer; rt_timer_t uart3_rx_timer;
struct rt_semaphore uart3_rx_sem;
#endif #endif
static rt_timer_t lpuart1_rx_timer; rt_timer_t lpuart1_rx_timer;
#ifdef UART1_DMA_RX_ENABLE #ifdef UART1_DMA_RX_ENABLE
rt_sem_t uart1_rx_sem; rt_sem_t uart1_rx_sem;
static uint8_t _uart1_rx_dma_buffer[UART1_RX_BUFFER_LENGTH] = {0}; static rt_uint8_t _uart1_rx_dma_buffer[UART1_RX_BUFFER_LENGTH] = {0};
ALIGN(RT_ALIGN_SIZE) ALIGN(RT_ALIGN_SIZE)
static char uart1_rx_thread_stack[UART1_RX_THREAD_STACK_SIZE]; static char uart1_rx_thread_stack[UART1_RX_THREAD_STACK_SIZE];
static struct rt_thread uart1_rx_thread; struct rt_thread uart1_rx_thread;
#endif #endif
@ -62,7 +62,7 @@ rt_sem_t lpuart1_rx_ok_sem;
lwrb_t uart1_tx_rb; lwrb_t uart1_tx_rb;
lwrb_t uart3_tx_rb; lwrb_t uart3_tx_rb;
lwrb_t lpuart1_tx_rb; lwrb_t lpuart1_tx_rb;
// Ring buffer data array for TX /*Ring buffer data array for TX*/
uint8_t uart1_tx_rb_data[UART1_TX_RB_LENGTH]; uint8_t uart1_tx_rb_data[UART1_TX_RB_LENGTH];
uint8_t uart3_tx_rb_data[UART3_TX_RB_LENGTH]; uint8_t uart3_tx_rb_data[UART3_TX_RB_LENGTH];
uint8_t lpuart1_tx_rb_data[LPUART1_TX_RB_LENGTH]; uint8_t lpuart1_tx_rb_data[LPUART1_TX_RB_LENGTH];
@ -72,7 +72,6 @@ lwrb_t uart1_rx_rb;
lwrb_t uart2_rx_rb; lwrb_t uart2_rx_rb;
lwrb_t uart3_rx_rb; lwrb_t uart3_rx_rb;
lwrb_t lpuart1_rx_rb; lwrb_t lpuart1_rx_rb;
/*Ring buffer data array for RX*/ /*Ring buffer data array for RX*/
uint8_t uart1_rx_rb_data[UART1_RX_RB_LENGTH]; uint8_t uart1_rx_rb_data[UART1_RX_RB_LENGTH];
uint8_t uart2_rx_rb_data[UART2_RX_RB_LENGTH]; uint8_t uart2_rx_rb_data[UART2_RX_RB_LENGTH];