Migrate to TouchGFX 4.22.0
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
******************************************************************************
|
||||
* File Name : OSWrappers.cpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
@ -242,4 +242,3 @@ void OSWrappers::taskYield()
|
||||
}
|
||||
|
||||
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
||||
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
******************************************************************************
|
||||
* File Name : STM32DMA.cpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
@ -23,7 +23,6 @@
|
||||
#include <cassert>
|
||||
#include <touchgfx/Color.hpp>
|
||||
#include <touchgfx/hal/HAL.hpp>
|
||||
#include <touchgfx/hal/OSWrappers.hpp>
|
||||
#include <touchgfx/lcd/LCD.hpp>
|
||||
|
||||
/* Makes touchgfx specific types and variables visible to this file */
|
||||
@ -269,7 +268,7 @@ void STM32DMA::setupDataCopy(const BlitOp& blitOp)
|
||||
MODIFY_REG(DMA2D->FGPFCCR, (DMA2D_FGPFCCR_CS | DMA2D_FGPFCCR_CCM), (((palette->size - 1) << DMA2D_FGPFCCR_CS_Pos) | (DMA2D_CCM_ARGB8888 << DMA2D_FGPFCCR_CCM_Pos)));
|
||||
break;
|
||||
case Bitmap::CLUT_FORMAT_L8_RGB888:
|
||||
if(blitOp.alpha == 255)
|
||||
if (blitOp.alpha == 255)
|
||||
{
|
||||
blend = false;
|
||||
}
|
||||
@ -291,7 +290,7 @@ void STM32DMA::setupDataCopy(const BlitOp& blitOp)
|
||||
DMA2D->IFCR = (DMA2D_FLAG_CTC);
|
||||
|
||||
/* Set DMA2D mode */
|
||||
if(blend)
|
||||
if (blend)
|
||||
{
|
||||
WRITE_REG(DMA2D->CR, DMA2D_M2M_BLEND | DMA2D_IT_TC | DMA2D_CR_START);
|
||||
}
|
||||
@ -407,7 +406,7 @@ const clutData_t* L8CLUT = 0;
|
||||
uint32_t L8ClutLoaded = 0;
|
||||
} // namespace
|
||||
|
||||
void setL8Pallette(const uint8_t* const data)
|
||||
void setL8Palette(const uint8_t* const data)
|
||||
{
|
||||
L8CLUT = reinterpret_cast<const clutData_t*>(data - offsetof(clutData_t, data));
|
||||
L8ClutLoaded = 0;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
******************************************************************************
|
||||
* File Name : STM32DMA.hpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
******************************************************************************
|
||||
* File Name : TouchGFXConfiguration.cpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
******************************************************************************
|
||||
* File Name : TouchGFXGeneratedHAL.cpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
@ -28,9 +28,8 @@ using namespace touchgfx;
|
||||
|
||||
namespace
|
||||
{
|
||||
static volatile bool refreshRequested = false;
|
||||
static uint16_t lcd_int_active_line;
|
||||
static uint16_t lcd_int_porch_line;
|
||||
static uint16_t lcd_int_active_line;
|
||||
static uint16_t lcd_int_porch_line;
|
||||
}
|
||||
|
||||
void TouchGFXGeneratedHAL::initialize()
|
||||
@ -76,10 +75,6 @@ bool TouchGFXGeneratedHAL::beginFrame()
|
||||
|
||||
void TouchGFXGeneratedHAL::endFrame()
|
||||
{
|
||||
if (frameBufferUpdatedThisFrame)
|
||||
{
|
||||
refreshRequested = true;
|
||||
}
|
||||
HAL::endFrame();
|
||||
}
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
******************************************************************************
|
||||
* File Name : TouchGFXGeneratedHAL.hpp
|
||||
******************************************************************************
|
||||
* This file is generated by TouchGFX Generator 4.21.2. Please, do not edit!
|
||||
* This file is generated by TouchGFX Generator 4.22.0. Please, do not edit!
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user