Skip to content

Commit e9472e4

Browse files
committed
Release v1.9.1
1 parent ceaf82d commit e9472e4

File tree

18,376 files changed

+208744
-167037
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

18,376 files changed

+208744
-167037
lines changed

Drivers/BSP/STM32H735G-DK/stm32h735g_discovery_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,11 +1046,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
10461046
for(i = 0; i < Height; i++)
10471047
{
10481048
/* Get the line address */
1049-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (PixelFormatFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1050-
1051-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1052-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, PixelFormatFactor*Lcd_Ctx[Instance].XSize);
1053-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1049+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (PixelFormatFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
10541050

10551051
/* Write line */
10561052
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H743I-EVAL/stm32h743i_eval_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,11 +1143,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
11431143
for(i = 0; i < Height; i++)
11441144
{
11451145
/* Get the line address */
1146-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (PixelFormatFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1147-
1148-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1149-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, PixelFormatFactor*Lcd_Ctx[Instance].XSize);
1150-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1146+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (PixelFormatFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
11511147

11521148
/* Write line */
11531149
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H745I-DISCO/stm32h745i_discovery_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,11 +1069,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
10691069
for(i = 0; i < Height; i++)
10701070
{
10711071
/* Get the line address */
1072-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1073-
1074-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1075-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1076-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1072+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
10771073

10781074
/* Write line */
10791075
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H747I-DISCO/stm32h747i_discovery_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,11 +1524,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
15241524
for(i = 0; i < Height; i++)
15251525
{
15261526
/* Get the line address */
1527-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1528-
1529-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1530-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1531-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1527+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
15321528

15331529
/* Write line */
15341530
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H747I-EVAL/stm32h747i_eval_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1465,11 +1465,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
14651465
for(i = 0; i < Height; i++)
14661466
{
14671467
/* Get the line address */
1468-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1469-
1470-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1471-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1472-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1468+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
14731469

14741470
/* Write line */
14751471
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H750B-DK/stm32h750b_discovery_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,11 +1069,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
10691069
for(i = 0; i < Height; i++)
10701070
{
10711071
/* Get the line address */
1072-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1073-
1074-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1075-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1076-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1072+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
10771073

10781074
/* Write line */
10791075
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H7B3I-DK/stm32h7b3i_discovery_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,11 +1066,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
10661066
for(i = 0; i < Height; i++)
10671067
{
10681068
/* Get the line address */
1069-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1070-
1071-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1072-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1073-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1069+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
10741070

10751071
/* Write line */
10761072
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

Drivers/BSP/STM32H7B3I-EVAL/stm32h7b3i_eval_lcd.c

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,11 +1087,7 @@ int32_t BSP_LCD_FillRGBRect(uint32_t Instance, uint32_t Xpos, uint32_t Ypos, uin
10871087
for(i = 0; i < Height; i++)
10881088
{
10891089
/* Get the line address */
1090-
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*((Lcd_Ctx[Instance].XSize*(Ypos + i)) + Xpos));
1091-
1092-
#if (USE_BSP_CPU_CACHE_MAINTENANCE == 1)
1093-
SCB_CleanDCache_by_Addr((uint32_t *)pdata, Lcd_Ctx[Instance].BppFactor*Lcd_Ctx[Instance].XSize);
1094-
#endif /* USE_BSP_CPU_CACHE_MAINTENANCE */
1090+
Xaddress = hlcd_ltdc.LayerCfg[Lcd_Ctx[Instance].ActiveLayer].FBStartAdress + (Lcd_Ctx[Instance].BppFactor*(((Lcd_Ctx[Instance].XSize + i)*Ypos) + Xpos));
10951091

10961092
/* Write line */
10971093
if(Lcd_Ctx[Instance].PixelFormat == LCD_PIXEL_FORMAT_RGB565)

0 commit comments

Comments
 (0)