加入eeprom驱动,用于保存屏幕触控的校准数据
This commit is contained in:
@@ -22,6 +22,7 @@ HW_Devices/LCD.o: ../HW_Devices/LCD.c ../HW_Devices/LCD.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_i2c.h \
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
|
||||
../HW_Devices/LCD.h:
|
||||
@@ -74,4 +75,6 @@ HW_Devices/LCD.o: ../HW_Devices/LCD.c ../HW_Devices/LCD.h \
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
|
||||
|
||||
@@ -0,0 +1,80 @@
|
||||
HW_Devices/eeprom.o: ../HW_Devices/eeprom.c ../HW_Devices/eeprom.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_i2c.h \
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h
|
||||
|
||||
../HW_Devices/eeprom.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_i2c.h:
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
|
||||
@@ -0,0 +1,6 @@
|
||||
eeprom.c:12:6:IIC_SAND_DATE 40 static
|
||||
eeprom.c:17:6:IIC_READ_DATE 40 static
|
||||
eeprom.c:23:6:EPPROM_SLOWWRITE_INIT 4 static
|
||||
eeprom.c:32:6:EEPROM_SLOWWRITE_SERVER 16 static
|
||||
eeprom.c:58:6:EEPROM_READ_BATY 16 static
|
||||
eeprom.c:63:6:EEPROM_WRITE_BATY 32 static
|
||||
@@ -6,14 +6,17 @@
|
||||
# Add inputs and outputs from these tool invocations to the build variables
|
||||
C_SRCS += \
|
||||
../HW_Devices/LCD.c \
|
||||
../HW_Devices/eeprom.c \
|
||||
../HW_Devices/touch.c
|
||||
|
||||
OBJS += \
|
||||
./HW_Devices/LCD.o \
|
||||
./HW_Devices/eeprom.o \
|
||||
./HW_Devices/touch.o
|
||||
|
||||
C_DEPS += \
|
||||
./HW_Devices/LCD.d \
|
||||
./HW_Devices/eeprom.d \
|
||||
./HW_Devices/touch.d
|
||||
|
||||
|
||||
|
||||
@@ -22,8 +22,9 @@ HW_Devices/touch.o: ../HW_Devices/touch.c ../HW_Devices/touch.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_i2c.h \
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h \
|
||||
../HW_Devices/LCD.h
|
||||
../HW_Devices/LCD.h ../HW_Devices/eeprom.h
|
||||
|
||||
../HW_Devices/touch.h:
|
||||
|
||||
@@ -75,6 +76,10 @@ HW_Devices/touch.o: ../HW_Devices/touch.c ../HW_Devices/touch.h \
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_ll_fsmc.h:
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_i2c.h:
|
||||
|
||||
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_pwr.h:
|
||||
|
||||
../HW_Devices/LCD.h:
|
||||
|
||||
../HW_Devices/eeprom.h:
|
||||
|
||||
@@ -1,8 +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
|
||||
touch.c:20:6:TP_Write_Byte 24 static
|
||||
touch.c:36:10:TP_Read_AD 24 static
|
||||
touch.c:70:10:TP_Read_XOY 48 static
|
||||
touch.c:97:6:TP_Read_XY_ADC 24 static
|
||||
touch.c:111:9:TP_Read_XY2 24 static
|
||||
touch.c:131:6:TP_Server 16 static
|
||||
touch.c:142:6:TP_DrwaTrage 40 static
|
||||
touch.c:152:6:TP_adjustment 160 static
|
||||
|
||||
Reference in New Issue
Block a user