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 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 )
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
Original file line number Diff line number Diff line change 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"
You can’t perform that action at this time.
0 commit comments