好像硬件设计错了。。

This commit is contained in:
2021-10-02 22:59:37 +08:00
parent 7bceb9437a
commit 340f563d1c
64 changed files with 9317 additions and 15 deletions
+80
View File
@@ -0,0 +1,80 @@
my_software/my_code.o: ../my_software/my_code.c ../my_software/my_code.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/my_code.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:
+5
View File
@@ -0,0 +1,5 @@
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
+20
View File
@@ -0,0 +1,20 @@
################################################################################
# Automatically-generated file. Do not edit!
# Toolchain: GNU Tools for STM32 (9-2020-q2-update)
################################################################################
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../my_software/my_code.c
OBJS += \
./my_software/my_code.o
C_DEPS += \
./my_software/my_code.d
# Each subdirectory must supply rules for building sources it contributes
my_software/%.o: ../my_software/%.c my_software/subdir.mk
arm-none-eabi-gcc "$<" -mcpu=cortex-m0 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32F030x6 -c -I../Core/Inc -I"/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/Motor_Controller2/my_software" -I../Drivers/STM32F0xx_HAL_Driver/Inc -I../Drivers/STM32F0xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32F0xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"