Skip to content

Commit 9ddecc3

Browse files
authored
Merge pull request stm32duino#728 from fpistm/Cube_Update
[HAL/LL/CMSIS] Update F0, F3 and WB series
2 parents 2f1fd8e + 8d23dcc commit 9ddecc3

File tree

422 files changed

+176896
-142354
lines changed

Some content is hidden

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

422 files changed

+176896
-142354
lines changed

cores/arduino/stm32/LL/stm32yyxx_ll_usb.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@
55
#pragma GCC diagnostic ignored "-Wunused-parameter"
66
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
77

8+
#ifdef STM32F0xx
9+
#include "stm32f0xx_ll_usb.h"
10+
#endif
811
#ifdef STM32F1xx
912
#include "stm32f1xx_ll_usb.h"
1013
#endif
1114
#ifdef STM32F2xx
1215
#include "stm32f2xx_ll_usb.h"
1316
#endif
17+
#ifdef STM32F3xx
18+
#include "stm32f3xx_ll_usb.h"
19+
#endif
1420
#ifdef STM32F4xx
1521
#include "stm32f4xx_ll_usb.h"
1622
#endif

cores/arduino/stm32/twi.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -919,8 +919,8 @@ void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, ui
919919
if (obj->i2c_onSlaveTransmit != NULL) {
920920
obj->i2c_onSlaveTransmit();
921921
}
922-
#if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
923-
defined(STM32L0xx) || defined(STM32L1xx)
922+
#if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
923+
defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
924924
HAL_I2C_Slave_Seq_Transmit_IT(hi2c, (uint8_t *) obj->i2cTxRxBuffer,
925925
obj->i2cTxRxBufferSize, I2C_LAST_FRAME);
926926
#else
@@ -932,8 +932,8 @@ void HAL_I2C_AddrCallback(I2C_HandleTypeDef *hi2c, uint8_t TransferDirection, ui
932932
obj->slaveMode = SLAVE_MODE_RECEIVE;
933933
/* We don't know in advance how many bytes will be sent by master so
934934
* we'll fetch one by one until master ends the sequence */
935-
#if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
936-
defined(STM32L0xx) || defined(STM32L1xx)
935+
#if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
936+
defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
937937
HAL_I2C_Slave_Seq_Receive_IT(hi2c, (uint8_t *) & (obj->i2cTxRxBuffer[obj->slaveRxNbData]),
938938
1, I2C_NEXT_FRAME);
939939
#else
@@ -984,8 +984,8 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
984984
}
985985
/* Restart interrupt mode for next Byte */
986986
if (obj->slaveMode == SLAVE_MODE_RECEIVE) {
987-
#if defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F4xx) ||\
988-
defined(STM32L0xx) || defined(STM32L1xx)
987+
#if defined(STM32F0xx) || defined(STM32F1xx) || defined(STM32F2xx) || defined(STM32F3xx) ||\
988+
defined(STM32F4xx) || defined(STM32L0xx) || defined(STM32L1xx)
989989
HAL_I2C_Slave_Seq_Receive_IT(hi2c, (uint8_t *) & (obj->i2cTxRxBuffer[obj->slaveRxNbData]),
990990
1, I2C_NEXT_FRAME);
991991
#else

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_exti.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
#ifdef STM32F0xx
2+
#include "stm32f0xx_hal_exti.c"
3+
#endif
14
#ifdef STM32F1xx
25
#include "stm32f1xx_hal_exti.c"
36
#endif
47
#ifdef STM32F2xx
58
#include "stm32f2xx_hal_exti.c"
69
#endif
10+
#ifdef STM32F3xx
11+
#include "stm32f3xx_hal_exti.c"
12+
#endif
713
#ifdef STM32F4xx
814
#include "stm32f4xx_hal_exti.c"
915
#endif

libraries/SrcWrapper/src/HAL/stm32yyxx_hal_usart_ex.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
#ifdef STM32F0xx
2+
#include "stm32f0xx_hal_usart_ex.c"
3+
#endif
4+
#ifdef STM32F3xx
5+
#include "stm32f3xx_hal_usart_ex.c"
6+
#endif
17
#ifdef STM32G0xx
28
#include "stm32g0xx_hal_usart_ex.c"
39
#endif

libraries/SrcWrapper/src/LL/stm32yyxx_ll_usb.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1+
#ifdef STM32F0xx
2+
#include "stm32f0xx_ll_usb.c"
3+
#endif
14
#ifdef STM32F1xx
25
#include "stm32f1xx_ll_usb.c"
36
#endif
47
#ifdef STM32F2xx
58
#include "stm32f2xx_ll_usb.c"
69
#endif
10+
#ifdef STM32F3xx
11+
#include "stm32f3xx_ll_usb.c"
12+
#endif
713
#ifdef STM32F4xx
814
#include "stm32f4xx_ll_usb.c"
915
#endif

system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x6.h

Lines changed: 1488 additions & 1519 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030x8.h

Lines changed: 1504 additions & 1535 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f030xc.h

Lines changed: 1610 additions & 1639 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f031x6.h

Lines changed: 1564 additions & 1588 deletions
Large diffs are not rendered by default.

system/Drivers/CMSIS/Device/ST/STM32F0xx/Include/stm32f038xx.h

Lines changed: 1556 additions & 1580 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)