Skip to content

Commit

Permalink
chore(H5): update variants against CubeMX DB release 6.0.120
Browse files Browse the repository at this point in the history
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
  • Loading branch information
fpistm committed Jul 24, 2024
1 parent 480b7e3 commit b7c5efc
Show file tree
Hide file tree
Showing 28 changed files with 29 additions and 39 deletions.
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H503CB(T-U)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H503CBTx.xml, STM32H503CBUx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H503EBY/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H503EBYx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H503KBU/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H503KBUx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H503RBT/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H503RBTx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Automatically generated from STM32H523CCTx.xml, STM32H523CCUx.xml
* STM32H523CETx.xml, STM32H523CEUx.xml
* STM32H533CETx.xml, STM32H533CEUx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down Expand Up @@ -180,7 +180,6 @@ WEAK const PinMap PinMap_UART_TX[] = {
{PB_0, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)},
{PB_3, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)},
{PB_3_ALT1, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_UART5)},
{PB_5, USART6, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_USART6)},
{PB_6, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)},
{PB_6_ALT1, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_UART5)},
{PB_6_ALT2, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
Expand All @@ -200,7 +199,6 @@ WEAK const PinMap PinMap_UART_RX[] = {
{PA_11, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_UART4)},
{PB_1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
{PB_5, UART5, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF14_UART5)},
{PB_6, USART6, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_USART6)},
{PB_7, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)},
{PB_7_ALT1, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
{PB_8, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
Expand Down Expand Up @@ -230,7 +228,6 @@ WEAK const PinMap PinMap_UART_CTS[] = {
{PA_11, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_LPUART1)},
{PA_11_ALT1, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
{PB_0, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
{PB_7, USART6, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_USART6)},
{PB_13, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
{PB_15, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
{NC, NP, 0}
Expand Down
9 changes: 1 addition & 8 deletions variants/STM32H5xx/H523HEY_H533HEY/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H523HEYx.xml, STM32H533HEYx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down Expand Up @@ -72,15 +72,13 @@ WEAK const PinMap PinMap_DAC[] = {
#ifdef HAL_I2C_MODULE_ENABLED
WEAK const PinMap PinMap_I2C_SDA[] = {
{PB_3, I2C2, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C2)},
{PB_4, I2C3, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF9_I2C3)},
{PB_7, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)},
{NC, NP, 0}
};
#endif

#ifdef HAL_I2C_MODULE_ENABLED
WEAK const PinMap PinMap_I2C_SCL[] = {
{PA_8, I2C3, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C3)},
{PB_8, I2C1, STM_PIN_DATA(STM_MODE_AF_OD, GPIO_NOPULL, GPIO_AF4_I2C1)},
{NC, NP, 0}
};
Expand Down Expand Up @@ -167,7 +165,6 @@ WEAK const PinMap PinMap_UART_RX[] = {
{PA_1, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
{PA_3, USART2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART2)},
{PA_11, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_UART4)},
{PB_1, USART3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART3)},
{PB_7, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_LPUART1)},
{PB_7_ALT1, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
{PB_8, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
Expand All @@ -193,7 +190,6 @@ WEAK const PinMap PinMap_UART_CTS[] = {
{PA_11, LPUART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF3_LPUART1)},
{PA_11_ALT1, USART1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF7_USART1)},
{PB_0, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
{PB_7, USART6, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_USART6)},
{PB_15, UART4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF8_UART4)},
{NC, NP, 0}
};
Expand All @@ -206,7 +202,6 @@ WEAK const PinMap PinMap_SPI_MOSI[] = {
{PA_3, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)},
{PA_4, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF4_SPI3)},
{PA_7, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)},
{PA_8, SPI4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI4)},
{PB_15, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI1)},
{PB_15_ALT1, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)},
{NC, NP, 0}
Expand All @@ -219,14 +214,12 @@ WEAK const PinMap PinMap_SPI_MISO[] = {
{PB_0, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI3)},
{PB_4, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)},
{PB_4_ALT1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF6_SPI3)},
{PB_7, SPI4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI4)},
{NC, NP, 0}
};
#endif

#ifdef HAL_SPI_MODULE_ENABLED
WEAK const PinMap PinMap_SPI_SCLK[] = {
{PA_0, SPI4, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI4)},
{PA_5, SPI1, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI1)},
{PA_12, SPI2, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF5_SPI2)},
{PB_1, SPI3, STM_PIN_DATA(STM_MODE_AF_PP, GPIO_PULLUP, GPIO_AF4_SPI3)},
Expand Down
4 changes: 2 additions & 2 deletions variants/STM32H5xx/H523HEY_H533HEY/variant_generic.h
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,10 @@

// I2C definitions
#ifndef PIN_WIRE_SDA
#define PIN_WIRE_SDA PB4
#define PIN_WIRE_SDA PB7
#endif
#ifndef PIN_WIRE_SCL
#define PIN_WIRE_SCL PA8
#define PIN_WIRE_SCL PB8
#endif

// Timer Definitions
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H523R(C-E)T_H533RET/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H523RCTx.xml, STM32H523RETx.xml
* STM32H533RETx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Automatically generated from STM32H523VCIx.xml, STM32H523VCTx.xml
* STM32H523VEIx.xml, STM32H523VETx.xml
* STM32H533VEIx.xml, STM32H533VETx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Automatically generated from STM32H523ZCJx.xml, STM32H523ZCTx.xml
* STM32H523ZEJx.xml, STM32H523ZETx.xml
* STM32H533ZEJx.xml, STM32H533ZETx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562A(G-I)I/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H562AGIx.xml, STM32H562AIIx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562I(G-I)(K-T)/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H562IGKx.xml, STM32H562IGTx.xml
* STM32H562IIKx.xml, STM32H562IITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562R(G-I)T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H562RGTx.xml, STM32H562RITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562R(G-I)V/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H562RGVx.xml, STM32H562RIVx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562V(G-I)T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H562VGTx.xml, STM32H562VITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H562Z(G-I)T/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H562ZGTx.xml, STM32H562ZITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563A(G-I)I_H573AII/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H563AGIx.xml, STM32H563AIIx.xml
* STM32H573AIIx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563AIIxQ_H573AIIxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563AIIxQ.xml, STM32H573AIIxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* Automatically generated from STM32H563IGKx.xml, STM32H563IGTx.xml
* STM32H563IIKx.xml, STM32H563IITx.xml
* STM32H573IIKx.xml, STM32H573IITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563IIKxQ_H573IIKxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563IIKxQ.xml, STM32H573IIKxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563IITxQ_H573IITxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563IITxQ.xml, STM32H573IITxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563MIYxQ_H573MIYxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563MIYxQ.xml, STM32H573MIYxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563R(G-I)T_H573RIT/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H563RGTx.xml, STM32H563RITx.xml
* STM32H573RITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563R(G-I)V_H573RIV/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H563RGVx.xml, STM32H563RIVx.xml
* STM32H573RIVx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563V(G-I)T_H573VIT/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H563VGTx.xml, STM32H563VITx.xml
* STM32H573VITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563VITxQ_H573VITxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563VITxQ.xml, STM32H573VITxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563Z(G-I)T_H573ZIT/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/*
* Automatically generated from STM32H563ZGTx.xml, STM32H563ZITx.xml
* STM32H573ZITx.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down
2 changes: 1 addition & 1 deletion variants/STM32H5xx/H563ZITxQ_H573ZITxQ/PeripheralPins.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/
/*
* Automatically generated from STM32H563ZITxQ.xml, STM32H573ZITxQ.xml
* CubeMX DB release 6.0.110
* CubeMX DB release 6.0.120
*/
#if !defined(CUSTOM_PERIPHERAL_PINS)
#include "Arduino.h"
Expand Down

0 comments on commit b7c5efc

Please sign in to comment.