diff --git a/boards/stm32_common/ltdc/framebuffer_ltdc.adb b/boards/stm32_common/ltdc/framebuffer_ltdc.adb index a4854ce07..b27d5540a 100644 --- a/boards/stm32_common/ltdc/framebuffer_ltdc.adb +++ b/boards/stm32_common/ltdc/framebuffer_ltdc.adb @@ -29,8 +29,6 @@ -- -- ------------------------------------------------------------------------------ -with Ada.Unchecked_Conversion; - with STM32.DMA2D.Interrupt; with STM32.DMA2D.Polling; with STM32.SDRAM; use STM32.SDRAM; diff --git a/boards/stm32_common/otm8009a/framebuffer_dsi.adb b/boards/stm32_common/otm8009a/framebuffer_dsi.adb index 54db4e48f..6abfa2fec 100644 --- a/boards/stm32_common/otm8009a/framebuffer_dsi.adb +++ b/boards/stm32_common/otm8009a/framebuffer_dsi.adb @@ -30,7 +30,6 @@ ------------------------------------------------------------------------------ with Ada.Real_Time; use Ada.Real_Time; -with Ada.Unchecked_Conversion; with Ada.Interrupts.Names; with Cortex_M.Cache; diff --git a/boards/stm32_common/stm32f429disco/framebuffer_ili9341.adb b/boards/stm32_common/stm32f429disco/framebuffer_ili9341.adb index fdd4fc31c..79f010f22 100644 --- a/boards/stm32_common/stm32f429disco/framebuffer_ili9341.adb +++ b/boards/stm32_common/stm32f429disco/framebuffer_ili9341.adb @@ -29,8 +29,6 @@ -- -- ------------------------------------------------------------------------------ -with Ada.Unchecked_Conversion; - with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.GPIO; use STM32.GPIO; diff --git a/boards/stm32_common/stm32f469disco/touch_panel_ft6x06.adb b/boards/stm32_common/stm32f469disco/touch_panel_ft6x06.adb index 1336cccaf..f3eb4c84a 100644 --- a/boards/stm32_common/stm32f469disco/touch_panel_ft6x06.adb +++ b/boards/stm32_common/stm32f469disco/touch_panel_ft6x06.adb @@ -31,8 +31,6 @@ -- Based on ft6x06.h from MCD Application Team -with Ada.Unchecked_Conversion; - with STM32.Board; use STM32.Board; with STM32.Device; use STM32.Device; with STM32.I2C; diff --git a/boards/stm32_common/stm32f746disco/touch_panel_ft5336.adb b/boards/stm32_common/stm32f746disco/touch_panel_ft5336.adb index 62ad78691..f33ca3320 100644 --- a/boards/stm32_common/stm32f746disco/touch_panel_ft5336.adb +++ b/boards/stm32_common/stm32f746disco/touch_panel_ft5336.adb @@ -31,12 +31,9 @@ -- Based on ft5336.h from MCD Application Team -with Ada.Real_Time; use Ada.Real_Time; -with Ada.Unchecked_Conversion; - -with HAL.Touch_Panel; use HAL.Touch_Panel; - -with STM32.Board; use STM32.Board; +with Ada.Real_Time; use Ada.Real_Time; +with HAL.Touch_Panel; use HAL.Touch_Panel; +with STM32.Board; use STM32.Board; with STM32.Setup; package body Touch_Panel_FT5336 is diff --git a/boards/stm32_common/stm32f769disco/touch_panel_ft6x06.adb b/boards/stm32_common/stm32f769disco/touch_panel_ft6x06.adb index 993dc5b05..5afcfac3b 100644 --- a/boards/stm32_common/stm32f769disco/touch_panel_ft6x06.adb +++ b/boards/stm32_common/stm32f769disco/touch_panel_ft6x06.adb @@ -32,8 +32,6 @@ -- Based on ft6x06.h from MCD Application Team with Ada.Real_Time; use Ada.Real_Time; -with Ada.Unchecked_Conversion; - with STM32.Board; use STM32.Board; with STM32.I2C; use STM32.I2C; with STM32.Setup;