Skip to content

Commit e1c6ddf

Browse files
committed
core(C0): add wrapped files
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 8ae25ad commit e1c6ddf

File tree

70 files changed

+212
-70
lines changed

Some content is hidden

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

70 files changed

+212
-70
lines changed

cores/arduino/stm32/LL/stm32yyxx_ll_adc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_adc.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_adc.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_adc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_bus.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_bus.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_bus.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_bus.h"

cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_cortex.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_cortex.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_cortex.h"

cores/arduino/stm32/LL/stm32yyxx_ll_crc.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_crc.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_crc.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_crc.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dma.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_dma.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_dma.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_dma.h"

cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32G0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_dmamux.h"
10+
#elif STM32G0xx
911
#include "stm32g0xx_ll_dmamux.h"
1012
#elif STM32G4xx
1113
#include "stm32g4xx_ll_dmamux.h"

cores/arduino/stm32/LL/stm32yyxx_ll_exti.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_exti.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_exti.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_exti.h"

cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_gpio.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_gpio.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_gpio.h"

cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_i2c.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_i2c.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_i2c.h"

cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8-
#ifdef STM32F0xx
8+
#ifdef STM32C0xx
9+
#include "stm32c0xx_ll_iwdg.h"
10+
#elif STM32F0xx
911
#include "stm32f0xx_ll_iwdg.h"
1012
#elif STM32F1xx
1113
#include "stm32f1xx_ll_iwdg.h"

0 commit comments

Comments
 (0)