Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add STM32 C0 support#1926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
fpistm merged 23 commits intostm32duino:mainfromfpistm:STM32C0
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
Show all changes
23 commits
Select commitHold shift + click to select a range
608b0aa
system(C0) add STM32C0xx HAL Drivers to v1.0.1
fpistmJan 20, 2023
aadd4ca
system(C0): add STM32C0xx CMSIS Drivers to v1.0.0
fpistmJan 20, 2023
9307dd3
system(C0): add STM32C0xx system source files
fpistmJan 20, 2023
8925892
system(C0): update STM32C0xx hal default config
fpistmJan 20, 2023
8ae25ad
core(C0): add top HAL include
fpistmJan 20, 2023
e1c6ddf
core(C0): add wrapped files
fpistmJan 20, 2023
84c80bd
system(C0): update STM32C0xx hal default config
fpistmJan 20, 2023
b0dceed
system(C0): update STM32C0xx system
fpistmOct 27, 2021
6426bf4
variants(C0): add all generated STM32C0xx generic variant files
fpistmJan 20, 2023
17ce259
variant(C0): add C031C(4-6)(T-U) generic support
fpistmOct 27, 2021
10a4ddb
core(C0): Enable/disable Backup Domain write protection depending on …
ABOSTMJan 10, 2022
f36364e
core(C0): Backup register LL API change
ABOSTMJan 10, 2022
56df9ea
core(C0): TIM1_IRQn definition
ABOSTMJan 10, 2022
dbd4888
libraries(C0): Add GPIO EXTI support
ABOSTMJan 10, 2022
11f5faf
libraries(C0): I2C support
ABOSTMJan 11, 2022
b7c4c13
libraries(C0): Remove PLL reference when not available
ABOSTMJan 11, 2022
0fa37dd
cores(C0): Some peripherals have HSIKER source instead of HSI
ABOSTMJan 11, 2022
60eba70
cores(C0): HardwareTimer, C0 doesn't support APB2
ABOSTMJan 11, 2022
4da73af
libraries(C0): ADC support
ABOSTMJan 11, 2022
d99cb56
libraries(C0): SPI is on PCLK1
ABOSTMJan 11, 2022
1650f3a
libraries(C0): Timer is on PCLK1
ABOSTMJan 11, 2022
4414beb
variant(C0): Add Nucleo C031C6 support
ABOSTMJan 13, 2022
5555460
variant(C0): Add support of Disco board STM32C0316-DK
ABOSTMJan 10, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletionsREADME.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -56,6 +56,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
- [Discovery boards](#discovery-boards)
- [Eval boards](#eval-boards)
- [STM32MP1 series coprocessor boards](#stm32mp1-series-coprocessor-boards)
- [Generic STM32C0 boards](#generic-stm32c0-boards)
- [Generic STM32F0 boards](#generic-stm32f0-boards)
- [Generic STM32F1 boards](#generic-stm32f1-boards)
- [Generic STM32F2 boards](#generic-stm32f2-boards)
Expand DownExpand Up@@ -105,6 +106,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d

| Status | Device(s) | Name | Release | Notes |
| :----: | :-------: | ---- | :-----: | :---- |
| :yellow_heart: | STM32C031C6 | [Nucleo C031C6](https://www.st.com/en/evaluation-tools/nucleo-c031c6.html) | **2.5.0** | |
| :green_heart: | STM32F030R8 | [Nucleo F030R8](http://www.st.com/en/evaluation-tools/nucleo-f030r8.html) | *0.2.0* | |
| :green_heart: | STM32F070RB | [Nucleo F070RB](http://www.st.com/en/evaluation-tools/nucleo-f070rb.html) | *2.0.0* | |
| :green_heart: | STM32F072RB | [Nucleo F072RB](http://www.st.com/en/evaluation-tools/nucleo-f072rb.html) | *1.9.0* | |
Expand DownExpand Up@@ -150,6 +152,7 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d

| Status | Device(s) | Name | Release | Notes |
| :----: | :-------: | ---- | :-----: | :---- |
| :yellow_heart: | STM32C031C6 | [STM32C0316-DK](https://www.st.com/en/evaluation-tools/stm32c0316-dk.html) | **2.5.0** | |
| :green_heart: | STM32F030R8 | [32F0308DISCOVERY](http://www.st.com/en/evaluation-tools/32f0308discovery.html) | *1.3.0* | |
| :green_heart: | STM32F072RB | [32F072BDISCOVERY](https://www.st.com/en/evaluation-tools/32f072bdiscovery.html) | *1.5.0* | |
| :green_heart: | STM32F100RB | [STM32VLDISCOVERY](https://www.st.com/en/evaluation-tools/stm32vldiscovery.html) | 0.2.1 | |
Expand All@@ -176,6 +179,12 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32MP157A | [STM32MP157A-DK1](https://www.st.com/en/evaluation-tools/stm32mp157a-dk1.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP157_DK/README.md) to use this board|
| :green_heart: | STM32MP157C | [STM32MP157C-DK2](https://www.st.com/en/evaluation-tools/stm32mp157c-dk2.html) | *1.8.0* | See [the documentation](https://github.com/stm32duino/Arduino_Core_STM32/tree/main/variants/STM32MP157_DK/README.md) to use this board|

### Generic STM32C0 boards

| Status | Device(s) | Name | Release | Notes |
| :----: | :-------: | ---- | :-----: | :---- |
| :yellow_heart: | STM32C031C4<br>STM32C031C6 | Generic Board | **2.5.0** | |

### Generic STM32F0 boards

| Status | Device(s) | Name | Release | Notes |
Expand Down
118 changes: 118 additions & 0 deletionsboards.txt
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -282,6 +282,19 @@ Nucleo_64.build.st_extra_flags=-D{build.product_line} {build.enable_usb} {build.
Nucleo_64.upload.maximum_size=0
Nucleo_64.upload.maximum_data_size=0

# NUCLEO_C031C6 board
Nucleo_64.menu.pnum.NUCLEO_C031C6=Nucleo C031C6
Nucleo_64.menu.pnum.NUCLEO_C031C6.node="NOD_C031C6"
Nucleo_64.menu.pnum.NUCLEO_C031C6.upload.maximum_size=32768
Nucleo_64.menu.pnum.NUCLEO_C031C6.upload.maximum_data_size=12288
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.mcu=cortex-m0plus
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.board=NUCLEO_C031C6
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.series=STM32C0xx
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.product_line=STM32C031xx
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.variant=STM32C0xx/C031C(4-6)(T-U)
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.cmsis_lib_gcc=arm_cortexM0l_math
Nucleo_64.menu.pnum.NUCLEO_C031C6.build.extra_flags=-D{build.product_line} {build.xSerial} -D__CORTEX_SC=0

# NUCLEO_F030R8 board
Nucleo_64.menu.pnum.NUCLEO_F030R8=Nucleo F030R8
Nucleo_64.menu.pnum.NUCLEO_F030R8.node="NODE_F030R8,NUCLEO"
Expand DownExpand Up@@ -870,6 +883,19 @@ Disco.menu.pnum.B_U585I_IOT02A.build.variant=STM32U5xx/U575A(G-I)IxQ_U585AIIxQ
Disco.menu.pnum.B_U585I_IOT02A.build.peripheral_pins=-DCUSTOM_PERIPHERAL_PINS
Disco.menu.pnum.B_U585I_IOT02A.build.cmsis_lib_gcc=arm_ARMv8MMLlfsp_math

# STM32C0316-DK board
Disco.menu.pnum.STM32C0316_DK=STM32C0316-DK
Disco.menu.pnum.STM32C0316_DK.node="No_mass_storage_for_this_board_Use_STLink_upload_method"
Disco.menu.pnum.STM32C0316_DK.upload.maximum_size=32768
Disco.menu.pnum.STM32C0316_DK.upload.maximum_data_size=12288
Disco.menu.pnum.STM32C0316_DK.build.mcu=cortex-m0plus
Disco.menu.pnum.STM32C0316_DK.build.board=STM32C0316_DK
Disco.menu.pnum.STM32C0316_DK.build.series=STM32C0xx
Disco.menu.pnum.STM32C0316_DK.build.product_line=STM32C031xx
Disco.menu.pnum.STM32C0316_DK.build.variant=STM32C0xx/C031C(4-6)(T-U)
Disco.menu.pnum.STM32C0316_DK.build.cmsis_lib_gcc=arm_cortexM0l_math
Disco.menu.pnum.STM32C0316_DK.build.extra_flags=-D{build.product_line} {build.xSerial} -D__CORTEX_SC=0

# DISCO_F030R8 board
Disco.menu.pnum.DISCO_F030R8=STM32F030R8-DISCVL
Disco.menu.pnum.DISCO_F030R8.node="No_mass_storage_for_this_board_Use_STLink_upload_method"
Expand DownExpand Up@@ -1090,6 +1116,60 @@ STM32MP1.menu.upload_method.MassStorage=Generate run_arduino.sh (You need to cop
STM32MP1.menu.upload_method.MassStorage.upload.protocol=
STM32MP1.menu.upload_method.MassStorage.upload.tool=remoteproc_gen

###############################
# Generic C0
GenC0.name=Generic STM32C0 series

GenC0.build.core=arduino
GenC0.build.board=GenC0
GenC0.build.mcu=cortex-m0plus
GenC0.build.series=STM32C0xx
GenC0.build.cmsis_lib_gcc=arm_cortexM0l_math
GenC0.build.extra_flags=-D{build.product_line} {build.xSerial} -D__CORTEX_SC=0

# Generic C031C4Tx
GenC0.menu.pnum.GENERIC_C031C4TX=Generic C031C4Tx
GenC0.menu.pnum.GENERIC_C031C4TX.upload.maximum_size=16384
GenC0.menu.pnum.GENERIC_C031C4TX.upload.maximum_data_size=12288
GenC0.menu.pnum.GENERIC_C031C4TX.build.board=GENERIC_C031C4TX
GenC0.menu.pnum.GENERIC_C031C4TX.build.product_line=STM32C031xx
GenC0.menu.pnum.GENERIC_C031C4TX.build.variant=STM32C0xx/C031C(4-6)(T-U)

# Generic C031C6Tx
GenC0.menu.pnum.GENERIC_C031C6TX=Generic C031C6Tx
GenC0.menu.pnum.GENERIC_C031C6TX.upload.maximum_size=32768
GenC0.menu.pnum.GENERIC_C031C6TX.upload.maximum_data_size=12288
GenC0.menu.pnum.GENERIC_C031C6TX.build.board=GENERIC_C031C6TX
GenC0.menu.pnum.GENERIC_C031C6TX.build.product_line=STM32C031xx
GenC0.menu.pnum.GENERIC_C031C6TX.build.variant=STM32C0xx/C031C(4-6)(T-U)

# Generic C031C4Ux
GenC0.menu.pnum.GENERIC_C031C4UX=Generic C031C4Ux
GenC0.menu.pnum.GENERIC_C031C4UX.upload.maximum_size=16384
GenC0.menu.pnum.GENERIC_C031C4UX.upload.maximum_data_size=12288
GenC0.menu.pnum.GENERIC_C031C4UX.build.board=GENERIC_C031C4UX
GenC0.menu.pnum.GENERIC_C031C4UX.build.product_line=STM32C031xx
GenC0.menu.pnum.GENERIC_C031C4UX.build.variant=STM32C0xx/C031C(4-6)(T-U)

# Generic C031C6Ux
GenC0.menu.pnum.GENERIC_C031C6UX=Generic C031C6Ux
GenC0.menu.pnum.GENERIC_C031C6UX.upload.maximum_size=32768
GenC0.menu.pnum.GENERIC_C031C6UX.upload.maximum_data_size=12288
GenC0.menu.pnum.GENERIC_C031C6UX.build.board=GENERIC_C031C6UX
GenC0.menu.pnum.GENERIC_C031C6UX.build.product_line=STM32C031xx
GenC0.menu.pnum.GENERIC_C031C6UX.build.variant=STM32C0xx/C031C(4-6)(T-U)

# Upload menu
GenC0.menu.upload_method.swdMethod=STM32CubeProgrammer (SWD)
GenC0.menu.upload_method.swdMethod.upload.protocol=0
GenC0.menu.upload_method.swdMethod.upload.options=-g
GenC0.menu.upload_method.swdMethod.upload.tool=stm32CubeProg

GenC0.menu.upload_method.serialMethod=STM32CubeProgrammer (Serial)
GenC0.menu.upload_method.serialMethod.upload.protocol=1
GenC0.menu.upload_method.serialMethod.upload.options={serial.port.file} -s
GenC0.menu.upload_method.serialMethod.upload.tool=stm32CubeProg

###############################
# Generic F0
GenF0.name=Generic STM32F0 series
Expand DownExpand Up@@ -10500,6 +10580,12 @@ STM32MP1.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NO
STM32MP1.menu.xserial.disabled=Disabled (no Serial support)
STM32MP1.menu.xserial.disabled.build.xSerial=

GenC0.menu.xserial.generic=Enabled (generic 'Serial')
GenC0.menu.xserial.none=Enabled (no generic 'Serial')
GenC0.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
GenC0.menu.xserial.disabled=Disabled (no Serial support)
GenC0.menu.xserial.disabled.build.xSerial=

GenF0.menu.xserial.generic=Enabled (generic 'Serial')
GenF0.menu.xserial.none=Enabled (no generic 'Serial')
GenF0.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
Expand DownExpand Up@@ -11088,6 +11174,24 @@ STM32MP1.menu.opt.ogstd.build.flags.optimize=-Og
STM32MP1.menu.opt.o0std=No Optimization (-O0)
STM32MP1.menu.opt.o0std.build.flags.optimize=-O0

GenC0.menu.opt.osstd=Smallest (-Os default)
GenC0.menu.opt.oslto=Smallest (-Os) with LTO
GenC0.menu.opt.oslto.build.flags.optimize=-Os -flto
GenC0.menu.opt.o1std=Fast (-O1)
GenC0.menu.opt.o1std.build.flags.optimize=-O1
GenC0.menu.opt.o1lto=Fast (-O1) with LTO
GenC0.menu.opt.o1lto.build.flags.optimize=-O1 -flto
GenC0.menu.opt.o2std=Faster (-O2)
GenC0.menu.opt.o2std.build.flags.optimize=-O2
GenC0.menu.opt.o2lto=Faster (-O2) with LTO
GenC0.menu.opt.o2lto.build.flags.optimize=-O2 -flto
GenC0.menu.opt.o3std=Fastest (-O3)
GenC0.menu.opt.o3std.build.flags.optimize=-O3
GenC0.menu.opt.o3lto=Fastest (-O3) with LTO
GenC0.menu.opt.o3lto.build.flags.optimize=-O3 -flto
GenC0.menu.opt.ogstd=Debug (-Og)
GenC0.menu.opt.ogstd.build.flags.optimize=-Og

GenF0.menu.opt.osstd=Smallest (-Os default)
GenF0.menu.opt.oslto=Smallest (-Os) with LTO
GenF0.menu.opt.oslto.build.flags.optimize=-Os -flto
Expand DownExpand Up@@ -11618,6 +11722,10 @@ STM32MP1.menu.dbg.enable_log.build.flags.debug=
STM32MP1.menu.dbg.enable_all=Core Logs and Symbols Enabled (-g)
STM32MP1.menu.dbg.enable_all.build.flags.debug=-g

GenC0.menu.dbg.none=None
GenC0.menu.dbg.enable=Enabled (-g)
GenC0.menu.dbg.enable.build.flags.debug=-g

GenF0.menu.dbg.none=None
GenF0.menu.dbg.enable_sym=Symbols Enabled (-g)
GenF0.menu.dbg.enable_sym.build.flags.debug=-g -DNDEBUG
Expand DownExpand Up@@ -11863,6 +11971,16 @@ STM32MP1.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_fl
STM32MP1.menu.rtlib.full=Newlib Standard
STM32MP1.menu.rtlib.full.build.flags.ldspecs=

GenC0.menu.rtlib.nano=Newlib Nano (default)
GenC0.menu.rtlib.nanofp=Newlib Nano + Float Printf
GenC0.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
GenC0.menu.rtlib.nanofs=Newlib Nano + Float Scanf
GenC0.menu.rtlib.nanofs.build.flags.ldspecs=--specs=nano.specs -u _scanf_float
GenC0.menu.rtlib.nanofps=Newlib Nano + Float Printf/Scanf
GenC0.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float -u _scanf_float
GenC0.menu.rtlib.full=Newlib Standard
GenC0.menu.rtlib.full.build.flags.ldspecs=

GenF0.menu.rtlib.nano=Newlib Nano (default)
GenF0.menu.rtlib.nanofp=Newlib Nano + Float Printf
GenF0.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_adc.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_adc.h"
#elif STM32F0xx
#include "stm32f0xx_ll_adc.h"
#elif STM32F1xx
#include "stm32f1xx_ll_adc.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_bus.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_bus.h"
#elif STM32F0xx
#include "stm32f0xx_ll_bus.h"
#elif STM32F1xx
#include "stm32f1xx_ll_bus.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_cortex.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_cortex.h"
#elif STM32F0xx
#include "stm32f0xx_ll_cortex.h"
#elif STM32F1xx
#include "stm32f1xx_ll_cortex.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_crc.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_crc.h"
#elif STM32F0xx
#include "stm32f0xx_ll_crc.h"
#elif STM32F1xx
#include "stm32f1xx_ll_crc.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_dma.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_dma.h"
#elif STM32F0xx
#include "stm32f0xx_ll_dma.h"
#elif STM32F1xx
#include "stm32f1xx_ll_dma.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32G0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_dmamux.h"
#elif STM32G0xx
#include "stm32g0xx_ll_dmamux.h"
#elif STM32G4xx
#include "stm32g4xx_ll_dmamux.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_exti.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_exti.h"
#elif STM32F0xx
#include "stm32f0xx_ll_exti.h"
#elif STM32F1xx
#include "stm32f1xx_ll_exti.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_gpio.h"
#elif STM32F0xx
#include "stm32f0xx_ll_gpio.h"
#elif STM32F1xx
#include "stm32f1xx_ll_gpio.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_i2c.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_i2c.h"
#elif STM32F0xx
#include "stm32f0xx_ll_i2c.h"
#elif STM32F1xx
#include "stm32f1xx_ll_i2c.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_iwdg.h"
#elif STM32F0xx
#include "stm32f0xx_ll_iwdg.h"
#elif STM32F1xx
#include "stm32f1xx_ll_iwdg.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_pwr.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_pwr.h"
#elif STM32F0xx
#include "stm32f0xx_ll_pwr.h"
#elif STM32F1xx
#include "stm32f1xx_ll_pwr.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_rcc.h"
#elif STM32F0xx
#include "stm32f0xx_ll_rcc.h"
#elif STM32F1xx
#include "stm32f1xx_ll_rcc.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_rtc.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_rtc.h"
#elif STM32F0xx
#include "stm32f0xx_ll_rtc.h"
#elif STM32F1xx
#include "stm32f1xx_ll_rtc.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_spi.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_spi.h"
#elif STM32F0xx
#include "stm32f0xx_ll_spi.h"
#elif STM32F1xx
#include "stm32f1xx_ll_spi.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_system.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_system.h"
#elif STM32F0xx
#include "stm32f0xx_ll_system.h"
#elif STM32F1xx
#include "stm32f1xx_ll_system.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_tim.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_tim.h"
#elif STM32F0xx
#include "stm32f0xx_ll_tim.h"
#elif STM32F1xx
#include "stm32f1xx_ll_tim.h"
Expand Down
4 changes: 3 additions & 1 deletioncores/arduino/stm32/LL/stm32yyxx_ll_usart.h
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -5,7 +5,9 @@
#pragma GCC diagnostic ignored "-Wunused-parameter"
#pragma GCC diagnostic ignored "-Wstrict-aliasing"

#ifdef STM32F0xx
#ifdef STM32C0xx
#include "stm32c0xx_ll_usart.h"
#elif STM32F0xx
#include "stm32f0xx_ll_usart.h"
#elif STM32F1xx
#include "stm32f1xx_ll_usart.h"
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp