Skip to content
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

[nrf noup] platform: nrf_nordic: Add temp fix for for secure FPU on 9161 #103

Merged
merged 1 commit into from
Aug 16, 2023
Merged
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
11 changes: 11 additions & 0 deletions platform/ext/target/nordic_nrf/common/nrf91/nrfx_config_nrf91.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,17 @@
#error "This file should not be included directly. Include nrfx_config.h instead."
#endif

/*
* The MDK for nRF9120 used in the nRF9161 target doesn't define the Secure FPU
* as it doesn't exist, but for other platforms like the 9160 it has a dummy
* define.
* Therefore we define it here manually until it is fixed in the MDK.
* See: NCSDK-23046
*/
#ifdef NRF9120_XXAA
#define NRF_FPU_S 1
#endif

#define NRF_CLOCK NRF_PERIPH(NRF_CLOCK)
#define NRF_DPPIC NRF_PERIPH(NRF_DPPIC)
#define NRF_EGU0 NRF_PERIPH(NRF_EGU0)
Expand Down