-
-
Notifications
You must be signed in to change notification settings - Fork 838
Add initial nRF91 support. #1316
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
Conversation
|
Hi @zyp, I've been looking for nrf91 support on the bmp for some time and it'd be great if this could be merged. Do you need help in testing it? I have a nrf91 thingy I could test this on. |
|
This was originally blocked on a proper fix for handling the HNONSEC bit in CSW, which got merged in a82624c, so I think if I take out the workaround and rebase it to current main, it is mergeable. @dragonmux Are there any other changes you'd like to see while I'm at it? |
|
For me this does not seem to build @zyp, maybe I'm missing something: After rebasing on main there seem to be some minor API changes that need to be updated: |
2fe391b to
ed71423
Compare
|
Removed workaround, rebased to current main, fixed the minor API thing and the formatting the linter complained about. Have only tested that scanning still works with BMDA, so it could do with some more testing, but apart from that I think this is ready to be merged. |
I can test this on my bmp v2 later today with an nrf91 thingy. |
dragonmux
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.
This all looks good save for a couple of naming items and some errant braces. With them fixed, we'll be happy to merge 👍🏼
dragonmux
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.
LGTM, we'll merge this once the builds complete. If there's something broken, a new PR with fixes can always be opened.
|
@zyp just noticed this was taken without ever getting a license notice added to the top of file - what license was this intended to be contributed under? We'll add it in a branch we're currently building as a fixup to the file. |
|
Anything is okay for me, I'm happy for all contributions I do to be considered non-copyleft (MIT and/or BSD). However, the code is partially based on This goes for #2009 as well. |
|
The code in the file is so different to the nRF51/2 code that even if that's where you started, we can't see a similarity now so we'll apply BSD-3-Clause for you. Many thanks for the response! |
|
The other question for you is.. attribution: Are you handing 1BitSquared the copyright for the code, or are you wishing to keep that? We will be attributing the file as written by you, however need to know what copyright line(s) to add. |
|
As before, either is fine with me. If there is a desire to consolidate the copyright for new contributions then please do so. Maybe it would be a good idea to have a CLA in place? |
|
Right now the policy is "if the contributor hands us copyright, that's appreciated; if not then no worriess, no problem there" - something to ask Esden about.. We'll assign you copyright then for the original code, and copyright 1b² for our modifications. |
This is a draft of initial support for nRF9160.
Detailed description
Your checklist for this pull request
make PROBE_HOST=native)make PROBE_HOST=hosted)Closing issues