添加了触屏驱动,加入了触屏校准功能

This commit is contained in:
2021-08-07 17:05:35 +08:00
parent 11e983ef98
commit 4e864ed558
18 changed files with 12649 additions and 9122 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
main.c:66:5:main 8 static
main.c:110:6:SystemClock_Config 72 static
main.c:149:13:MX_GPIO_Init 40 static
main.c:172:13:MX_FSMC_Init 40 static
main.c:236:6:Error_Handler 4 static,ignoring_inline_asm
main.c:149:13:MX_GPIO_Init 48 static
main.c:199:13:MX_FSMC_Init 40 static
main.c:263:6:Error_Handler 4 static,ignoring_inline_asm
+6 -3
View File
@@ -5,13 +5,16 @@
# Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \
../HW_Devices/LCD.c
../HW_Devices/LCD.c \
../HW_Devices/touch.c
OBJS += \
./HW_Devices/LCD.o
./HW_Devices/LCD.o \
./HW_Devices/touch.o
C_DEPS += \
./HW_Devices/LCD.d
./HW_Devices/LCD.d \
./HW_Devices/touch.d
# Each subdirectory must supply rules for building sources it contributes
+80
View File
@@ -0,0 +1,80 @@
HW_Devices/touch.o: ../HW_Devices/touch.c ../HW_Devices/touch.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/stm32f103xe.h \
../Drivers/CMSIS/Include/core_cm3.h \
../Drivers/CMSIS/Include/cmsis_version.h \
../Drivers/CMSIS/Include/cmsis_compiler.h \
../Drivers/CMSIS/Include/cmsis_gcc.h \
../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.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_sram.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
../HW_Devices/LCD.h
../HW_Devices/touch.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/stm32f103xe.h:
../Drivers/CMSIS/Include/core_cm3.h:
../Drivers/CMSIS/Include/cmsis_version.h:
../Drivers/CMSIS/Include/cmsis_compiler.h:
../Drivers/CMSIS/Include/cmsis_gcc.h:
../Drivers/CMSIS/Device/ST/STM32F1xx/Include/system_stm32f1xx.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.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_sram.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
../HW_Devices/LCD.h:
+8
View File
@@ -0,0 +1,8 @@
touch.c:18:6:TP_Write_Byte 24 static
touch.c:34:10:TP_Read_AD 24 static
touch.c:68:10:TP_Read_XOY 48 static
touch.c:95:6:TP_Read_XY_ADC 24 static
touch.c:109:9:TP_Read_XY2 24 static
touch.c:129:6:TP_Server 16 static
touch.c:140:6:TP_DrwaTrage 40 static
touch.c:150:6:TP_adjustment 160 static
+7 -2
View File
@@ -1,4 +1,4 @@
SW_APPs/Main_APP.o: ../SW_APPs/Main_APP.c \
SW_APPs/Main_APP.o: ../SW_APPs/Main_APP.c ../SW_APPs/Main_APP.h \
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/LCD.h \
../Core/Inc/main.h ../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal.h \
../Core/Inc/stm32f1xx_hal_conf.h \
@@ -25,7 +25,10 @@ SW_APPs/Main_APP.o: ../SW_APPs/Main_APP.c \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
../SW_APPs/windows.h \
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/lcd.h
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/lcd.h \
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/touch.h
../SW_APPs/Main_APP.h:
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/LCD.h:
@@ -82,3 +85,5 @@ SW_APPs/Main_APP.o: ../SW_APPs/Main_APP.c \
../SW_APPs/windows.h:
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/lcd.h:
/Users/wuwenfeng/STM32CubeIDE/workspace_1.7.0/m3s/HW_Devices/touch.h:
+1 -1
View File
@@ -1 +1 @@
Main_APP.c:10:6:main_app 32 static
Main_APP.c:16:6:main_app 32 static
BIN
View File
Binary file not shown.
+11135 -8361
View File
File diff suppressed because it is too large Load Diff
+948 -726
View File
File diff suppressed because it is too large Load Diff
+1
View File
@@ -21,5 +21,6 @@
"./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_hal_tim_ex.o"
"./Drivers/STM32F1xx_HAL_Driver/Src/stm32f1xx_ll_fsmc.o"
"./HW_Devices/LCD.o"
"./HW_Devices/touch.o"
"./SW_APPs/Main_APP.o"
"./SW_APPs/windows.o"