Skip to content

Conversation

@mstasiaknordic
Copy link

NRFX drivers now return errno codes.

NRFX drivers now return errno codes.

Signed-off-by: Michał Stasiak <michal.stasiak@nordicsemi.no>
@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 4, 2025

Copy link
Contributor

@grochu grochu left a comment

Choose a reason for hiding this comment

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

@mstasiaknordic NRFX error codes are checked directly by the NFC libs: T2T and T4T. They need an update: modify sources, build and deploy, together with the hal_nordic update in sdk-nrf.

* NRFX_NFCT_NFCID1_DOUBLE_SIZE, or NRFX_NFCT_NFCID1_TRIPLE_SIZE.
*/
nrfx_err_t nfc_platform_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
int nfc_platform_nfcid1_default_bytes_get(uint8_t * const p_nfcid1_buff,
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you please align indentation in the line below?

Copy link
Contributor

@grochu grochu left a comment

Choose a reason for hiding this comment

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

Additionally https://github.com/nrfconnect/sdk-nrfxlib/blob/main/nfc/src/nfc_nrfx_error_to_nfc.c probably can be removed then.
In the end I think this alignment should be done in the source repo first and come as a single PR to sdk-nrfxlib.

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