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

lib: st25r3911b: Correct regulator control register defines #17492

Open
wants to merge 1 commit into
base: v2.7-branch
Choose a base branch
from

Conversation

Andrew55529
Copy link

  • Add ST25R3911B_REG_REGULATOR_CTRL_REGE1
  • Shifted other REG

Fixes a possible error when attempting to autocalibrate the regulator

image

@Andrew55529 Andrew55529 requested a review from grochu as a code owner September 26, 2024 02:01
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Sep 26, 2024
@NordicBuilder
Copy link
Contributor

Thank you for your contribution!
It seems you are not a member of the nrfconnect GitHub organization. External contributions are handled as follows:
Large contributions, affecting multiple subsystems for example, may be rejected if they are complex, may introduce regressions due to lack of test coverage, or if they are not consistent with the architecture of nRF Connect SDK.
PRs will be run in our continuous integration (CI) test system.
If CI passes, PRs will be tagged for review and merged on successful completion of review. You may be asked to make some modifications to your contribution during review.
If CI fails, PRs may be rejected or may be tagged for review and rework.
PRs that become outdated due to other changes in the repository may be rejected or rework requested.
External contributions will be prioritized for review based on the relevance to current development efforts in nRF Connect SDK. Bug fix PRs will be prioritized.
You may raise issues or ask for help from our Technical Support team by visiting https://devzone.nordicsemi.com/.

Note: This comment is automatically posted and updated by the Contribs GitHub Action.

@NordicBuilder NordicBuilder added the external External contribution label Sep 26, 2024
Copy link

github-actions bot commented Nov 9, 2024

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Nov 9, 2024
@Andrew55529
Copy link
Author

?

@github-actions github-actions bot removed the Stale label Nov 28, 2024
Copy link

This pull request has been marked as stale because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this pull request will automatically be closed in 7 days. Note, that you can always re-open a closed pull request at any time.

@github-actions github-actions bot added the Stale label Dec 29, 2024
@github-actions github-actions bot closed this Jan 8, 2025
@Andrew55529
Copy link
Author

?

@grochu
Copy link
Contributor

grochu commented Jan 23, 2025

Thank you for the contribution! I have been on a long leave and haven't noticed this PR upon return. I'll give it a look tomorrow.

@grochu grochu reopened this Jan 23, 2025
@Andrew55529
Copy link
Author

Thank you for the contribution! I have been on a long leave and haven't noticed this PR upon return. I'll give it a look tomorrow.

It's too #17491

@grochu
Copy link
Contributor

grochu commented Jan 23, 2025

@Andrew55529 please modify the top line of the commit message by adding the area of change followed by a colon. E.g. "st25r3911b: Correct regulator (...)" keeping in mind the max line length of the commit message: 75 characters.

@Andrew55529
Copy link
Author

@Andrew55529 please modify the top line of the commit message by adding the area of change followed by a colon. E.g. "st25r3911b: Correct regulator (...)" keeping in mind the max line length of the commit message: 75 characters.

It's my first PR. I should make 'git commit --amend' or recreate PR with new commit or click any button on GitHub?

@grochu
Copy link
Contributor

grochu commented Jan 23, 2025

@Andrew55529 please modify the top line of the commit message by adding the area of change followed by a colon. E.g. "st25r3911b: Correct regulator (...)" keeping in mind the max line length of the commit message: 75 characters.

It's my first PR. I should make 'git commit --amend' or recreate PR with new commit or click any button on GitHub?

Please use git commit --amend. Zephyr and consequently NCS are quite strict on git history and commit message format, and there is an automated compliance checker that verifies it.

@Andrew55529 Andrew55529 changed the title Correct regulator control register defines lib: st25r3911b: Correct regulator control register defines Jan 23, 2025
@Andrew55529 Andrew55529 force-pushed the patch-2 branch 2 times, most recently from 40376c7 to e369a54 Compare January 23, 2025 22:08
@Andrew55529
Copy link
Author

@grochu It's correct?

@grochu
Copy link
Contributor

grochu commented Jan 24, 2025

@grochu It's correct?

Hi @Andrew55529, thanks for fixing, yeah, the PR looks good now. Let's run the full CI.

@grochu
Copy link
Contributor

grochu commented Jan 24, 2025

Seems like the commit message still needs a bit of refining. Please find the guidelines here: https://docs.zephyrproject.org/latest/contribute/guidelines.html#commit-guidelines.
I think the Signed-off line is missing (you can add manually or create a new commit using -s option). Ass well, before you email address please add your first and last name.

Correct regulator control register defines
- Add ST25R3911B_REG_REGULATOR_CTRL_REGE1
- Shifted other REG

Fixes a possible error when attempting to autocalibrate the regulator

Signed-off-by: Andrei Lashkov <[email protected]>
@Andrew55529
Copy link
Author

@grochu Attempt number 2

@github-actions github-actions bot removed the Stale label Jan 25, 2025
@grochu grochu added the CI-trusted-author The author of the PR is trusted. All future commits will be tested in PR. label Feb 20, 2025
@grochu grochu added the CI-Requested Approves single commit for CI tests on Internal HW label Feb 20, 2025
@NordicBuilder
Copy link
Contributor

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-nfc X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

Memory footprint analysis revealed the following potential issues

applications.nrf_desktop.zdebug.usb_next[nrf52840dongle/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dongle/nrf52833]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dk/nrf52840]: ROM size increased by 2064[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1340[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_smp[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_smp[nrf52840dk/nrf52840]: ROM size increased by 1996[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1364[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek_multicore[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 1340[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf7002dk/nrf5340/cpuapp]: RAM size increased by 912[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug.usb_next[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840dk/nrf52840]: ROM size increased by 1848[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840dongle/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840gmouse/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52840gmouse/nrf52840]: ROM size increased by 1968[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52833dk/nrf52820]: RAM size increased by 1368[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54h20dk/nrf54h20/cpuapp]: RAM size increased by 1426[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840gmouse/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug.usb_next[nrf52840gmouse/nrf52840]: ROM size increased by 1752[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dk/nrf52833]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_fast_pair.gmouse[nrf52840gmouse/nrf52840]: RAM size increased by 2173[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_fast_pair.gmouse[nrf52840gmouse/nrf52840]: ROM size increased by 2216[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840dongle/nrf52840]: RAM size increased by 1816[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840dongle/nrf52840]: ROM size increased by 3072[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52kbd/nrf52832]: RAM size increased by 2040[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52kbd/nrf52832]: ROM size increased by 3240[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_qspi[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_mcuboot_qspi[nrf52840dk/nrf52840]: ROM size increased by 2044[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek[nrf52840dk/nrf52840]: RAM size increased by 2060[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_nrf21540ek[nrf52840dk/nrf52840]: ROM size increased by 2092[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52820dongle/nrf52820]: RAM size increased by 1368[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52kbd/nrf52832]: RAM size increased by 1988[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52kbd/nrf52832]: ROM size increased by 4316[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.debug[nrf52840dk/nrf52840]: RAM size increased by 1067[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug_dongle.usb_next[nrf52840dk/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52810dmouse/nrf52810]: RAM size increased by 908[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52833dk/nrf52820]: RAM size increased by 1408[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard.usb_next[nrf52840dk/nrf52840]: RAM size increased by 2032[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard.usb_next[nrf52840dk/nrf52840]: ROM size increased by 2168[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebugwithshell[nrf52840dk/nrf52840]: RAM size increased by 2108[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebugwithshell[nrf52840dk/nrf52840]: ROM size increased by 1792[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54l15pdk/nrf54l15/cpuapp]: RAM size increased by 1960[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf54l15pdk/nrf54l15/cpuapp]: ROM size increased by 5012[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf52840dk/nrf52840]: RAM size increased by 1555[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)
applications.nrf_desktop.zdebug_dongle[nrf52840dk/nrf52840]: RAM size increased by 1856[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840gmouse/nrf52840]: RAM size increased by 2000[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease[nrf52840gmouse/nrf52840]: ROM size increased by 4264[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52820dongle/nrf52820]: RAM size increased by 1408[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52dmouse/nrf52832]: RAM size increased by 2076[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug[nrf52dmouse/nrf52832]: ROM size increased by 1332[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_4llpmconn[nrf52840dongle/nrf52840]: RAM size increased by 1664[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard[nrf52840dk/nrf52840]: RAM size increased by 2032[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_keyboard[nrf52840dk/nrf52840]: ROM size increased by 2224[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_wwcb[nrf52840dk/nrf52840]: RAM size increased by 2052[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zdebug_wwcb[nrf52840dk/nrf52840]: ROM size increased by 2064[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease_fast_pair.keyboard[nrf52kbd/nrf52832]: RAM size increased by 2107[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
applications.nrf_desktop.zrelease_fast_pair.keyboard[nrf52kbd/nrf52832]: ROM size increased by 4478[B] in comparison to the main[3940f0e] branch. - link (cc: @MarekPieta)
sample.matter.template.release[nrf5340dk/nrf5340/cpuapp]: RAM size increased by 576[B] in comparison to the main[3940f0e] branch. - link (cc: @kkasperczyk-no @ArekBalysNordic @markaj-nordic)

Note: This message is automatically posted and updated by the CI (latest/sdk-nrf/PR-17492/2)

@grochu
Copy link
Contributor

grochu commented Feb 20, 2025

Hi @Andrew55529 could you please rebase your PR on top of ncs/main again? Maybe CI is failing due to the code being outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. CI-Requested Approves single commit for CI tests on Internal HW CI-trusted-author The author of the PR is trusted. All future commits will be tested in PR. external External contribution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants