-
Notifications
You must be signed in to change notification settings - Fork 31
Migrate to nrfx 4.0 #478
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migrate to nrfx 4.0 #478
Conversation
|
The following west manifest projects have changed revision in this Pull Request:
✅ All manifest checks OK Note: This message is automatically posted and updated by the Manifest GitHub Action. |
|
You can find the documentation preview for this PR here. |
04df66a to
e51cdec
Compare
fb3fad3 to
52b0f13
Compare
52b0f13 to
eb3e0ce
Compare
eb3e0ce to
a76f155
Compare
MirkoCovizzi
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Gave a cursory look and it looks quite good to me.
| nrfx_uarte_t *uarte_inst; | ||
| /* Uarte instance configuration. */ | ||
| nrfx_uarte_config_t uarte_cfg; | ||
| /* gpiote instances. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Gpiote instances. Same above.
a76f155 to
a847011
Compare
|
I'll align the NFC |
6e75236 to
d235bd7
Compare
|
@anhmolt The PR nrfconnect/sdk-nrf#25376 is already merged |
d235bd7 to
ff8a0ac
Compare
Thanks. Updated sdk-nrf manifest revision to SHA. |
subsys/nfc/lib/nfc_bm_platform.c
Outdated
| LOG_MODULE_REGISTER(nfc_platform, CONFIG_NFC_PLATFORM_LOG_LEVEL); | ||
|
|
||
| #if NRF54L_ERRATA_60_ENABLE_WORKAROUND | ||
| #define NFC_PLATFORM_USE_TIMER_WORKAROUND 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't really indent #if
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
subsys/nfc/lib/nfc_bm_platform.c
Outdated
| #endif | ||
|
|
||
| #if NFC_PLATFORM_USE_TIMER_WORKAROUND | ||
| #define NFC_TIMER_IRQn NRFX_CONCAT_3(TIMER, \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the spacing here looks to be bit like a tab has been used, when a space would be fine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
nordicjm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments are nit.
ff8a0ac to
44133e0
Compare
44133e0 to
24f5be4
Compare
|
Updated sdk-nrf revision in west.yml to v3.2.0-rc1. |
24f5be4 to
44133e0
Compare
Remove unused nrf.h header includes in preparation for nrfx 4.0. Signed-off-by: Andreas Moltumyr <[email protected]>
Update code to use nrfx 4.0. * Changed error returns from nrfx_error_t to errno. * Removed usage of NRFX_xxx_INST_HANDLER_GET. * Removed use of nrfx_uarte_rx (previously deprecated). * Macro NRFX_xxx_INSTANCE now expects the peripheral's base address instead of instance number. * Updated the nrf-bm specific hal_nordic Kconfig file. * Change name of clock power handler in irq_connect to avoid a name clash. * The nfc_platform.h API in sdk-nrfxlib changed. Align implementation of nfc_bm_platform.c to the required API changes. (The alignment is based on sdk-nrf PR # 25376 to the subsys/nfc/lib/platform.c) Additionally, the NFC_PLATFORM_USE_TIMER_WORKAROUND is provided when nrfx define NRF54L_ERRATA_60_ENABLE_WORKAROUND. Signed-off-by: Andreas Moltumyr <[email protected]> Signed-off-by: Andrzej Kuros <[email protected]>
44133e0 to
3b11dd9
Compare
|
rebased |
ankuns
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NFC look OK.
Changes necessary for updating to nrfx 4.0.
https://github.com/NordicSemiconductor/nrfx/blob/v4.0.0/doc/nrfx_4_0_migration_guide.md