加一些常量

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2022-05-05 21:42:01 +08:00
parent 1d3ea64071
commit 2fb2a50ac2
61 changed files with 816 additions and 768 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -3,7 +3,7 @@
<pre>
<h1>µVision Build Log</h1>
<h2>Tool Versions:</h2>
IDE-Version: ¦ÌVision V5.36.0.0
IDE-Version: µVision V5.36.0.0
Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.
License Information: 1 1, 1, LIC=----
@@ -21,28 +21,72 @@ Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0
Dialog DLL: TCM.DLL V1.53.0.0
<h2>Project:</h2>
C:\Users\kevin\Desktop\morse_code_trainer\f103c8t6_keil\MDK-ARM\f103c8t6_KEIL.uvprojx
C:\Users\wuwen\Desktop\morse_code_trainer\f103c8t6_keil\MDK-ARM\f103c8t6_KEIL.uvprojx
Project File Date: 05/05/2022
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'f103c8t6_KEIL'
compiling morsr.c...
MYDEIVERS\morsr.h(15): warning: #1295-D: Deprecated declaration mo_server - give arg types
MYDEIVERS\morsr.h(20): warning: #1295-D: Deprecated declaration mo_server - give arg types
void mo_server();
MYDEIVERS\morsr.h(16): warning: #1295-D: Deprecated declaration mo_di - give arg types
MYDEIVERS\morsr.h(21): warning: #1295-D: Deprecated declaration mo_di - give arg types
void mo_di();
MYDEIVERS\morsr.h(17): warning: #1295-D: Deprecated declaration mo_da - give arg types
MYDEIVERS\morsr.h(22): warning: #1295-D: Deprecated declaration mo_da - give arg types
void mo_da();
MYDEIVERS\morsr.h(20): warning: #1-D: last line of file ends without a newline
MYDEIVERS\morsr.h(25): warning: #1-D: last line of file ends without a newline
#endif /* MYMAIN_H_ */
MYDEIVERS\morsr.c(240): warning: #1-D: last line of file ends without a newline
}
MYDEIVERS\morsr.c: 5 warnings, 0 errors
compiling mymain.c...
MYDEIVERS\oled.h(33): warning: #1295-D: Deprecated declaration OLED_Cache_to_hardware - give arg types
void OLED_Cache_to_hardware();
MYDEIVERS\buzzer.h(27): warning: #1295-D: Deprecated declaration BUZZER_PLAY_INIT - give arg types
void BUZZER_PLAY_INIT();
MYDEIVERS\buzzer.h(29): warning: #1295-D: Deprecated declaration BUZZER_PLAY_SERVER - give arg types
void BUZZER_PLAY_SERVER();
MYDEIVERS\morsr.h(20): warning: #1295-D: Deprecated declaration mo_server - give arg types
void mo_server();
MYDEIVERS\morsr.h(21): warning: #1295-D: Deprecated declaration mo_di - give arg types
void mo_di();
MYDEIVERS\morsr.h(22): warning: #1295-D: Deprecated declaration mo_da - give arg types
void mo_da();
MYDEIVERS\morsr.h(25): warning: #1-D: last line of file ends without a newline
#endif /* MYMAIN_H_ */
MYDEIVERS\mymain.h(21): warning: #1295-D: Deprecated declaration mymain - give arg types
void mymain();
MYDEIVERS\mymain.c(58): warning: #188-D: enumerated type mixed with another type
PWR_EN(1);
MYDEIVERS\mymain.c(67): warning: #188-D: enumerated type mixed with another type
MUTE(0);
MYDEIVERS\mymain.c(102): warning: #223-D: function "sprintf" declared implicitly
sprintf(str,"FPS:%d",fps);
MYDEIVERS\mymain.c(220): warning: #1-D: last line of file ends without a newline
}
MYDEIVERS\mymain.c: 12 warnings, 0 errors
compiling main.c...
./MYDEIVERS/oled.h(33): warning: #1295-D: Deprecated declaration OLED_Cache_to_hardware - give arg types
void OLED_Cache_to_hardware();
./MYDEIVERS/buzzer.h(27): warning: #1295-D: Deprecated declaration BUZZER_PLAY_INIT - give arg types
void BUZZER_PLAY_INIT();
./MYDEIVERS/buzzer.h(29): warning: #1295-D: Deprecated declaration BUZZER_PLAY_SERVER - give arg types
void BUZZER_PLAY_SERVER();
./MYDEIVERS/morsr.h(20): warning: #1295-D: Deprecated declaration mo_server - give arg types
void mo_server();
./MYDEIVERS/morsr.h(21): warning: #1295-D: Deprecated declaration mo_di - give arg types
void mo_di();
./MYDEIVERS/morsr.h(22): warning: #1295-D: Deprecated declaration mo_da - give arg types
void mo_da();
./MYDEIVERS/morsr.h(25): warning: #1-D: last line of file ends without a newline
#endif /* MYMAIN_H_ */
./MYDEIVERS/mymain.h(21): warning: #1295-D: Deprecated declaration mymain - give arg types
void mymain();
../Core/Src/main.c: 8 warnings, 0 errors
linking...
Program Size: Code=11124 RO-data=3928 RW-data=80 ZI-data=4064
Program Size: Code=11124 RO-data=3928 RW-data=80 ZI-data=4144
FromELF: creating hex file...
"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 5 Warning(s).
"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 25 Warning(s).
<h2>Software Packages used:</h2>
@@ -59,14 +103,14 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2>
.\RTE\_f103c8t6_KEIL
C:\Users\kevin\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
C:\Users\kevin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include
C:\Users\wuwen\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
C:\Users\wuwen\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include
<h2>Collection of Component Files used:</h2>
* Component: ARM::CMSIS:CORE:5.5.0
Include file: CMSIS\Core\Include\tz_context.h
Build Time Elapsed: 00:00:03
Build Time Elapsed: 00:00:01
</pre>
</body>
</html>
@@ -1,5 +1,5 @@
:020000040800F2
:100000003010002099010008871E00089919000887
:100000008010002099010008871E00089919000837
:10001000851E0008A50700084B2500080000000009
:100020000000000000000000000000009522000811
:10003000A70700080000000091210008972200088F
@@ -27,8 +27,8 @@
:10019000F2FF03BC00F070FA0948804709480047A5
:1001A000FEE7FEE7FEE7FEE7FEE7FEE7FEE7FEE727
:1001B000FEE7FEE704480549054A064B7047000084
:1001C000F9220008ED000008300A0020301000205D
:1001D000300C0020300C002070B5064600F000F90D
:1001C000F9220008ED000008800A002080100020BD
:1001D000800C0020800C002070B5064600F000F96D
:1001E000056806F10B0020F00704B4429CBF002014
:1001F00070BD2B466A68BAB11068A04210D304F1F2
:10020000080188423CBF5068586007D351681019F4
@@ -61,7 +61,7 @@
:1003B000A0E80C5048BF0CC05DF804EB890028BFD2
:1003C00040F8042B08BF704748BF20F8022B11F0FB
:1003D000804F18BF00F8012B704770477047704777
:1003E00000487047D4090020704770477047704735
:1003E00000487047280A00207047704770477047E0
:1003F00038B504460A4600206946AFF3008000285D
:1004000008BF38BD02460099204600F0B7F8012029
:1004100038BD012000F0CCB8F8B5AFF30080054638
@@ -86,7 +86,7 @@
:10054000704700B58FB0CDE9013100210591054913
:100550007944CDE9031011466846FFF7A7FE0FB0B6
:1005600000BD0000E5FFFFFF0A6802F8010B0A600A
:100570007047000000487047CC09002003464068DF
:100570007047000000487047200A0020034640688A
:100580008C46002818BF88423CBF03464068F8D319
:1005900018681844884207D00CF1030020F00700C7
:1005A000001D411A521A0146081D0A60FFF743BE9A
@@ -612,20 +612,20 @@
:10262000FEE700000054004050000020A08601009A
:1026300010B50D4C0D4B2D21227860780244995431
:102640008021C140A278401C1143C0B2A1706070CB
:10265000082801D100206070FEF70EFA00F5C8705E
:10265000082801D100206070FEF70EFA00F5E17045
:10266000A0600120E07010BD40000020840900201F
:1026700010B50B4C0B4B2E21227860780244401C85
:10268000C0B299546070082801D100206070FEF734
:10269000F3F900F5C870A0600120E07010BD0000E3
:10269000F3F900F5E170A0600120E07010BD0000CA
:1026A000400000208409002070B51F4C00251F4EFB
:1026B000E078012820D1FEF7DFF9A16888421BD914
:1026B000E07801281FD1FEF7DFF9A16888421AD916
:1026C000E570217800200A18401CB5540828FADB70
:1026D000A1786078FFF76AFF21782028705406D02F
:1026E00001202071FEF7C8F900F5C870A0602078BD
:1026F000401C20706570A570207901280AD1FEF772
:10270000BBF9A168884205D9257120782021315470
:10271000401C20702078402805D100203554401CF2
:102720004028FBDB257070BD40000020840900209C
:1026D000A1786078FFF76AFF21782028705405D030
:1026E00001202071FEF7C8F99630A0602078401CC8
:1026F00020706570A570207901280AD1FEF7BCF919
:10270000A168884205D92571207820213154401CC8
:1027100020702078932805D100203554401C932840
:10272000FBDB257070BD0000400000208409002004
:1027300008B5554C012211022046FEF798F9FFF723
:102740000DFC08215148FFF7D7F85148FEF7D0FE9D
:10275000FDF7D8FF002208212046FEF788F94FF444
@@ -936,10 +936,10 @@
:103A60006973706C61790A4C616E67756167650A8C
:103A700041626F7574000000E8BF94E59B9E0AE800
:103A8000BE93E585A5E6A8A1E5BC8F0AE89C82E97E
:103A9000B8A3E599A85C6EE698BEE7A4BA0AE8AFB9
:103AA000ADE8A8800AE585B3E4BA8E00CC3A0008F8
:103A9000B8A3E599A80AE698BEE7A4BA0AE8AFADCC
:103AA000E8A8800AE585B3E4BA8E0000CC3A0008A5
:103AB0000000002050000000280100081C3B000806
:103AC00050000020E00F0000440100080100000049
:103AC00050000020301000004401000801000000F8
:103AD00010000000000000000024F40000000000BE
:103AE00000000000000000000000000000000000D6
:103AF000000000000000000000000000483A00083C
@@ -3,7 +3,7 @@
<title>Static Call Graph - [f103c8t6_KEIL\f103c8t6_KEIL.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image f103c8t6_KEIL\f103c8t6_KEIL.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Thu May 05 18:37:28 2022
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Thu May 05 21:38:59 2022
<BR><P>
<H3>Maximum Stack Usage = 216 bytes + Unknown(Functions without stacksize, Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@@ -1212,7 +1212,7 @@ Global Symbols
<BR>[Called By]<UL><LI><a href="#[bd]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;di
</UL>
<P><STRONG><a name="[c0]"></a>mo_server</STRONG> (Thumb, 128 bytes, Stack size 16 bytes, morsr.o(i.mo_server))
<P><STRONG><a name="[c0]"></a>mo_server</STRONG> (Thumb, 126 bytes, Stack size 16 bytes, morsr.o(i.mo_server))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = mo_server &rArr; get_morse_code
</UL>
<BR>[Calls]<UL><LI><a href="#[71]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;HAL_GetTick
@@ -1621,7 +1621,7 @@ Image Symbol Table
.constdata 0x08002c70 Section 8 system_stm32f1xx.o(.constdata)
.constdata 0x08002c78 Section 3420 oled.o(.constdata)
.constdata 0x080039d4 Section 114 morsr.o(.constdata)
.conststring 0x08003a48 Section 100 mymain.o(.conststring)
.conststring 0x08003a48 Section 99 mymain.o(.conststring)
.data 0x20000000 Section 12 stm32f1xx_hal.o(.data)
.data 0x2000000c Section 4 system_stm32f1xx.o(.data)
.data 0x20000010 Section 48 mymain.o(.data)
@@ -1632,13 +1632,13 @@ Image Symbol Table
.bss 0x20000134 Section 64 mymain.o(.bss)
.bss 0x20000174 Section 2048 oled.o(.bss)
.bss 0x20000974 Section 16 buzzer.o(.bss)
.bss 0x20000984 Section 72 morsr.o(.bss)
.bss 0x200009cc Section 96 libspace.o(.bss)
HEAP 0x20000a30 Section 512 startup_stm32f103xb.o(HEAP)
Heap_Mem 0x20000a30 Data 512 startup_stm32f103xb.o(HEAP)
STACK 0x20000c30 Section 1024 startup_stm32f103xb.o(STACK)
Stack_Mem 0x20000c30 Data 1024 startup_stm32f103xb.o(STACK)
__initial_sp 0x20001030 Data 0 startup_stm32f103xb.o(STACK)
.bss 0x20000984 Section 155 morsr.o(.bss)
.bss 0x20000a20 Section 96 libspace.o(.bss)
HEAP 0x20000a80 Section 512 startup_stm32f103xb.o(HEAP)
Heap_Mem 0x20000a80 Data 512 startup_stm32f103xb.o(HEAP)
STACK 0x20000c80 Section 1024 startup_stm32f103xb.o(STACK)
Stack_Mem 0x20000c80 Data 1024 startup_stm32f103xb.o(STACK)
__initial_sp 0x20001080 Data 0 startup_stm32f103xb.o(STACK)
Global Symbols
@@ -1900,7 +1900,7 @@ Image Symbol Table
main 0x080025e1 Thumb Code 66 main.o(i.main)
mo_da 0x08002631 Thumb Code 56 morsr.o(i.mo_da)
mo_di 0x08002671 Thumb Code 46 morsr.o(i.mo_di)
mo_server 0x080026a9 Thumb Code 128 morsr.o(i.mo_server)
mo_server 0x080026a9 Thumb Code 126 morsr.o(i.mo_server)
mymain 0x08002731 Thumb Code 344 mymain.o(i.mymain)
__aeabi_fdiv 0x080028ad Thumb Code 0 fdiv.o(x$fpl$fdiv)
_fdiv 0x080028ad Thumb Code 384 fdiv.o(x$fpl$fdiv)
@@ -1952,9 +1952,9 @@ Image Symbol Table
OLED_buff 0x20000174 Data 1024 oled.o(.bss)
OLED_speedup 0x20000574 Data 1024 oled.o(.bss)
buzzer_play_buff 0x20000974 Data 16 buzzer.o(.bss)
moser_buff 0x20000984 Data 72 morsr.o(.bss)
__libspace_start 0x200009cc Data 96 libspace.o(.bss)
__temporary_stack_top$libspace 0x20000a2c Data 0 libspace.o(.bss)
moser_buff 0x20000984 Data 155 morsr.o(.bss)
__libspace_start 0x20000a20 Data 96 libspace.o(.bss)
__temporary_stack_top$libspace 0x20000a80 Data 0 libspace.o(.bss)
@@ -2179,11 +2179,12 @@ Memory Map of the image
0x08002c78 0x08002c78 0x00000d5c Data RO 2915 .constdata oled.o
0x080039d4 0x080039d4 0x00000072 Data RO 3097 .constdata morsr.o
0x08003a46 0x08003a46 0x00000002 PAD
0x08003a48 0x08003a48 0x00000064 Data RO 2834 .conststring mymain.o
0x08003a48 0x08003a48 0x00000063 Data RO 2834 .conststring mymain.o
0x08003aab 0x08003aab 0x00000001 PAD
0x08003aac 0x08003aac 0x00000020 Data RO 3493 Region$$Table anon$$obj.o
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08003acc, Size: 0x00001030, Max: 0x00005000, ABSOLUTE)
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08003acc, Size: 0x00001080, Max: 0x00005000, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
@@ -2195,11 +2196,11 @@ Memory Map of the image
0x20000134 - 0x00000040 Zero RW 2833 .bss mymain.o
0x20000174 - 0x00000800 Zero RW 2914 .bss oled.o
0x20000974 - 0x00000010 Zero RW 3020 .bss buzzer.o
0x20000984 - 0x00000048 Zero RW 3096 .bss morsr.o
0x200009cc - 0x00000060 Zero RW 3370 .bss c_w.l(libspace.o)
0x20000a2c 0x08003b1c 0x00000004 PAD
0x20000a30 - 0x00000200 Zero RW 2 HEAP startup_stm32f103xb.o
0x20000c30 - 0x00000400 Zero RW 1 STACK startup_stm32f103xb.o
0x20000984 - 0x0000009b Zero RW 3096 .bss morsr.o
0x20000a1f 0x08003b1c 0x00000001 PAD
0x20000a20 - 0x00000060 Zero RW 3370 .bss c_w.l(libspace.o)
0x20000a80 - 0x00000200 Zero RW 2 HEAP startup_stm32f103xb.o
0x20000c80 - 0x00000400 Zero RW 1 STACK startup_stm32f103xb.o
==============================================================================
@@ -2213,8 +2214,8 @@ Image component sizes
106 0 0 0 0 1415 encode.o
28 6 0 0 0 920 hread_interface.o
782 50 0 0 228 428588 main.o
308 32 114 16 72 4070 morsr.o
494 44 100 48 64 4984 mymain.o
308 34 114 16 155 4150 morsr.o
494 44 99 48 64 4928 mymain.o
1034 28 3420 0 2048 8860 oled.o
64 26 236 0 1536 816 startup_stm32f103xb.o
128 24 0 12 0 5325 stm32f1xx_hal.o
@@ -2229,9 +2230,9 @@ Image component sizes
2 0 24 4 0 1131 system_stm32f1xx.o
----------------------------------------------------------------------
8744 530 3928 80 3964 533886 Object Totals
8744 532 3928 80 4048 533910 Object Totals
0 0 32 0 0 0 (incl. Generated)
16 0 2 0 0 0 (incl. Padding)
16 0 3 0 1 0 (incl. Padding)
----------------------------------------------------------------------
@@ -2289,8 +2290,8 @@ Image component sizes
0 0 0 0 0 0 usenofp.o
----------------------------------------------------------------------
2380 194 0 0 100 2800 Library Totals
12 0 0 0 4 0 (incl. Padding)
2380 194 0 0 96 2800 Library Totals
12 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@@ -2300,7 +2301,7 @@ Image component sizes
944 88 0 0 0 552 fz_ws.l
----------------------------------------------------------------------
2380 194 0 0 100 2800 Library Totals
2380 194 0 0 96 2800 Library Totals
----------------------------------------------------------------------
@@ -2309,14 +2310,14 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
11124 724 3928 80 4064 530078 Grand Totals
11124 724 3928 80 4064 530078 ELF Image Totals
11124 724 3928 80 0 0 ROM Totals
11124 726 3928 80 4144 530102 Grand Totals
11124 726 3928 80 4144 530102 ELF Image Totals
11124 726 3928 80 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 15052 ( 14.70kB)
Total RW Size (RW Data + ZI Data) 4144 ( 4.05kB)
Total RW Size (RW Data + ZI Data) 4224 ( 4.13kB)
Total ROM Size (Code + RO Data + RW Data) 15132 ( 14.78kB)
==============================================================================
File diff suppressed because it is too large Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.