diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/buzzer.o b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/buzzer.o
index c7b84d8..18f4081 100644
Binary files a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/buzzer.o and b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/buzzer.o differ
diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.d b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.d
new file mode 100644
index 0000000..dbc6379
--- /dev/null
+++ b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.d
@@ -0,0 +1,31 @@
+f103c8t6_keil/eeprom.o: MYDEIVERS\eeprom.c MYDEIVERS\eeprom.h \
+ ..\Core\Inc\main.h ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal.h \
+ ..\Core\Inc\stm32f1xx_hal_conf.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_def.h \
+ ..\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h \
+ ..\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h \
+ ..\Drivers\CMSIS\Include\core_cm3.h \
+ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
+ ..\Drivers\CMSIS\Include\cmsis_version.h \
+ ..\Drivers\CMSIS\Include\cmsis_compiler.h \
+ ..\Drivers\CMSIS\Include\cmsis_armclang.h \
+ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\arm_compat.h \
+ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\arm_acle.h \
+ ..\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\Legacy\stm32_hal_legacy.h \
+ C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stddef.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_rcc_ex.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_gpio_ex.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_exti.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_dma_ex.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_cortex.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_flash_ex.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_i2c.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_pwr.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim.h \
+ ..\Drivers\STM32F1xx_HAL_Driver\Inc\stm32f1xx_hal_tim_ex.h \
+ MYDEIVERS\hread_interface.h
diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.o b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.o
new file mode 100644
index 0000000..e98bc27
Binary files /dev/null and b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/eeprom.o differ
diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/encode.o b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/encode.o
index dd451fc..f4330d0 100644
Binary files a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/encode.o and b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/encode.o differ
diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.axf b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.axf
index 92d8d99..3eae75e 100644
Binary files a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.axf and b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.axf differ
diff --git a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.build_log.htm b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.build_log.htm
index 16fdad2..1622ad6 100644
--- a/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.build_log.htm
+++ b/f103c8t6_keil/MDK-ARM/f103c8t6_KEIL/f103c8t6_KEIL.build_log.htm
@@ -3,40 +3,44 @@
礦ision Build Log
Tool Versions:
-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=----
+IDE-Version: μVision V5.37.0.0
+Copyright (C) 2022 ARM Ltd and ARM Germany GmbH. All rights reserved.
+License Information: kevin ng, lmve.net, LIC=----
Tool Versions:
-Toolchain: MDK-Lite Version: 5.36.0.0
+Toolchain: MDK-Lite Version: 5.37.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\Bin
-C Compiler: ArmClang.exe V6.16
-Assembler: Armasm.exe V6.16
-Linker/Locator: ArmLink.exe V6.16
-Library Manager: ArmAr.exe V6.16
-Hex Converter: FromElf.exe V6.16
-CPU DLL: SARMCM3.DLL V5.36.0.0
-Dialog DLL: DCM.DLL V1.17.3.0
+C Compiler: ArmClang.exe V6.18
+Assembler: Armasm.exe V6.18
+Linker/Locator: ArmLink.exe V6.18
+Library Manager: ArmAr.exe V6.18
+Hex Converter: FromElf.exe V6.18
+CPU DLL: SARMCM3.DLL V5.37.0.0
+Dialog DLL: DCM.DLL V1.17.5.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.9.0
-Dialog DLL: TCM.DLL V1.53.0.0
+Dialog DLL: TCM.DLL V1.56.1.0
Project:
-C:\Users\kevin\Desktop\morse_code_trainer\f103c8t6_keil\MDK-ARM\f103c8t6_KEIL.uvprojx
-Project File Date: 08/18/2022
+C:\Users\wuwen\morse_code_trainer\f103c8t6_keil\MDK-ARM\f103c8t6_KEIL.uvprojx
+Project File Date: 08/20/2022
Output:
-*** Using Compiler 'V6.16', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
+*** Using Compiler 'V6.18', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Build target 'f103c8t6_KEIL'
-compiling main.c...
+MYDEIVERS/mymain.c(7): warning: In file included from...
+./MYDEIVERS/mymain.h(17): warning: missing terminating '"' character [-Winvalid-pp-token]
+#include "eeprom.h""
+ ^
+./MYDEIVERS/mymain.h(17): warning: extra tokens at end of #include directive [-Wextra-tokens]
+#include "eeprom.h""
+ ^
+ //
MYDEIVERS/mymain.c(46): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
""
^~~~~~~~
MYDEIVERS/mymain.c(52): warning: illegal character encoding in string literal [-Winvalid-source-encoding]
""
^~~~~~~~
-MYDEIVERS/mymain.c(67): warning: non-void function does not return a value in all control paths [-Wreturn-type]
-}
-^
MYDEIVERS/mymain.c(100): warning: passing 'const char *' to parameter of type 'char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
OLED_Str_list(0,0,16,list,m->list_dis_top,4,1);
^~~~
@@ -104,21 +108,20 @@ MYDEIVERS/mymain.c(302): warning: illegal character encoding in string literal [
MYDEIVERS/mymain.c(305): warning: incompatible pointer types assigning to 'char *' from 'char (*)[32]' [-Wincompatible-pointer-types]
display_setting.r_sw_list=&str;
^~~~~
-24 warnings generated.
+25 warnings generated.
compiling mymain.c...
-compiling oled.c...
linking...
-Program Size: Code=16996 RO-data=5208 RW-data=132 ZI-data=4188
+Program Size: Code=17384 RO-data=5216 RW-data=132 ZI-data=4204
FromELF: creating hex file...
-"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 24 Warning(s).
+"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 25 Warning(s).
Software Packages used:
Package Vendor: ARM
- http://www.keil.com/pack/ARM.CMSIS.5.8.0.pack
- ARM.CMSIS.5.8.0
+ http://www.keil.com/pack/ARM.CMSIS.5.9.0.pack
+ ARM.CMSIS.5.9.0
CMSIS (Common Microcontroller Software Interface Standard)
- * Component: CORE Version: 5.5.0
+ * Component: CORE Version: 5.6.0
Package Vendor: Keil
http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.0.pack
@@ -126,15 +129,15 @@ Package Vendor: Keil
STMicroelectronics STM32F1 Series Device Support, Drivers and Examples
Collection of Component include folders:
- .\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
+ ./RTE/_f103c8t6_KEIL
+ C:/Users/wuwen/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include
+ C:/Users/wuwen/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include
Collection of Component Files used:
- * Component: ARM::CMSIS:CORE:5.5.0
- Include file: CMSIS\Core\Include\tz_context.h
-Build Time Elapsed: 00:00:02
+ * Component: ARM::CMSIS:CORE:5.6.0
+ Include file: CMSIS/Core/Include/tz_context.h
+Build Time Elapsed: 00:00:01