-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Flash api nRF52840 #4282
Flash api nRF52840 #4282
Conversation
LGTM 3 small things that can help:
|
first dot: Ok, I'll remember. second: this header is included in flash_api.h with proper preprocesor if third:
|
@kl-cruz As these are few commits, and we shall start fixing these commit messages, c an you rebase this to remove [] ? Should be fairly quick? From |
@kl-cruz Because we're on the subject of commit messages, we recommend our contributors follow Chris Beam’s seven rules of great commit messages to keep the commit history clear. I find commit.template to be particularly useful. Thanks for your contributions. @0xc0170 How much does [] affect things? In our release notes, I've been changing : to [] to get rid of the awkward double colon, but if we're recommending that everyone use colons, I may have to consider changing that. |
We will have to check to use a flag to overcome this removing [] from the commit line for |
@kl-cruz It should be good to go. If you got time to improve the commit msg, let us know. |
Can you please rebase ? The refactor of nrf51 SDK (to include 52) was merged prior this one. |
@kl-cruz What would it requires to use the flash API while the softdevice is enabled ? Wouldn't it be possible to take advantage of |
@kl-cruz It looks like you merged. Could you rebase instead? |
1ed8744
to
5cac624
Compare
Rebased and changed brackets |
/morph test |
@pan- Happy with this patch (the answers above provided) ? |
@0xc0170 lgtm |
Result: NOT_BUILTYour command has finished executing! Here's what you wrote!
|
/morph test |
Re-triggering /morph test |
Result: SUCCESSYour command has finished executing! Here's what you wrote!
OutputAll builds and test passed! |
Notes:
Adding support for flashiap for nRF52840 devices. This is second pull request. This one was started from master branch (I did cherry pick of few commits). Tests were passed but... There is a nasty bug on master now: #4237 . It is necessary to remove first line in hex files and run tests with switch --run:
mbed test -n "tests-mbed_drivers-flashiap" -t GCC_ARM -m NRF52840_dk -c
mbed test -n "tests-mbed_drivers-flashiap" -t GCC_ARM -m NRF52840_dk --run
Status
READY
Related Issues
#4237