颜色控制器测试

Signed-off-by: fong <wuwenfengmi@outlook.com>
This commit is contained in:
fong
2024-01-01 01:08:11 +08:00
parent be3a8d1a9c
commit 5e222238d3
19 changed files with 8370 additions and 8967 deletions
+2 -2
View File
@@ -5,7 +5,7 @@
<provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.ui.UserLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="111365396600756510" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true"> <provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1593759612268504097" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/> <language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/> <language-scope id="org.eclipse.cdt.core.g++"/>
</provider> </provider>
@@ -17,7 +17,7 @@
<provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.core.ReferencedProjectsLanguageSettingsProvider" ref="shared-provider"/>
<provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/> <provider-reference id="org.eclipse.cdt.managedbuilder.core.MBSLanguageSettingsProvider" ref="shared-provider"/>
<provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/> <provider copy-of="extension" id="org.eclipse.cdt.managedbuilder.core.GCCBuildCommandParser"/>
<provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="111365396600756510" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true"> <provider class="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" console="false" env-hash="-1593759612268504097" id="com.st.stm32cube.ide.mcu.toolchain.armnone.setup.CrossBuiltinSpecsDetector" keep-relative-paths="false" name="MCU ARM GCC Built-in Compiler Settings" parameter="${COMMAND} ${FLAGS} -E -P -v -dD &quot;${INPUTS}&quot;" prefer-non-shared="true">
<language-scope id="org.eclipse.cdt.core.gcc"/> <language-scope id="org.eclipse.cdt.core.gcc"/>
<language-scope id="org.eclipse.cdt.core.g++"/> <language-scope id="org.eclipse.cdt.core.g++"/>
</provider> </provider>
+2
View File
@@ -0,0 +1,2 @@
../SW_APPs/APP_KEYBOARD.c:12:6:APP_KEYBOARD_init 1
../SW_APPs/APP_KEYBOARD.c:16:6:APP_KEYBOARD_loop 1
+63
View File
@@ -0,0 +1,63 @@
SW_APPs/APP_KEYBOARD.o: ../SW_APPs/APP_KEYBOARD.c \
../SW_APPs/APP_keyboard.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 \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
../SW_APPs/windows.h C:/Users/wuwen/m3s_stm32/HW_Devices/lcd.h
../SW_APPs/APP_keyboard.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:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
../SW_APPs/windows.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/lcd.h:
+2
View File
@@ -0,0 +1,2 @@
../SW_APPs/APP_KEYBOARD.c:12:6:APP_KEYBOARD_init 16 static
../SW_APPs/APP_KEYBOARD.c:16:6:APP_KEYBOARD_loop 4 static
+2
View File
@@ -0,0 +1,2 @@
../SW_APPs/APP_colorcontrol.c:5:6:APP_COLORCONTROL_init 1
../SW_APPs/APP_colorcontrol.c:9:6:APP_COLORCONTROL_loop 1
+63
View File
@@ -0,0 +1,63 @@
SW_APPs/APP_colorcontrol.o: ../SW_APPs/APP_colorcontrol.c \
../SW_APPs/APP_colorcontrol.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 \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h \
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h \
../SW_APPs/windows.h C:/Users/wuwen/m3s_stm32/HW_Devices/lcd.h
../SW_APPs/APP_colorcontrol.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:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_spi.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim.h:
../Drivers/STM32F1xx_HAL_Driver/Inc/stm32f1xx_hal_tim_ex.h:
../SW_APPs/windows.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/lcd.h:
+2
View File
@@ -0,0 +1,2 @@
../SW_APPs/APP_colorcontrol.c:5:6:APP_COLORCONTROL_init 16 static
../SW_APPs/APP_colorcontrol.c:9:6:APP_COLORCONTROL_loop 4 static
+1 -1
View File
@@ -1 +1 @@
../SW_APPs/Main_APP.c:23:6:main_app 3 ../SW_APPs/Main_APP.c:26:6:main_app 3
+4 -1
View File
@@ -32,7 +32,8 @@ SW_APPs/Main_APP.o: ../SW_APPs/Main_APP.c ../SW_APPs/Main_APP.h \
C:/Users/wuwen/m3s_stm32/HW_Devices/touch.h \ C:/Users/wuwen/m3s_stm32/HW_Devices/touch.h \
C:/Users/wuwen/m3s_stm32/HW_Devices/eeprom.h \ C:/Users/wuwen/m3s_stm32/HW_Devices/eeprom.h \
C:/Users/wuwen/m3s_stm32/HW_Devices/key.h \ C:/Users/wuwen/m3s_stm32/HW_Devices/key.h \
C:/Users/wuwen/m3s_stm32/HW_Devices/buzzer.h C:/Users/wuwen/m3s_stm32/HW_Devices/buzzer.h \
../SW_APPs/APP_colorcontrol.h ../SW_APPs/APP_keyboard.h
../SW_APPs/Main_APP.h: ../SW_APPs/Main_APP.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/LCD.h: C:/Users/wuwen/m3s_stm32/HW_Devices/LCD.h:
../Core/Inc/main.h: ../Core/Inc/main.h:
@@ -70,3 +71,5 @@ C:/Users/wuwen/m3s_stm32/HW_Devices/touch.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/eeprom.h: C:/Users/wuwen/m3s_stm32/HW_Devices/eeprom.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/key.h: C:/Users/wuwen/m3s_stm32/HW_Devices/key.h:
C:/Users/wuwen/m3s_stm32/HW_Devices/buzzer.h: C:/Users/wuwen/m3s_stm32/HW_Devices/buzzer.h:
../SW_APPs/APP_colorcontrol.h:
../SW_APPs/APP_keyboard.h:
+1 -1
View File
@@ -1 +1 @@
../SW_APPs/Main_APP.c:23:6:main_app 96 static ../SW_APPs/Main_APP.c:26:6:main_app 96 static
+7 -1
View File
@@ -6,21 +6,27 @@
# Add inputs and outputs from these tool invocations to the build variables # Add inputs and outputs from these tool invocations to the build variables
C_SRCS += \ C_SRCS += \
../SW_APPs/APP_IDcard.c \ ../SW_APPs/APP_IDcard.c \
../SW_APPs/APP_KEYBOARD.c \
../SW_APPs/APP_blood.c \ ../SW_APPs/APP_blood.c \
../SW_APPs/APP_colorcontrol.c \
../SW_APPs/APP_morsecode.c \ ../SW_APPs/APP_morsecode.c \
../SW_APPs/Main_APP.c \ ../SW_APPs/Main_APP.c \
../SW_APPs/windows.c ../SW_APPs/windows.c
OBJS += \ OBJS += \
./SW_APPs/APP_IDcard.o \ ./SW_APPs/APP_IDcard.o \
./SW_APPs/APP_KEYBOARD.o \
./SW_APPs/APP_blood.o \ ./SW_APPs/APP_blood.o \
./SW_APPs/APP_colorcontrol.o \
./SW_APPs/APP_morsecode.o \ ./SW_APPs/APP_morsecode.o \
./SW_APPs/Main_APP.o \ ./SW_APPs/Main_APP.o \
./SW_APPs/windows.o ./SW_APPs/windows.o
C_DEPS += \ C_DEPS += \
./SW_APPs/APP_IDcard.d \ ./SW_APPs/APP_IDcard.d \
./SW_APPs/APP_KEYBOARD.d \
./SW_APPs/APP_blood.d \ ./SW_APPs/APP_blood.d \
./SW_APPs/APP_colorcontrol.d \
./SW_APPs/APP_morsecode.d \ ./SW_APPs/APP_morsecode.d \
./SW_APPs/Main_APP.d \ ./SW_APPs/Main_APP.d \
./SW_APPs/windows.d ./SW_APPs/windows.d
@@ -33,7 +39,7 @@ SW_APPs/%.o SW_APPs/%.su SW_APPs/%.cyclo: ../SW_APPs/%.c SW_APPs/subdir.mk
clean: clean-SW_APPs clean: clean-SW_APPs
clean-SW_APPs: clean-SW_APPs:
-$(RM) ./SW_APPs/APP_IDcard.cyclo ./SW_APPs/APP_IDcard.d ./SW_APPs/APP_IDcard.o ./SW_APPs/APP_IDcard.su ./SW_APPs/APP_blood.cyclo ./SW_APPs/APP_blood.d ./SW_APPs/APP_blood.o ./SW_APPs/APP_blood.su ./SW_APPs/APP_morsecode.cyclo ./SW_APPs/APP_morsecode.d ./SW_APPs/APP_morsecode.o ./SW_APPs/APP_morsecode.su ./SW_APPs/Main_APP.cyclo ./SW_APPs/Main_APP.d ./SW_APPs/Main_APP.o ./SW_APPs/Main_APP.su ./SW_APPs/windows.cyclo ./SW_APPs/windows.d ./SW_APPs/windows.o ./SW_APPs/windows.su -$(RM) ./SW_APPs/APP_IDcard.cyclo ./SW_APPs/APP_IDcard.d ./SW_APPs/APP_IDcard.o ./SW_APPs/APP_IDcard.su ./SW_APPs/APP_KEYBOARD.cyclo ./SW_APPs/APP_KEYBOARD.d ./SW_APPs/APP_KEYBOARD.o ./SW_APPs/APP_KEYBOARD.su ./SW_APPs/APP_blood.cyclo ./SW_APPs/APP_blood.d ./SW_APPs/APP_blood.o ./SW_APPs/APP_blood.su ./SW_APPs/APP_colorcontrol.cyclo ./SW_APPs/APP_colorcontrol.d ./SW_APPs/APP_colorcontrol.o ./SW_APPs/APP_colorcontrol.su ./SW_APPs/APP_morsecode.cyclo ./SW_APPs/APP_morsecode.d ./SW_APPs/APP_morsecode.o ./SW_APPs/APP_morsecode.su ./SW_APPs/Main_APP.cyclo ./SW_APPs/Main_APP.d ./SW_APPs/Main_APP.o ./SW_APPs/Main_APP.su ./SW_APPs/windows.cyclo ./SW_APPs/windows.d ./SW_APPs/windows.o ./SW_APPs/windows.su
.PHONY: clean-SW_APPs .PHONY: clean-SW_APPs
+7320 -8392
View File
File diff suppressed because it is too large Load Diff
+828 -567
View File
File diff suppressed because it is too large Load Diff
+2
View File
@@ -30,7 +30,9 @@
"./HW_Devices/rs522.o" "./HW_Devices/rs522.o"
"./HW_Devices/touch.o" "./HW_Devices/touch.o"
"./SW_APPs/APP_IDcard.o" "./SW_APPs/APP_IDcard.o"
"./SW_APPs/APP_KEYBOARD.o"
"./SW_APPs/APP_blood.o" "./SW_APPs/APP_blood.o"
"./SW_APPs/APP_colorcontrol.o"
"./SW_APPs/APP_morsecode.o" "./SW_APPs/APP_morsecode.o"
"./SW_APPs/Main_APP.o" "./SW_APPs/Main_APP.o"
"./SW_APPs/windows.o" "./SW_APPs/windows.o"
+19
View File
@@ -0,0 +1,19 @@
/*
* APP_KEYBOARD.c
*
* Created on: Jan 1, 2024
* Author: wuwen
*/
#include "APP_keyboard.h"
window *keyboard_window;
void APP_KEYBOARD_init(window *a_window)
{
keyboard_window=a_window;
}
void APP_KEYBOARD_loop()
{
}
+21
View File
@@ -0,0 +1,21 @@
/*
* APP_KEYBOARD.h
*
* Created on: Jan 1, 2024
* Author: wuwen
*/
#ifndef APP_KEYBOARD_H_
#define APP_KEYBOARD_H_
#include "main.h"
#include "windows.h"
void APP_KEYBOARD_init(window *a_window);
void APP_KEYBOARD_loop();
#endif /* APP_KEYBOARD_H_ */
+12
View File
@@ -0,0 +1,12 @@
#include "APP_colorcontrol.h"
window *colorcontrol_window;
void APP_COLORCONTROL_init(window *a_window)
{
colorcontrol_window=a_window;
}
void APP_COLORCONTROL_loop()
{
}
+12
View File
@@ -0,0 +1,12 @@
#ifndef APP_COLORCONTROL_
#define APP_COLORCONTROL_
#include "main.h"
#include "windows.h"
void APP_COLORCONTROL_init(window *a_window);
void APP_COLORCONTROL_loop();
#endif /* APP_COLORCONTROL_ */
+7 -2
View File
@@ -12,6 +12,9 @@
#include "key.h" #include "key.h"
#include "buzzer.h" #include "buzzer.h"
#include "APP_colorcontrol.h"
#include "APP_keyboard.h"
extern TIM_HandleTypeDef htim4; extern TIM_HandleTypeDef htim4;
extern touch_device t0; extern touch_device t0;
@@ -47,8 +50,10 @@ void main_app()
//New_Window(ui,80,80,60,90,YELLOW,"YELLOW"); //New_Window(ui,80,80,60,90,YELLOW,"YELLOW");
//New_Window(ui,120,90,70,60,MAGENTA,"MAGENTA"); //New_Window(ui,120,90,70,60,MAGENTA,"MAGENTA");
APP_morsecode_init(New_Window(ui,25,30,200,150,CYAN,"Morse code")); //APP_morsecode_init(New_Window(ui,25,30,200,150,CYAN,"Morse code"));
APP_COLORCONTROL_init(New_Window(ui,20,30,300,64,CYAN,"COLORCONTROL"));
APP_KEYBOARD_init(New_Window(ui,10,60,200,100,WHITE,"KEYBOARD"));
ui->refresh_ui_flag=1; ui->refresh_ui_flag=1;
//add_a_note(1000,50,1000); //add_a_note(1000,50,1000);
@@ -70,7 +75,7 @@ void main_app()
// 交叉编译测试 // 交叉编译测试
//APP_blood_loop(); //APP_blood_loop();
//APP_IDcard_loop(); //APP_IDcard_loop();
APP_morsecode_loop(); //APP_morsecode_loop();
GEI_BUTTON_CODE(&k1,KEY1); GEI_BUTTON_CODE(&k1,KEY1);
GEI_BUTTON_CODE(&k2,KEY2); GEI_BUTTON_CODE(&k2,KEY2);