From 9f827b782f9fe037e0567a23ad2f2ff64902c434 Mon Sep 17 00:00:00 2001 From: Aladdin-Wang <17630350805@163.com> Date: Mon, 23 Mar 2020 14:08:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=BB=BAsample=5Ftouchgfx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applications/main.c | 207 --------------- .../board/CubeMX_Config/SConscript | 1 + .../board/CubeMX_Config/Src/sample_touchgfx.c | 211 +++++++++++++++ .../stm32f767-fire-challenger/project.uvoptx | 247 ++++++++---------- .../stm32f767-fire-challenger/project.uvprojx | 5 + 5 files changed, 328 insertions(+), 343 deletions(-) create mode 100644 3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/Src/sample_touchgfx.c diff --git a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/applications/main.c b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/applications/main.c index a3259c9..9ed6529 100644 --- a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/applications/main.c +++ b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/applications/main.c @@ -11,24 +11,9 @@ #include #include #include -#include "app_touchgfx.h" - -CRC_HandleTypeDef hcrc; - -DMA2D_HandleTypeDef hdma2d; - -LTDC_HandleTypeDef hltdc; - -static void MX_CRC_Init(void); -static void MX_DMA2D_Init(void); -static void MX_LTDC_Init(void); - /* defined the LED0 pin: PH10 */ #define LED0_PIN GET_PIN(H, 10) -#define DISP_Pin GET_PIN(D, 4) -#define CTDL_BL_Pin GET_PIN(D, 7) -#define WIFI_Pin GET_PIN(G, 9) int main(void) { @@ -46,195 +31,3 @@ int main(void) return RT_EOK; } -void touchgfx_thread_entry(void *parameter) -{ - MX_CRC_Init(); - MX_DMA2D_Init(); - MX_LTDC_Init(); - MX_TouchGFX_Init(); - MX_TouchGFX_Process(); - for(;;) - { - rt_thread_mdelay(100); - } -} -int TouchGFXTask(void) -{ - rt_thread_t tid = NULL; - tid = rt_thread_create("TouchGFX", - touchgfx_thread_entry, RT_NULL, - 4096, 20, 20); - - if (tid != RT_NULL) - rt_thread_startup(tid); - else - return -1; - - return RT_EOK; -} -INIT_APP_EXPORT(TouchGFXTask); -/** - * @brief This function handles LTDC global interrupt. - */ -void LTDC_IRQHandler(void) -{ - /* USER CODE BEGIN LTDC_IRQn 0 */ - - /* USER CODE END LTDC_IRQn 0 */ - HAL_LTDC_IRQHandler(&hltdc); - /* USER CODE BEGIN LTDC_IRQn 1 */ - - /* USER CODE END LTDC_IRQn 1 */ -} - -/** - * @brief This function handles DMA2D global interrupt. - */ -void DMA2D_IRQHandler(void) -{ - /* USER CODE BEGIN DMA2D_IRQn 0 */ - - /* USER CODE END DMA2D_IRQn 0 */ - HAL_DMA2D_IRQHandler(&hdma2d); - /* USER CODE BEGIN DMA2D_IRQn 1 */ - - /* USER CODE END DMA2D_IRQn 1 */ -} -/** - * @brief CRC Initialization Function - * @param None - * @retval None - */ -static void MX_CRC_Init(void) -{ - - /* USER CODE BEGIN CRC_Init 0 */ - - /* USER CODE END CRC_Init 0 */ - - /* USER CODE BEGIN CRC_Init 1 */ - - /* USER CODE END CRC_Init 1 */ - hcrc.Instance = CRC; - hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE; - hcrc.Init.DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE; - hcrc.Init.InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE; - hcrc.Init.OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE; - hcrc.InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES; - if (HAL_CRC_Init(&hcrc) != HAL_OK) - { - Error_Handler(); - } - /* USER CODE BEGIN CRC_Init 2 */ - - /* USER CODE END CRC_Init 2 */ - -} - -/** - * @brief DMA2D Initialization Function - * @param None - * @retval None - */ -static void MX_DMA2D_Init(void) -{ - - /* USER CODE BEGIN DMA2D_Init 0 */ - - /* USER CODE END DMA2D_Init 0 */ - - /* USER CODE BEGIN DMA2D_Init 1 */ - - /* USER CODE END DMA2D_Init 1 */ - hdma2d.Instance = DMA2D; - hdma2d.Init.Mode = DMA2D_M2M; - hdma2d.Init.ColorMode = DMA2D_OUTPUT_RGB565; - hdma2d.Init.OutputOffset = 0; - hdma2d.LayerCfg[1].InputOffset = 0; - hdma2d.LayerCfg[1].InputColorMode = DMA2D_INPUT_RGB565; - hdma2d.LayerCfg[1].AlphaMode = DMA2D_NO_MODIF_ALPHA; - hdma2d.LayerCfg[1].InputAlpha = 0; - hdma2d.LayerCfg[1].AlphaInverted = DMA2D_REGULAR_ALPHA; - hdma2d.LayerCfg[1].RedBlueSwap = DMA2D_RB_REGULAR; - if (HAL_DMA2D_Init(&hdma2d) != HAL_OK) - { - Error_Handler(); - } - if (HAL_DMA2D_ConfigLayer(&hdma2d, 1) != HAL_OK) - { - Error_Handler(); - } - /* USER CODE BEGIN DMA2D_Init 2 */ - - /* USER CODE END DMA2D_Init 2 */ - -} - - - -/** - * @brief LTDC Initialization Function - * @param None - * @retval None - */ -static void MX_LTDC_Init(void) -{ - - /* USER CODE BEGIN LTDC_Init 0 */ - - /* USER CODE END LTDC_Init 0 */ - - LTDC_LayerCfgTypeDef pLayerCfg = {0}; - - /* USER CODE BEGIN LTDC_Init 1 */ - - /* USER CODE END LTDC_Init 1 */ - hltdc.Instance = LTDC; - hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AL; - hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AL; - hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL; - hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IPC; - hltdc.Init.HorizontalSync = 0; - hltdc.Init.VerticalSync = 0; - hltdc.Init.AccumulatedHBP = 46; - hltdc.Init.AccumulatedVBP = 23; - hltdc.Init.AccumulatedActiveW = 846; - hltdc.Init.AccumulatedActiveH = 503; - hltdc.Init.TotalWidth = 866; - hltdc.Init.TotalHeigh = 525; - hltdc.Init.Backcolor.Blue = 0; - hltdc.Init.Backcolor.Green = 0; - hltdc.Init.Backcolor.Red = 0; - if (HAL_LTDC_Init(&hltdc) != HAL_OK) - { - Error_Handler(); - } - pLayerCfg.WindowX0 = 0; - pLayerCfg.WindowX1 = 800; - pLayerCfg.WindowY0 = 0; - pLayerCfg.WindowY1 = 480; - pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565; - pLayerCfg.Alpha = 255; - pLayerCfg.Alpha0 = 0; - pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_CA; - pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_CA; - pLayerCfg.FBStartAdress = 0; - pLayerCfg.ImageWidth = 800; - pLayerCfg.ImageHeight = 480; - pLayerCfg.Backcolor.Blue = 0; - pLayerCfg.Backcolor.Green = 0; - pLayerCfg.Backcolor.Red = 0; - if (HAL_LTDC_ConfigLayer(&hltdc, &pLayerCfg, 0) != HAL_OK) - { - Error_Handler(); - } - /* USER CODE BEGIN LTDC_Init 2 */ - rt_pin_mode(DISP_Pin, PIN_MODE_OUTPUT); - rt_pin_mode(CTDL_BL_Pin, PIN_MODE_OUTPUT); - rt_pin_mode(WIFI_Pin, PIN_MODE_OUTPUT); - rt_pin_write(DISP_Pin, 1); - rt_pin_write(CTDL_BL_Pin, 1); - rt_pin_write(WIFI_Pin, 0); - /* USER CODE END LTDC_Init 2 */ - -} diff --git a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/SConscript b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/SConscript index cbc60d0..4cfc6d7 100644 --- a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/SConscript +++ b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/SConscript @@ -6,6 +6,7 @@ cwd = GetCurrentDir() # add general drivers src = Split(''' +Src/sample_touchgfx.c Src/OSWrappers_RTT.cpp Src/STM32DMA.cpp Src/STM32TouchController.cpp diff --git a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/Src/sample_touchgfx.c b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/Src/sample_touchgfx.c new file mode 100644 index 0000000..39b3b2a --- /dev/null +++ b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/board/CubeMX_Config/Src/sample_touchgfx.c @@ -0,0 +1,211 @@ +#include +#include +#include +#include "app_touchgfx.h" + +CRC_HandleTypeDef hcrc; + +DMA2D_HandleTypeDef hdma2d; + +LTDC_HandleTypeDef hltdc; + +static void MX_CRC_Init(void); +static void MX_DMA2D_Init(void); +static void MX_LTDC_Init(void); + +#define DISP_Pin GET_PIN(D, 4) +#define CTDL_BL_Pin GET_PIN(D, 7) +#define WIFI_Pin GET_PIN(G, 9) + +/** + * @brief This function handles LTDC global interrupt. + */ +void LTDC_IRQHandler(void) +{ + /* USER CODE BEGIN LTDC_IRQn 0 */ + + /* USER CODE END LTDC_IRQn 0 */ + HAL_LTDC_IRQHandler(&hltdc); + /* USER CODE BEGIN LTDC_IRQn 1 */ + + /* USER CODE END LTDC_IRQn 1 */ +} + +/** + * @brief This function handles DMA2D global interrupt. + */ +void DMA2D_IRQHandler(void) +{ + /* USER CODE BEGIN DMA2D_IRQn 0 */ + + /* USER CODE END DMA2D_IRQn 0 */ + HAL_DMA2D_IRQHandler(&hdma2d); + /* USER CODE BEGIN DMA2D_IRQn 1 */ + + /* USER CODE END DMA2D_IRQn 1 */ +} +/** + * @brief CRC Initialization Function + * @param None + * @retval None + */ +static void MX_CRC_Init(void) +{ + + /* USER CODE BEGIN CRC_Init 0 */ + + /* USER CODE END CRC_Init 0 */ + + /* USER CODE BEGIN CRC_Init 1 */ + + /* USER CODE END CRC_Init 1 */ + hcrc.Instance = CRC; + hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_ENABLE; + hcrc.Init.DefaultInitValueUse = DEFAULT_INIT_VALUE_ENABLE; + hcrc.Init.InputDataInversionMode = CRC_INPUTDATA_INVERSION_NONE; + hcrc.Init.OutputDataInversionMode = CRC_OUTPUTDATA_INVERSION_DISABLE; + hcrc.InputDataFormat = CRC_INPUTDATA_FORMAT_BYTES; + if (HAL_CRC_Init(&hcrc) != HAL_OK) + { + Error_Handler(); + } + /* USER CODE BEGIN CRC_Init 2 */ + + /* USER CODE END CRC_Init 2 */ + +} + +/** + * @brief DMA2D Initialization Function + * @param None + * @retval None + */ +static void MX_DMA2D_Init(void) +{ + + /* USER CODE BEGIN DMA2D_Init 0 */ + + /* USER CODE END DMA2D_Init 0 */ + + /* USER CODE BEGIN DMA2D_Init 1 */ + + /* USER CODE END DMA2D_Init 1 */ + hdma2d.Instance = DMA2D; + hdma2d.Init.Mode = DMA2D_M2M; + hdma2d.Init.ColorMode = DMA2D_OUTPUT_RGB565; + hdma2d.Init.OutputOffset = 0; + hdma2d.LayerCfg[1].InputOffset = 0; + hdma2d.LayerCfg[1].InputColorMode = DMA2D_INPUT_RGB565; + hdma2d.LayerCfg[1].AlphaMode = DMA2D_NO_MODIF_ALPHA; + hdma2d.LayerCfg[1].InputAlpha = 0; + hdma2d.LayerCfg[1].AlphaInverted = DMA2D_REGULAR_ALPHA; + hdma2d.LayerCfg[1].RedBlueSwap = DMA2D_RB_REGULAR; + if (HAL_DMA2D_Init(&hdma2d) != HAL_OK) + { + Error_Handler(); + } + if (HAL_DMA2D_ConfigLayer(&hdma2d, 1) != HAL_OK) + { + Error_Handler(); + } + /* USER CODE BEGIN DMA2D_Init 2 */ + + /* USER CODE END DMA2D_Init 2 */ + +} + + + +/** + * @brief LTDC Initialization Function + * @param None + * @retval None + */ +static void MX_LTDC_Init(void) +{ + + /* USER CODE BEGIN LTDC_Init 0 */ + + /* USER CODE END LTDC_Init 0 */ + + LTDC_LayerCfgTypeDef pLayerCfg = {0}; + + /* USER CODE BEGIN LTDC_Init 1 */ + + /* USER CODE END LTDC_Init 1 */ + hltdc.Instance = LTDC; + hltdc.Init.HSPolarity = LTDC_HSPOLARITY_AL; + hltdc.Init.VSPolarity = LTDC_VSPOLARITY_AL; + hltdc.Init.DEPolarity = LTDC_DEPOLARITY_AL; + hltdc.Init.PCPolarity = LTDC_PCPOLARITY_IPC; + hltdc.Init.HorizontalSync = 0; + hltdc.Init.VerticalSync = 0; + hltdc.Init.AccumulatedHBP = 46; + hltdc.Init.AccumulatedVBP = 23; + hltdc.Init.AccumulatedActiveW = 846; + hltdc.Init.AccumulatedActiveH = 503; + hltdc.Init.TotalWidth = 866; + hltdc.Init.TotalHeigh = 525; + hltdc.Init.Backcolor.Blue = 0; + hltdc.Init.Backcolor.Green = 0; + hltdc.Init.Backcolor.Red = 0; + if (HAL_LTDC_Init(&hltdc) != HAL_OK) + { + Error_Handler(); + } + pLayerCfg.WindowX0 = 0; + pLayerCfg.WindowX1 = 800; + pLayerCfg.WindowY0 = 0; + pLayerCfg.WindowY1 = 480; + pLayerCfg.PixelFormat = LTDC_PIXEL_FORMAT_RGB565; + pLayerCfg.Alpha = 255; + pLayerCfg.Alpha0 = 0; + pLayerCfg.BlendingFactor1 = LTDC_BLENDING_FACTOR1_CA; + pLayerCfg.BlendingFactor2 = LTDC_BLENDING_FACTOR2_CA; + pLayerCfg.FBStartAdress = 0; + pLayerCfg.ImageWidth = 800; + pLayerCfg.ImageHeight = 480; + pLayerCfg.Backcolor.Blue = 0; + pLayerCfg.Backcolor.Green = 0; + pLayerCfg.Backcolor.Red = 0; + if (HAL_LTDC_ConfigLayer(&hltdc, &pLayerCfg, 0) != HAL_OK) + { + Error_Handler(); + } + /* USER CODE BEGIN LTDC_Init 2 */ + rt_pin_mode(DISP_Pin, PIN_MODE_OUTPUT); + rt_pin_mode(CTDL_BL_Pin, PIN_MODE_OUTPUT); + rt_pin_mode(WIFI_Pin, PIN_MODE_OUTPUT); + rt_pin_write(DISP_Pin, 1); + rt_pin_write(CTDL_BL_Pin, 1); + rt_pin_write(WIFI_Pin, 0); + /* USER CODE END LTDC_Init 2 */ + +} +void touchgfx_thread_entry(void *parameter) +{ + MX_CRC_Init(); + MX_DMA2D_Init(); + MX_LTDC_Init(); + MX_TouchGFX_Init(); + MX_TouchGFX_Process(); + for(;;) + { + rt_thread_mdelay(100); + } +} +int TouchGFXTask(void) +{ + rt_thread_t tid = NULL; + tid = rt_thread_create("TouchGFX", + touchgfx_thread_entry, RT_NULL, + 4096, 20, 20); + + if (tid != RT_NULL) + rt_thread_startup(tid); + else + return -1; + + return RT_EOK; +} +INIT_APP_EXPORT(TouchGFXTask); diff --git a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvoptx b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvoptx index fcc87dc..e7787a1 100644 --- a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvoptx +++ b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvoptx @@ -117,26 +117,6 @@ STLink\ST-LINKIII-KEIL_SWO.dll - - 0 - ARMRTXEVENTFLAGS - -L70 -Z18 -C0 -M0 -T1 - - - 0 - DLGTARM - (1010=-1,-1,-1,-1,0)(6017=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(6016=-1,-1,-1,-1,0)(1012=-1,-1,-1,-1,0) - - - 0 - ARMDBGFLAGS - - - - 0 - DLGUARM - (105=-1,-1,-1,-1,0) - 0 ST-LINKIII-KEIL_SWO @@ -153,36 +133,19 @@ UL2CM3(-S0 -C0 -P0 ) -FN2 -FC1000 -FD20020000 -FF0STM32F7x_1024 -FF1STM32F7x_1024dual -FL0100000 -FL1100000 -FS08000000 -FS18000000 -FP0($$Device:STM32F767IGTx$CMSIS\Flash\STM32F7x_1024.FLM) -FP1($$Device:STM32F767IGTx$CMSIS\Flash\STM32F7x_1024dual.FLM) - - - 0 - 0 - 810 - 1 -
0
- 0 - 0 - 0 - 0 - 0 - 0 - board\ports\gt9xx.c - - -
-
+ 0 0 0 - 1 + 0 0 0 0 0 - 1 + 0 0 0 0 @@ -421,7 +384,7 @@ Drivers - 1 + 0 0 0 0 @@ -568,6 +531,18 @@ 4 27 + 1 + 0 + 0 + 0 + board\CubeMX_Config\Src\sample_touchgfx.c + sample_touchgfx.c + 0 + 0 + + + 4 + 28 8 0 0 @@ -579,7 +554,7 @@ 4 - 28 + 29 8 0 0 @@ -591,7 +566,7 @@ 4 - 29 + 30 8 0 0 @@ -603,7 +578,7 @@ 4 - 30 + 31 8 0 0 @@ -615,7 +590,7 @@ 4 - 31 + 32 8 0 0 @@ -627,7 +602,7 @@ 4 - 32 + 33 8 0 0 @@ -639,7 +614,7 @@ 4 - 33 + 34 8 0 0 @@ -651,7 +626,7 @@ 4 - 34 + 35 1 0 0 @@ -663,7 +638,7 @@ 4 - 35 + 36 4 0 0 @@ -683,7 +658,7 @@ 0 5 - 36 + 37 8 0 0 @@ -695,7 +670,7 @@ 5 - 37 + 38 8 0 0 @@ -707,7 +682,7 @@ 5 - 38 + 39 8 0 0 @@ -719,7 +694,7 @@ 5 - 39 + 40 8 0 0 @@ -731,7 +706,7 @@ 5 - 40 + 41 8 0 0 @@ -743,7 +718,7 @@ 5 - 41 + 42 8 0 0 @@ -755,7 +730,7 @@ 5 - 42 + 43 8 0 0 @@ -767,7 +742,7 @@ 5 - 43 + 44 8 0 0 @@ -779,7 +754,7 @@ 5 - 44 + 45 8 0 0 @@ -791,7 +766,7 @@ 5 - 45 + 46 8 0 0 @@ -803,7 +778,7 @@ 5 - 46 + 47 8 0 0 @@ -815,7 +790,7 @@ 5 - 47 + 48 8 0 0 @@ -827,7 +802,7 @@ 5 - 48 + 49 8 0 0 @@ -839,7 +814,7 @@ 5 - 49 + 50 8 0 0 @@ -851,7 +826,7 @@ 5 - 50 + 51 8 0 0 @@ -863,7 +838,7 @@ 5 - 51 + 52 8 0 0 @@ -875,7 +850,7 @@ 5 - 52 + 53 8 0 0 @@ -887,7 +862,7 @@ 5 - 53 + 54 8 0 0 @@ -899,7 +874,7 @@ 5 - 54 + 55 8 0 0 @@ -911,7 +886,7 @@ 5 - 55 + 56 8 0 0 @@ -923,7 +898,7 @@ 5 - 56 + 57 8 0 0 @@ -935,7 +910,7 @@ 5 - 57 + 58 8 0 0 @@ -955,7 +930,7 @@ 0 6 - 58 + 59 8 0 0 @@ -967,7 +942,7 @@ 6 - 59 + 60 8 0 0 @@ -979,7 +954,7 @@ 6 - 60 + 61 8 0 0 @@ -991,7 +966,7 @@ 6 - 61 + 62 8 0 0 @@ -1003,7 +978,7 @@ 6 - 62 + 63 8 0 0 @@ -1015,7 +990,7 @@ 6 - 63 + 64 8 0 0 @@ -1035,7 +1010,7 @@ 0 7 - 64 + 65 1 0 0 @@ -1047,7 +1022,7 @@ 7 - 65 + 66 1 0 0 @@ -1059,7 +1034,7 @@ 7 - 66 + 67 1 0 0 @@ -1071,7 +1046,7 @@ 7 - 67 + 68 1 0 0 @@ -1083,7 +1058,7 @@ 7 - 68 + 69 1 0 0 @@ -1095,7 +1070,7 @@ 7 - 69 + 70 2 0 0 @@ -1115,7 +1090,7 @@ 0 8 - 70 + 71 1 0 0 @@ -1127,7 +1102,7 @@ 8 - 71 + 72 1 0 0 @@ -1139,7 +1114,7 @@ 8 - 72 + 73 1 0 0 @@ -1151,7 +1126,7 @@ 8 - 73 + 74 1 0 0 @@ -1163,7 +1138,7 @@ 8 - 74 + 75 1 0 0 @@ -1175,7 +1150,7 @@ 8 - 75 + 76 1 0 0 @@ -1187,7 +1162,7 @@ 8 - 76 + 77 1 0 0 @@ -1199,7 +1174,7 @@ 8 - 77 + 78 1 0 0 @@ -1211,7 +1186,7 @@ 8 - 78 + 79 1 0 0 @@ -1223,7 +1198,7 @@ 8 - 79 + 80 1 0 0 @@ -1235,7 +1210,7 @@ 8 - 80 + 81 1 0 0 @@ -1247,7 +1222,7 @@ 8 - 81 + 82 1 0 0 @@ -1259,7 +1234,7 @@ 8 - 82 + 83 1 0 0 @@ -1271,7 +1246,7 @@ 8 - 83 + 84 1 0 0 @@ -1291,7 +1266,7 @@ 0 9 - 84 + 85 1 0 0 @@ -1311,7 +1286,7 @@ 0 10 - 85 + 86 1 0 0 @@ -1323,7 +1298,7 @@ 10 - 86 + 87 1 0 0 @@ -1335,7 +1310,7 @@ 10 - 87 + 88 1 0 0 @@ -1355,7 +1330,7 @@ 0 11 - 88 + 89 1 0 0 @@ -1375,7 +1350,7 @@ 0 12 - 89 + 90 1 0 0 @@ -1387,7 +1362,7 @@ 12 - 90 + 91 1 0 0 @@ -1407,7 +1382,7 @@ 0 13 - 91 + 92 1 0 0 @@ -1419,7 +1394,7 @@ 13 - 92 + 93 1 0 0 @@ -1431,7 +1406,7 @@ 13 - 93 + 94 1 0 0 @@ -1443,7 +1418,7 @@ 13 - 94 + 95 1 0 0 @@ -1455,7 +1430,7 @@ 13 - 95 + 96 1 0 0 @@ -1467,7 +1442,7 @@ 13 - 96 + 97 1 0 0 @@ -1479,7 +1454,7 @@ 13 - 97 + 98 1 0 0 @@ -1491,7 +1466,7 @@ 13 - 98 + 99 1 0 0 @@ -1503,7 +1478,7 @@ 13 - 99 + 100 1 0 0 @@ -1515,7 +1490,7 @@ 13 - 100 + 101 1 0 0 @@ -1527,7 +1502,7 @@ 13 - 101 + 102 1 0 0 @@ -1539,7 +1514,7 @@ 13 - 102 + 103 1 0 0 @@ -1551,7 +1526,7 @@ 13 - 103 + 104 1 0 0 @@ -1563,7 +1538,7 @@ 13 - 104 + 105 1 0 0 @@ -1575,7 +1550,7 @@ 13 - 105 + 106 1 0 0 @@ -1587,7 +1562,7 @@ 13 - 106 + 107 1 0 0 @@ -1599,7 +1574,7 @@ 13 - 107 + 108 1 0 0 @@ -1611,7 +1586,7 @@ 13 - 108 + 109 1 0 0 @@ -1623,7 +1598,7 @@ 13 - 109 + 110 1 0 0 @@ -1635,7 +1610,7 @@ 13 - 110 + 111 1 0 0 @@ -1647,7 +1622,7 @@ 13 - 111 + 112 1 0 0 @@ -1659,7 +1634,7 @@ 13 - 112 + 113 1 0 0 @@ -1671,7 +1646,7 @@ 13 - 113 + 114 1 0 0 @@ -1683,7 +1658,7 @@ 13 - 114 + 115 1 0 0 @@ -1695,7 +1670,7 @@ 13 - 115 + 116 1 0 0 @@ -1707,7 +1682,7 @@ 13 - 116 + 117 1 0 0 @@ -1719,7 +1694,7 @@ 13 - 117 + 118 1 0 0 @@ -1731,7 +1706,7 @@ 13 - 118 + 119 1 0 0 @@ -1743,7 +1718,7 @@ 13 - 119 + 120 1 0 0 @@ -1755,7 +1730,7 @@ 13 - 120 + 121 1 0 0 @@ -1767,7 +1742,7 @@ 13 - 121 + 122 1 0 0 @@ -1779,7 +1754,7 @@ 13 - 122 + 123 1 0 0 diff --git a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvprojx b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvprojx index a163c66..c05f54b 100644 --- a/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvprojx +++ b/3_STM32F767_RTThread_TouchGFX/3_rtthread_TouchGFX_transplant/stm32f767-fire-challenger/project.uvprojx @@ -527,6 +527,11 @@ TouchGFX_app + + sample_touchgfx.c + 1 + board\CubeMX_Config\Src\sample_touchgfx.c + OSWrappers_RTT.cpp 8