Skip to content

lib: stm32wba: update to unify 802154 error code#363

Merged
erwango merged 2 commits intozephyrproject-rtos:mainfrom
vtardy-st:stm32wbax_unify_802154_error_code
Apr 29, 2026
Merged

lib: stm32wba: update to unify 802154 error code#363
erwango merged 2 commits intozephyrproject-rtos:mainfrom
vtardy-st:stm32wbax_unify_802154_error_code

Conversation

@vtardy-st
Copy link
Copy Markdown
Contributor

Update of the ieee802154 Link layer libraries and header files including 802.15.4 error code unification

FYI: @asm5878 , @erwango

update the LL libraries including ieee802.15.4
feature with 802.15.4 error code unification
change

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
Copy link
Copy Markdown
Member

@erwango erwango left a comment

Choose a reason for hiding this comment

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

I'm a bit unclear on this part of code. It doesn't seem to be STM32Cube code, but then why it's not in Zephyr repo side ?

@vtardy-st
Copy link
Copy Markdown
Contributor Author

I'm a bit unclear on this part of code. It doesn't seem to be STM32Cube code, but then why it's not in Zephyr repo side ?

The ieee802154 error code we refer in this PR is not the error code used in zephyr driver or upper layer.
Until now, three types of IEEE 802.15.4 error codes were used by the link layer to interface with the upper layer: one associated with the transmission callback (stm32wba_802154_ral_tx_error_t), one associated with the reception callback (stm32wba_802154_ral_rx_error_t), and one associated with the returned function status (stm32wba_802154_ral_error_t).

To simplify the interface and prevent error code handling issues, only one error code type, stm32wba_802154_ral_error_t, is now used for all link layer interfaces.

Let me know if it's still unclear

@erwango
Copy link
Copy Markdown
Member

erwango commented Apr 23, 2026

Then, is that some code that is also present in STM32Cube WBA package ?

@vtardy-st
Copy link
Copy Markdown
Contributor Author

Then, is that some code that is also present in STM32Cube WBA package ?

yes

Update the stm32wba 802154 header files with
802.15.4 error code unification change

Signed-off-by: Vincent Tardy <vincent.tardy@st.com>
@vtardy-st vtardy-st force-pushed the stm32wbax_unify_802154_error_code branch from f9d821d to bc3d669 Compare April 24, 2026 13:43
@erwango erwango merged commit d1d3c0c into zephyrproject-rtos:main Apr 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants