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

nRF52 SDK 15.0 - Enable more than 1 interrupt #11622

Conversation

@trowbridgec
Copy link
Contributor

trowbridgec commented Oct 3, 2019

Description

With the move from nRF52 SDK v14.2 to v15.0, the GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS setting was changed from a default of 4 to a default of 1 (the setting has now been renamed NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS). This setting controls how many interrupts you can configure in your application and silently fails when you try to enable more than are configured. This issue was initially raised in #10949 by @anton-veretenenko, but we also ran into this problem while diagnosing why the mbed-os-example-lorawan example application stopped working with our nRF52840-based board once we moved to mbed-os-5.13.0 (the first release containing v15.0 of the nRF52 SDK).

This PR resets the default value for NRFX_GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS to 4 for both the nRF52840 and nRF52832.

Pull request type

[x] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

Release Notes

@trowbridgec

This comment has been minimized.

Copy link
Contributor Author

trowbridgec commented Oct 3, 2019

@ciarmcom ciarmcom requested a review from ARMmbed/mbed-os-maintainers Oct 3, 2019
@ciarmcom

This comment has been minimized.

Copy link
Member

ciarmcom commented Oct 3, 2019

@trowbridgec, thank you for your changes.
@ARMmbed/mbed-os-maintainers please review.

Copy link
Member

bulislaw left a comment

@linlingao can you review please

@0xc0170 0xc0170 added needs: CI and removed needs: review labels Oct 15, 2019
@0xc0170

This comment has been minimized.

Copy link
Member

0xc0170 commented Oct 15, 2019

CI started

@mbed-ci

This comment has been minimized.

Copy link

mbed-ci commented Oct 15, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 1
Build artifacts

@0xc0170 0xc0170 merged commit c94ae90 into ARMmbed:master Oct 16, 2019
25 checks passed
25 checks passed
continuous-integration/jenkins/pr-head This commit looks good
Details
jenkins-ci/build-ARM Success
Details
jenkins-ci/build-GCC_ARM Success
Details
jenkins-ci/build-IAR Success
Details
jenkins-ci/cloud-client-test Success
Details
jenkins-ci/dynamic-memory-usage RTOS ROM(+0 bytes) RAM(+0 bytes)
Details
jenkins-ci/exporter Success
Details
jenkins-ci/greentea-test Success
Details
jenkins-ci/mbed2-build-ARM Success
Details
jenkins-ci/mbed2-build-GCC_ARM Success
Details
jenkins-ci/mbed2-build-IAR Success
Details
jenkins-ci/unittests Success
Details
travis-ci/astyle Success!
Details
travis-ci/docs Success!
Details
travis-ci/doxy-spellcheck Success!
Details
travis-ci/events Success! Runtime is 8698 cycles.
Details
travis-ci/gitattributestest Success!
Details
travis-ci/include_check Success!
Details
travis-ci/licence_check Success!
Details
travis-ci/littlefs Success! Code size is 8464B.
Details
travis-ci/psa-autogen Success!
Details
travis-ci/tools-py2.7 Success!
Details
travis-ci/tools-py3.5 Success!
Details
travis-ci/tools-py3.6 Success!
Details
travis-ci/tools-py3.7 Success!
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
6 participants
You can’t perform that action at this time.