虽然显示翻车了,其他部分还好,按钮成功调用,电机实现冷启动

This commit is contained in:
2021-10-03 17:34:31 +08:00
parent 340f563d1c
commit 9c79a675f4
12 changed files with 5749 additions and 2762 deletions
+80
View File
@@ -0,0 +1,80 @@
my_software/button.o: ../my_software/button.c ../my_software/button.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_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
../my_software/button.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_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:
+1
View File
@@ -0,0 +1 @@
button.c:10:6:GEI_BUTTON_CODE 16 static
+4 -1
View File
@@ -23,7 +23,8 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.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 \
../my_software/button.h
../my_software/my_code.h:
@@ -78,3 +79,5 @@ my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.h \
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr.h:
../Drivers/STM32F0xx_HAL_Driver/Inc/stm32f0xx_hal_pwr_ex.h:
../my_software/button.h:
+8 -5
View File
@@ -1,5 +1,8 @@
my_code.c:31:6:ds_in_or_out 48 static
my_code.c:49:9:Read_Ds 8 static
my_code.c:54:6:Sand_Byte_to_595 24 static
my_code.c:99:6:display_and_button_loop 24 static
my_code.c:162:6:my_code 8 static
my_code.c:59:6:ds_in_or_out 48 static
my_code.c:77:9:Read_Ds 8 static
my_code.c:83:6:Sand_Byte_to_595 24 static
my_code.c:116:6:Sand_Byte_to_595_2 24 static
my_code.c:149:6:display_and_button_loop 24 static
my_code.c:215:6:hc2_sever 16 static
my_code.c:241:6:moto_server 8 static
my_code.c:333:6:my_code 32 static
+3
View File
@@ -5,12 +5,15 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../my_software/button.c \
../my_software/my_code.c
OBJS += \
./my_software/button.o \
./my_software/my_code.o
C_DEPS += \
./my_software/button.d \
./my_software/my_code.d