Skip to content

Conversation

crasbe
Copy link
Contributor

@crasbe crasbe commented Sep 22, 2025

Contribution description

For a project we want to access some registers of the nRF52840, that are not yet specified in the current vendor files.

Nordic changed some stuff, but it appears as if most of the registers are unchanged.
Included in that "changing stuff" is a bunch of renames that actually have an effect, which is why the nrf52840_name_change.h
file was added.

I changed the nrf52840.h header to not include the system_nrf52840.h file (commented that line out) and added the Name Change header.
The System header was not included previously either, so it shouldn't matter. Also, the System header provided by the nrfx repo was quite bare.

The nrfx version that these files come from is 3.14.0.

Testing procedure

All your favorite nRF52840 applications should still work.

Issues/PRs references

None.

@crasbe crasbe added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Sep 22, 2025
@github-actions github-actions bot added Platform: ARM Platform: This PR/issue effects ARM-based platforms Area: cpu Area: CPU/MCU ports labels Sep 22, 2025
@riot-ci
Copy link

riot-ci commented Sep 22, 2025

Murdock results

✔️ PASSED

9bb94d6 cpu/nrf52: update nRF52840 vendor header files

Success Failures Total Runtime
10516 0 10516 13m:13s

Artifacts

@crasbe crasbe removed the State: WIP State: The PR is still work-in-progress and its code is not in its final presentable form yet label Sep 23, 2025
@crasbe crasbe marked this pull request as ready for review September 23, 2025 15:05
@crasbe crasbe requested a review from aabadie as a code owner September 23, 2025 15:05
@crasbe crasbe requested a review from benpicco September 23, 2025 15:05
@mguetschow
Copy link
Contributor

Thanks, that has been on my backlog for quite some time :)

Would you mind updating the other nrf52 vendor files as well, while you are at it? Did you encounter any problems you had to fix manually?

@crasbe
Copy link
Contributor Author

crasbe commented Sep 26, 2025

Sure, can do. However I only have the nRF52832 and nRF52840 for actual hardware testing.

The only manual fixes were including the "name change" header and commenting out the "System" header, so it's a reasonable amount of work to do for the other microcontrollers too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: cpu Area: CPU/MCU ports CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Platform: ARM Platform: This PR/issue effects ARM-based platforms Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants