From a998efad6cb270b921171cc4141f6c0aba58d6da Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Foucher?= <cfoucher@laas.fr>
Date: Mon, 28 Mar 2022 15:23:37 +0200
Subject: [PATCH] Update headers includes.

---
 zephyr/modules/owntech_adc_driver/zephyr/public_api/adc.c       | 2 +-
 zephyr/modules/owntech_adc_driver/zephyr/src/adc_core.c         | 2 +-
 zephyr/modules/owntech_data_acquisition/zephyr/dma/dma.c        | 2 +-
 .../zephyr/src/adc_configuration.cpp                            | 2 +-
 .../zephyr/src/uart_configuration.cpp                           | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/zephyr/modules/owntech_adc_driver/zephyr/public_api/adc.c b/zephyr/modules/owntech_adc_driver/zephyr/public_api/adc.c
index f100abd..2a82441 100644
--- a/zephyr/modules/owntech_adc_driver/zephyr/public_api/adc.c
+++ b/zephyr/modules/owntech_adc_driver/zephyr/public_api/adc.c
@@ -25,7 +25,7 @@
 
 
 // STM32 LL
-#include <stm32g4xx_ll_adc.h>
+#include <stm32_ll_adc.h>
 
 // OwnTech API
 #include "../src/adc_channels.h"
diff --git a/zephyr/modules/owntech_adc_driver/zephyr/src/adc_core.c b/zephyr/modules/owntech_adc_driver/zephyr/src/adc_core.c
index 2294820..ee1d03e 100644
--- a/zephyr/modules/owntech_adc_driver/zephyr/src/adc_core.c
+++ b/zephyr/modules/owntech_adc_driver/zephyr/src/adc_core.c
@@ -29,7 +29,7 @@
 #include <zephyr.h>
 
 // STM32 LL
-#include <stm32g4xx_ll_bus.h>
+#include <stm32_ll_bus.h>
 
 // Owntech API
 #include "adc_helper.h"
diff --git a/zephyr/modules/owntech_data_acquisition/zephyr/dma/dma.c b/zephyr/modules/owntech_data_acquisition/zephyr/dma/dma.c
index 6a446c9..20538a6 100644
--- a/zephyr/modules/owntech_data_acquisition/zephyr/dma/dma.c
+++ b/zephyr/modules/owntech_data_acquisition/zephyr/dma/dma.c
@@ -41,7 +41,7 @@
 #include <drivers/dma.h>
 
 // STM32
-#include <stm32g4xx_ll_dma.h>
+#include <stm32_ll_dma.h>
 
 // OwnTech API
 #include "adc.h"
diff --git a/zephyr/modules/owntech_hardware_configuration/zephyr/src/adc_configuration.cpp b/zephyr/modules/owntech_hardware_configuration/zephyr/src/adc_configuration.cpp
index 7187b8d..265afa2 100644
--- a/zephyr/modules/owntech_hardware_configuration/zephyr/src/adc_configuration.cpp
+++ b/zephyr/modules/owntech_hardware_configuration/zephyr/src/adc_configuration.cpp
@@ -24,7 +24,7 @@
 
 
 // STM32 LL
-#include <stm32g4xx_ll_adc.h>
+#include <stm32_ll_adc.h>
 
 // OwnTech Power API
 #include "adc.h"
diff --git a/zephyr/modules/owntech_hardware_configuration/zephyr/src/uart_configuration.cpp b/zephyr/modules/owntech_hardware_configuration/zephyr/src/uart_configuration.cpp
index 291a8a7..58f5462 100644
--- a/zephyr/modules/owntech_hardware_configuration/zephyr/src/uart_configuration.cpp
+++ b/zephyr/modules/owntech_hardware_configuration/zephyr/src/uart_configuration.cpp
@@ -25,7 +25,7 @@
 
 
 // STM 32 LL
-#include <stm32g4xx_ll_lpuart.h>
+#include <stm32_ll_lpuart.h>
 
 // Zephyr
 #include <drivers/uart.h>
-- 
GitLab