Skip to content
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba50kgux-pinctrl.dtsi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On this last commit, I'm confused of the need be #265 which was merged few weeks ago.
Can you confirm this is required and this matches with latest changes in zephyr repo ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the Zephyr repo, we renamed the JTAG reset pin for all the WBA boards.

Screenshot from 2025-04-10 15-31-12

This commit (#265) is adding the pinctrls for WBA6, which already contains the needed JTAG pinctrl debug_njtrst_pb4. Because of that, I added the commit that renames debug_jtrst_pb4 to debug_njtrst_pb4 for the WBA5 boards.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I changed the commit message to be more significant to the modifications.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@marwaiehm-st I remember this topic was closed. By the way... Please be sure to align the zephyr part also:
https://github.com/zephyrproject-rtos/zephyr/blob/68b2e7d677cc17f668df4f2d693b6296d4cf8201/dts/arm/st/wba/stm32wba.dtsi#L505

Otherwise I guess we will be not able to compile for WBA after this PR will be merged.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@asm5878 This modification is aligned with the changes in the PR that adds support for the WBA6 boards: zephyrproject-rtos/zephyr#88407
You are right, it will cause a build failure, so the two PRs (Zephyr and HAL) should be merged at the same time.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, it will cause a build failure, so the two PRs (Zephyr and HAL) should be merged at the same time.

Ok, so we should ensure that Zephyr PR is ready before merging current PR (to avoid hal PR is merged in between).
To achieve this, can you put the Zephyr PR in ready for review ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done, I have put it ready for review.

Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba52ceux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba52cgux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba52keux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba52kgux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba54ceux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba54cgux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba54keux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba54kgux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55ceux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55cgux-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55hefx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55hgfx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55ueix-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba55ugix-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
2 changes: 1 addition & 1 deletion dts/st/wba/stm32wba5mjghx-pinctrl.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
pinmux = <STM32_PINMUX('B', 3, AF0)>;
};

/omit-if-no-ref/ debug_jtrst_pb4: debug_jtrst_pb4 {
/omit-if-no-ref/ debug_njtrst_pb4: debug_njtrst_pb4 {
pinmux = <STM32_PINMUX('B', 4, AF0)>;
};

Expand Down
4 changes: 2 additions & 2 deletions stm32cube/common_ll/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ stm32n6xx 1.0.0
stm32u0xx 1.2.0
stm32u5xx 1.7.0
stm32wb0x 1.0.0
stm32wbaxx 1.5.0
stm32wbxx 1.21.0
stm32wbaxx 1.6.0
stm32wbxx 1.22.0
stm32wlxx 1.3.1
=============== ===============
4 changes: 4 additions & 0 deletions stm32cube/stm32wbaxx/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_FLASH_EX drivers/src/stm32wbax
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GPIO drivers/src/stm32wbaxx_hal_gpio.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_GTZC drivers/src/stm32wbaxx_hal_gtzc.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HASH drivers/src/stm32wbaxx_hal_hash.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HCD drivers/src/stm32wbaxx_hal_hcd.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_HSEM drivers/src/stm32wbaxx_hal_hsem.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C drivers/src/stm32wbaxx_hal_i2c.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_I2C_EX drivers/src/stm32wbaxx_hal_i2c_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_ICACHE drivers/src/stm32wbaxx_hal_icache.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IRDA drivers/src/stm32wbaxx_hal_irda.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_IWDG drivers/src/stm32wbaxx_hal_iwdg.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_LPTIM drivers/src/stm32wbaxx_hal_lptim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD drivers/src/stm32wbaxx_hal_pcd.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PCD_EX drivers/src/stm32wbaxx_hal_pcd_ex.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PKA drivers/src/stm32wbaxx_hal_pka.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR drivers/src/stm32wbaxx_hal_pwr.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_HAL_PWR_EX drivers/src/stm32wbaxx_hal_pwr_ex.c)
Expand Down Expand Up @@ -71,4 +74,5 @@ zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_RTC drivers/src/stm32wbaxx_ll_r
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_SPI drivers/src/stm32wbaxx_ll_spi.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_TIM drivers/src/stm32wbaxx_ll_tim.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USART drivers/src/stm32wbaxx_ll_usart.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_USB drivers/src/stm32wbaxx_ll_usb.c)
zephyr_library_sources_ifdef(CONFIG_USE_STM32_LL_UTILS drivers/src/stm32wbaxx_ll_utils.c)
4 changes: 2 additions & 2 deletions stm32cube/stm32wbaxx/README
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Origin:
http://www.st.com/en/embedded-software/stm32cubewba.html

Status:
version v1.5.0
version v1.6.0

Purpose:
ST Microelectronics official MCU package for STM32WBA series.
Expand All @@ -23,7 +23,7 @@ URL:
https://github.com/STMicroelectronics/STM32CubeWBA

Commit:
06402010bb3e1eb4d49ee22cbe45d3408ce413c5
e7d27c496416aae8f4ba8b3e84f963f0c5a0b69f

Maintained-by:
External
Expand Down
14 changes: 10 additions & 4 deletions stm32cube/stm32wbaxx/drivers/include/Legacy/stm32_hal_legacy.h
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ extern "C" {
#define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE
#define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD
#define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD
#if !defined(STM32F2) && !defined(STM32F4) && !defined(STM32F7) && !defined(STM32H7) && !defined(STM32H5)
/* #define PAGESIZE FLASH_PAGE_SIZE */
#endif /* STM32F2 && STM32F4 && STM32F7 && STM32H7 && STM32H5 */
#define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE
#define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD
#define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD
Expand Down Expand Up @@ -536,6 +538,10 @@ extern "C" {
#define FLASH_FLAG_WDW FLASH_FLAG_WBNE
#define OB_WRP_SECTOR_All OB_WRP_SECTOR_ALL
#endif /* STM32H7 */
#if defined(STM32H7RS)
#define FLASH_OPTKEY1 FLASH_OPT_KEY1
#define FLASH_OPTKEY2 FLASH_OPT_KEY2
#endif /* STM32H7RS */
#if defined(STM32U5)
#define OB_USER_nRST_STOP OB_USER_NRST_STOP
#define OB_USER_nRST_STDBY OB_USER_NRST_STDBY
Expand Down Expand Up @@ -1297,22 +1303,22 @@ extern "C" {
#define TAMP_SECRETDEVICE_ERASE_ENABLE TAMP_SECRETDEVICE_ERASE_ALL
#endif /* STM32H5 || STM32WBA || STM32H7RS */

#if defined(STM32F7)
#if defined(STM32F7) || defined(STM32WB)
#define RTC_TAMPCR_TAMPXE RTC_TAMPER_ENABLE_BITS_MASK
#define RTC_TAMPCR_TAMPXIE RTC_TAMPER_IT_ENABLE_BITS_MASK
#endif /* STM32F7 */
#endif /* STM32F7 || STM32WB */

#if defined(STM32H7)
#define RTC_TAMPCR_TAMPXE RTC_TAMPER_X
#define RTC_TAMPCR_TAMPXIE RTC_TAMPER_X_INTERRUPT
#endif /* STM32H7 */

#if defined(STM32F7) || defined(STM32H7) || defined(STM32L0)
#if defined(STM32F7) || defined(STM32H7) || defined(STM32L0) || defined(STM32WB)
#define RTC_TAMPER1_INTERRUPT RTC_IT_TAMP1
#define RTC_TAMPER2_INTERRUPT RTC_IT_TAMP2
#define RTC_TAMPER3_INTERRUPT RTC_IT_TAMP3
#define RTC_ALL_TAMPER_INTERRUPT RTC_IT_TAMP
#endif /* STM32F7 || STM32H7 || STM32L0 */
#endif /* STM32F7 || STM32H7 || STM32L0 || STM32WB */

/**
* @}
Expand Down
41 changes: 40 additions & 1 deletion stm32cube/stm32wbaxx/drivers/include/stm32wbaxx_hal.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ extern HAL_TickFreqTypeDef uwTickFreq;
* @brief STM32WBAxx HAL Driver version number
*/
#define __STM32WBAxx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
#define __STM32WBAxx_HAL_VERSION_SUB1 (0x05U) /*!< [23:16] sub1 version */
#define __STM32WBAxx_HAL_VERSION_SUB1 (0x06U) /*!< [23:16] sub1 version */
#define __STM32WBAxx_HAL_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
#define __STM32WBAxx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32WBAxx_HAL_VERSION ((__STM32WBAxx_HAL_VERSION_MAIN << 24U)\
Expand Down Expand Up @@ -150,6 +150,27 @@ extern HAL_TickFreqTypeDef uwTickFreq;
* @}
*/

#if defined(VREFBUF)
/** @defgroup SYSCFG_VREFBUF_VoltageScale VREFBUF Voltage Scale
* @{
*/
#define SYSCFG_VREFBUF_VOLTAGE_SCALE0 VREFBUF_CSR_VRS_OUT1 /*!< Voltage reference scale 0 (VREF_OUT1) */
#define SYSCFG_VREFBUF_VOLTAGE_SCALE1 VREFBUF_CSR_VRS_OUT2 /*!< Voltage reference scale 1 (VREF_OUT2) */
#define SYSCFG_VREFBUF_VOLTAGE_SCALE2 VREFBUF_CSR_VRS_OUT3 /*!< Voltage reference scale 2 (VREF_OUT3) */
#define SYSCFG_VREFBUF_VOLTAGE_SCALE3 VREFBUF_CSR_VRS_OUT4 /*!< Voltage reference scale 3 (VREF_OUT4) */
/**
* @}
*/

/** @defgroup SYSCFG_VREFBUF_HighImpedance VREFBUF High Impedance
* @{
*/
#define SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE 0x00000000U /*!< VREF_plus pin is internally connected to Voltage reference buffer output */
#define SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE VREFBUF_CSR_HIZ /*!< VREF_plus pin is high impedance */
/**
* @}
*/
#endif /* VREFBUF */

/** @defgroup SYSCFG_Flags_Definition Flags
* @{
Expand Down Expand Up @@ -524,6 +545,17 @@ extern HAL_TickFreqTypeDef uwTickFreq;
((__CONFIG__) == SYSCFG_BREAK_SRAM2_PARITY) || \
((__CONFIG__) == SYSCFG_BREAK_LOCKUP))

#if defined(VREFBUF)
#define IS_SYSCFG_VREFBUF_VOLTAGE_SCALE(__SCALE__) (((__SCALE__) == SYSCFG_VREFBUF_VOLTAGE_SCALE0) || \
((__SCALE__) == SYSCFG_VREFBUF_VOLTAGE_SCALE1) || \
((__SCALE__) == SYSCFG_VREFBUF_VOLTAGE_SCALE2) || \
((__SCALE__) == SYSCFG_VREFBUF_VOLTAGE_SCALE3))

#define IS_SYSCFG_VREFBUF_HIGH_IMPEDANCE(__VALUE__) (((__VALUE__) == SYSCFG_VREFBUF_HIGH_IMPEDANCE_DISABLE) || \
((__VALUE__) == SYSCFG_VREFBUF_HIGH_IMPEDANCE_ENABLE))

#define IS_SYSCFG_VREFBUF_TRIMMING(__VALUE__) (((__VALUE__) > 0U) && ((__VALUE__) <= VREFBUF_CCR_TRIM))
#endif /* VREFBUF */

#define IS_SYSCFG_FASTMODEPLUS(__PIN__) ((((__PIN__) & SYSCFG_FASTMODEPLUS_ALL) != 0x00U) && \
(((__PIN__) & ~SYSCFG_FASTMODEPLUS_ALL) == 0x00U))
Expand Down Expand Up @@ -646,6 +678,13 @@ void HAL_SYSCFG_DisableIOAnalogSwitchBooster(void);
void HAL_SYSCFG_EnableIOAnalogSwitchVdd(void);
void HAL_SYSCFG_DisableIOAnalogSwitchVdd(void);

#ifdef VREFBUF
void HAL_SYSCFG_VREFBUF_VoltageScalingConfig(uint32_t VoltageScaling);
void HAL_SYSCFG_VREFBUF_HighImpedanceConfig(uint32_t Mode);
void HAL_SYSCFG_VREFBUF_TrimmingConfig(uint32_t TrimmingValue);
HAL_StatusTypeDef HAL_SYSCFG_EnableVREFBUF(void);
void HAL_SYSCFG_DisableVREFBUF(void);
#endif /* VREFBUF */

#ifdef SYSCFG_OTGHSPHYCR_EN
void HAL_SYSCFG_SetOTGPHYReferenceClockSelection(uint32_t RefClockSelection);
Expand Down
12 changes: 12 additions & 0 deletions stm32cube/stm32wbaxx/drivers/include/stm32wbaxx_hal_conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@ extern "C" {
#define HAL_GPIO_MODULE_ENABLED
#define HAL_GTZC_MODULE_ENABLED
#define HAL_HASH_MODULE_ENABLED
#define HAL_HCD_MODULE_ENABLED
#define HAL_HSEM_MODULE_ENABLED
#define HAL_I2C_MODULE_ENABLED
#define HAL_ICACHE_MODULE_ENABLED
#define HAL_IRDA_MODULE_ENABLED
#define HAL_IWDG_MODULE_ENABLED
#define HAL_LPTIM_MODULE_ENABLED
#define HAL_PCD_MODULE_ENABLED
#define HAL_PKA_MODULE_ENABLED
#define HAL_PWR_MODULE_ENABLED
#define HAL_RAMCFG_MODULE_ENABLED
Expand Down Expand Up @@ -159,10 +161,12 @@ extern "C" {
#define USE_HAL_COMP_REGISTER_CALLBACKS 0U /* COMP register callback disabled */
#define USE_HAL_CRYP_REGISTER_CALLBACKS 0U /* CRYP register callback disabled */
#define USE_HAL_HASH_REGISTER_CALLBACKS 0U /* HASH register callback disabled */
#define USE_HAL_HCD_REGISTER_CALLBACKS 0U /* HCD register callback disabled */
#define USE_HAL_I2C_REGISTER_CALLBACKS 0U /* I2C register callback disabled */
#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U /* IRDA register callback disabled */
#define USE_HAL_IWDG_REGISTER_CALLBACKS 0U /* IWDG register callback disabled */
#define USE_HAL_LPTIM_REGISTER_CALLBACKS 0U /* LPTIM register callback disabled */
#define USE_HAL_PCD_REGISTER_CALLBACKS 0U /* PCD register callback disabled */
#define USE_HAL_PKA_REGISTER_CALLBACKS 0U /* PKA register callback disabled */
#define USE_HAL_RAMCFG_REGISTER_CALLBACKS 0U /* RAMCFG register callback disabled */
#define USE_HAL_RNG_REGISTER_CALLBACKS 0U /* RNG register callback disabled */
Expand Down Expand Up @@ -241,6 +245,10 @@ extern "C" {
#include "stm32wbaxx_hal_hash.h"
#endif /* HAL_HASH_MODULE_ENABLED */

#ifdef HAL_HCD_MODULE_ENABLED
#include "stm32wbaxx_hal_hcd.h"
#endif /* HAL_HCD_MODULE_ENABLED */

#ifdef HAL_HSEM_MODULE_ENABLED
#include "stm32wbaxx_hal_hsem.h"
#endif /* HAL_HSEM_MODULE_ENABLED */
Expand All @@ -265,6 +273,10 @@ extern "C" {
#include "stm32wbaxx_hal_lptim.h"
#endif /* HAL_LPTIM_MODULE_ENABLED */

#ifdef HAL_PCD_MODULE_ENABLED
#include "stm32wbaxx_hal_pcd.h"
#endif /* HAL_PCD_MODULE_ENABLED */

#ifdef HAL_PKA_MODULE_ENABLED
#include "stm32wbaxx_hal_pka.h"
#endif /* HAL_PKA_MODULE_ENABLED */
Expand Down
Loading