Skip to content

Introduce STM32WLxx #1429

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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 16 commits into from
Jul 5, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
26 changes: 20 additions & 6 deletions CI/utils/stm32wrapper.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import argparse
import re
from itertools import groupby
from jinja2 import Environment, FileSystemLoader, Template
from pathlib import Path
from stm32common import createFolder, deleteFolder, genSTM32List
Expand Down Expand Up @@ -102,16 +103,29 @@ def checkConfig(arg_core, arg_cmsis):

def printCMSISStartup(log):
filelist = sorted(CMSIS_Device_ST_path.glob("**/startup_*.s"))
filelist = [pth.name for pth in filelist]
if len(filelist):
if log:
print("Number of startup files: {}".format(len(filelist)))
# Some mcu have two startup files
# Ex: WL one for cm0plus and one for cm4
# In that case this is the same value line so add an extra defined
# to use the correct one.
group_startup_list = [
list(g) for _, g in groupby(filelist, lambda x: re.split("_|\\.", x)[1])
]
cmsis_list = []
for fp in filelist:
# File name
fn = fp.name
valueline = re.split("_|\\.", fn)
vline = valueline[1].upper().replace("X", "x")
cmsis_list.append({"vline": vline, "fn": fn})
for fn_list in group_startup_list:
if len(fn_list) == 1:
valueline = re.split("_|\\.", fn_list[0])
vline = valueline[1].upper().replace("X", "x")
cmsis_list.append({"vline": vline, "fn": fn_list[0], "cm": ""})
else:
for fn in fn_list:
valueline = re.split("_|\\.", fn)
vline = valueline[1].upper().replace("X", "x")
cm = valueline[2].upper()
cmsis_list.append({"vline": vline, "fn": fn, "cm": cm})
out_file = open(CMSIS_Startupfile, "w", newline="\n")
out_file.write(stm32_def_build_template.render(cmsis_list=cmsis_list))
out_file.close()
Expand Down
6 changes: 3 additions & 3 deletions CI/utils/templates/stm32_def_build.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
#if !defined(CMSIS_STARTUP_FILE) && !defined(CUSTOM_STARTUP_FILE)
{% for cmsis in cmsis_list %}
{% if loop.first %}
#if defined({{cmsis.vline}})
#if defined({{ cmsis.vline }})
{% else %}
#elif defined({{cmsis.vline}})
#elif defined({{ cmsis.vline }}){{ " && defined(USE_{}_STARTUP_FILE)".format(cmsis.cm) if cmsis.cm }}
{% endif %}
#define CMSIS_STARTUP_FILE "{{cmsis.fn}}"
#define CMSIS_STARTUP_FILE "{{ cmsis.fn }}"
{% endfor %}
#else
#error UNKNOWN CHIP
Expand Down
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,14 @@ User can add a STM32 based board following this [wiki](https://github.com/stm32d
| :green_heart: | STM32WB55CC<br>STM32WB55CE<br>STM32WB55CG | Generic Board | *2.0.0* | |
| :green_heart: | STM32WB55RC<br>STM32WB55RE<br>STM32WB55RG | Generic Board | *2.0.0* | |

### Generic STM32WL boards

| Status | Device(s) | Name | Release | Notes |
| :----: | :-------: | ---- | :-----: | :---- |
| :yellow_heart: | STM32WL55JC<br>STM32WL55JC | Generic Board | **2.1.0** | |
| :yellow_heart: | STM32WLE4J8<br>STM32WLE4JB<br>STM32WLE4JC | Generic Board | **2.1.0** | |
| :yellow_heart: | STM32WLE5J8<br>STM32WLE5JB<br>STM32WLE5JC | Generic Board | **2.1.0** | |

### 3D printer boards

| Status | Device(s) | Name | Release | Notes |
Expand Down
127 changes: 127 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4975,6 +4975,98 @@ GenWB.menu.upload_method.dfuMethod.upload.protocol=2
GenWB.menu.upload_method.dfuMethod.upload.options=-g
GenWB.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg

################################################################################
# Generic WL
GenWL.name=Generic STM32WL series

GenWL.build.core=arduino
GenWL.build.board=GenWL
GenWL.build.extra_flags=-D{build.product_line} -DUSE_CM4_STARTUP_FILE {build.xSerial}
GenWL.build.mcu=cortex-m4
#GenWL.build.flags.fp=-mfpu=fpv4-sp-d16 -mfloat-abi=hard
GenWL.build.series=STM32WLxx
GenWL.build.cmsis_lib_gcc=arm_cortexM4lf_math

# Generic WL54JCIx
GenWL.menu.pnum.GENERIC_WL54JCIX=Generic WL54JCIx
GenWL.menu.pnum.GENERIC_WL54JCIX.upload.maximum_size=262144
GenWL.menu.pnum.GENERIC_WL54JCIX.upload.maximum_data_size=65536
GenWL.menu.pnum.GENERIC_WL54JCIX.build.board=GENERIC_WL54JCIX
GenWL.menu.pnum.GENERIC_WL54JCIX.build.product_line=STM32WL54xx
GenWL.menu.pnum.GENERIC_WL54JCIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WL55JCIx
GenWL.menu.pnum.GENERIC_WL55JCIX=Generic WL55JCIx
GenWL.menu.pnum.GENERIC_WL55JCIX.upload.maximum_size=262144
GenWL.menu.pnum.GENERIC_WL55JCIX.upload.maximum_data_size=65536
GenWL.menu.pnum.GENERIC_WL55JCIX.build.board=GENERIC_WL55JCIX
GenWL.menu.pnum.GENERIC_WL55JCIX.build.product_line=STM32WL55xx
GenWL.menu.pnum.GENERIC_WL55JCIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE4J8Ix
GenWL.menu.pnum.GENERIC_WLE4J8IX=Generic WLE4J8Ix
GenWL.menu.pnum.GENERIC_WLE4J8IX.upload.maximum_size=65536
GenWL.menu.pnum.GENERIC_WLE4J8IX.upload.maximum_data_size=20480
GenWL.menu.pnum.GENERIC_WLE4J8IX.build.board=GENERIC_WLE4J8IX
GenWL.menu.pnum.GENERIC_WLE4J8IX.build.product_line=STM32WLE4xx
GenWL.menu.pnum.GENERIC_WLE4J8IX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE4JBIx
GenWL.menu.pnum.GENERIC_WLE4JBIX=Generic WLE4JBIx
GenWL.menu.pnum.GENERIC_WLE4JBIX.upload.maximum_size=131072
GenWL.menu.pnum.GENERIC_WLE4JBIX.upload.maximum_data_size=49152
GenWL.menu.pnum.GENERIC_WLE4JBIX.build.board=GENERIC_WLE4JBIX
GenWL.menu.pnum.GENERIC_WLE4JBIX.build.product_line=STM32WLE4xx
GenWL.menu.pnum.GENERIC_WLE4JBIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE4JCIx
GenWL.menu.pnum.GENERIC_WLE4JCIX=Generic WLE4JCIx
GenWL.menu.pnum.GENERIC_WLE4JCIX.upload.maximum_size=262144
GenWL.menu.pnum.GENERIC_WLE4JCIX.upload.maximum_data_size=65536
GenWL.menu.pnum.GENERIC_WLE4JCIX.build.board=GENERIC_WLE4JCIX
GenWL.menu.pnum.GENERIC_WLE4JCIX.build.product_line=STM32WLE4xx
GenWL.menu.pnum.GENERIC_WLE4JCIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE5J8Ix
GenWL.menu.pnum.GENERIC_WLE5J8IX=Generic WLE5J8Ix
GenWL.menu.pnum.GENERIC_WLE5J8IX.upload.maximum_size=65536
GenWL.menu.pnum.GENERIC_WLE5J8IX.upload.maximum_data_size=20480
GenWL.menu.pnum.GENERIC_WLE5J8IX.build.board=GENERIC_WLE5J8IX
GenWL.menu.pnum.GENERIC_WLE5J8IX.build.product_line=STM32WLE5xx
GenWL.menu.pnum.GENERIC_WLE5J8IX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE5JBIx
GenWL.menu.pnum.GENERIC_WLE5JBIX=Generic WLE5JBIx
GenWL.menu.pnum.GENERIC_WLE5JBIX.upload.maximum_size=131072
GenWL.menu.pnum.GENERIC_WLE5JBIX.upload.maximum_data_size=49152
GenWL.menu.pnum.GENERIC_WLE5JBIX.build.board=GENERIC_WLE5JBIX
GenWL.menu.pnum.GENERIC_WLE5JBIX.build.product_line=STM32WLE5xx
GenWL.menu.pnum.GENERIC_WLE5JBIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

# Generic WLE5JCIx
GenWL.menu.pnum.GENERIC_WLE5JCIX=Generic WLE5JCIx
GenWL.menu.pnum.GENERIC_WLE5JCIX.upload.maximum_size=262144
GenWL.menu.pnum.GENERIC_WLE5JCIX.upload.maximum_data_size=65536
GenWL.menu.pnum.GENERIC_WLE5JCIX.build.board=GENERIC_WLE5JCIX
GenWL.menu.pnum.GENERIC_WLE5JCIX.build.product_line=STM32WLE5xx
GenWL.menu.pnum.GENERIC_WLE5JCIX.build.variant=STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I

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

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

GenWL.menu.upload_method.dfuMethod=STM32CubeProgrammer (DFU)
GenWL.menu.upload_method.dfuMethod.upload.protocol=2
GenWL.menu.upload_method.dfuMethod.upload.options=-g
GenWL.menu.upload_method.dfuMethod.upload.tool=stm32CubeProg

################################################################################
# Electronic Speed Controller boards

Expand Down Expand Up @@ -5670,6 +5762,12 @@ GenWB.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
GenWB.menu.xserial.disabled=Disabled (no Serial support)
GenWB.menu.xserial.disabled.build.xSerial=

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

ESC_board.menu.xserial.generic=Enabled (generic 'Serial')
ESC_board.menu.xserial.none=Enabled (no generic 'Serial')
ESC_board.menu.xserial.none.build.xSerial=-DHAL_UART_MODULE_ENABLED -DHWSERIAL_NONE
Expand Down Expand Up @@ -6376,6 +6474,25 @@ GenWB.menu.opt.o3lto.build.flags.optimize=-O3 -flto
GenWB.menu.opt.ogstd=Debug (-g)
GenWB.menu.opt.ogstd.build.flags.optimize=-g -Og

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

ESC_board.menu.opt.osstd=Smallest (-Os default)
ESC_board.menu.opt.oslto=Smallest (-Os) with LTO
ESC_board.menu.opt.oslto.build.flags.optimize=-Os -flto
Expand Down Expand Up @@ -6704,6 +6821,16 @@ GenWB.menu.rtlib.nanofps.build.flags.ldspecs=--specs=nano.specs -u _printf_float
GenWB.menu.rtlib.full=Newlib Standard
GenWB.menu.rtlib.full.build.flags.ldspecs=

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

ESC_board.menu.rtlib.nano=Newlib Nano (default)
ESC_board.menu.rtlib.nanofp=Newlib Nano + Float Printf
ESC_board.menu.rtlib.nanofp.build.flags.ldspecs=--specs=nano.specs -u _printf_float
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_adc.h"
#elif STM32WBxx
#include "stm32wbxx_ll_adc.h"
#elif STM32WLxx
#include "stm32wlxx_ll_adc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_ADC_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_bus.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_bus.h"
#elif STM32WBxx
#include "stm32wbxx_ll_bus.h"
#elif STM32WLxx
#include "stm32wlxx_ll_bus.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_BUS_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_comp.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "stm32l5xx_ll_comp.h"
#elif STM32WBxx
#include "stm32wbxx_ll_comp.h"
#elif STM32WLxx
#include "stm32wlxx_ll_comp.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_COMP_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_cortex.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_cortex.h"
#elif STM32WBxx
#include "stm32wbxx_ll_cortex.h"
#elif STM32WLxx
#include "stm32wlxx_ll_cortex.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_CORTEX_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_crc.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include "stm32l5xx_ll_crc.h"
#elif STM32WBxx
#include "stm32wbxx_ll_crc.h"
#elif STM32WLxx
#include "stm32wlxx_ll_crc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_CRC_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dac.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
#include "stm32l4xx_ll_dac.h"
#elif STM32L5xx
#include "stm32l5xx_ll_dac.h"
#elif STM32WLxx
#include "stm32wlxx_ll_dac.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_DAC_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dma.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_dma.h"
#elif STM32WBxx
#include "stm32wbxx_ll_dma.h"
#elif STM32WLxx
#include "stm32wlxx_ll_dma.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_DMA_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_dmamux.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "stm32mp1xx_ll_dmamux.h"
#elif STM32WBxx
#include "stm32wbxx_ll_dmamux.h"
#elif STM32WLxx
#include "stm32wlxx_ll_dmamux.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_DMAMUX_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_exti.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_exti.h"
#elif STM32WBxx
#include "stm32wbxx_ll_exti.h"
#elif STM32WLxx
#include "stm32wlxx_ll_exti.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_EXTI_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_gpio.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_gpio.h"
#elif STM32WBxx
#include "stm32wbxx_ll_gpio.h"
#elif STM32WLxx
#include "stm32wlxx_ll_gpio.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_GPIO_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_hsem.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include "stm32mp1xx_ll_hsem.h"
#elif STM32WBxx
#include "stm32wbxx_ll_hsem.h"
#elif STM32WLxx
#include "stm32wlxx_ll_hsem.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_HSEM_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_i2c.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_i2c.h"
#elif STM32WBxx
#include "stm32wbxx_ll_i2c.h"
#elif STM32WLxx
#include "stm32wlxx_ll_i2c.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_I2C_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_ipcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
#include "stm32mp1xx_ll_ipcc.h"
#elif STM32WBxx
#include "stm32wbxx_ll_ipcc.h"
#elif STM32WLxx
#include "stm32wlxx_ll_ipcc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_IPCC_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_iwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
#include "stm32l5xx_ll_iwdg.h"
#elif STM32WBxx
#include "stm32wbxx_ll_iwdg.h"
#elif STM32WLxx
#include "stm32wlxx_ll_iwdg.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_IWDG_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lptim.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "stm32mp1xx_ll_lptim.h"
#elif STM32WBxx
#include "stm32wbxx_ll_lptim.h"
#elif STM32WLxx
#include "stm32wlxx_ll_lptim.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_LPTIM_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_lpuart.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
#include "stm32l5xx_ll_lpuart.h"
#elif STM32WBxx
#include "stm32wbxx_ll_lpuart.h"
#elif STM32WLxx
#include "stm32wlxx_ll_lpuart.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_LPUART_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pka.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
#include "stm32l5xx_ll_pka.h"
#elif STM32WBxx
#include "stm32wbxx_ll_pka.h"
#elif STM32WLxx
#include "stm32wlxx_ll_pka.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_PKA_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_pwr.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_pwr.h"
#elif STM32WBxx
#include "stm32wbxx_ll_pwr.h"
#elif STM32WLxx
#include "stm32wlxx_ll_pwr.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_PWR_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rcc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_rcc.h"
#elif STM32WBxx
#include "stm32wbxx_ll_rcc.h"
#elif STM32WLxx
#include "stm32wlxx_ll_rcc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_RCC_H_ */
Loading