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

nRF51822 Support #367

Closed
netthier opened this issue Dec 16, 2021 · 4 comments
Closed

nRF51822 Support #367

netthier opened this issue Dec 16, 2021 · 4 comments

Comments

@netthier
Copy link

Hey, is any support for the nRF51822, used by the Calliope Mini, planned?
If not, how hard would it be to implement?

@jonas-schievink
Copy link
Contributor

We don't currently have a PAC for that chip, so you'd have to add one to https://github.com/nrf-rs/nrf-pacs. Then, adding HAL support should be relatively straightforward (you can check #148 for an example PR adding support for a new chip).

@netthier
Copy link
Author

Do you know where I could find the SVD file for that chip? I tried downloading the MDK, and while it does contain SVD's for a lot of chips, there are only the following, relatively short, files for the 51822:

  • nrf51822_peripherals.h
  • nrf51822_xxaa.ld
  • nrf51822_xxab.ld
  • nrf51822_xxac.ld

Furthermore, the header file contains the line
/* This file is deprecated */
How would I generate a PAC crate for this chip?

@jonas-schievink
Copy link
Contributor

Oh, nRF51822, that's already supported by the nrf51-pac and nrf51-hal. I thought it said nRF52822, which does not seem to exist.

@netthier
Copy link
Author

Ah, that's awesome. Thanks!

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

No branches or pull requests

2 participants