Skip to content

Commit 09bf022

Browse files
committed
core(C0): update wrapped files
Signed-off-by: Frederic Pillon <[email protected]>
1 parent 1078b24 commit 09bf022

File tree

8 files changed

+23
-7
lines changed

8 files changed

+23
-7
lines changed

cores/arduino/stm32/stm32_def_build.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
#define CMSIS_STARTUP_FILE "startup_stm32c011xx.s"
77
#elif defined(STM32C031xx)
88
#define CMSIS_STARTUP_FILE "startup_stm32c031xx.s"
9+
#elif defined(STM32C071xx)
10+
#define CMSIS_STARTUP_FILE "startup_stm32c071xx.s"
911
#elif defined(STM32F030x6)
1012
#define CMSIS_STARTUP_FILE "startup_stm32f030x6.s"
1113
#elif defined(STM32F030x8)

libraries/SrcWrapper/inc/LL/stm32yyxx_ll_crs.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#pragma GCC diagnostic ignored "-Wregister"
99
#endif
1010

11-
#ifdef STM32F0xx
11+
#ifdef STM32C0xx
12+
#include "stm32c0xx_ll_crs.h"
13+
#elif STM32F0xx
1214
#include "stm32f0xx_ll_crs.h"
1315
#elif STM32G0xx
1416
#include "stm32g0xx_ll_crs.h"

libraries/SrcWrapper/inc/LL/stm32yyxx_ll_usb.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@
88
#pragma GCC diagnostic ignored "-Wregister"
99
#endif
1010

11-
#ifdef STM32F0xx
11+
#ifdef STM32C0xx
12+
#include "stm32c0xx_ll_usb.h"
13+
#elif STM32F0xx
1214
#include "stm32f0xx_ll_usb.h"
1315
#elif STM32F1xx
1416
#include "stm32f1xx_ll_usb.h"

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_hcd.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32F1xx
5+
#ifdef STM32C0xx
6+
#include "stm32c0xx_hal_hcd.c"
7+
#elif STM32F1xx
68
#include "stm32f1xx_hal_hcd.c"
79
#elif STM32F2xx
810
#include "stm32f2xx_hal_hcd.c"

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32F0xx
5+
#ifdef STM32C0xx
6+
#include "stm32c0xx_hal_pcd.c"
7+
#elif STM32F0xx
68
#include "stm32f0xx_hal_pcd.c"
79
#elif STM32F1xx
810
#include "stm32f1xx_hal_pcd.c"

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_pcd_ex.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32F0xx
5+
#ifdef STM32C0xx
6+
#include "stm32c0xx_hal_pcd_ex.c"
7+
#elif STM32F0xx
68
#include "stm32f0xx_hal_pcd_ex.c"
79
#elif STM32F1xx
810
#include "stm32f1xx_hal_pcd_ex.c"

libraries/SrcWrapper/src/LL/stm32yyxx_ll_crs.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32F0xx
5+
#ifdef STM32C0xx
6+
#include "stm32c0xx_ll_crs.c"
7+
#elif STM32F0xx
68
#include "stm32f0xx_ll_crs.c"
79
#elif STM32G0xx
810
#include "stm32g0xx_ll_crs.c"

libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@
22
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wunused-parameter"
44

5-
#ifdef STM32F0xx
5+
#ifdef STM32C0xx
6+
#include "stm32c0xx_ll_usb.c"
7+
#elif STM32F0xx
68
#include "stm32f0xx_ll_usb.c"
79
#elif STM32F1xx
810
#include "stm32f1xx_ll_usb.c"

0 commit comments

Comments
 (0)