-
Notifications
You must be signed in to change notification settings - Fork 33
samples: Cleanup prj.conf files #602
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
base: main
Are you sure you want to change the base?
Conversation
|
You can find the documentation preview for this PR here. |
55221a3 to
d00ea93
Compare
|
needs rebase |
d00ea93 to
87cf6ca
Compare
nordicjm
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.
The copyright is useless really, you can't copyright a bunch of Kconfig options in a list
samples/bluetooth/ble_bms/prj.conf
Outdated
| CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1 | ||
| CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65 | ||
|
|
||
| #Advertising library |
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.
missing space
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.
Added space and removed copyright.
It was already there in the boot samples, and in the samples I checked in NCS. Hence, it seemed like it was supposed to be there. Though I agree, I don't see the need for it. |
* Cleanup and alignment of prj-conf files. * Remove license from prj.conf files. It is not needed for these files. Signed-off-by: Eivind Jølsgard <[email protected]>
87cf6ca to
20b65bd
Compare
|
@nrfconnect/ncs-eris Please review. |
| # | ||
| # Copyright (c) 2025 Nordic Semiconductor ASA | ||
| # | ||
| # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| # | ||
|
|
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.
Leftover from earlier. Should be removed.
| # | |
| # Copyright (c) 2025 Nordic Semiconductor ASA | |
| # | |
| # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | |
| # |
| # BLE connection parameter | ||
| CONFIG_BLE_CONN_PARAMS=y | ||
| #This is not yet supported in S115 | ||
| # Set minimum connection interval to 400ms | ||
| CONFIG_BLE_CONN_PARAMS_MIN_CONN_INTERVAL=6 | ||
| # Set maximum connection interval to 650ms | ||
| CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL=256 | ||
| # Set supervision timeout to 4 seconds | ||
| CONFIG_BLE_CONN_PARAMS_SUP_TIMEOUT=400 |
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.
Values in comments are outdated. Please update them or simply remove the comments (this is the only place we have this kind of comments).
Could remove the configurations also. Two of three are setting the value to the default value.
| CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL=256 | ||
| CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL=24 | ||
| CONFIG_BLE_CONN_PARAMS_INITIATE_ATT_MTU_EXCHANGE=n | ||
| CONFIG_BLE_CONN_PARAMS_DATA_LENGTH_RX=251 | ||
| CONFIG_BLE_CONN_PARAMS_DATA_LENGTH_TX=251 | ||
| CONFIG_NRF_SDH_BLE_GAP_EVENT_LENGTH=10 | ||
| CONFIG_BLE_CONN_PARAMS_SUP_TIMEOUT=20 | ||
| CONFIG_BLE_CONN_PARAMS_MAX_SUP_TIMEOUT_DEVIATION=20 |
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.
Supervision timeout options can be moved up and placed after CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL. They are all connected to the same negotiation procedure, while data length extension is another procedure.
| # | ||
| # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | ||
| # |
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.
Remove the license here as well?
| # | |
| # SPDX-License-Identifier: LicenseRef-Nordic-5-Clause | |
| # |
| # Clock control | ||
| CONFIG_CLOCK_CONTROL=y | ||
|
|
||
| # LPUARTE |
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.
| # LPUARTE | |
| # Low Power UARTE |
Depends on samples: bluetooth: remove simulated battery measurements #600