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

Prepare for nrf9160 port #5144

Closed
wants to merge 4 commits into from
Closed

Conversation

glennrub
Copy link
Contributor

As first step of adding support for the nrf9160 some small updates on existing modules/drivers in current master is needed to facilitate an easy plugin of nrf9160. These patches should be non-intrusive for existing nrf51/nrf52 targets, but rather allow for nrf52 targets to use peripherals with EasyDMA.

If MICROPY_PY_MACHINE_TEMP is set to 0, current code still
expect expect Temp for the target device is configured correctly.
This patch moves the include of nrf_temp.h until its tested if
this feature is requested to be compiled in.
The the nrfx_driver is aware of chip specific registers, while
the raw HAL abstraction is not. This driver enables use of NVMC
in non-secure domain for nrf9160.
@dpgeorge
Copy link
Member

Great! Is this ready to go in? (CI passes.)

@glennrub
Copy link
Contributor Author

Yes, ready to go in.

I have explicitly tested the microbitfs on both pca10028 (nrf51) and pca10040 (nrf52) to make sure the nrfx_nvmc.c swap works as expected. This is the only change affecting existing targets.

@glennrub
Copy link
Contributor Author

glennrub commented Oct 2, 2019

Merged in cf38341.

@glennrub glennrub closed this Oct 2, 2019
@glennrub glennrub deleted the nrf9160_prepare branch October 2, 2019 19:33
tannewt added a commit to tannewt/circuitpython that referenced this pull request Aug 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants