Skip to content

Add support for Generic Node by TTN #1428

New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
wants to merge 22 commits into from
Closed
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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions CI/build/conf/cores_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@
"GENERIC_L562ZETXQ",
"GENERIC_WB55CCUX", "GENERIC_WB55CGUX",
"GENERIC_WB55RCVX", "GENERIC_WB55REVX",
"GENERIC_NODE",
"NUCLEO_H743ZI",
"NUCLEO_L496ZG",
"NUCLEO_L4R5ZI",
Expand Down
1 change: 1 addition & 0 deletions CI/build/conf/cores_config_ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@
"GENERIC_L562ZETXQ",
"GENERIC_WB55CCUX", "GENERIC_WB55CGUX",
"GENERIC_WB55RCVX", "GENERIC_WB55REVX",
"GENERIC_NODE",
"NUCLEO_H743ZI",
"NUCLEO_L496ZG",
"NUCLEO_L4R5ZI",
Expand Down
1 change: 1 addition & 0 deletions CI/build/conf/cores_config_travis.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"NUCLEO_H743ZI",
"NUCLEO_L496ZG",
"NUCLEO_L4R5ZI",
"GENERIC_NODE",
"RAK811_TRACKERA"
]
}
Expand Down
84 changes: 84 additions & 0 deletions boards.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4975,6 +4975,42 @@ 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} {build.enable_usb} {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 Node by TTN WL55CCUx
GenWL.menu.pnum.GENERIC_NODE=Generic Node TTN
GenWL.menu.pnum.GENERIC_NODE.upload.maximum_size=262144
GenWL.menu.pnum.GENERIC_NODE.upload.maximum_data_size=65536
GenWL.menu.pnum.GENERIC_NODE.build.board=GENERIC_NODE
GenWL.menu.pnum.GENERIC_NODE.build.product_line=STM32WL55xx
GenWL.menu.pnum.GENERIC_NODE.build.variant=STM32WLxx/WL54CCU_WL55CCU_WLE4C(8-B-C)U_WLE5C(8-B-C)U

# 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 @@ -5636,6 +5672,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 @@ -5898,6 +5940,19 @@ GenWB.menu.xusb.HS.build.usb_speed=-DUSE_USB_HS
GenWB.menu.xusb.HSFS=High Speed in Full Speed mode
GenWB.menu.xusb.HSFS.build.usb_speed=-DUSE_USB_HS -DUSE_USB_HS_IN_FS

GenWL.menu.usb.none=None
GenWL.menu.usb.CDCgen=CDC (generic 'Serial' supersede U(S)ART)
GenWL.menu.usb.CDCgen.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC
GenWL.menu.usb.CDC=CDC (no generic 'Serial')
GenWL.menu.usb.CDC.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC -DDISABLE_GENERIC_SERIALUSB
GenWL.menu.usb.HID=HID (keyboard and mouse)
GenWL.menu.usb.HID.build.enable_usb={build.usb_flags} -DUSBD_USE_HID_COMPOSITE
GenWL.menu.xusb.FS=Low/Full Speed
GenWL.menu.xusb.HS=High Speed
GenWL.menu.xusb.HS.build.usb_speed=-DUSE_USB_HS
GenWL.menu.xusb.HSFS=High Speed in Full Speed mode
GenWL.menu.xusb.HSFS.build.usb_speed=-DUSE_USB_HS -DUSE_USB_HS_IN_FS

3dprinter.menu.usb.none=None
3dprinter.menu.usb.CDCgen=CDC (generic 'Serial' supersede U(S)ART)
3dprinter.menu.usb.CDCgen.build.enable_usb={build.usb_flags} -DUSBD_USE_CDC
Expand Down Expand Up @@ -6323,6 +6378,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 @@ -6632,6 +6706,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_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 "stm32wbxx_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_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rng.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@
#include "stm32l5xx_ll_rng.h"
#elif STM32WBxx
#include "stm32wbxx_ll_rng.h"
#elif STM32WLxx
#include "stm32wlxx_ll_rng.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_RNG_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_rtc.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_rtc.h"
#elif STM32WBxx
#include "stm32wbxx_ll_rtc.h"
#elif STM32WLxx
#include "stm32wlxx_ll_rtc.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_RTC_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_spi.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_spi.h"
#elif STM32WBxx
#include "stm32wbxx_ll_spi.h"
#elif STM32WLxx
#include "stm32wlxx_ll_spi.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_SPI_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_system.h"
#elif STM32WBxx
#include "stm32wbxx_ll_system.h"
#elif STM32WLxx
#include "stm32wlxx_ll_system.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_SYSTEM_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_tim.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_tim.h"
#elif STM32WBxx
#include "stm32wbxx_ll_tim.h"
#elif STM32WLxx
#include "stm32wlxx_ll_tim.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_TIM_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_usart.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_usart.h"
#elif STM32WBxx
#include "stm32wbxx_ll_usart.h"
#elif STM32WLxx
#include "stm32wlxx_ll_usart.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_USART_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_utils.h"
#elif STM32WBxx
#include "stm32wbxx_ll_utils.h"
#elif STM32WLxx
#include "stm32wlxx_ll_utils.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_UTILS_H_ */
2 changes: 2 additions & 0 deletions cores/arduino/stm32/LL/stm32yyxx_ll_wwdg.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
#include "stm32mp1xx_ll_wwdg.h"
#elif STM32WBxx
#include "stm32wbxx_ll_wwdg.h"
#elif STM32WLxx
#include "stm32wlxx_ll_wwdg.h"
#endif
#pragma GCC diagnostic pop
#endif /* _STM32YYXX_LL_WWDG_H_ */
2 changes: 1 addition & 1 deletion cores/arduino/stm32/backup.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ extern "C" {

/* Exported macro ------------------------------------------------------------*/
#if (!defined(STM32F0xx) && !defined(STM32F3xx) && !defined(STM32L0xx) &&\
!defined(STM32L1xx) && !defined(STM32L4xx) && !defined(STM32MP1xx)) || \
!defined(STM32L1xx) && !defined(STM32L4xx) && !defined(STM32MP1xx) && !defined(STM32WLxx)) || \
defined(RTC_BACKUP_SUPPORT)
#if !defined(STM32L412xx) && !defined(STM32L422xx)
#define ENABLE_BACKUP_SUPPORT
Expand Down
2 changes: 2 additions & 0 deletions cores/arduino/stm32/stm32_def.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@
#include "stm32mp1xx.h"
#elif defined(STM32WBxx)
#include "stm32wbxx.h"
#elif defined(STM32WLxx)
#include "stm32wlxx.h"
#else
#error "STM32YYxx chip series is not defined in boards.txt."
#endif
Expand Down
Loading