对读函数做了优化,并且写了flash初始化

This commit is contained in:
小马_666 2024-09-04 09:01:05 +08:00
parent eb19651a5f
commit d9b0473928
32 changed files with 7606 additions and 5329 deletions

Binary file not shown.

View File

@ -27,8 +27,8 @@ Project File Date: 09/02/2024
<h2>Output:</h2>
*** Using Compiler 'V6.21', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'USART1_Interrupt'
compiling slab.c...
compiling cpu.c...
compiling slab.c...
compiling idle.c...
compiling ulog.c...
../bsp/src/bsp_flash.c(17): warning: In file included from...
@ -39,15 +39,15 @@ compiling ulog.c...
compiling bsp_flash.c...
compiling ipc.c...
linking...
Program Size: Code=28758 RO-data=5790 RW-data=128 ZI-data=8184
Program Size: Code=30106 RO-data=5894 RW-data=128 ZI-data=8192
FromELF: creating hex file...
After Build - User command #1: "D:\SXDT\Official_information\HDDZ\demo\CIU32_L051_PROJECT\USART1_Interrupt - RT-Thread\keil5_disp_size_bar\keil5_disp_size_bar.exe"
ram:
RW_IRAM1 :0x20000000
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö__________| 50.73 % ( 8.12 KB / 16.00 KB) [8072 B]
16.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö__________| 50.78 % ( 8.12 KB / 16.00 KB) [8064 B]
flash:
ER_IROM1 :0x8000000
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö__________| 52.72 % ( 33.74 KB / 64.00 KB) [30988 B]
64.00 KB :|¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö¡ö__________| 54.93 % ( 35.16 KB / 64.00 KB) [29536 B]
".\CIU32_L051_M307R.axf" - 0 Error(s), 1 Warning(s).
<h2>Software Packages used:</h2>
@ -61,7 +61,7 @@ Package Vendor: HED
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>
Build Time Elapsed: 00:00:01
Build Time Elapsed: 00:00:02
</pre>
</body>
</html>

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<component_viewer schemaVersion="0.1" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
<component name="EventRecorderStub" version="1.0.0"/> <!--name and version of the component-->
<events>
</events>
</component_viewer>

2
MDK/ExtDll.iex Normal file
View File

@ -0,0 +1,2 @@
[EXTDLL]
Count=0

File diff suppressed because it is too large Load Diff

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -130,7 +130,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>CMSIS_AGDI</Key>
<Name>-X"Any" -UAny -O238 -S9 -C0 -P00000000 -N00("") -D00(00000000) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO31 -FD20000000 -FC4000 -FN1 -FF0CIU32L051_64.FLM -FS08000000 -FL010000 -FP0($$Device:CIU32L051C8Tx$CMSIS\Flash\CIU32L051_64.FLM)</Name>
<Name>-X"Any" -UAny -O238 -S9 -C0 -P00000000 -N00("ARM CoreSight SW-DP") -D00(0BC11477) -L00(0) -TO65554 -TC10000000 -TT10000000 -TP20 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO31 -FD20000000 -FC4000 -FN1 -FF0CIU32L051_64.FLM -FS08000000 -FL010000 -FP0($$Device:CIU32L051C8Tx$CMSIS\Flash\CIU32L051_64.FLM)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -150,7 +150,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGUARM</Key>
<Name>`騉</Name>
<Name></Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint/>
@ -196,12 +196,6 @@
<pszMrulep></pszMrulep>
<pSingCmdsp></pSingCmdsp>
<pMultCmdsp></pMultCmdsp>
<SystemViewers>
<Entry>
<Name>System Viewer\USART1</Name>
<WinId>35905</WinId>
</Entry>
</SystemViewers>
<DebugDescription>
<Enable>1</Enable>
<EnableFlashSeq>0</EnableFlashSeq>

View File

@ -25,7 +25,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -47,7 +47,7 @@ I (..\RTOS\inc\rthw.h\.\LIB\lwrb\lwrb.h)(0x00000000)
I (C:\Keil_v5\ARM\ARMCLANG\include\string.hr\bsp\inc\bsp_rtc.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x666E44C6)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\bsp\src\bsp_rtc.c)(0x66D56DC6)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_rtc.o -MD)
F (..\bsp\src\bsp_rtc.c)(0x66D573CD)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_rtc.o -MD)
I (..\RTOS\inc\rtthread.h\.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -73,7 +73,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -91,7 +91,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_usart.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_vrefbuf.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
I (..\RTOS\components\finsh\finsh_api.h)(0x66C2AAF0)
F (..\bsp\src\bsp_history.c)(0x66D56FAC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_history.o -MD)
F (..\bsp\src\bsp_history.c)(0x66D6BEB2)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_history.o -MD)
I (..\RTOS\inc\rtthread.h..\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -117,7 +117,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -142,7 +142,7 @@ I (..\LIB\RTT\SEGGER_RTT.he.\LIB\RTT\SEGGER_RTT_Conf.h)(0x00000000)
I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x6569B012)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x666E44C6)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\bsp\src\bsp_flash.c)(0x66D5725A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_flash.o -MD)
F (..\bsp\src\bsp_flash.c)(0x66D6D559)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./bsp_flash.o -MD)
I (..\RTOS\inc\rtthread.hl.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -168,7 +168,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -221,7 +221,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -269,7 +269,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -313,7 +313,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -364,7 +364,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -409,7 +409,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -432,7 +432,7 @@ I (C:\Keil_v5\ARM\ARMCLANG\include\ctype.h)(0x6569B012)
I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h)(0x6569B012)
I (C:\Keil_v5\ARM\ARMCLANG\include\string.h)(0x6569B012)
I (..\RTOS\components\finsh\shell.hs.\RTOS\components\finsh\msh.h)(0x00000000)
F (..\RTOS\src\board.c)(0x66D162CC)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./board.o -MD)
F (..\RTOS\src\board.c)(0x66D5821E)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./board.o -MD)
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\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -457,7 +457,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -504,7 +504,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -548,7 +548,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -591,7 +591,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -635,7 +635,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -679,7 +679,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -722,7 +722,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -766,7 +766,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -810,7 +810,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -854,7 +854,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -902,7 +902,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -946,7 +946,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -990,7 +990,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1034,7 +1034,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1078,7 +1078,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1122,7 +1122,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1165,7 +1165,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1207,7 +1207,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1225,7 +1225,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_usart.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_vrefbuf.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
F (..\drivers\src\drv_gpio.c)(0x66C57B4A)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_gpio.o -MD)
F (..\drivers\src\drv_uart.c)(0x66D02F8C)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_uart.o -MD)
F (..\drivers\src\drv_uart.c)(0x66D58269)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./drv_uart.o -MD)
I (..\RTOS\inc\rtthread.ht.\RTOS\rtconfig.h)(0x00000000)
I (..\RTOS\components\finsh\finsh_config.hh.\RTOS\inc\rtdebug.h)(0x00000000)
I (..\RTOS\inc\rtdef.hf.\RTOS\inc\stdarg.hh.\RTOS\inc\rtservice.h)(0x00000000)
@ -1251,7 +1251,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1272,7 +1272,8 @@ I (..\RTOS\components\finsh\finsh_api.hc.\RTOS\inc\rthw.h)(0x00000000)
I (..\LIB\lwrb\lwrb.h\:\Keil_v5\ARM\ARMCLANG\include\string.h)(0x00000000)
I (..\RTOS\components\drivers\inc\serial.hN.\LIB\LwUtil\lwutil.h)(0x00000000)
I (C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h..\bsp\inc\bsp_history.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog.h)(0x666E44C6)
I (..\LIB\RTT\user_rtt.hN.\LIB\RTT\SEGGER_RTT.h)(0x00000000)
I (..\LIB\RTT\SEGGER_RTT_Conf.hR.\RTOS\components\utilities\ulog\ulog.h)(0x00000000)
I (..\RTOS\components\utilities\ulog\ulog_def.h)(0x666E44C6)
F (..\Peripheral\CIU32L051_Lib\Source\ciu32l051_std.c)(0x6614AB29)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./ciu32l051_std.o -MD)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664)
@ -1297,7 +1298,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1337,7 +1338,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1377,7 +1378,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1417,7 +1418,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1457,7 +1458,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1497,7 +1498,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1537,7 +1538,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1554,7 +1555,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_trng.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_usart.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_vrefbuf.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_wwdg.h)(0x65800BC5)
F (..\Peripheral\CIU32L051_Lib\Source\ciu32l051_std_flash.c)(0x66D553E9)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./ciu32l051_std_flash.o -MD)
F (..\Peripheral\CIU32L051_Lib\Source\ciu32l051_std_flash.c)(0x66D6BCE5)(-xc -std=c99 --target=arm-arm-none-eabi -mcpu=cortex-m0plus -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__MICROLIB -gdwarf-4 -Oz -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ../RTOS/inc -I ../RTOS/components/finsh -I ../drivers/inc -I ../Peripheral/CIU32L051_Lib/Include -I ../Peripheral/CMSIS/Core -I ../Peripheral/CMSIS/Device -I ../startup -I ../user/Include -I ../RTOS -I ../RTOS/components/utilities/ulog -I ../RTOS/components/utilities/ulog/backend -I ../RTOS/components/drivers/inc -I ../LIB/lwrb -I ../LIB/RTT -I ../bsp/inc -I ../LIB/LwUtil -I ../LIB/perf_counter -D__UVISION_VERSION="539" -DCIU32L051 -DCIU32L051 -o ./ciu32l051_std_flash.o -MD)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std.h)(0x66138664)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_config.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_rcc.h)(0x65E679B7)
@ -1577,7 +1578,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1617,7 +1618,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1657,7 +1658,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1697,7 +1698,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1737,7 +1738,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1777,7 +1778,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1817,7 +1818,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1857,7 +1858,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1897,7 +1898,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1937,7 +1938,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -1977,7 +1978,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2017,7 +2018,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2057,7 +2058,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2097,7 +2098,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2140,7 +2141,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2185,7 +2186,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2255,7 +2256,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2306,7 +2307,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)
@ -2351,7 +2352,7 @@ I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_crc.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dbg.h)(0x6656B817)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_dma.h)(0x65800BC6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_exti.h)(0x65E67A4D)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x6699C27A)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_flash.h)(0x66D6BBA1)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_gpio.h)(0x6656A3F6)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_i2c.h)(0x65800BC5)
I (..\Peripheral\CIU32L051_Lib\Include\ciu32l051_std_iwdg.h)(0x65800BC5)

View File

@ -6,18 +6,18 @@
[Found keyword]: ----------Execution Region----------
[name]: ER_IROM1
[Exec base]: 0x8000000
[Size]: 0x86f4
[Size]: 0x8ca0
[Max]: 0x10000
[Found keyword]: ----------Execution Region----------
[name]: RW_IRAM1
[Exec base]: 0x20000000
[Size]: 0x2078
[Size]: 0x2080
[Max]: 0x4000
[parse_keil_map over printf bar]:
RW_IRAM1 :0x20000000
16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö__________| 50.73 % ( 8.12 KB / 16.00 KB) [8072 B]
16.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö__________| 50.78 % ( 8.12 KB / 16.00 KB) [8064 B]
ER_IROM1 :0x8000000
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö__________| 52.72 % ( 33.74 KB / 64.00 KB) [30988 B]
64.00 KB :|ĄöĄöĄöĄöĄöĄöĄöĄöĄöĄö__________| 54.93 % ( 35.16 KB / 64.00 KB) [29536 B]
[export csv]: ./USART1_Interrupt_sort_by_flash.csv
[export csv]: ./USART1_Interrupt_sort_by_ram.csv
[export xlsx]: USART1_Interrupt_analysis.xlsx

Binary file not shown.

View File

@ -1,65 +1,65 @@
File_name,flash percent,flash,ram,Code,RO_data,RW_data,ZI_data
bsp_flash.o,10.822195%,3854,4,2400,1454,0,4
cmd.o,10.078064%,3589,0,2592,997,0,0
ipc.o,6.846007%,2438,0,1424,1014,0,0
ulog.o,6.037291%,2150,589,1950,200,0,589
thread.o,6.020442%,2144,12,1902,242,0,12
kservice.o,5.599236%,1994,260,1738,256,0,260
drv_uart.o,5.461642%,1945,2180,1916,29,0,2180
mem.o,5.279119%,1880,72,1512,368,0,72
bsp_history.o,4.248568%,1513,1684,1404,109,0,1684
shell.o,4.052005%,1443,281,1412,31,0,281
timer.o,3.248905%,1157,20,1002,155,0,20
mc_p.l,2.867011%,1021,4,884,133,4,0
segger_rtt_printf.o,2.802426%,998,0,998,0,0,0
msh.o,2.653600%,945,0,784,161,0,0
object.o,2.603055%,927,132,708,107,112,20
segger_rtt.o,1.785915%,636,1208,610,26,0,1208
bsp_rtc.o,1.760643%,627,0,528,99,0,0
lwrb.o,1.718522%,612,0,612,0,0,0
scheduler.o,1.409637%,502,280,484,18,0,280
ciu32l051_std_lpuart.o,0.932270%,332,0,332,0,0,0
main.o,0.909806%,324,0,244,80,0,0
perf_counter.o,0.870493%,310,56,298,4,8,48
cpuport.o,0.864877%,308,12,308,0,0,12
idle.o,0.758171%,270,416,248,22,0,416
components.o,0.685162%,244,0,228,16,0,0
ciu32l051_std_rtc.o,0.662698%,236,0,236,0,0,0
startup_ciu32l051.o,0.617769%,220,1024,28,192,0,1024
context_rvds.o,0.606537%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.606537%,216,0,216,0,0,0
drv_common.o,0.572841%,204,0,204,0,0,0
system_ciu32l051.o,0.561608%,200,4,164,32,4,0
ciu32l051_std_flash.o,0.527912%,188,0,188,0,0,0
ciu32l051_std_usart.o,0.522296%,186,0,186,0,0,0
_strtoul.o,0.466135%,166,0,166,0,0,0
perf_os_patch_rt_thread.o,0.443671%,158,0,154,4,0,0
ciu32l051_std_gpio.o,0.432438%,154,0,154,0,0,0
ctype_o.o,0.395934%,141,0,8,133,0,0
board.o,0.365045%,130,0,130,0,0,0
strtol.o,0.314501%,112,0,112,0,0,0
ciu32l051_std_dma.o,0.280804%,100,0,100,0,0,0
uldiv.o,0.269572%,96,0,96,0,0,0
irq.o,0.247108%,88,12,88,0,0,12
uidiv_div0.o,0.174099%,62,0,62,0,0,0
console_be.o,0.151634%,54,48,50,4,0,48
clock.o,0.151634%,54,4,54,0,0,4
init.o,0.134786%,48,0,48,0,0,0
cpp_init.o,0.112322%,40,0,40,0,0,0
memseta.o,0.101090%,36,0,36,0,0,0
memcpya.o,0.101090%,36,0,36,0,0,0
llushr.o,0.095473%,34,0,34,0,0,0
llshl.o,0.089857%,32,0,32,0,0,0
strncmp.o,0.084241%,30,0,30,0,0,0
handlers.o,0.084241%,30,0,30,0,0,0
_chval.o,0.084241%,30,0,30,0,0,0
strncpy.o,0.073009%,26,0,26,0,0,0
memcmp.o,0.073009%,26,0,26,0,0,0
atoi.o,0.073009%,26,0,26,0,0,0
ciu32l051_std.o,0.067393%,24,0,24,0,0,0
strlen.o,0.039313%,14,0,14,0,0,0
errno.o,0.033697%,12,4,8,0,4,0
entry9a.o,0.022464%,8,0,8,0,0,0
entry2.o,0.022464%,8,0,8,0,0,0
entry8a.o,0.011232%,4,0,4,0,0,0
entry5.o,0.011232%,4,0,4,0,0,0
bsp_flash.o,13.934979%,5165,4,3656,1509,0,4
cmd.o,9.682989%,3589,0,2592,997,0,0
ipc.o,6.577634%,2438,0,1424,1014,0,0
ulog.o,5.800621%,2150,589,1950,200,0,589
thread.o,5.784433%,2144,12,1902,242,0,12
drv_uart.o,5.393228%,1999,2180,1920,79,0,2180
kservice.o,5.379738%,1994,260,1738,256,0,260
mem.o,5.072171%,1880,72,1512,368,0,72
bsp_history.o,4.092810%,1517,1684,1408,109,0,1684
shell.o,3.893161%,1443,281,1412,31,0,281
timer.o,3.121543%,1157,20,1002,155,0,20
mc_p.l,2.754620%,1021,4,884,133,4,0
segger_rtt_printf.o,2.692567%,998,0,998,0,0,0
msh.o,2.549575%,945,0,784,161,0,0
object.o,2.501012%,927,132,708,107,112,20
bsp_rtc.o,1.885876%,699,6,600,99,0,6
segger_rtt.o,1.715904%,636,1208,610,26,0,1208
lwrb.o,1.651153%,612,0,612,0,0,0
scheduler.o,1.354377%,502,280,484,18,0,280
ciu32l051_std_lpuart.o,0.895724%,332,0,332,0,0,0
main.o,0.874140%,324,0,244,80,0,0
perf_counter.o,0.836369%,310,56,298,4,8,48
cpuport.o,0.830973%,308,12,308,0,0,12
idle.o,0.728450%,270,416,248,22,0,416
components.o,0.658303%,244,0,228,16,0,0
ciu32l051_std_rtc.o,0.636719%,236,0,236,0,0,0
startup_ciu32l051.o,0.593552%,220,1024,28,192,0,1024
context_rvds.o,0.582760%,216,0,216,0,0,0
ciu32l051_std_rcc.o,0.582760%,216,0,216,0,0,0
drv_common.o,0.550384%,204,0,204,0,0,0
system_ciu32l051.o,0.539593%,200,4,164,32,4,0
ciu32l051_std_flash.o,0.539593%,200,0,200,0,0,0
ciu32l051_std_usart.o,0.501821%,186,0,186,0,0,0
_strtoul.o,0.447862%,166,0,166,0,0,0
perf_os_patch_rt_thread.o,0.426278%,158,0,154,4,0,0
ciu32l051_std_gpio.o,0.415486%,154,0,154,0,0,0
ctype_o.o,0.380413%,141,0,8,133,0,0
board.o,0.350735%,130,0,130,0,0,0
strtol.o,0.302172%,112,0,112,0,0,0
ciu32l051_std_dma.o,0.269796%,100,0,100,0,0,0
uldiv.o,0.259004%,96,0,96,0,0,0
irq.o,0.237421%,88,12,88,0,0,12
uidiv_div0.o,0.167274%,62,0,62,0,0,0
console_be.o,0.145690%,54,48,50,4,0,48
clock.o,0.145690%,54,4,54,0,0,4
init.o,0.129502%,48,0,48,0,0,0
cpp_init.o,0.107919%,40,0,40,0,0,0
memseta.o,0.097127%,36,0,36,0,0,0
memcpya.o,0.097127%,36,0,36,0,0,0
llushr.o,0.091731%,34,0,34,0,0,0
llshl.o,0.086335%,32,0,32,0,0,0
strncmp.o,0.080939%,30,0,30,0,0,0
handlers.o,0.080939%,30,0,30,0,0,0
_chval.o,0.080939%,30,0,30,0,0,0
strncpy.o,0.070147%,26,0,26,0,0,0
memcmp.o,0.070147%,26,0,26,0,0,0
atoi.o,0.070147%,26,0,26,0,0,0
ciu32l051_std.o,0.064751%,24,0,24,0,0,0
strlen.o,0.037771%,14,0,14,0,0,0
errno.o,0.032376%,12,4,8,0,4,0
entry9a.o,0.021584%,8,0,8,0,0,0
entry2.o,0.021584%,8,0,8,0,0,0
entry8a.o,0.010792%,4,0,4,0,0,0
entry5.o,0.010792%,4,0,4,0,0,0

1 File_name flash percent flash ram Code RO_data RW_data ZI_data
2 bsp_flash.o 10.822195% 13.934979% 3854 5165 4 2400 3656 1454 1509 0 4
3 cmd.o 10.078064% 9.682989% 3589 0 2592 997 0 0
4 ipc.o 6.846007% 6.577634% 2438 0 1424 1014 0 0
5 ulog.o 6.037291% 5.800621% 2150 589 1950 200 0 589
6 thread.o 6.020442% 5.784433% 2144 12 1902 242 0 12
7 kservice.o drv_uart.o 5.599236% 5.393228% 1994 1999 260 2180 1738 1920 256 79 0 260 2180
8 drv_uart.o kservice.o 5.461642% 5.379738% 1945 1994 2180 260 1916 1738 29 256 0 2180 260
9 mem.o 5.279119% 5.072171% 1880 72 1512 368 0 72
10 bsp_history.o 4.248568% 4.092810% 1513 1517 1684 1404 1408 109 0 1684
11 shell.o 4.052005% 3.893161% 1443 281 1412 31 0 281
12 timer.o 3.248905% 3.121543% 1157 20 1002 155 0 20
13 mc_p.l 2.867011% 2.754620% 1021 4 884 133 4 0
14 segger_rtt_printf.o 2.802426% 2.692567% 998 0 998 0 0 0
15 msh.o 2.653600% 2.549575% 945 0 784 161 0 0
16 object.o 2.603055% 2.501012% 927 132 708 107 112 20
17 segger_rtt.o bsp_rtc.o 1.785915% 1.885876% 636 699 1208 6 610 600 26 99 0 1208 6
18 bsp_rtc.o segger_rtt.o 1.760643% 1.715904% 627 636 0 1208 528 610 99 26 0 0 1208
19 lwrb.o 1.718522% 1.651153% 612 0 612 0 0 0
20 scheduler.o 1.409637% 1.354377% 502 280 484 18 0 280
21 ciu32l051_std_lpuart.o 0.932270% 0.895724% 332 0 332 0 0 0
22 main.o 0.909806% 0.874140% 324 0 244 80 0 0
23 perf_counter.o 0.870493% 0.836369% 310 56 298 4 8 48
24 cpuport.o 0.864877% 0.830973% 308 12 308 0 0 12
25 idle.o 0.758171% 0.728450% 270 416 248 22 0 416
26 components.o 0.685162% 0.658303% 244 0 228 16 0 0
27 ciu32l051_std_rtc.o 0.662698% 0.636719% 236 0 236 0 0 0
28 startup_ciu32l051.o 0.617769% 0.593552% 220 1024 28 192 0 1024
29 context_rvds.o 0.606537% 0.582760% 216 0 216 0 0 0
30 ciu32l051_std_rcc.o 0.606537% 0.582760% 216 0 216 0 0 0
31 drv_common.o 0.572841% 0.550384% 204 0 204 0 0 0
32 system_ciu32l051.o 0.561608% 0.539593% 200 4 164 32 4 0
33 ciu32l051_std_flash.o 0.527912% 0.539593% 188 200 0 188 200 0 0 0
34 ciu32l051_std_usart.o 0.522296% 0.501821% 186 0 186 0 0 0
35 _strtoul.o 0.466135% 0.447862% 166 0 166 0 0 0
36 perf_os_patch_rt_thread.o 0.443671% 0.426278% 158 0 154 4 0 0
37 ciu32l051_std_gpio.o 0.432438% 0.415486% 154 0 154 0 0 0
38 ctype_o.o 0.395934% 0.380413% 141 0 8 133 0 0
39 board.o 0.365045% 0.350735% 130 0 130 0 0 0
40 strtol.o 0.314501% 0.302172% 112 0 112 0 0 0
41 ciu32l051_std_dma.o 0.280804% 0.269796% 100 0 100 0 0 0
42 uldiv.o 0.269572% 0.259004% 96 0 96 0 0 0
43 irq.o 0.247108% 0.237421% 88 12 88 0 0 12
44 uidiv_div0.o 0.174099% 0.167274% 62 0 62 0 0 0
45 console_be.o 0.151634% 0.145690% 54 48 50 4 0 48
46 clock.o 0.151634% 0.145690% 54 4 54 0 0 4
47 init.o 0.134786% 0.129502% 48 0 48 0 0 0
48 cpp_init.o 0.112322% 0.107919% 40 0 40 0 0 0
49 memseta.o 0.101090% 0.097127% 36 0 36 0 0 0
50 memcpya.o 0.101090% 0.097127% 36 0 36 0 0 0
51 llushr.o 0.095473% 0.091731% 34 0 34 0 0 0
52 llshl.o 0.089857% 0.086335% 32 0 32 0 0 0
53 strncmp.o 0.084241% 0.080939% 30 0 30 0 0 0
54 handlers.o 0.084241% 0.080939% 30 0 30 0 0 0
55 _chval.o 0.084241% 0.080939% 30 0 30 0 0 0
56 strncpy.o 0.073009% 0.070147% 26 0 26 0 0 0
57 memcmp.o 0.073009% 0.070147% 26 0 26 0 0 0
58 atoi.o 0.073009% 0.070147% 26 0 26 0 0 0
59 ciu32l051_std.o 0.067393% 0.064751% 24 0 24 0 0 0
60 strlen.o 0.039313% 0.037771% 14 0 14 0 0 0
61 errno.o 0.033697% 0.032376% 12 4 8 0 4 0
62 entry9a.o 0.022464% 0.021584% 8 0 8 0 0 0
63 entry2.o 0.022464% 0.021584% 8 0 8 0 0 0
64 entry8a.o 0.011232% 0.010792% 4 0 4 0 0 0
65 entry5.o 0.011232% 0.010792% 4 0 4 0 0 0

View File

@ -1,23 +1,24 @@
File_name,ram_percent,ram,flash,Code,RO_data,RW_data,ZI_data
drv_uart.o,26.246088%,2180,1945,1916,29,0,2180
bsp_history.o,20.274500%,1684,1513,1404,109,0,1684
segger_rtt.o,14.543703%,1208,636,610,26,0,1208
startup_ciu32l051.o,12.328437%,1024,220,28,192,0,1024
ulog.o,7.091259%,589,2150,1950,200,0,589
idle.o,5.008428%,416,270,248,22,0,416
shell.o,3.383096%,281,1443,1412,31,0,281
scheduler.o,3.371057%,280,502,484,18,0,280
kservice.o,3.130267%,260,1994,1738,256,0,260
object.o,1.589213%,132,927,708,107,112,20
mem.o,0.866843%,72,1880,1512,368,0,72
perf_counter.o,0.674211%,56,310,298,4,8,48
console_be.o,0.577896%,48,54,50,4,0,48
timer.o,0.240790%,20,1157,1002,155,0,20
thread.o,0.144474%,12,2144,1902,242,0,12
irq.o,0.144474%,12,88,88,0,0,12
cpuport.o,0.144474%,12,308,308,0,0,12
mc_p.l,0.048158%,4,1021,884,133,4,0
errno.o,0.048158%,4,12,8,0,4,0
system_ciu32l051.o,0.048158%,4,200,164,32,4,0
clock.o,0.048158%,4,54,54,0,0,4
bsp_flash.o,0.048158%,4,3854,2400,1454,0,4
drv_uart.o,26.227142%,2180,1999,1920,79,0,2180
bsp_history.o,20.259865%,1684,1517,1408,109,0,1684
segger_rtt.o,14.533205%,1208,636,610,26,0,1208
startup_ciu32l051.o,12.319538%,1024,220,28,192,0,1024
ulog.o,7.086141%,589,2150,1950,200,0,589
idle.o,5.004812%,416,270,248,22,0,416
shell.o,3.380655%,281,1443,1412,31,0,281
scheduler.o,3.368624%,280,502,484,18,0,280
kservice.o,3.128008%,260,1994,1738,256,0,260
object.o,1.588066%,132,927,708,107,112,20
mem.o,0.866217%,72,1880,1512,368,0,72
perf_counter.o,0.673725%,56,310,298,4,8,48
console_be.o,0.577478%,48,54,50,4,0,48
timer.o,0.240616%,20,1157,1002,155,0,20
thread.o,0.144370%,12,2144,1902,242,0,12
irq.o,0.144370%,12,88,88,0,0,12
cpuport.o,0.144370%,12,308,308,0,0,12
bsp_rtc.o,0.072185%,6,699,600,99,0,6
mc_p.l,0.048123%,4,1021,884,133,4,0
errno.o,0.048123%,4,12,8,0,4,0
system_ciu32l051.o,0.048123%,4,200,164,32,4,0
clock.o,0.048123%,4,54,54,0,0,4
bsp_flash.o,0.048123%,4,5165,3656,1509,0,4

1 File_name ram_percent ram flash Code RO_data RW_data ZI_data
2 drv_uart.o 26.246088% 26.227142% 2180 1945 1999 1916 1920 29 79 0 2180
3 bsp_history.o 20.274500% 20.259865% 1684 1513 1517 1404 1408 109 0 1684
4 segger_rtt.o 14.543703% 14.533205% 1208 636 610 26 0 1208
5 startup_ciu32l051.o 12.328437% 12.319538% 1024 220 28 192 0 1024
6 ulog.o 7.091259% 7.086141% 589 2150 1950 200 0 589
7 idle.o 5.008428% 5.004812% 416 270 248 22 0 416
8 shell.o 3.383096% 3.380655% 281 1443 1412 31 0 281
9 scheduler.o 3.371057% 3.368624% 280 502 484 18 0 280
10 kservice.o 3.130267% 3.128008% 260 1994 1738 256 0 260
11 object.o 1.589213% 1.588066% 132 927 708 107 112 20
12 mem.o 0.866843% 0.866217% 72 1880 1512 368 0 72
13 perf_counter.o 0.674211% 0.673725% 56 310 298 4 8 48
14 console_be.o 0.577896% 0.577478% 48 54 50 4 0 48
15 timer.o 0.240790% 0.240616% 20 1157 1002 155 0 20
16 thread.o 0.144474% 0.144370% 12 2144 1902 242 0 12
17 irq.o 0.144474% 0.144370% 12 88 88 0 0 12
18 cpuport.o 0.144474% 0.144370% 12 308 308 0 0 12
19 mc_p.l bsp_rtc.o 0.048158% 0.072185% 4 6 1021 699 884 600 133 99 4 0 0 6
20 errno.o mc_p.l 0.048158% 0.048123% 4 12 1021 8 884 0 133 4 0
21 system_ciu32l051.o errno.o 0.048158% 0.048123% 4 200 12 164 8 32 0 4 0
22 clock.o system_ciu32l051.o 0.048158% 0.048123% 4 54 200 54 164 0 32 0 4 4 0
23 bsp_flash.o clock.o 0.048158% 0.048123% 4 3854 54 2400 54 1454 0 0 4
24 bsp_flash.o 0.048123% 4 5165 3656 1509 0 4

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -45,5 +45,6 @@
..\LIB\lwrb\lwrb.h C:\Keil_v5\ARM\ARMCLANG\include\string.h \
..\RTOS\components\drivers\inc\serial.h ..\LIB\LwUtil\lwutil.h \
C:\Keil_v5\ARM\ARMCLANG\include\stdlib.h ..\bsp\inc\bsp_history.h \
..\RTOS\components\utilities\ulog\ulog.h \
..\LIB\RTT\user_rtt.h ..\LIB\RTT\SEGGER_RTT.h \
..\LIB\RTT\SEGGER_RTT_Conf.h ..\RTOS\components\utilities\ulog\ulog.h \
..\RTOS\components\utilities\ulog\ulog_def.h

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -170,7 +170,7 @@
// <o>the stack of finsh thread <1-4096>
// <i>the stack of finsh thread
// <i>Default: 4096 (4096Byte)
#define FINSH_THREAD_STACK_SIZE 2024
#define FINSH_THREAD_STACK_SIZE 1024
// <o>the history lines of finsh thread <1-32>
// <i>the history lines of finsh thread
// <i>Default: 5

View File

@ -8,7 +8,7 @@
* 2017-07-24 Tanek the first version
* 2018-11-12 Ernest Chen modify copyright
*/
#include <stdint.h>
#include <rthw.h>
#include <rtthread.h>
@ -16,32 +16,31 @@
#include "drv_uart.h"
#include "lwrb.h"
#define _SCB_BASE (0xE000E010UL)
#define _SYSTICK_CTRL (*(rt_uint32_t *)(_SCB_BASE + 0x0))
#define _SYSTICK_LOAD (*(rt_uint32_t *)(_SCB_BASE + 0x4))
#define _SYSTICK_VAL (*(rt_uint32_t *)(_SCB_BASE + 0x8))
#define _SYSTICK_CALIB (*(rt_uint32_t *)(_SCB_BASE + 0xC))
#define _SYSTICK_PRI (*(rt_uint8_t *)(0xE000ED23UL))
#define _SCB_BASE (0xE000E010UL)
#define _SYSTICK_CTRL (*(rt_uint32_t *)(_SCB_BASE + 0x0))
#define _SYSTICK_LOAD (*(rt_uint32_t *)(_SCB_BASE + 0x4))
#define _SYSTICK_VAL (*(rt_uint32_t *)(_SCB_BASE + 0x8))
#define _SYSTICK_CALIB (*(rt_uint32_t *)(_SCB_BASE + 0xC))
#define _SYSTICK_PRI (*(rt_uint8_t *)(0xE000ED23UL))
#define CIU32_SRAM1_START (0x20000000)
#define CIU32_SRAM1_END (CIU32_SRAM1_START + 16 * 1024) // 结束地址 = 0x20000000基址 + 20K(RAM大小)
#define CIU32_SRAM1_START (0x20000000)
#define CIU32_SRAM1_END (CIU32_SRAM1_START + 16 * 1024) // 结束地址 = 0x20000000基址 + 20K(RAM大小)
#if defined(__CC_ARM) || defined(__CLANG_ARM)
extern int Image$$RW_IRAM1$$ZI$$Limit; // RW_IRAM1需与链接脚本中运行时域名相对应
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
extern int Image$$RW_IRAM1$$ZI$$Limit; // RW_IRAM1需与链接脚本中运行时域名相对应
#define HEAP_BEGIN ((void *)&Image$$RW_IRAM1$$ZI$$Limit)
#endif
#define HEAP_END CIU32_SRAM1_END
#define HEAP_END CIU32_SRAM1_END
// Updates the variable SystemCoreClock and must be called
// Updates the variable SystemCoreClock and must be called
// whenever the core clock is changed during program execution.
extern struct rt_ringbuffer uart_rxcb;
extern struct rt_semaphore shell_rx_sem;
extern void system_clock_config(void);
// Holds the system core clock, which is the system clock
// frequency supplied to the SysTick timer and the processor
// Holds the system core clock, which is the system clock
// frequency supplied to the SysTick timer and the processor
// core clock.
extern uint32_t SystemCoreClock;
@ -51,18 +50,18 @@ static uint32_t _SysTick_Config(rt_uint32_t ticks)
{
return 1;
}
_SYSTICK_LOAD = ticks - 1;
_SYSTICK_PRI = 0xFF;
_SYSTICK_LOAD = ticks - 1;
_SYSTICK_PRI = 0xFF;
_SYSTICK_VAL = 0;
_SYSTICK_CTRL = 0x07;
_SYSTICK_CTRL = 0x07;
return 0;
}
#if defined(RT_USING_USER_MAIN) && defined(RT_USING_HEAP)
#define RT_HEAP_SIZE 4*1024
static uint32_t rt_heap[RT_HEAP_SIZE]; // heap default size: 4K(1024 * 4)
#define RT_HEAP_SIZE 4 * 1024
static uint32_t rt_heap[RT_HEAP_SIZE]; // heap default size: 4K(1024 * 4)
RT_WEAK void *rt_heap_begin_get(void)
{
return rt_heap;
@ -80,12 +79,15 @@ RT_WEAK void *rt_heap_end_get(void)
void rt_hw_board_init()
{
/* System Clock Update */
system_clock_config();
system_clock_config();
/* System Tick Configuration */
std_delay_init();
_SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
_SysTick_Config(SystemCoreClock / RT_TICK_PER_SECOND);
#ifndef DEBUG_OUTPUT_SELECT
SEGGER_RTT_Init();
#endif // DEBUG_OUTPUT_SELECT
/* Call components board initial (use INIT_BOARD_EXPORT()) */
#ifdef RT_USING_COMPONENTS_INIT
@ -93,14 +95,9 @@ void rt_hw_board_init()
#endif
#if defined(RT_USING_USER_MAIN) && defined(RT_USING_HEAP)
//rt_system_heap_init(rt_heap_begin_get(), rt_heap_end_get());
rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END); //使用 RAM ZI 段结尾处作为 HEAP 的起始地址,使用 RAM 的结尾地址作为 HEAP 的结尾地址,这是 heap 能设置的最大值的方法
// rt_system_heap_init(rt_heap_begin_get(), rt_heap_end_get());
rt_system_heap_init((void *)HEAP_BEGIN, (void *)HEAP_END); // 使用 RAM ZI 段结尾处作为 HEAP 的起始地址,使用 RAM 的结尾地址作为 HEAP 的结尾地址,这是 heap 能设置的最大值的方法
#endif
#ifndef DEBUG_OUTPUT_SELECT
SEGGER_RTT_Init();
#endif // DEBUG_OUTPUT_SELECT
}
void SysTick_Handler(void)
@ -114,7 +111,7 @@ void SysTick_Handler(void)
rt_interrupt_leave();
}
#ifndef DEBUG_OUTPUT_SELECT
#ifndef DEBUG_OUTPUT_SELECT
void rt_hw_console_output(const char *str)
{
@ -138,14 +135,12 @@ void rt_hw_console_output(const char *str)
{
if (*(str + i) == '\n')
{
UART1_Write((uint8_t *)&a, 1);
UART1_Write((uint8_t *)&a, 1);
}
UART1_Write((uint8_t *)(str + i), 1);
}
}
/* 移植 FinSH实现命令行交互, 需要添加 FinSH 源码,然后再对接 rt_hw_console_getchar */
char rt_hw_console_getchar(void)
{
@ -177,7 +172,7 @@ void rt_hw_us_delay(rt_uint32_t us)
rt_uint32_t reload = SysTick->LOAD;
ticks = us * reload / (1000000 / RT_TICK_PER_SECOND);
told = SysTick->VAL;
told = SysTick->VAL;
while (1)
{
tnow = SysTick->VAL;

View File

@ -48,6 +48,7 @@
#define FLASH_HR_POWER_FAILURE_PAGE (114U) // 掉电信息起始页
#define FLASH_HR_POWER_ON_PAGE (112U) // 上电信息起始页
#define FLASH_HR_INFO_PAGE (127U)
/*信息页写值标志值*/
#define FLASH_FIRST_INIT_VALUE (0xA2A3A4A5U) // 第一次写值标志位
/*每页512个字节每条记录4byte*/
@ -180,7 +181,9 @@ typedef enum
kExpirationTimeId,
} TeFlashProductTimeLimitId;
void BSP_Flash_Init(void);
int BSP_Flash_Init(void);
ErrorStatus Flash_Write_Record(TeRecord record);
void Flash_SetProductTimeLimit(uint16_t year, uint8_t mon, uint8_t day, uint8_t hour, uint8_t min, TeFlashProductTimeLimitId id);
ErrorStatus Flash_GetTotalRecord(TsTotalRecords *pTotalRecords);

View File

@ -40,6 +40,30 @@ typedef enum
kPowerOnRecord, // at least 50
kSensorFailureRecord, // at least 1
kGetCurrentTime,
/*扩展指令*/
// 以下是在国标原基础上所扩展的
kGetCurrentTimeSecond, // include second
kSetCurrentTime,
kSetFactoryTime,
kSetExpirationTime,
kSetAlarmValue,
kOutSysStatus, // 0x0E 不能动,因为说明书里面写好了
kGetAlarmValue,
kGetMqVoltage,
kSetSysStatus,
kGetSysStatus,
kEraseRecords,
kGetFactoryTime,
kGetExpirationTime,
} TeFrameC2;
#pragma pack(1)

View File

@ -10,6 +10,7 @@
extern "C" {
#endif
extern uint8_t rtctime[3], rtcdate[3];
void BSP_Rtc_Get_Calendar(uint8_t *rtcdate, uint8_t *rtctime);
void BSP_Rtc_Alarm_Config(uint8_t hours, uint8_t minutes, uint8_t seconds);

View File

@ -2,11 +2,11 @@
* @Author: mbw
* @Date: 2024-08-22 16:15:08
* @LastEditors: mbw && 1600520629@qq.com
* @LastEditTime: 2024-09-02 16:07:00
* @LastEditTime: 2024-09-04 08:59:24
* @FilePath: \USART1_Interrupt - RT-Thread\bsp\src\bsp_flash.c
* @Description:
*
* Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
* @Description:
*
* Copyright (c) 2024 by ${git_name_email}, All Rights Reserved.
*/
#include "bsp_flash.h"
@ -20,6 +20,8 @@
#define LOG_LVL LOG_LVL_DBG // 该模块对应的日志输出级别。不定义时,默认:调试级别
#include <ulog.h> // 必须在 LOG_TAG 与 LOG_LVL 下面
#define FSTPG_WORD_COUNT (0x40U)
// #define TEST 512
#define MAX(a, b) ((a) > (b)) ? (a) : (b)
@ -60,20 +62,25 @@ const uint32_t hr_record_info_start_addr[9] = {
FLASH_UPDATE_TIME_ADDR,
};
static rt_base_t interrupt_value;
static rt_ubase_t interrupt_value;
static void BSP_Flash_UnLock(void)
{
interrupt_value = rt_hw_interrupt_disable();
/* Flash控制寄存器解锁 */
std_flash_unlock();
}
static void BSP_Flash_Lock(void)
{
/* Flash控制寄存器加锁 */
std_flash_lock();
// rt_hw_interrupt_enable(interrupt_value);
}
static void Flash_Interrupt_Disable(void)
{
interrupt_value = rt_hw_interrupt_disable();
}
static void Flash_Interrupt_Enable(void)
{
rt_hw_interrupt_enable(interrupt_value);
}
@ -105,9 +112,9 @@ static size_t Flash_ReadWord(uint32_t addr, uint32_t *buf, size_t len)
RTT_LOG_E("addr %#X is not aligned\r\n", addr);
return ERROR;
}
for (size_t i = 0; i < len; i++, buf++, addr++, read_len++)
for (size_t i = 0; i < len; i++, buf += 4, addr += 4, read_len++)
{
*buf = *(uint32_t *)addr;
*(uint32_t *)buf = *(uint32_t *)addr;
}
return read_len;
@ -128,31 +135,187 @@ static std_status_t Flash_WriteWord(uint32_t addr, uint32_t write_data)
}
/* 清除错误标志 */
std_flash_clear_flag(FLASH_FLAG_ALL_ERR);
BSP_Flash_UnLock();
if (std_flash_get_lock_status() == false)
{
/* 进入编程模式 */
std_flash_program_enable();
Flash_Interrupt_Disable();
if (std_flash_word_program(addr, write_data) != SUCCESS) // 写入操作 字节写入
{
Flash_Interrupt_Enable();
LOG_D("addr = %#X, read %d", addr, *(uint32_t *)addr);
std_flash_program_disable();
BSP_Flash_Lock();
return ERROR;
}
Flash_Interrupt_Enable();
std_flash_program_disable();
BSP_Flash_Lock();
if (*(uint32_t *)addr != write_data)
{
LOG_D("Flash_Write Data Mismatch at addr %#X, expected %d got %d", addr, write_data, *(uint32_t *)addr);
BSP_Flash_Lock();
/* 退出编程模式 */
return ERROR;
}
rt_thread_mdelay(2);
}
BSP_Flash_Lock();
return SUCCESS;
}
#if 0
#if defined(__CC_ARM)
#pragma arm section code = "FAST_PROGRAM"
#elif defined(__ICCARM__)
__ramfunc
#elif defined(__GNUC__)
__attribute__ ((section (".RamFunc")))
#endif
/**
* @brief Flash快速编程
* @param address
* @param data_buf
* @retval std_status_t
*/
std_status_t BSP_Flash_Fast_Write(uint32_t address, uint32_t *data_buf)
{
std_status_t status = STD_OK;
uint32_t prog_count = 0;
/* 启动快速编程模式 */
std_flash_fast_program_enable();
/* 向目标地址写入数据 */
for (prog_count=0; prog_count < FSTPG_WORD_COUNT; prog_count++)
{
((uint32_t *)address)[prog_count] = data_buf[prog_count];
/* 查询等待BSY标志被清除 */
while ((FLASH->SR & FLASH_FLAG_BSY) == FLASH_FLAG_BSY);
/* 若出现错误,则退出编程循环 */
if (FLASH->SR & FLASH_FLAG_ALL_ERR)
{
RTT_LOG_E("FLASH_SR = %#X", FLASH->SR);
RTT_LOG_E("Flash_Write Error at addr %#X, expected %X got %X", address, data_buf[prog_count], ((uint32_t *)address)[prog_count]);
status = STD_ERR;
break;
}
}
/* 查询等待FSTPG_MODE状态被自动清零 */
while ((FLASH->CR & FLASH_CR_FSTPG_MODE) == FLASH_CR_FSTPG_MODE);
/* 清除Flash标志 */
FLASH->SR = (FLASH_FLAG_ALL_ERR | FLASH_SR_EOP);
return (status);
}
#if defined(__CC_ARM)
#pragma arm section
#endif
/**
* @brief Flash快速编程流程
* @param address
* @param data_buf
* @retval std_status_t
*/
ErrorStatus BSP_Flash_Fast_Program(uint32_t address, uint32_t *data_buf)
{
std_status_t status = STD_OK;
uint32_t prog_count;
/* 检查Flash上一次操作忙状态、错误状态 */
// status = std_flash_wait_for_last_operation(FLASH_WAIT_PROGRAM);
// if(status == STD_OK)
// {
/* 进入编程模式 */
std_flash_program_enable();
/* 短时间屏蔽中断 */
Flash_Interrupt_Disable();
/* 执行快速编程 */
if(BSP_Flash_Fast_Write(address, data_buf) != STD_OK)
{
status = STD_ERR;
RTT_LOG_E("Flash_Fast_Write status ERROR %d", status);
}
/* 恢复中断 */
Flash_Interrupt_Enable();
/* 退出编程模式 */
std_flash_program_disable();
rt_thread_mdelay(2);
/* 快速编程中无法对Flash执行读操作需在编程结束后统一校验数据 */
if (status == STD_OK)
{
for (prog_count = 0; prog_count < FSTPG_WORD_COUNT; prog_count++)
{
if (((__IO uint32_t *)address)[prog_count] != data_buf[prog_count])
{
RTT_LOG_E("Flash_Fast_Write Data Mismatch at addr %#X, expected %d got %d", address + prog_count * 4, data_buf[prog_count], ((__IO uint32_t *)address)[prog_count]);
status = STD_ERR;
break;
}
else
{
RTT_LOG_D("Flash_Fast_Write Data Match at addr %#X, expected %d got %d", address + prog_count * 4, data_buf[prog_count], ((__IO uint32_t *)address)[prog_count]);
}
}
}
// }
return (status);
}
ErrorStatus BSP_Flash_Program_Page(uint32_t address, uint32_t *data_buf)
{
std_status_t status;
/* 清除错误标志 */
std_flash_clear_flag(FLASH_FLAG_ALL_ERR);
/* Flash控制寄存器解锁 */
BSP_Flash_UnLock();
if (std_flash_get_lock_status() == false)
{
/* 页擦第48页 */
status = std_flash_page_erase(FLASH_HR_INFO_PAGE);
/* 擦除异常,加入自定义处理代码 */
while(status != STD_OK)
{
RTT_LOG_E("Flash_Erase Page %d", FLASH_HR_INFO_PAGE);
return STD_ERR;
}
/* 快速编程64个字前半页 */
status = BSP_Flash_Fast_Program(address, data_buf);
/* 快速编程异常,加入自定义处理代码 */
while(status != STD_OK)
{
RTT_LOG_E("Flash_Fast_Write Page %d", FLASH_HR_INFO_PAGE);
return STD_ERR;
}
/* 快速编程64个字后半页 */
status = BSP_Flash_Fast_Program((address + (FSTPG_WORD_COUNT << 2)), data_buf);
/* 快速编程异常,加入自定义处理代码 */
while(status != STD_OK)
{
RTT_LOG_E("Flash_Fast_Write Page %d", FLASH_HR_INFO_PAGE);
return STD_ERR;
}
/* Flash控制寄存器加锁 */
BSP_Flash_Lock();
}
return STD_OK;
}
#endif
#if 0
static std_status_t Flash_WritePage(uint32_t addr, uint32_t *buf, size_t len)
{
std_status_t status = SUCCESS;
@ -162,18 +325,17 @@ static std_status_t Flash_WritePage(uint32_t addr, uint32_t *buf, size_t len)
LOG_E("addr %#X is not aligned\r\n", addr);
return ERROR;
}
for (int i = 0; i < len; i++) // 页写入的WORD数
{
status = Flash_WriteWord((addr + i * sizeof(uint32_t)), *(buf + i)); // 注意地址增加应按uint32_t大小增加
status = Flash_WriteWord((addr + i * sizeof(uint32_t)), *(buf + i * sizeof(uint32_t))); // 注意地址增加应按uint32_t大小增加
if (status != SUCCESS)
{
return status; // 返回错误状态
}
}
return status; // 如果所有写入成功返回SUCCESS
}
#endif
/**
* @description:
@ -181,10 +343,29 @@ static std_status_t Flash_WritePage(uint32_t addr, uint32_t *buf, size_t len)
*/
void Flash_ErasePage_ConfigInfo(void)
{
if (std_flash_page_erase(127) != SUCCESS)
std_flash_unlock();
if (std_flash_page_erase(FLASH_HR_INFO_PAGE) != SUCCESS)
{
LOG_D("error_page = %#x\r\n");
RTT_LOG_E("error_page = %#x\r\n");
}
std_flash_lock();
}
ErrorStatus BSP_Flash_Program_InfoPage(uint32_t address, uint32_t *data_buf)
{
ErrorStatus ret = ERROR;
Flash_ErasePage_ConfigInfo();
for (uint32_t i = 0; i < FLASH_PAGE_RECORD_WORD_NUM; i++)
{
ret = Flash_WriteWord(address + i * 4, data_buf[i]);
if (ret != SUCCESS)
{
LOG_E("BSP_Flash_Program_InfoPage failed");
return ERROR;
}
}
return ret;
}
/**
@ -192,9 +373,9 @@ void Flash_ErasePage_ConfigInfo(void)
* @param {uint8_t*} frame
* @return {*}
*/
void Flash_Write_ConfigInfo(uint32_t *frame, size_t len)
ErrorStatus Flash_Write_ConfigInfo(uint32_t *buf)
{
Flash_WritePage(FLASH_CONFIG_INFO_START_ADDR, frame, len);
return BSP_Flash_Program_InfoPage(FLASH_CONFIG_INFO_START_ADDR, buf);
}
/*获取当前页号*/
@ -204,10 +385,10 @@ uint32_t Flash_Get_Current_Page(uint32_t addr)
}
std_status_t Flash_ErasePage(uint32_t index)
{
BSP_Flash_UnLock();
std_flash_unlock();
RTT_LOG_D("ErasePage %d", index);
std_status_t status = std_flash_erase(FLASH_ERASE_PAGE, index);
BSP_Flash_Lock();
std_flash_lock();
return status;
}
@ -216,7 +397,7 @@ std_status_t Flash_ErasePage(uint32_t index)
* @param {TeRecord} addr
* @return {*}
*/
static ErrorStatus Flash_ErasePage_Records(TeRecord record, uint8_t page_offset)
ErrorStatus Flash_ErasePage_Records(TeRecord record, uint8_t page_offset)
{
ErrorStatus flag = SUCCESS;
@ -255,12 +436,13 @@ static ErrorStatus Flash_ErasePage_Records(TeRecord record, uint8_t page_offset)
*/
ErrorStatus BSP_Flash_EraseRecodrs(void)
{
/*擦除所有的历史记录区*/
for (TeRecord record = kRecordAlarm; record < kRecordSensorFailure; record++)
{
for (uint8_t i = 0; i < hr_record_pages[record]; i++)
{
if (Flash_ErasePage_Records(record, i) != SUCCESS)
if (Flash_ErasePage(hr_record_start_page_num[record] + i) != SUCCESS)
{
RTT_LOG_E("Flash_ErasePage_Records failed\r\n");
@ -356,6 +538,7 @@ void Flash_SetProductTimeLimit(uint16_t year, uint8_t mon, uint8_t day, uint8_t
uint32_t page_buf[FLASH_PAGE_RECORD_WORD_NUM] = {0}; // 暂存最后一页的值
Flash_ErasePage_ReadConfigInfo(page_buf);
LimitTime.time.year = year - BASE_YEAR;
LimitTime.time.month = mon;
LimitTime.time.day = day;
@ -365,15 +548,14 @@ void Flash_SetProductTimeLimit(uint16_t year, uint8_t mon, uint8_t day, uint8_t
if (id == kFactoryTimeId)
{
page_buf[kFlashFactoryTime] = LimitTime.hr_data;
}
else if (id == kExpirationTimeId)
{
page_buf[kFlashExpirationTime] = LimitTime.hr_data;
}
Flash_Write_ConfigInfo(&page_buf[0], FLASH_PAGE_RECORD_WORD_NUM);
RTT_LOG_D("Flash_SetProductTimeLimit((%d)):%04d-%02d-%02d,%02d:%02d ", id, year, mon, day, hour, min);
Flash_Write_ConfigInfo(&page_buf[0]);
Flash_GetProductTimeLimit(&ReadLimitTime, id);
}
#endif
@ -381,19 +563,27 @@ void Flash_SetProductTimeLimit(uint16_t year, uint8_t mon, uint8_t day, uint8_t
* @description:
* @return {*}
*/
void BSP_Flash_Init(void)
int BSP_Flash_Init(void)
{
if (*(uint32_t *)FLASH_CONFIG_INFO_START_ADDR != FLASH_FIRST_INIT_VALUE)
{
uint32_t info_page_buf[FLASH_PAGE_RECORD_WORD_NUM] = {0};
uint32_t info_page_buf[FLASH_PAGE_RECORD_WORD_NUM / 2] = {0};
BSP_Flash_EraseRecodrs(); // 擦除历史数据区
// TODO: 此处需要完善,比如写入初始化标志位,写入产品信息,写入出厂时间,写入到期时间
info_page_buf[kFlashInitFlag] = FLASH_FIRST_INIT_VALUE;
Flash_WritePage(FLASH_CONFIG_INFO_START_ADDR, info_page_buf, FLASH_PAGE_RECORD_WORD_NUM);
Flash_SetProductTimeLimit(2024, 1, 1, 0, 0, kFactoryTimeId);
Flash_SetProductTimeLimit(2024 + 10, 1, 1, 0, 0, kExpirationTimeId);
if (Flash_Write_ConfigInfo(info_page_buf) != STD_OK)
{
RTT_LOG_E("Flash_Write_ConfigInfo failed\r\n");
return RT_ERROR;
}
Flash_SetProductTimeLimit(2024, 1, 2, 3, 4, kFactoryTimeId);
rt_thread_mdelay(100);
Flash_SetProductTimeLimit(2024 + 10, 1, 2, 3, 4, kExpirationTimeId);
}
return RT_EOK;
}
#if 1
@ -452,8 +642,8 @@ TsRecordIndex Flash_GetIndex_Pos(TeRecord record)
Index_Frame.hr_index_addr = Index_Frame.hr_start_addr;
if (*(uint32_t *)(start_addr_default) == FLASH_DEFAULT_VALUE)
{
Index_Frame.hr_num = 0;
}
Index_Frame.hr_num = 0;
}
}
return Index_Frame;
@ -484,7 +674,7 @@ ErrorStatus Flash_Read_Record(TuFlashHrRecordFrame *pHrRecord, TeRecord record,
uint8_t sum_check = 0;
if ((index <= hr_record_max_num[record]) && (index > 0))
{
if ((index <= Index_Frame.hr_num) && (index > 0))
if (index <= Index_Frame.hr_num)
{
{
if (Index_Frame.hr_start_addr == start_addr_default) // 是默认的起始地址,则读取数据就是对应的偏移量
@ -512,13 +702,15 @@ ErrorStatus Flash_Read_Record(TuFlashHrRecordFrame *pHrRecord, TeRecord record,
if (RecoderFrame.time.check_sum == sum_check)
{
pHrRecord->hr_data = RecoderFrame.hr_data;//赋值后读出,看对不对
RTT_LOG_D("Flash_Read_(%d)Record(%d):%04d-%02d-%02d,%02d:%02d", record, index,
BASE_YEAR + pHrRecord->time.year, pHrRecord->time.month, pHrRecord->time.day,
pHrRecord->time.hour, pHrRecord->time.minute);
RTT_LOG_D("read :hr_start_addr = %#x, index_addr: %#x, hr_num: %d, hr_page:%d, read_data : %#X\r\n",
Index_Frame.hr_start_addr, index_addr, Index_Frame.hr_num, Index_Frame.hr_page, RecoderFrame.hr_data);
pHrRecord->hr_data = RecoderFrame.hr_data;
Index_Frame.hr_start_addr, index_addr, Index_Frame.hr_num, Index_Frame.hr_page, pHrRecord.hr_data);
return SUCCESS;
}
@ -538,7 +730,7 @@ ErrorStatus Flash_Read_Record(TuFlashHrRecordFrame *pHrRecord, TeRecord record,
}
else
{
RTT_LOG_E("index num (%d) > Actual storage num %d && index > 0", index, Index_Frame.hr_num);
RTT_LOG_E("index num (%d) > Actual storage num %d", index, Index_Frame.hr_num);
pHrRecord->hr_data = 0;
return ERROR;
}
@ -560,7 +752,7 @@ ErrorStatus Flash_Write_Record(TeRecord record)
{
TsRecordIndex Index_Frame;
TuFlashHrRecordFrame RecoderFrame = {0};
uint8_t rtctime[3] = {0}, rtcdate[3] = {0};
// uint8_t rtctime[3] = {0}, rtcdate[3] = {0};
if (record == kRecordSensorFailure && *(uint32_t *)hr_start_addr[record] != FLASH_DEFAULT_VALUE) // 传感器故障记录,且已经写入过数据,则不再写入
{
@ -574,16 +766,16 @@ ErrorStatus Flash_Write_Record(TeRecord record)
}
// __cycleof__("my algorithm")
// {
BSP_Rtc_Get_Calendar(rtcdate, rtctime);
// BSP_Rtc_Get_Calendar(rtcdate, rtctime);
// }
Index_Frame = Flash_GetIndex_Pos(record);
/*这里可以使用RTC闹钟每分钟更新一次数据这样只需要从缓存读取数据就行降低了访问的时间*/
RecoderFrame.time.hour = std_rtc_convert_bcd2bin(rtctime[0]);//h
RecoderFrame.time.minute = std_rtc_convert_bcd2bin(rtctime[1]);//m
RecoderFrame.time.hour = std_rtc_convert_bcd2bin(rtctime[0]); // h
RecoderFrame.time.minute = std_rtc_convert_bcd2bin(rtctime[1]); // m
RecoderFrame.time.year = (std_rtc_convert_bcd2bin(rtcdate[0]) - 24);//y
RecoderFrame.time.month = std_rtc_convert_bcd2bin(rtcdate[1]);// m
RecoderFrame.time.day = std_rtc_convert_bcd2bin(rtcdate[2]);//d
RecoderFrame.time.year = (std_rtc_convert_bcd2bin(rtcdate[0]) - 24); // y
RecoderFrame.time.month = std_rtc_convert_bcd2bin(rtcdate[1]); // m
RecoderFrame.time.day = std_rtc_convert_bcd2bin(rtcdate[2]); // d
RecoderFrame.time.check_sum = Sum_Check(RecoderFrame);
// RTT_LOG_D("sizof TuFlashHrRecordFrame(%d)", sizeof(TuFlashHrRecordFrame));
@ -656,7 +848,7 @@ static void TEST_Flash_Write_Record(int argc, char **argv)
{
RTT_LOG_I("Flash_Write_(%d)Record:%d", record, i);
Flash_Write_Record(record);
rt_thread_mdelay(500);
rt_thread_mdelay(1000 * 60);// 1min
}
}
else

View File

@ -230,11 +230,11 @@ ErrorStatus HR_ProcessData(const TsFrameData *pHostFrameData)
}
case kGetCurrentTime: // AA 00 08 00 B2 55
{
uint8_t rtctime[3] = {0}, rtcdate[3] = {0};
// uint8_t rtctime[3] = {0}, rtcdate[3] = {0};
data_len = FRAME_DATA_LEN;
BSP_Rtc_Get_Calendar(rtcdate, rtctime);
// BSP_Rtc_Get_Calendar(rtcdate, rtctime);
data_field[0] = ((std_rtc_convert_bcd2bin(rtcdate[0]) + 2000) >> 8) & 0xFF;
data_field[1] = (std_rtc_convert_bcd2bin(rtcdate[0]) + 2000) & 0xFF;
@ -250,6 +250,48 @@ ErrorStatus HR_ProcessData(const TsFrameData *pHostFrameData)
goto send;
}
// case kSetFactoryTime: /*2024-03-26 9:30:00 AA 00 0B 07 07 E8 03 1A 09 1E 00 EF 55*/
// {
// LOG_D("kSetFactoryTime\r\n");
// data_len = 7;
// Flash_SetProductTimeLimit((rt_uint16_t)(pHostFrameData->data[0] << 8 | pHostFrameData->data[1]), pHostFrameData->data[2],
// pHostFrameData->data[3], pHostFrameData->data[4], pHostFrameData->data[5], pHostFrameData->data[6], kFactoryTimeId);
// Flash_GetProductTimeLimit(&ReadLimitTime, kFactoryTimeId);
// data_field[0] = (uint8_t)(ReadLimitTime.Struct.year >> 8);
// data_field[1] = (uint8_t)(ReadLimitTime.Struct.year);
// data_field[2] = ReadLimitTime.Struct.month;
// data_field[3] = ReadLimitTime.Struct.day;
// data_field[4] = ReadLimitTime.Struct.hour;
// data_field[5] = ReadLimitTime.Struct.minute;
// data_field[6] = ReadLimitTime.Struct.second;
// goto send;
// break;
// }
// case kSetExpirationTime: /*2028-3-26 9:30:00 AA 00 0C 07 07 EC 03 1A 09 1E 00 F4 55*/
// {
// LOG_D("kSetExpirationTime");
// data_len = 7;
// Flash_SetProductTimeLimit((uint16_t)(pHostFrameData->data[0] << 8 | pHostFrameData->data[1]), pHostFrameData->data[2], pHostFrameData->data[3], pHostFrameData->data[4], pHostFrameData->data[5], pHostFrameData->data[6], kExpirationTimeId);
// Flash_GetProductTimeLimit(&ReadLimitTime, kExpirationTimeId);
// data_field[0] = (uint8_t)(ReadLimitTime.Struct.year >> 8);
// data_field[1] = (uint8_t)(ReadLimitTime.Struct.year);
// data_field[2] = ReadLimitTime.Struct.month;
// data_field[3] = ReadLimitTime.Struct.day;
// data_field[4] = ReadLimitTime.Struct.hour;
// data_field[5] = ReadLimitTime.Struct.minute;
// data_field[6] = ReadLimitTime.Struct.second;
// goto send;
// break;
// }
default:
break;
}
@ -293,6 +335,8 @@ static void hr_send_thread_entry(void *param)
static void Hr_Thread_Entry(void *param)
{
rt_uint8_t buf[32] = {0};
BSP_Flash_Init();
rt_thread_mdelay(100);
while (1)
{
rt_sem_take(hr_rx_sem, RT_WAITING_FOREVER); // 等待信号量

View File

@ -1,6 +1,6 @@
#include "bsp_rtc.h"
uint8_t rtctime[3] = {0}, rtcdate[3] = {0};
/* 时钟精度ppm值根据实测RTC时钟精度填写 */
#define FRTC_PPM (-20L)
@ -38,6 +38,7 @@ void RTC_TAMP_IRQHandler(void)
{
/* 清除周期中断标志 */
std_rtc_clear_flag(RTC_INTERRUPT_FLAG_MIN);
BSP_Rtc_Get_Calendar(rtcdate, rtctime);//每分钟更新一次这样减少了flash写入时读取时间的影响提高了写入flash效率
}
/* leave interrupt */
rt_interrupt_leave();
@ -381,13 +382,14 @@ int BSP_RTC_Init(void)
/* 设置校准参数 */
BSP_Rtc_Calib_Cfg((uint32_t)calp_val, (uint32_t)calm_val);
BSP_Rtc_Wakeup_Config();
/* 使能RTC寄存器写保护 */
std_rtc_write_protection_enable();
/* RTC日期时间配置 */
BSP_Rtc_DateTime_Cfg(0x24, 0x08, 0x23, 0x14, 0x03, 0x05, 0x05);
BSP_Rtc_Get_Calendar(rtcdate, rtctime);// 获取日期和时间
return RT_EOK;
}
INIT_PREV_EXPORT(BSP_RTC_Init);

View File

@ -19,6 +19,7 @@
#include "lwrb.h"
#include "lwutil.h"
#include "bsp_history.h"
#include "user_rtt.h"
#define LOG_TAG "drv_uart"
@ -471,22 +472,23 @@ static int _UART1_SemCreate(void)
uart1_rx_check_sem = rt_sem_create("uart1_rx_check_sem", 0, RT_IPC_FLAG_PRIO);
if (uart1_rx_check_sem == RT_NULL)
{
LOG_D("create uart1_rx_check_sem create fail");
RTT_LOG_D("create uart1_rx_check_sem create fail");
}
#ifdef DEBUG_OUTPUT_SELECT
uart1_rx_ok_sem = rt_sem_create("uart1_rx_ok_sem", 0, RT_IPC_FLAG_PRIO);
if (uart1_rx_ok_sem == RT_NULL)
{
LOG_D("create uart1_rx_ok_sem create fail");
RTT_LOG_D("create uart1_rx_ok_sem create fail");
}
#endif
lpuart1_rx_timer = rt_timer_create("lprx_time", Lpuart_Rx_Complate_Check_Entry,
RT_NULL, 10,
RT_TIMER_FLAG_PERIODIC);
/* Æô¶¯¶¨Ê±Æ÷ 1 */
if (lpuart1_rx_timer != RT_NULL) rt_timer_start(lpuart1_rx_timer);
if (rt_thread_init(&uart1_rx_thread,
"uart1_rx_thread",
@ -497,7 +499,7 @@ static int _UART1_SemCreate(void)
UART1_DMA_RX_THREAD_PRIORITY,
UART1_DMA_RX_THREAD_TIMESLICE) == RT_EOK)
{
LOG_D("startup uart1_dma_rx_thread return = %d", rt_thread_startup(&uart1_rx_thread));
RTT_LOG_I("startup uart1_dma_rx_thread return = %d", rt_thread_startup(&uart1_rx_thread));
}
return 0;
@ -647,4 +649,5 @@ int rt_hw_usart_init(void)
LPUART1_Init(BAUD_RATE_4800, LPUART_PARITY_NONE);
return RT_EOK;
}
INIT_DEVICE_EXPORT(rt_hw_usart_init);
INIT_PREV_EXPORT(rt_hw_usart_init);