This commit is contained in:
小马_666 2025-06-17 15:12:12 +08:00
parent 941966acb1
commit f7ad42117d
23 changed files with 8017 additions and 7783 deletions

Binary file not shown.

View File

@ -29,87 +29,86 @@ Project File Date: 09/20/2024
Rebuild target 'USART1_Interrupt' Rebuild target 'USART1_Interrupt'
assembling startup_ciu32l051.s... assembling startup_ciu32l051.s...
compiling main.c... compiling main.c...
compiling bsp_io_dev.c...
compiling bsp_rtc.c...
compiling bsp_wdg.c...
compiling bsp_button.c...
compiling bsp_adc.c... compiling bsp_adc.c...
compiling bsp_sensor.c... compiling bsp_button.c...
compiling bsp_wdg.c...
compiling bsp_io_dev.c...
compiling bsp_net.c... compiling bsp_net.c...
compiling finsh_port.c... compiling bsp_rtc.c...
compiling bsp_history.c... compiling bsp_history.c...
compiling cmd.c... compiling bsp_sensor.c...
compiling bsp_flash.c... compiling bsp_flash.c...
compiling finsh_port.c...
compiling cmd.c...
compiling msh.c... compiling msh.c...
compiling clock.c...
compiling board.c... compiling board.c...
compiling components.c...
compiling cpu.c... compiling cpu.c...
compiling clock.c...
compiling shell.c... compiling shell.c...
compiling cpuport.c... compiling cpuport.c...
compiling irq.c... compiling components.c...
compiling idle.c... compiling idle.c...
compiling irq.c...
compiling memheap.c... compiling memheap.c...
compiling mem.c... compiling mem.c...
assembling context_rvds.S... assembling context_rvds.S...
compiling mempool.c... compiling mempool.c...
compiling kservice.c... compiling kservice.c...
compiling slab.c... compiling ipc.c...
compiling scheduler.c... compiling scheduler.c...
compiling object.c... compiling object.c...
compiling ipc.c... compiling slab.c...
compiling thread.c...
compiling timer.c... compiling timer.c...
compiling drv_common.c... compiling drv_common.c...
compiling device.c... compiling device.c...
compiling thread.c...
compiling drv_gpio.c... compiling drv_gpio.c...
compiling ciu32l051_std_adc.c...
compiling ciu32l051_std.c... compiling ciu32l051_std.c...
compiling ciu32l051_std_aes.c... compiling ciu32l051_std_aes.c...
compiling ciu32l051_std_adc.c...
compiling drv_uart.c... compiling drv_uart.c...
compiling ciu32l051_std_comp.c... compiling ciu32l051_std_comp.c...
compiling ciu32l051_std_crc.c... compiling ciu32l051_std_crc.c...
compiling ciu32l051_std_dma.c... compiling ciu32l051_std_dma.c...
compiling ciu32l051_std_i2c.c...
compiling ciu32l051_std_exti.c... compiling ciu32l051_std_exti.c...
compiling ciu32l051_std_gpio.c...
compiling ciu32l051_std_flash.c... compiling ciu32l051_std_flash.c...
compiling ciu32l051_std_gpio.c...
compiling ciu32l051_std_lcd.c... compiling ciu32l051_std_lcd.c...
compiling ciu32l051_std_i2c.c...
compiling ciu32l051_std_lptim.c... compiling ciu32l051_std_lptim.c...
compiling ciu32l051_std_pmu.c... compiling ciu32l051_std_pmu.c...
compiling ciu32l051_std_lpuart.c... compiling ciu32l051_std_lpuart.c...
compiling ciu32l051_std_tamp.c...
compiling ciu32l051_std_rcc.c... compiling ciu32l051_std_rcc.c...
compiling ciu32l051_std_spi.c...
compiling ciu32l051_std_rtc.c... compiling ciu32l051_std_rtc.c...
compiling ciu32l051_std_tamp.c...
compiling ciu32l051_std_spi.c...
compiling ciu32l051_std_trng.c... compiling ciu32l051_std_trng.c...
compiling ciu32l051_std_usart.c...
compiling SEGGER_RTT_printf.c...
compiling ciu32l051_std_tim.c... compiling ciu32l051_std_tim.c...
compiling system_ciu32l051.c... compiling system_ciu32l051.c...
compiling ciu32l051_std_usart.c...
compiling lwutil.c... compiling lwutil.c...
compiling SEGGER_RTT_printf.c...
compiling lwrb.c... compiling lwrb.c...
compiling flexible_button.c... compiling flexible_button.c...
compiling SEGGER_RTT.c...
compiling at_port.c... compiling at_port.c...
compiling SEGGER_RTT.c...
compiling agile_led.c... compiling agile_led.c...
compiling dev_pin.c... compiling dev_pin.c...
compiling at_chat.c... compiling at_chat.c...
compiling completion.c... compiling completion.c...
compiling console_be.c...
compiling ringbuffer.c... compiling ringbuffer.c...
compiling console_be.c...
compiling ulog.c... compiling ulog.c...
linking... linking...
Program Size: Code=47122 RO-data=8006 RW-data=136 ZI-data=11728 Program Size: Code=47802 RO-data=8070 RW-data=136 ZI-data=11752
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:
RW_IRAM1 :0x20000000 RW_IRAM1 :0x20000000
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö______| 72.41 % ( 11.59 KB / 16.00 KB) [4520 B] 16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö______| 72.56 % ( 11.61 KB / 16.00 KB) [4496 B]
flash: flash:
ER_IROM1 :0x8000000 ER_IROM1 :0x8000000
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö____| 84.12 % ( 53.84 KB / 64.00 KB) [10408 B] 64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö___| 85.25 % ( 54.56 KB / 64.00 KB) [9664 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>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

View File

@ -257,7 +257,7 @@
<Group> <Group>
<GroupName>User/src</GroupName> <GroupName>User/src</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -713,7 +713,7 @@
<Group> <Group>
<GroupName>drivers/src</GroupName> <GroupName>drivers/src</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -1017,7 +1017,7 @@
<Group> <Group>
<GroupName>Peripheral/CMSIS/Device</GroupName> <GroupName>Peripheral/CMSIS/Device</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -1037,7 +1037,7 @@
<Group> <Group>
<GroupName>LIB</GroupName> <GroupName>LIB</GroupName>
<tvExp>1</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -1141,7 +1141,7 @@
<Group> <Group>
<GroupName>RTOS/components/drivers</GroupName> <GroupName>RTOS/components/drivers</GroupName>
<tvExp>1</tvExp> <tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>
@ -1185,7 +1185,7 @@
<Group> <Group>
<GroupName>RTOS/components/utilities</GroupName> <GroupName>RTOS/components/utilities</GroupName>
<tvExp>0</tvExp> <tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg> <tvExpOptDlg>0</tvExpOptDlg>
<cbSel>0</cbSel> <cbSel>0</cbSel>
<RteFlg>0</RteFlg> <RteFlg>0</RteFlg>

View File

@ -250,7 +250,7 @@ I (..\LIB\FlexibleButton-master\flexible_button.hl.\user\Include\main.h)(0x00000
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 -I ../LIB/AT-Command-master/AT-Command-master/include -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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_io_dev.o -MD)
I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.h..\RTOS\rtconfig.h)(0x00000000) I (..\drivers\inc\drv_gpio.h\.\RTOS\inc\rtthread.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)
@ -294,7 +294,7 @@ 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)
F (..\bsp\src\bsp_adc.c)(0x66ECE523)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_adc.o -MD) F (..\bsp\src\bsp_adc.c)(0x67C93BB3)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_adc.o -MD)
I (..\RTOS\inc\rtthread.h\.\RTOS\rtconfig.h)(0x00000000) I (..\RTOS\inc\rtthread.h\.\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)
@ -342,7 +342,7 @@ I (..\RTOS\components\finsh\finsh_api.hi.\bsp\inc\bsp_rtc.h)(0x00000000)
I (..\RTOS\inc\rthw.h\.\drivers\inc\drv_gpio.h)(0x00000000) I (..\RTOS\inc\rthw.h\.\drivers\inc\drv_gpio.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_sensor.c)(0x66EBDC38)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_sensor.o -MD) F (..\bsp\src\bsp_sensor.c)(0x67B6963B)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_sensor.o -MD)
I (..\RTOS\inc\rtthread.hc.\RTOS\rtconfig.h)(0x00000000) I (..\RTOS\inc\rtthread.hc.\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)
@ -441,7 +441,7 @@ I (..\RTOS\components\drivers\inc\dev_pin.h)(0x66D9591B)
I (..\RTOS\components\finsh\finsh_api.hi.\bsp\inc\bsp_wdg.h)(0x00000000) I (..\RTOS\components\finsh\finsh_api.hi.\bsp\inc\bsp_wdg.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_net.c)(0x66ED1A21)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_net.o -MD) F (..\bsp\src\bsp_net.c)(0x66ED2194)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_net.o -MD)
I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x66ED0B0E) I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x66ED0B0E)
I (..\RTOS\inc\rtthread.hG.\RTOS\rtconfig.h)(0x00000000) I (..\RTOS\inc\rtthread.hG.\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)
@ -691,7 +691,7 @@ I (C:\Keil_v5\ARM\ARMCLANG\include\ctype.h)(0x6569B012)
I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x66ED0B0E) I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x66ED0B0E)
I (C:\Keil_v5\ARM\ARMCLANG\include\string.h)(0x6569B012) I (C:\Keil_v5\ARM\ARMCLANG\include\string.h)(0x6569B012)
I (..\RTOS\components\finsh\shell.hs.\RTOS\components\finsh\msh.h)(0x00000000) I (..\RTOS\components\finsh\shell.hs.\RTOS\components\finsh\msh.h)(0x00000000)
F (..\RTOS\src\board.c)(0x66ECD406)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./board.o -MD) F (..\RTOS\src\board.c)(0x66ED339E)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./board.o -MD)
I (..\RTOS\inc\rthw.hc.\RTOS\inc\rtthread.hN.\RTOS\rtconfig.h)(0x00000000) I (..\RTOS\inc\rthw.hc.\RTOS\inc\rtthread.hN.\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)
@ -1593,7 +1593,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)(0x66ED0D92) I (..\drivers\inc\drv_gpio.h)(0x66ED0D92)
F (..\drivers\src\drv_uart.c)(0x66ED1621)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_uart.o -MD) F (..\drivers\src\drv_uart.c)(0x67B69BE7)(-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 -I ../LIB/AT-Command-master/AT-Command-master/include -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,18 +6,18 @@
[Found keyword]: ----------Execution Region---------- [Found keyword]: ----------Execution Region----------
[name]: ER_IROM1 [name]: ER_IROM1
[Exec base]: 0x8000000 [Exec base]: 0x8000000
[Size]: 0xd758 [Size]: 0xda40
[Max]: 0x10000 [Max]: 0x10000
[Found keyword]: ----------Execution Region---------- [Found keyword]: ----------Execution Region----------
[name]: RW_IRAM1 [name]: RW_IRAM1
[Exec base]: 0x20000000 [Exec base]: 0x20000000
[Size]: 0x2e58 [Size]: 0x2e70
[Max]: 0x4000 [Max]: 0x4000
[parse_keil_map over printf bar]: [parse_keil_map over printf bar]:
RW_IRAM1 :0x20000000 RW_IRAM1 :0x20000000
16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö______| 72.41 % ( 11.59 KB / 16.00 KB) [4520 B] 16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö______| 72.56 % ( 11.61 KB / 16.00 KB) [4496 B]
ER_IROM1 :0x8000000 ER_IROM1 :0x8000000
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö____| 84.12 % ( 53.84 KB / 64.00 KB) [10408 B] 64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö___| 85.25 % ( 54.56 KB / 64.00 KB) [9664 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,106 +1,111 @@
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
mc_p.l,9.801146%,6161,4,6024,133,4,0 mc_p.l,9.633788%,6161,4,6024,133,4,0
cmd.o,7.115813%,4473,0,2872,1601,0,0 cmd.o,6.994308%,4473,0,2872,1601,0,0
bsp_flash.o,5.674515%,3567,4,2660,907,0,4 bsp_flash.o,5.577621%,3567,4,2660,907,0,4
ipc.o,5.049316%,3174,0,2160,1014,0,0 ipc.o,4.963097%,3174,0,2160,1014,0,0
at_chat.o,4.877506%,3066,8,3050,16,0,8 at_chat.o,4.794220%,3066,8,3050,16,0,8
printfa.o,3.643016%,2290,0,2290,0,0,0 printfa.o,3.580811%,2290,0,2290,0,0,0
thread.o,3.426662%,2154,12,1912,242,0,12 thread.o,3.368151%,2154,12,1912,242,0,12
ulog.o,3.412345%,2145,333,1934,211,0,333 ulog.o,3.354078%,2145,333,1934,211,0,333
kservice.o,3.363029%,2114,140,1858,256,0,140 kservice.o,3.305604%,2114,140,1858,256,0,140
drv_uart.o,3.281896%,2063,1508,2046,17,0,1508 drv_uart.o,3.219602%,2059,1508,2046,13,0,1508
main.o,3.132358%,1969,1036,1764,205,0,1036 main.o,3.078872%,1969,1036,1764,205,0,1036
mem.o,2.990773%,1880,72,1512,368,0,72 mem.o,2.939705%,1880,72,1512,368,0,72
shell.o,2.861915%,1799,153,1768,31,0,153 mf_p.l,2.877158%,1840,0,1840,0,0,0
agile_led.o,2.418072%,1520,708,1320,200,0,708 shell.o,2.813047%,1799,153,1768,31,0,153
mf_p.l,2.370347%,1490,0,1490,0,0,0 agile_led.o,2.376783%,1520,708,1320,200,0,708
bsp_history.o,2.123767%,1335,1180,1256,79,0,1180 bsp_history.o,2.087503%,1335,1180,1256,79,0,1180
timer.o,1.840598%,1157,20,1002,155,0,20 bsp_adc.o,1.913935%,1224,768,1144,80,0,768
object.o,1.697423%,1067,148,832,107,128,20 timer.o,1.809169%,1157,20,1002,155,0,20
drv_gpio.o,1.660834%,1044,0,244,800,0,0 object.o,1.668439%,1067,148,832,107,128,20
bsp_button.o,1.646516%,1035,684,644,391,0,684 drv_gpio.o,1.632474%,1044,0,244,800,0,0
device.o,1.562202%,982,0,670,312,0,0 bsp_button.o,1.618401%,1035,684,644,391,0,684
msh.o,1.503341%,945,0,784,161,0,0 device.o,1.535527%,982,0,670,312,0,0
bsp_sensor.o,1.430162%,899,1256,882,17,0,1256 msh.o,1.477671%,945,0,784,161,0,0
scanf_fp.o,1.428571%,898,0,898,0,0,0 bsp_sensor.o,1.405742%,899,1256,882,17,0,1256
_scanf.o,1.310850%,824,0,824,0,0,0 scanf_fp.o,1.404178%,898,0,898,0,0,0
bsp_adc.o,1.310850%,824,748,812,12,0,748 _scanf.o,1.288466%,824,0,824,0,0,0
bsp_rtc.o,1.111995%,699,6,600,99,0,6 bsp_rtc.o,1.093007%,699,6,600,99,0,6
completion.o,1.049952%,660,0,572,88,0,0 completion.o,1.032024%,660,0,572,88,0,0
lwrb.o,1.008590%,634,0,634,0,0,0 lwrb.o,0.991369%,634,0,634,0,0,0
bsp_net.o,0.992682%,624,1268,424,200,0,1268 bsp_net.o,0.963222%,616,1268,416,200,0,1268
flexible_button.o,0.859052%,540,16,540,0,0,16 flexible_button.o,0.844383%,540,16,540,0,0,16
scheduler.o,0.817690%,514,280,496,18,0,280 scheduler.o,0.803728%,514,280,496,18,0,280
dev_pin.o,0.773147%,486,76,448,38,0,76 dev_pin.o,0.759945%,486,76,448,38,0,76
dadd.o,0.566338%,356,0,356,0,0,0 dadd.o,0.556668%,356,0,356,0,0,0
ciu32l051_std_lpuart.o,0.528158%,332,0,332,0,0,0 ciu32l051_std_lpuart.o,0.519139%,332,0,332,0,0,0
_scanf_int.o,0.524976%,330,0,330,0,0,0 _scanf_int.o,0.516012%,330,0,330,0,0,0
cpuport.o,0.489978%,308,12,308,0,0,12 cpuport.o,0.481611%,308,12,308,0,0,12
board.o,0.442253%,278,0,278,0,0,0 board.o,0.440956%,282,0,282,0,0,0
idle.o,0.429526%,270,416,248,22,0,416 idle.o,0.422192%,270,416,248,22,0,416
components.o,0.388164%,244,0,228,16,0,0 components.o,0.381536%,244,0,228,16,0,0
ddiv.o,0.381801%,240,0,240,0,0,0 ddiv.o,0.375281%,240,0,240,0,0,0
depilogue.o,0.375437%,236,0,236,0,0,0 depilogue.o,0.369027%,236,0,236,0,0,0
ciu32l051_std_rtc.o,0.375437%,236,0,236,0,0,0 ciu32l051_std_rtc.o,0.369027%,236,0,236,0,0,0
_scanf_str.o,0.369074%,232,0,232,0,0,0 _scanf_str.o,0.362772%,232,0,232,0,0,0
bsp_wdg.o,0.369074%,232,656,220,12,0,656 bsp_wdg.o,0.362772%,232,656,220,12,0,656
startup_ciu32l051.o,0.349984%,220,1024,28,192,0,1024 startup_ciu32l051.o,0.344008%,220,1024,28,192,0,1024
context_rvds.o,0.343621%,216,0,216,0,0,0 context_rvds.o,0.337753%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.343621%,216,0,216,0,0,0 ciu32l051_std_rcc.o,0.337753%,216,0,216,0,0,0
dmul.o,0.330894%,208,0,208,0,0,0 dmul.o,0.325244%,208,0,208,0,0,0
drv_common.o,0.324531%,204,0,204,0,0,0 drv_common.o,0.318989%,204,0,204,0,0,0
system_ciu32l051.o,0.318167%,200,4,164,32,4,0 system_ciu32l051.o,0.312735%,200,4,164,32,4,0
ciu32l051_std_flash.o,0.299077%,188,0,188,0,0,0 ciu32l051_std_flash.o,0.293970%,188,0,188,0,0,0
ciu32l051_std_usart.o,0.295896%,186,0,186,0,0,0 ciu32l051_std_usart.o,0.290843%,186,0,186,0,0,0
strtod.o,0.286351%,180,0,180,0,0,0 strtod.o,0.281461%,180,0,180,0,0,0
_strtoul.o,0.264079%,166,0,166,0,0,0 _strtoul.o,0.259570%,166,0,166,0,0,0
ciu32l051_std_gpio.o,0.244989%,154,0,154,0,0,0 ciu32l051_std_gpio.o,0.240806%,154,0,154,0,0,0
ciu32l051_std_adc.o,0.235444%,148,0,148,0,0,0 ciu32l051_std_adc.o,0.231424%,148,0,148,0,0,0
ctype_o.o,0.224308%,141,0,8,133,0,0 ctype_o.o,0.220478%,141,0,8,133,0,0
fepilogue.o,0.206809%,130,0,130,0,0,0 fepilogue.o,0.203277%,130,0,130,0,0,0
strtol.o,0.178174%,112,0,112,0,0,0 fdiv.o,0.193895%,124,0,124,0,0,0
ciu32l051_std_dma.o,0.159084%,100,0,100,0,0,0 fmul.o,0.190768%,122,0,122,0,0,0
uldiv.o,0.152720%,96,0,96,0,0,0 strtol.o,0.175131%,112,0,112,0,0,0
console_be.o,0.143175%,90,48,86,4,0,48 ciu32l051_std_dma.o,0.156367%,100,0,100,0,0,0
bsp_io_dev.o,0.141584%,89,16,76,13,0,16 uldiv.o,0.150113%,96,0,96,0,0,0
irq.o,0.139994%,88,12,88,0,0,12 console_be.o,0.140731%,90,48,86,4,0,48
_sgetc.o,0.108177%,68,0,68,0,0,0 bsp_io_dev.o,0.139167%,89,16,76,13,0,16
dfixul.o,0.101814%,64,0,64,0,0,0 irq.o,0.137603%,88,12,88,0,0,12
uidiv_div0.o,0.098632%,62,0,62,0,0,0 _sgetc.o,0.106330%,68,0,68,0,0,0
__0sscanf.o,0.095450%,60,0,60,0,0,0 dfixul.o,0.100075%,64,0,64,0,0,0
d2f.o,0.089087%,56,0,56,0,0,0 uidiv_div0.o,0.096948%,62,0,62,0,0,0
clock.o,0.085905%,54,4,54,0,0,4 __0sscanf.o,0.093820%,60,0,60,0,0,0
llmul.o,0.076360%,48,0,48,0,0,0 d2f.o,0.087566%,56,0,56,0,0,0
init.o,0.076360%,48,0,48,0,0,0 clock.o,0.084438%,54,4,54,0,0,4
m_ps.l,0.069997%,44,0,44,0,0,0 ffixi.o,0.078184%,50,0,50,0,0,0
dcmplt.o,0.069997%,44,0,44,0,0,0 llmul.o,0.075056%,48,0,48,0,0,0
dcmple.o,0.069997%,44,0,44,0,0,0 init.o,0.075056%,48,0,48,0,0,0
dcmpge.o,0.069997%,44,0,44,0,0,0 m_ps.l,0.068802%,44,0,44,0,0,0
scanf_char.o,0.069997%,44,0,44,0,0,0 dcmplt.o,0.068802%,44,0,44,0,0,0
atof.o,0.069997%,44,0,44,0,0,0 dcmple.o,0.068802%,44,0,44,0,0,0
cdrcmple.o,0.063633%,40,0,40,0,0,0 dcmpge.o,0.068802%,44,0,44,0,0,0
strstr.o,0.063633%,40,0,40,0,0,0 scanf_char.o,0.068802%,44,0,44,0,0,0
strcasecmp.o,0.060452%,38,0,38,0,0,0 atof.o,0.068802%,44,0,44,0,0,0
llsshr.o,0.060452%,38,0,38,0,0,0 f2d.o,0.062547%,40,0,40,0,0,0
memseta.o,0.057270%,36,0,36,0,0,0 cdrcmple.o,0.062547%,40,0,40,0,0,0
memcpya.o,0.057270%,36,0,36,0,0,0 strstr.o,0.062547%,40,0,40,0,0,0
errno.o,0.057270%,36,4,32,0,4,0 strcasecmp.o,0.059420%,38,0,38,0,0,0
llushr.o,0.054088%,34,0,34,0,0,0 llsshr.o,0.059420%,38,0,38,0,0,0
llshl.o,0.050907%,32,0,32,0,0,0 memseta.o,0.056292%,36,0,36,0,0,0
strncmp.o,0.047725%,30,0,30,0,0,0 memcpya.o,0.056292%,36,0,36,0,0,0
handlers.o,0.047725%,30,0,30,0,0,0 errno.o,0.056292%,36,4,32,0,4,0
_chval.o,0.047725%,30,0,30,0,0,0 llushr.o,0.053165%,34,0,34,0,0,0
dfltul.o,0.044543%,28,0,28,0,0,0 llshl.o,0.050038%,32,0,32,0,0,0
strncpy.o,0.041362%,26,0,26,0,0,0 strncmp.o,0.046910%,30,0,30,0,0,0
memcmp.o,0.041362%,26,0,26,0,0,0 handlers.o,0.046910%,30,0,30,0,0,0
atoi.o,0.041362%,26,0,26,0,0,0 _chval.o,0.046910%,30,0,30,0,0,0
ciu32l051_std.o,0.038180%,24,0,24,0,0,0 dfltul.o,0.043783%,28,0,28,0,0,0
at_port.o,0.038180%,24,0,24,0,0,0 strncpy.o,0.040655%,26,0,26,0,0,0
strchr.o,0.031817%,20,0,20,0,0,0 memcmp.o,0.040655%,26,0,26,0,0,0
memchr.o,0.031817%,20,0,20,0,0,0 atoi.o,0.040655%,26,0,26,0,0,0
isspace_o.o,0.028635%,18,0,18,0,0,0 ciu32l051_std.o,0.037528%,24,0,24,0,0,0
strlen.o,0.022272%,14,0,14,0,0,0 at_port.o,0.037528%,24,0,24,0,0,0
tolower.o,0.019090%,12,0,12,0,0,0 strchr.o,0.031273%,20,0,20,0,0,0
entry9a.o,0.012727%,8,0,8,0,0,0 memchr.o,0.031273%,20,0,20,0,0,0
entry2.o,0.012727%,8,0,8,0,0,0 isspace_o.o,0.028146%,18,0,18,0,0,0
entry5.o,0.006363%,4,0,4,0,0,0 ffltui.o,0.021891%,14,0,14,0,0,0
strlen.o,0.021891%,14,0,14,0,0,0
tolower.o,0.018764%,12,0,12,0,0,0
entry9a.o,0.012509%,8,0,8,0,0,0
entry2.o,0.012509%,8,0,8,0,0,0
entry5.o,0.006255%,4,0,4,0,0,0

1 File_name flash percent flash ram Code RO_data RW_data ZI_data
2 mc_p.l 9.801146% 9.633788% 6161 4 6024 133 4 0
3 cmd.o 7.115813% 6.994308% 4473 0 2872 1601 0 0
4 bsp_flash.o 5.674515% 5.577621% 3567 4 2660 907 0 4
5 ipc.o 5.049316% 4.963097% 3174 0 2160 1014 0 0
6 at_chat.o 4.877506% 4.794220% 3066 8 3050 16 0 8
7 printfa.o 3.643016% 3.580811% 2290 0 2290 0 0 0
8 thread.o 3.426662% 3.368151% 2154 12 1912 242 0 12
9 ulog.o 3.412345% 3.354078% 2145 333 1934 211 0 333
10 kservice.o 3.363029% 3.305604% 2114 140 1858 256 0 140
11 drv_uart.o 3.281896% 3.219602% 2063 2059 1508 2046 17 13 0 1508
12 main.o 3.132358% 3.078872% 1969 1036 1764 205 0 1036
13 mem.o 2.990773% 2.939705% 1880 72 1512 368 0 72
14 shell.o mf_p.l 2.861915% 2.877158% 1799 1840 153 0 1768 1840 31 0 0 153 0
15 agile_led.o shell.o 2.418072% 2.813047% 1520 1799 708 153 1320 1768 200 31 0 708 153
16 mf_p.l agile_led.o 2.370347% 2.376783% 1490 1520 0 708 1490 1320 0 200 0 0 708
17 bsp_history.o 2.123767% 2.087503% 1335 1180 1256 79 0 1180
18 timer.o bsp_adc.o 1.840598% 1.913935% 1157 1224 20 768 1002 1144 155 80 0 20 768
19 object.o timer.o 1.697423% 1.809169% 1067 1157 148 20 832 1002 107 155 128 0 20
20 drv_gpio.o object.o 1.660834% 1.668439% 1044 1067 0 148 244 832 800 107 0 128 0 20
21 bsp_button.o drv_gpio.o 1.646516% 1.632474% 1035 1044 684 0 644 244 391 800 0 684 0
22 device.o bsp_button.o 1.562202% 1.618401% 982 1035 0 684 670 644 312 391 0 0 684
23 msh.o device.o 1.503341% 1.535527% 945 982 0 784 670 161 312 0 0
24 bsp_sensor.o msh.o 1.430162% 1.477671% 899 945 1256 0 882 784 17 161 0 1256 0
25 scanf_fp.o bsp_sensor.o 1.428571% 1.405742% 898 899 0 1256 898 882 0 17 0 0 1256
26 _scanf.o scanf_fp.o 1.310850% 1.404178% 824 898 0 824 898 0 0 0
27 bsp_adc.o _scanf.o 1.310850% 1.288466% 824 748 0 812 824 12 0 0 748 0
28 bsp_rtc.o 1.111995% 1.093007% 699 6 600 99 0 6
29 completion.o 1.049952% 1.032024% 660 0 572 88 0 0
30 lwrb.o 1.008590% 0.991369% 634 0 634 0 0 0
31 bsp_net.o 0.992682% 0.963222% 624 616 1268 424 416 200 0 1268
32 flexible_button.o 0.859052% 0.844383% 540 16 540 0 0 16
33 scheduler.o 0.817690% 0.803728% 514 280 496 18 0 280
34 dev_pin.o 0.773147% 0.759945% 486 76 448 38 0 76
35 dadd.o 0.566338% 0.556668% 356 0 356 0 0 0
36 ciu32l051_std_lpuart.o 0.528158% 0.519139% 332 0 332 0 0 0
37 _scanf_int.o 0.524976% 0.516012% 330 0 330 0 0 0
38 cpuport.o 0.489978% 0.481611% 308 12 308 0 0 12
39 board.o 0.442253% 0.440956% 278 282 0 278 282 0 0 0
40 idle.o 0.429526% 0.422192% 270 416 248 22 0 416
41 components.o 0.388164% 0.381536% 244 0 228 16 0 0
42 ddiv.o 0.381801% 0.375281% 240 0 240 0 0 0
43 depilogue.o 0.375437% 0.369027% 236 0 236 0 0 0
44 ciu32l051_std_rtc.o 0.375437% 0.369027% 236 0 236 0 0 0
45 _scanf_str.o 0.369074% 0.362772% 232 0 232 0 0 0
46 bsp_wdg.o 0.369074% 0.362772% 232 656 220 12 0 656
47 startup_ciu32l051.o 0.349984% 0.344008% 220 1024 28 192 0 1024
48 context_rvds.o 0.343621% 0.337753% 216 0 216 0 0 0
49 ciu32l051_std_rcc.o 0.343621% 0.337753% 216 0 216 0 0 0
50 dmul.o 0.330894% 0.325244% 208 0 208 0 0 0
51 drv_common.o 0.324531% 0.318989% 204 0 204 0 0 0
52 system_ciu32l051.o 0.318167% 0.312735% 200 4 164 32 4 0
53 ciu32l051_std_flash.o 0.299077% 0.293970% 188 0 188 0 0 0
54 ciu32l051_std_usart.o 0.295896% 0.290843% 186 0 186 0 0 0
55 strtod.o 0.286351% 0.281461% 180 0 180 0 0 0
56 _strtoul.o 0.264079% 0.259570% 166 0 166 0 0 0
57 ciu32l051_std_gpio.o 0.244989% 0.240806% 154 0 154 0 0 0
58 ciu32l051_std_adc.o 0.235444% 0.231424% 148 0 148 0 0 0
59 ctype_o.o 0.224308% 0.220478% 141 0 8 133 0 0
60 fepilogue.o 0.206809% 0.203277% 130 0 130 0 0 0
61 strtol.o fdiv.o 0.178174% 0.193895% 112 124 0 112 124 0 0 0
62 ciu32l051_std_dma.o fmul.o 0.159084% 0.190768% 100 122 0 100 122 0 0 0
63 uldiv.o strtol.o 0.152720% 0.175131% 96 112 0 96 112 0 0 0
64 console_be.o ciu32l051_std_dma.o 0.143175% 0.156367% 90 100 48 0 86 100 4 0 0 48 0
65 bsp_io_dev.o uldiv.o 0.141584% 0.150113% 89 96 16 0 76 96 13 0 0 16 0
66 irq.o console_be.o 0.139994% 0.140731% 88 90 12 48 88 86 0 4 0 12 48
67 _sgetc.o bsp_io_dev.o 0.108177% 0.139167% 68 89 0 16 68 76 0 13 0 0 16
68 dfixul.o irq.o 0.101814% 0.137603% 64 88 0 12 64 88 0 0 0 12
69 uidiv_div0.o _sgetc.o 0.098632% 0.106330% 62 68 0 62 68 0 0 0
70 __0sscanf.o dfixul.o 0.095450% 0.100075% 60 64 0 60 64 0 0 0
71 d2f.o uidiv_div0.o 0.089087% 0.096948% 56 62 0 56 62 0 0 0
72 clock.o __0sscanf.o 0.085905% 0.093820% 54 60 4 0 54 60 0 0 4 0
73 llmul.o d2f.o 0.076360% 0.087566% 48 56 0 48 56 0 0 0
74 init.o clock.o 0.076360% 0.084438% 48 54 0 4 48 54 0 0 0 4
75 m_ps.l ffixi.o 0.069997% 0.078184% 44 50 0 44 50 0 0 0
76 dcmplt.o llmul.o 0.069997% 0.075056% 44 48 0 44 48 0 0 0
77 dcmple.o init.o 0.069997% 0.075056% 44 48 0 44 48 0 0 0
78 dcmpge.o m_ps.l 0.069997% 0.068802% 44 0 44 0 0 0
79 scanf_char.o dcmplt.o 0.069997% 0.068802% 44 0 44 0 0 0
80 atof.o dcmple.o 0.069997% 0.068802% 44 0 44 0 0 0
81 cdrcmple.o dcmpge.o 0.063633% 0.068802% 40 44 0 40 44 0 0 0
82 strstr.o scanf_char.o 0.063633% 0.068802% 40 44 0 40 44 0 0 0
83 strcasecmp.o atof.o 0.060452% 0.068802% 38 44 0 38 44 0 0 0
84 llsshr.o f2d.o 0.060452% 0.062547% 38 40 0 38 40 0 0 0
85 memseta.o cdrcmple.o 0.057270% 0.062547% 36 40 0 36 40 0 0 0
86 memcpya.o strstr.o 0.057270% 0.062547% 36 40 0 36 40 0 0 0
87 errno.o strcasecmp.o 0.057270% 0.059420% 36 38 4 0 32 38 0 4 0 0
88 llushr.o llsshr.o 0.054088% 0.059420% 34 38 0 34 38 0 0 0
89 llshl.o memseta.o 0.050907% 0.056292% 32 36 0 32 36 0 0 0
90 strncmp.o memcpya.o 0.047725% 0.056292% 30 36 0 30 36 0 0 0
91 handlers.o errno.o 0.047725% 0.056292% 30 36 0 4 30 32 0 0 4 0
92 _chval.o llushr.o 0.047725% 0.053165% 30 34 0 30 34 0 0 0
93 dfltul.o llshl.o 0.044543% 0.050038% 28 32 0 28 32 0 0 0
94 strncpy.o strncmp.o 0.041362% 0.046910% 26 30 0 26 30 0 0 0
95 memcmp.o handlers.o 0.041362% 0.046910% 26 30 0 26 30 0 0 0
96 atoi.o _chval.o 0.041362% 0.046910% 26 30 0 26 30 0 0 0
97 ciu32l051_std.o dfltul.o 0.038180% 0.043783% 24 28 0 24 28 0 0 0
98 at_port.o strncpy.o 0.038180% 0.040655% 24 26 0 24 26 0 0 0
99 strchr.o memcmp.o 0.031817% 0.040655% 20 26 0 20 26 0 0 0
100 memchr.o atoi.o 0.031817% 0.040655% 20 26 0 20 26 0 0 0
101 isspace_o.o ciu32l051_std.o 0.028635% 0.037528% 18 24 0 18 24 0 0 0
102 strlen.o at_port.o 0.022272% 0.037528% 14 24 0 14 24 0 0 0
103 tolower.o strchr.o 0.019090% 0.031273% 12 20 0 12 20 0 0 0
104 entry9a.o memchr.o 0.012727% 0.031273% 8 20 0 8 20 0 0 0
105 entry2.o isspace_o.o 0.012727% 0.028146% 8 18 0 8 18 0 0 0
106 entry5.o ffltui.o 0.006363% 0.021891% 4 14 0 4 14 0 0 0
107 strlen.o 0.021891% 14 0 14 0 0 0
108 tolower.o 0.018764% 12 0 12 0 0 0
109 entry9a.o 0.012509% 8 0 8 0 0 0
110 entry2.o 0.012509% 8 0 8 0 0 0
111 entry5.o 0.006255% 4 0 4 0 0 0

View File

@ -1,33 +1,33 @@
File_name,ram_percent,ram,flash,Code,RO_data,RW_data,ZI_data File_name,ram_percent,ram,flash,Code,RO_data,RW_data,ZI_data
drv_uart.o,12.719298%,1508,2063,2046,17,0,1508 drv_uart.o,12.697878%,1508,2059,2046,13,0,1508
bsp_net.o,10.695006%,1268,624,424,200,0,1268 bsp_net.o,10.676995%,1268,616,416,200,0,1268
bsp_sensor.o,10.593792%,1256,899,882,17,0,1256 bsp_sensor.o,10.575952%,1256,899,882,17,0,1256
bsp_history.o,9.952766%,1180,1335,1256,79,0,1180 bsp_history.o,9.936006%,1180,1335,1256,79,0,1180
main.o,8.738192%,1036,1969,1764,205,0,1036 main.o,8.723475%,1036,1969,1764,205,0,1036
startup_ciu32l051.o,8.636977%,1024,220,28,192,0,1024 startup_ciu32l051.o,8.622432%,1024,220,28,192,0,1024
bsp_adc.o,6.309042%,748,824,812,12,0,748 bsp_adc.o,6.466824%,768,1224,1144,80,0,768
agile_led.o,5.971660%,708,1520,1320,200,0,708 agile_led.o,5.961603%,708,1520,1320,200,0,708
bsp_button.o,5.769231%,684,1035,644,391,0,684 bsp_button.o,5.759515%,684,1035,644,391,0,684
bsp_wdg.o,5.533063%,656,232,220,12,0,656 bsp_wdg.o,5.523746%,656,232,220,12,0,656
idle.o,3.508772%,416,270,248,22,0,416 idle.o,3.502863%,416,270,248,22,0,416
ulog.o,2.808704%,333,2145,1934,211,0,333 ulog.o,2.803974%,333,2145,1934,211,0,333
scheduler.o,2.361673%,280,514,496,18,0,280 scheduler.o,2.357696%,280,514,496,18,0,280
shell.o,1.290486%,153,1799,1768,31,0,153 shell.o,1.288313%,153,1799,1768,31,0,153
object.o,1.248313%,148,1067,832,107,128,20 object.o,1.246211%,148,1067,832,107,128,20
kservice.o,1.180837%,140,2114,1858,256,0,140 kservice.o,1.178848%,140,2114,1858,256,0,140
dev_pin.o,0.641026%,76,486,448,38,0,76 dev_pin.o,0.639946%,76,486,448,38,0,76
mem.o,0.607287%,72,1880,1512,368,0,72 mem.o,0.606265%,72,1880,1512,368,0,72
console_be.o,0.404858%,48,90,86,4,0,48 console_be.o,0.404177%,48,90,86,4,0,48
timer.o,0.168691%,20,1157,1002,155,0,20 timer.o,0.168407%,20,1157,1002,155,0,20
flexible_button.o,0.134953%,16,540,540,0,0,16 flexible_button.o,0.134725%,16,540,540,0,0,16
bsp_io_dev.o,0.134953%,16,89,76,13,0,16 bsp_io_dev.o,0.134725%,16,89,76,13,0,16
thread.o,0.101215%,12,2154,1912,242,0,12 thread.o,0.101044%,12,2154,1912,242,0,12
irq.o,0.101215%,12,88,88,0,0,12 irq.o,0.101044%,12,88,88,0,0,12
cpuport.o,0.101215%,12,308,308,0,0,12 cpuport.o,0.101044%,12,308,308,0,0,12
at_chat.o,0.067476%,8,3066,3050,16,0,8 at_chat.o,0.067363%,8,3066,3050,16,0,8
bsp_rtc.o,0.050607%,6,699,600,99,0,6 bsp_rtc.o,0.050522%,6,699,600,99,0,6
mc_p.l,0.033738%,4,6161,6024,133,4,0 mc_p.l,0.033681%,4,6161,6024,133,4,0
errno.o,0.033738%,4,36,32,0,4,0 errno.o,0.033681%,4,36,32,0,4,0
system_ciu32l051.o,0.033738%,4,200,164,32,4,0 system_ciu32l051.o,0.033681%,4,200,164,32,4,0
clock.o,0.033738%,4,54,54,0,0,4 clock.o,0.033681%,4,54,54,0,0,4
bsp_flash.o,0.033738%,4,3567,2660,907,0,4 bsp_flash.o,0.033681%,4,3567,2660,907,0,4

1 File_name ram_percent ram flash Code RO_data RW_data ZI_data
2 drv_uart.o 12.719298% 12.697878% 1508 2063 2059 2046 17 13 0 1508
3 bsp_net.o 10.695006% 10.676995% 1268 624 616 424 416 200 0 1268
4 bsp_sensor.o 10.593792% 10.575952% 1256 899 882 17 0 1256
5 bsp_history.o 9.952766% 9.936006% 1180 1335 1256 79 0 1180
6 main.o 8.738192% 8.723475% 1036 1969 1764 205 0 1036
7 startup_ciu32l051.o 8.636977% 8.622432% 1024 220 28 192 0 1024
8 bsp_adc.o 6.309042% 6.466824% 748 768 824 1224 812 1144 12 80 0 748 768
9 agile_led.o 5.971660% 5.961603% 708 1520 1320 200 0 708
10 bsp_button.o 5.769231% 5.759515% 684 1035 644 391 0 684
11 bsp_wdg.o 5.533063% 5.523746% 656 232 220 12 0 656
12 idle.o 3.508772% 3.502863% 416 270 248 22 0 416
13 ulog.o 2.808704% 2.803974% 333 2145 1934 211 0 333
14 scheduler.o 2.361673% 2.357696% 280 514 496 18 0 280
15 shell.o 1.290486% 1.288313% 153 1799 1768 31 0 153
16 object.o 1.248313% 1.246211% 148 1067 832 107 128 20
17 kservice.o 1.180837% 1.178848% 140 2114 1858 256 0 140
18 dev_pin.o 0.641026% 0.639946% 76 486 448 38 0 76
19 mem.o 0.607287% 0.606265% 72 1880 1512 368 0 72
20 console_be.o 0.404858% 0.404177% 48 90 86 4 0 48
21 timer.o 0.168691% 0.168407% 20 1157 1002 155 0 20
22 flexible_button.o 0.134953% 0.134725% 16 540 540 0 0 16
23 bsp_io_dev.o 0.134953% 0.134725% 16 89 76 13 0 16
24 thread.o 0.101215% 0.101044% 12 2154 1912 242 0 12
25 irq.o 0.101215% 0.101044% 12 88 88 0 0 12
26 cpuport.o 0.101215% 0.101044% 12 308 308 0 0 12
27 at_chat.o 0.067476% 0.067363% 8 3066 3050 16 0 8
28 bsp_rtc.o 0.050607% 0.050522% 6 699 600 99 0 6
29 mc_p.l 0.033738% 0.033681% 4 6161 6024 133 4 0
30 errno.o 0.033738% 0.033681% 4 36 32 0 4 0
31 system_ciu32l051.o 0.033738% 0.033681% 4 200 164 32 4 0
32 clock.o 0.033738% 0.033681% 4 54 54 0 0 4
33 bsp_flash.o 0.033738% 0.033681% 4 3567 2660 907 0 4

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,20 @@
{
"MicroPython.executeButton": [
{
"text": "▶",
"tooltip": "运行",
"alignment": "left",
"command": "extension.executeFile",
"priority": 3.5
}
],
"MicroPython.syncButton": [
{
"text": "$(sync)",
"tooltip": "同步",
"alignment": "left",
"command": "extension.execute",
"priority": 4
}
]
}

View File

@ -98,6 +98,7 @@ void rt_hw_board_init()
#ifndef DEBUG_OUTPUT_SELECT #ifndef DEBUG_OUTPUT_SELECT
SEGGER_RTT_Init(); SEGGER_RTT_Init();
#endif // DEBUG_OUTPUT_SELECT #endif // DEBUG_OUTPUT_SELECT
rt_hw_usart_init();
} }
void SysTick_Handler(void) void SysTick_Handler(void)

View File

@ -27,6 +27,9 @@
"C_Cpp.default.configurationProvider": "cl.eide", "C_Cpp.default.configurationProvider": "cl.eide",
"C_Cpp.errorSquiggles": "disabled", "C_Cpp.errorSquiggles": "disabled",
"files.associations": { "files.associations": {
"*.sqlbook": "sql",
"*.ndjson": "jsonl",
"*.dbclient-js": "javascript",
".eideignore": "ignore", ".eideignore": "ignore",
"*.a51": "a51", "*.a51": "a51",
"*.h": "c", "*.h": "c",
@ -36,7 +39,11 @@
"*.c++": "cpp", "*.c++": "cpp",
"*.cpp": "cpp", "*.cpp": "cpp",
"*.cxx": "cpp", "*.cxx": "cpp",
"*.cc": "cpp" "*.cc": "cpp",
"cstddef": "c",
"limits": "c",
"initializer_list": "c",
"ratio": "c"
}, },
"[yaml]": { "[yaml]": {
"editor.insertSpaces": true, "editor.insertSpaces": true,

View File

@ -8,7 +8,7 @@
#define LOG_LVL LOG_LVL_DBG // 该模块对应的日志输出级别。不定义时,默认:调试级别 #define LOG_LVL LOG_LVL_DBG // 该模块对应的日志输出级别。不定义时,默认:调试级别
#include <ulog.h> // 必须在 LOG_TAG 与 LOG_LVL 下面 #include <ulog.h> // 必须在 LOG_TAG 与 LOG_LVL 下面
// #define ADC_DMA_RX_ENABLE #define ADC_DMA_RX_ENABLE
struct rt_semaphore sem_vin; struct rt_semaphore sem_vin;
static struct rt_timer vin_timer; static struct rt_timer vin_timer;

View File

@ -2,7 +2,7 @@
* @Author: mbw * @Author: mbw
* @Date: 2024-09-18 15:32:35 * @Date: 2024-09-18 15:32:35
* @LastEditors: mbw && 1600520629@qq.com * @LastEditors: mbw && 1600520629@qq.com
* @LastEditTime: 2024-09-20 14:45:53 * @LastEditTime: 2024-09-20 15:17:40
* @FilePath: \USART1_Interrupt - RT-Thread\bsp\src\bsp_net.c * @FilePath: \USART1_Interrupt - RT-Thread\bsp\src\bsp_net.c
* @Description: * @Description:
* *
@ -99,21 +99,13 @@ static void Ml307_Init_Thread_Entry(void *parameter)
} }
} }
/** void At_Tick_Timer_Entry(void *parameter)
* @brief AT polling program
*/
void At_Device_Process(void)
{ {
at_obj_process(at_obj); at_obj_process(at_obj);
} }
void At_Tick_Timer_Entry(void *parameter)
{
At_Device_Process();
}
static int ml307_net_init(void) static int ml307_net_init(void)
{ {
rt_mutex_init(&at_lock, "at_lock", RT_IPC_FLAG_FIFO); rt_mutex_init(&at_lock, "at_lock", RT_IPC_FLAG_FIFO);
at_obj = at_obj_create(&at_adapter); // Create AT communication object at_obj = at_obj_create(&at_adapter); // Create AT communication object

View File

@ -487,8 +487,8 @@ void __Lpuart_Init(uint32_t baudrate, uint32_t par)
NVIC_SetPriority(LPUART1_IRQn, NVIC_PRIO_1); NVIC_SetPriority(LPUART1_IRQn, NVIC_PRIO_1);
NVIC_EnableIRQ(LPUART1_IRQn); NVIC_EnableIRQ(LPUART1_IRQn);
std_usart_cr1_interrupt_enable(LPUART1, USART_CR1_INTERRUPT_RXNE); std_lpuart_cr1_interrupt_enable(LPUART1, LPUART_CR1_INTERRUPT_RXNE);
std_usart_cr1_interrupt_enable(LPUART1, USART_CR3_INTERRUPT_ERR); std_lpuart_cr3_interrupt_enable(LPUART1, LPUART_CR3_INTERRUPT_ERR);
} }
void __UART1_Init(uint32_t baudrate, uint32_t par) void __UART1_Init(uint32_t baudrate, uint32_t par)
@ -640,7 +640,7 @@ rt_uint32_t UART3_Write(const void *data, size_t len)
if (lwrb_get_free(&uart3_tx_rb) >= len) if (lwrb_get_free(&uart3_tx_rb) >= len)
{ {
ret = lwrb_write(&uart3_tx_rb, data, len); ret = lwrb_write(&uart3_tx_rb, data, len);
std_lpuart_cr1_interrupt_enable(UART3, LPUART_CR1_INTERRUPT_TXE); std_usart_cr1_interrupt_enable(UART3, LPUART_CR1_INTERRUPT_TXE);
} }
return ret; return ret;
} }
@ -1070,7 +1070,7 @@ int rt_hw_usart_init(void)
return 0; return 0;
} }
INIT_PREV_EXPORT(rt_hw_usart_init); // INIT_PREV_EXPORT(rt_hw_usart_init);
#if 0 #if 0
/*串口注册设备主要用于AT设备的对接*/ /*串口注册设备主要用于AT设备的对接*/