Use TouchGFX
This commit is contained in:
		@ -21,14 +21,16 @@
 | 
			
		||||
/* Includes ------------------------------------------------------------------*/
 | 
			
		||||
 | 
			
		||||
#include "app_azure_rtos.h"
 | 
			
		||||
#include "graphics.h"
 | 
			
		||||
#include "main.h"
 | 
			
		||||
#include "app_touchgfx.h"
 | 
			
		||||
#include "stm32h7xx.h"
 | 
			
		||||
#include "tx_api.h"
 | 
			
		||||
 | 
			
		||||
/* Private includes ----------------------------------------------------------*/
 | 
			
		||||
/* USER CODE BEGIN Includes */
 | 
			
		||||
#include "app.h"
 | 
			
		||||
#include "graphics.h"
 | 
			
		||||
#include "main.h"
 | 
			
		||||
#include "tx_api.h"
 | 
			
		||||
 | 
			
		||||
/* USER CODE END Includes */
 | 
			
		||||
 | 
			
		||||
/* Private typedef -----------------------------------------------------------*/
 | 
			
		||||
@ -164,6 +166,12 @@ VOID tx_application_define(VOID *first_unused_memory) {
 | 
			
		||||
                       TX_AUTO_START) != TX_SUCCESS) {
 | 
			
		||||
    Error_Handler();
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  if (MX_TouchGFX_Init(mem) != TX_SUCCESS) {
 | 
			
		||||
    Error_Handler();
 | 
			
		||||
  }
 | 
			
		||||
  // TODO: Use TOUCHGFX_BYTE_POOL_SIZE? This is only defined in app_touchgfx.c
 | 
			
		||||
  mem += 4096;
 | 
			
		||||
  /* USER CODE END DYNAMIC_MEM_ALLOC */
 | 
			
		||||
#endif
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user