实现功能 但似乎可以不用中断实现

Signed-off-by: kevin <kevin@lmve.net>
This commit is contained in:
2022-05-02 19:14:55 +08:00
parent 8a3d91d0c2
commit e15506fa7e
21 changed files with 3176 additions and 2258 deletions
Binary file not shown.
Binary file not shown.
@@ -27,38 +27,36 @@ Project File Date: 05/01/2022
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'f103c8t6_KEIL'
compiling encode.c...
MYDEIVERS\encode.c(64): warning: #1-D: last line of file ends without a newline
}
MYDEIVERS\encode.c: 1 warning, 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/morsr.h(8): warning: #1-D: last line of file ends without a newline
#endif /* MYMAIN_H_ */
./MYDEIVERS/mymain.h(26): warning: #1295-D: Deprecated declaration mymain - give arg types
void mymain();
../Core/Src/main.c: 3 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\morsr.h(8): warning: #1-D: last line of file ends without a newline
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(15): 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
void mo_di();
MYDEIVERS\morsr.h(17): 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
#endif /* MYMAIN_H_ */
MYDEIVERS\mymain.h(26): warning: #1295-D: Deprecated declaration mymain - give arg types
MYDEIVERS\mymain.h(21): warning: #1295-D: Deprecated declaration mymain - give arg types
void mymain();
MYDEIVERS\mymain.c(192): warning: #188-D: enumerated type mixed with another type
MYDEIVERS\mymain.c(60): warning: #188-D: enumerated type mixed with another type
PWR_EN(1);
MYDEIVERS\mymain.c(202): warning: #188-D: enumerated type mixed with another type
MYDEIVERS\mymain.c(71): warning: #188-D: enumerated type mixed with another type
MUTE(0);
MYDEIVERS\mymain.c(225): warning: #223-D: function "sprintf" declared implicitly
MYDEIVERS\mymain.c(101): warning: #223-D: function "sprintf" declared implicitly
sprintf(str,"FPS:%d",fps);
MYDEIVERS\mymain.c(325): warning: #1-D: last line of file ends without a newline
MYDEIVERS\mymain.c(217): warning: #1-D: last line of file ends without a newline
}
MYDEIVERS\mymain.c: 7 warnings, 0 errors
MYDEIVERS\mymain.c: 12 warnings, 0 errors
linking...
Program Size: Code=8964 RO-data=3812 RW-data=68 ZI-data=3948
Program Size: Code=11052 RO-data=3928 RW-data=80 ZI-data=4040
FromELF: creating hex file...
"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 11 Warning(s).
"f103c8t6_KEIL\f103c8t6_KEIL.axf" - 0 Error(s), 12 Warning(s).
<h2>Software Packages used:</h2>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -30,12 +30,12 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x626CE6A4)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f1xx.h)(0x626CE6A4)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/stm32f103xb.h)(0x626CE6A4)
I (../Drivers/CMSIS/Include/core_cm3.h)(0x626CE69C)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x6025237E)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x6025237E)
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x626CE69C)
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x626CE69C)
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x626CE69C)
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x626CE69C)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x626CE6A4)
I (C:\Keil_v5\ARM\ARMCC\include\stddef.h)(0x6025237E)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h)(0x626CE6A4)
@@ -545,8 +545,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_cortex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_flash_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x626CE6A4)
@@ -577,9 +577,9 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x626CE6A4)
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x626CE69C)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x626CE6A4)
I (C:\Keil_v5\ARM\ARMCC\include\stddef.h)(0x6025237E)
I (C:\Keil_v5\ARM\ARMCC\include\stddef.h)(0x6025237E)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_gpio_ex.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_exti.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_dma.h)(0x626CE6A4)
@@ -612,8 +612,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h)(0x626CE6A4)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x6025237E)
I (../Drivers/CMSIS/Include/cmsis_version.h)(0x626CE69C)
I (../Drivers/CMSIS/Include/cmsis_compiler.h)(0x626CE69C)
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x626CE69C)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x626CE6A4)
I (../Drivers/CMSIS/Include/cmsis_armcc.h)(0x626CE69C)
I (../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h)(0x626CE6A4)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h)(0x626CE6A4)
I (C:\Keil_v5\ARM\ARMCC\include\stddef.h)(0x6025237E)
I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_rcc_ex.h)(0x626CE6A4)
@@ -672,8 +672,8 @@ I (../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h)(0x626CE6A4)
-I.\RTE\_f103c8t6_KEIL
-IC:\Users\wuwen\AppData\Local\Arm\Packs\ARM\CMSIS\5.8.0\CMSIS\Core\Include
-IC:\Users\wuwen\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include
-IC:\Users\wuwen\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include
-D__UVISION_VERSION="536" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -DUSE_HAL_DRIVER -DSTM32F103xB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.