File tree Expand file tree Collapse file tree 8 files changed +23
-7
lines changed Expand file tree Collapse file tree 8 files changed +23
-7
lines changed Original file line number Diff line number Diff line change 6
6
#define CMSIS_STARTUP_FILE "startup_stm32c011xx.s"
7
7
#elif defined(STM32C031xx )
8
8
#define CMSIS_STARTUP_FILE "startup_stm32c031xx.s"
9
+ #elif defined(STM32C071xx )
10
+ #define CMSIS_STARTUP_FILE "startup_stm32c071xx.s"
9
11
#elif defined(STM32F030x6 )
10
12
#define CMSIS_STARTUP_FILE "startup_stm32f030x6.s"
11
13
#elif defined(STM32F030x8 )
Original file line number Diff line number Diff line change 8
8
#pragma GCC diagnostic ignored "-Wregister"
9
9
#endif
10
10
11
- #ifdef STM32F0xx
11
+ #ifdef STM32C0xx
12
+ #include "stm32c0xx_ll_crs.h"
13
+ #elif STM32F0xx
12
14
#include "stm32f0xx_ll_crs.h"
13
15
#elif STM32G0xx
14
16
#include "stm32g0xx_ll_crs.h"
Original file line number Diff line number Diff line change 8
8
#pragma GCC diagnostic ignored "-Wregister"
9
9
#endif
10
10
11
- #ifdef STM32F0xx
11
+ #ifdef STM32C0xx
12
+ #include "stm32c0xx_ll_usb.h"
13
+ #elif STM32F0xx
12
14
#include "stm32f0xx_ll_usb.h"
13
15
#elif STM32F1xx
14
16
#include "stm32f1xx_ll_usb.h"
Original file line number Diff line number Diff line change 2
2
#pragma GCC diagnostic push
3
3
#pragma GCC diagnostic ignored "-Wunused-parameter"
4
4
5
- #ifdef STM32F1xx
5
+ #ifdef STM32C0xx
6
+ #include "stm32c0xx_hal_hcd.c"
7
+ #elif STM32F1xx
6
8
#include "stm32f1xx_hal_hcd.c"
7
9
#elif STM32F2xx
8
10
#include "stm32f2xx_hal_hcd.c"
Original file line number Diff line number Diff line change 2
2
#pragma GCC diagnostic push
3
3
#pragma GCC diagnostic ignored "-Wunused-parameter"
4
4
5
- #ifdef STM32F0xx
5
+ #ifdef STM32C0xx
6
+ #include "stm32c0xx_hal_pcd.c"
7
+ #elif STM32F0xx
6
8
#include "stm32f0xx_hal_pcd.c"
7
9
#elif STM32F1xx
8
10
#include "stm32f1xx_hal_pcd.c"
Original file line number Diff line number Diff line change 2
2
#pragma GCC diagnostic push
3
3
#pragma GCC diagnostic ignored "-Wunused-parameter"
4
4
5
- #ifdef STM32F0xx
5
+ #ifdef STM32C0xx
6
+ #include "stm32c0xx_hal_pcd_ex.c"
7
+ #elif STM32F0xx
6
8
#include "stm32f0xx_hal_pcd_ex.c"
7
9
#elif STM32F1xx
8
10
#include "stm32f1xx_hal_pcd_ex.c"
Original file line number Diff line number Diff line change 2
2
#pragma GCC diagnostic push
3
3
#pragma GCC diagnostic ignored "-Wunused-parameter"
4
4
5
- #ifdef STM32F0xx
5
+ #ifdef STM32C0xx
6
+ #include "stm32c0xx_ll_crs.c"
7
+ #elif STM32F0xx
6
8
#include "stm32f0xx_ll_crs.c"
7
9
#elif STM32G0xx
8
10
#include "stm32g0xx_ll_crs.c"
Original file line number Diff line number Diff line change 2
2
#pragma GCC diagnostic push
3
3
#pragma GCC diagnostic ignored "-Wunused-parameter"
4
4
5
- #ifdef STM32F0xx
5
+ #ifdef STM32C0xx
6
+ #include "stm32c0xx_ll_usb.c"
7
+ #elif STM32F0xx
6
8
#include "stm32f0xx_ll_usb.c"
7
9
#elif STM32F1xx
8
10
#include "stm32f1xx_ll_usb.c"
You can’t perform that action at this time.
0 commit comments