Skip to content

Commit a6f600e

Browse files
authored
Merge branch 'master' into receive_double_buffering_for_f1
2 parents 7b09ae3 + 9980588 commit a6f600e

File tree

299 files changed

+204000
-765
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

299 files changed

+204000
-765
lines changed

Diff for: CI/astyle/.astyleignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
BUILD
33
CI
44
system/Drivers
5-
system/STM32F*
5+
system/STM32*

Diff for: boards.txt

+12
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,18 @@ Nucleo_64.menu.pnum.NUCLEO_L476RG.build.product_line=STM32L476xx
308308
Nucleo_64.menu.pnum.NUCLEO_L476RG.build.variant=NUCLEO_L476RG
309309
Nucleo_64.menu.pnum.NUCLEO_L476RG.build.cmsis_lib_gcc=arm_cortexM4l_math
310310

311+
# PNUCLEO_WB55RG board
312+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG=P-Nucleo WB55RG
313+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.node=NODE_WB55RG
314+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.upload.maximum_size=524288
315+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.upload.maximum_data_size=196604
316+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.mcu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=hard
317+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.board=PNUCLEO_WB55RG
318+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.series=STM32WBxx
319+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.product_line=STM32WB55xx
320+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.variant=PNUCLEO_WB55RG
321+
Nucleo_64.menu.pnum.PNUCLEO_WB55RG.build.cmsis_lib_gcc=arm_cortexM4l_math
322+
311323
# Upload menu
312324
Nucleo_64.menu.upload_method.MassStorage=Mass Storage
313325
Nucleo_64.menu.upload_method.MassStorage.upload.protocol=

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_adc.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_adc.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_adc.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_adc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_adc_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_adc_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_comp.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_comp.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_comp.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_cortex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_cortex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_cortex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_crc.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_crc.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_crc.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_crc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_crc_ex.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_crc_ex.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_cryp.c

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@
1919
#ifdef STM32L4xx
2020
#include "stm32l4xx_hal_cryp.c"
2121
#endif
22+
#ifdef STM32WBxx
23+
#include "stm32wbxx_hal_cryp.c"
24+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_cryp_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_cryp_ex.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_cryp_ex.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_dma.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_dma.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_dma.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_dma_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
#ifdef STM32L4xx
1414
#include "stm32l4xx_hal_dma_ex.c"
1515
#endif
16+
#ifdef STM32WBxx
17+
#include "stm32wbxx_hal_dma_ex.c"
18+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_exti.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
#ifdef STM32L4xx
55
#include "stm32l4xx_hal_exti.c"
66
#endif
7+
#ifdef STM32WBxx
8+
#include "stm32wbxx_hal_exti.c"
9+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_flash.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_flash.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_flash.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_flash_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_flash_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_flash_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_gpio.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_gpio.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_gpio.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_hsem.c

+3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
#ifdef STM32H7xx
22
#include "stm32h7xx_hal_hsem.c"
33
#endif
4+
#ifdef STM32WBxx
5+
#include "stm32wbxx_hal_hsem.c"
6+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_i2c.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_i2c.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_i2c.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_i2c_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,6 @@
1919
#ifdef STM32L4xx
2020
#include "stm32l4xx_hal_i2c_ex.c"
2121
#endif
22+
#ifdef STM32WBxx
23+
#include "stm32wbxx_hal_i2c_ex.c"
24+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_ipcc.c

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32WBxx
2+
#include "stm32wbxx_hal_ipcc.c"
3+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_irda.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_irda.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_irda.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_iwdg.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_iwdg.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_iwdg.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_lcd.c

+3
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,6 @@
77
#ifdef STM32L4xx
88
#include "stm32l4xx_hal_lcd.c"
99
#endif
10+
#ifdef STM32WBxx
11+
#include "stm32wbxx_hal_lcd.c"
12+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_lptim.c

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
#ifdef STM32L4xx
1414
#include "stm32l4xx_hal_lptim.c"
1515
#endif
16+
#ifdef STM32WBxx
17+
#include "stm32wbxx_hal_lptim.c"
18+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_msp_template.c

+3
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@
2626
#ifdef STM32L4xx
2727
#include "stm32l4xx_hal_msp_template.c"
2828
#endif
29+
#ifdef STM32WBxx
30+
#include "stm32wbxx_hal_msp_template.c"
31+
#endif
2932
#endif /* 0 */

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_pcd.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_pcd.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_pcd.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_pcd_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_pcd_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_pcd_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_pka.c

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#ifdef STM32WBxx
2+
#include "stm32wbxx_hal_pka.c"
3+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_pwr.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_pwr.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_pwr.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_pwr_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,6 @@
2525
#ifdef STM32L4xx
2626
#include "stm32l4xx_hal_pwr_ex.c"
2727
#endif
28+
#ifdef STM32WBxx
29+
#include "stm32wbxx_hal_pwr_ex.c"
30+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_qspi.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32L4xx
1111
#include "stm32l4xx_hal_qspi.c"
1212
#endif
13+
#ifdef STM32WBxx
14+
#include "stm32wbxx_hal_qspi.c"
15+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_rcc.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_rcc.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_rcc.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_rcc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_rcc_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_rcc_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_rng.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_rng.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_rng.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_rtc.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_rtc.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_rtc.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_rtc_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_rtc_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_rtc_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_sai.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32L4xx
1111
#include "stm32l4xx_hal_sai.c"
1212
#endif
13+
#ifdef STM32WBxx
14+
#include "stm32wbxx_hal_sai.c"
15+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_sai_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32L4xx
1111
#include "stm32l4xx_hal_sai_ex.c"
1212
#endif
13+
#ifdef STM32WBxx
14+
#include "stm32wbxx_hal_sai_ex.c"
15+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_smartcard.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_smartcard.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_smartcard.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_smartcard_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_smartcard_ex.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_smartcard_ex.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_smbus.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_smbus.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_smbus.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_spi.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_spi.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_spi.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_spi_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,6 @@
1616
#ifdef STM32L4xx
1717
#include "stm32l4xx_hal_spi_ex.c"
1818
#endif
19+
#ifdef STM32WBxx
20+
#include "stm32wbxx_hal_spi_ex.c"
21+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_tim.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_tim.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_tim.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_tim_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_tim_ex.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_tim_ex.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_alarm_template.c

+3
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@
1717
#ifdef STM32F7xx
1818
#include "stm32f7xx_hal_timebase_rtc_alarm_template.c"
1919
#endif
20+
#ifdef STM32WBxx
21+
#include "stm32wbxx_hal_timebase_rtc_alarm_template.c"
22+
#endif
2023
#endif /* 0 */

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_timebase_rtc_wakeup_template.c

+3
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414
#ifdef STM32F7xx
1515
#include "stm32f7xx_hal_timebase_rtc_wakeup_template.c"
1616
#endif
17+
#ifdef STM32WBxx
18+
#include "stm32wbxx_hal_timebase_rtc_wakeup_template.c"
19+
#endif
1720
#endif /* 0 */

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_timebase_tim_template.c

+3
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,7 @@
2323
#ifdef STM32L4xx
2424
#include "stm32l4xx_hal_timebase_tim_template.c"
2525
#endif
26+
#ifdef STM32WBxx
27+
#include "stm32wbxx_hal_timebase_tim_template.c"
28+
#endif
2629
#endif /* 0 */

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_tsc.c

+3
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
#ifdef STM32L4xx
1111
#include "stm32l4xx_hal_tsc.c"
1212
#endif
13+
#ifdef STM32WBxx
14+
#include "stm32wbxx_hal_tsc.c"
15+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_uart.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_uart.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_uart.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_uart_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,6 @@
1313
#ifdef STM32L4xx
1414
#include "stm32l4xx_hal_uart_ex.c"
1515
#endif
16+
#ifdef STM32WBxx
17+
#include "stm32wbxx_hal_uart_ex.c"
18+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_usart.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_usart.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_usart.c"
33+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_usart_ex.c

+3
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,6 @@
44
#ifdef STM32L4xx
55
#include "stm32l4xx_hal_usart_ex.c"
66
#endif
7+
#ifdef STM32WBxx
8+
#include "stm32wbxx_hal_usart_ex.c"
9+
#endif

Diff for: cores/arduino/stm32/HAL/stm32yyxx_hal_wwdg.c

+3
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,6 @@
2828
#ifdef STM32L4xx
2929
#include "stm32l4xx_hal_wwdg.c"
3030
#endif
31+
#ifdef STM32WBxx
32+
#include "stm32wbxx_hal_wwdg.c"
33+
#endif

0 commit comments

Comments
 (0)