终于把433通讯整出来了,不过程序空间快不够了要好好优化一下

This commit is contained in:
2021-10-15 22:06:08 +08:00
parent 36917d148f
commit 230f928a0f
52 changed files with 9483 additions and 6084 deletions
+7 -1
View File
@@ -25,7 +25,9 @@ my_software/button.o: ../my_software/button.c ../my_software/button.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h
../my_software/button.h:
@@ -84,3 +86,7 @@ my_software/button.o: ../my_software/button.c ../my_software/button.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h:
+92
View File
@@ -0,0 +1,92 @@
my_software/flash.o: ../my_software/flash.c ../my_software/flash.h \
../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
../Core/Inc/stm32f0xx_hal_conf.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h \
../Drivers/CMSIS/Include/core_cm0.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h
../my_software/flash.h:
../Core/Inc/main.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
../Core/Inc/stm32f0xx_hal_conf.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h:
../Drivers/CMSIS/Include/core_cm0.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h:
+3
View File
@@ -0,0 +1,3 @@
flash.c:12:10:STMFLASH_ReadWord 16 static
flash.c:17:6:STMFLASH_Write 64 static
flash.c:62:6:STMFLASH_Read 40 static
+6
View File
@@ -26,6 +26,8 @@ my_software/ht1621.o: ../my_software/ht1621.c ../my_software/ht1621.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \
../my_software/my_code.h
../my_software/ht1621.h:
@@ -86,4 +88,8 @@ my_software/ht1621.o: ../my_software/ht1621.c ../my_software/ht1621.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h:
../my_software/my_code.h:
+12 -1
View File
@@ -26,7 +26,10 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../my_software/button.h ../my_software/ht1621.h
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h \
../my_software/button.h ../my_software/ht1621.h ../my_software/flash.h \
../my_software/r480r.h
../my_software/my_code.h:
@@ -86,6 +89,14 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h:
../my_software/button.h:
../my_software/ht1621.h:
../my_software/flash.h:
../my_software/r480r.h:
+7 -7
View File
@@ -1,7 +1,7 @@
my_code.c:45:6:ds_in_or_out 48 static
my_code.c:63:9:Read_Ds 8 static
my_code.c:71:6:Sand_Byte_to_595_2 24 static
my_code.c:92:6:hc2_sever 16 static
my_code.c:119:6:moto_server 8 static
my_code.c:225:6:HT1621_Display_GetButton 24 static
my_code.c:269:6:my_code 32 static
my_code.c:46:6:ds_in_or_out 48 static
my_code.c:64:9:Read_Ds 8 static
my_code.c:72:6:Sand_Byte_to_595_2 24 static
my_code.c:93:6:hc2_sever 16 static
my_code.c:120:6:moto_server 8 static
my_code.c:226:6:HT1621_Display_GetButton 24 static
my_code.c:270:6:my_code 32 static
+92
View File
@@ -0,0 +1,92 @@
my_software/r480r.o: ../my_software/r480r.c ../my_software/r480r.h \
../Core/Inc/main.h ../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h \
../Core/Inc/stm32f0xx_hal_conf.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h \
../Drivers/CMSIS/Include/core_cm0.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h
../my_software/r480r.h:
../Core/Inc/main.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal.h:
../Core/Inc/stm32f0xx_hal_conf.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_def.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f0xx.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h:
../Drivers/CMSIS/Include/core_cm0.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32F0xx/Include/system_stm32f0xx.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_rcc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_gpio_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_exti.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_dma_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_cortex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_adc_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_flash_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_i2c_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_tim_ex.h:
+4
View File
@@ -0,0 +1,4 @@
r480r.c:19:6:r480_init 8 static
r480r.c:25:6:read_433_exit 24 static
r480r.c:91:6:HAL_GPIO_EXTI_Callback 16 static
r480r.c:101:6:HAL_TIM_PeriodElapsedCallback 16 static
+9 -3
View File
@@ -6,18 +6,24 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../my_software/button.c \
../my_software/flash.c \
../my_software/ht1621.c \
../my_software/my_code.c
../my_software/my_code.c \
../my_software/r480r.c
OBJS += \
./my_software/button.o \
./my_software/flash.o \
./my_software/ht1621.o \
./my_software/my_code.o
./my_software/my_code.o \
./my_software/r480r.o
C_DEPS += \
./my_software/button.d \
./my_software/flash.d \
./my_software/ht1621.d \
./my_software/my_code.d
./my_software/my_code.d \
./my_software/r480r.d
# Each subdirectory must supply rules for building sources it contributes