Skip to content

kconfig: Add hide options Kconfig #23060

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

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

nordicjm
Copy link
Contributor

@nordicjm nordicjm commented Jul 1, 2025

Adds a Kconfig that, when enabled, will hide the Kconfig tree of NCS

@nordicjm nordicjm requested a review from a team as a code owner July 1, 2025 08:25
@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 Jul 1, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jul 1, 2025

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 25

Inputs:

Sources:

sdk-nrf: PR head: 6d8d38cb338dd45caa951fe0e61d23275a4ca8ac
zephyr: PR head: 2dedad04e4ddeb1eafdb08723a03cd08d4478801

more details

sdk-nrf:

PR head: 6d8d38cb338dd45caa951fe0e61d23275a4ca8ac
merge base: 706091a577919d16375e78eca27d3d5173ce3c7e
target head (main): 706091a577919d16375e78eca27d3d5173ce3c7e
Diff

zephyr:

PR head: 2dedad04e4ddeb1eafdb08723a03cd08d4478801
merge base: f28ed0b510bd0ba3d9d3d6b719dfd93d481ca52c
target head (main): f28ed0b510bd0ba3d9d3d6b719dfd93d481ca52c
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (110)
.github
│  ├── workflows
│  │  │ compliance.yml
boards
│  ├── nordic
│  │  ├── nrf52820dongle
│  │  │  │ nrf52820dongle_nrf52820_defconfig
│  │  ├── nrf52833dongle
│  │  │  │ nrf52833dongle_nrf52833_defconfig
│  │  ├── nrf52840gmouse
│  │  │  │ nrf52840gmouse_nrf52840_defconfig
│  │  ├── nrf52dmouse
│  │  │  │ nrf52dmouse_nrf52832_defconfig
│  │  ├── nrf52kbd
│  │  │  │ nrf52kbd_nrf52832_defconfig
│  │  ├── thingy91
│  │  │  ├── thingy91_nrf52840_defconfig
│  │  │  ├── thingy91_nrf9160_defconfig
│  │  │  │ thingy91_nrf9160_ns_defconfig
│  │  ├── thingy91x
│  │  │  ├── thingy91x_nrf5340_cpuapp_defconfig
│  │  │  ├── thingy91x_nrf5340_cpuapp_ns_defconfig
│  │  │  ├── thingy91x_nrf5340_cpunet_defconfig
│  │  │  ├── thingy91x_nrf9151_defconfig
│  │  │  │ thingy91x_nrf9151_ns_defconfig
doc
│  ├── nrf
│  │  ├── templates
│  │  │  │ application_README.rst
drivers
│  ├── flash
│  │  │ Kconfig
│  ├── mpsl
│  │  ├── flash_sync
│  │  │  │ Kconfig
│  ├── serial
│  │  │ Kconfig.nrf_sw_lpuart
lib
│  ├── bin
│  │  ├── lwm2m_carrier
│  │  │  │ Kconfig
│  ├── dk_buttons_and_leds
│  │  │ Kconfig
│  ├── edge_impulse
│  │  │ Kconfig
│  ├── fprotect
│  │  │ Kconfig
│  ├── hw_unique_key
│  │  │ Kconfig
│  ├── identity_key
│  │  │ Kconfig
│  ├── lte_link_control
│  │  │ Kconfig
│  ├── modem_attest_token
│  │  │ Kconfig
│  ├── ram_pwrdn
│  │  │ Kconfig
│  ├── wave_gen
│  │  │ Kconfig
modules
│  │ modules.cmake
samples
│  ├── Kconfig
│  ├── nrf5340
│  │  ├── extxip_smp_svr
│  │  │  │ README.rst
subsys
│  ├── app_event_manager
│  │  │ Kconfig
│  ├── audio_module
│  │  │ Kconfig
│  ├── bluetooth
│  │  ├── Kconfig.discovery
│  │  ├── Kconfig.pool
│  │  ├── controller
│  │  │  │ Kconfig
│  │  ├── mesh
│  │  │  ├── Kconfig
│  │  │  ├── Kconfig.dk_prov
│  │  │  │ Kconfig.sensor
│  │  ├── services
│  │  │  ├── cgms
│  │  │  │  │ Kconfig.cgms
│  │  │  ├── fast_pair
│  │  │  │  ├── adv_manager
│  │  │  │  │  │ Kconfig
│  │  │  │  ├── fmdn
│  │  │  │  │  │ Kconfig
│  │  │  │  ├── fp_storage
│  │  │  │  │  │ Kconfig.fp_storage
│  │  │  ├── wifi_prov
│  │  │  │  │ Kconfig.wifi_prov
│  ├── bootloader
│  │  ├── Kconfig
│  │  ├── bl_validation
│  │  │  │ Kconfig
│  ├── caf
│  │  ├── events
│  │  │  ├── Kconfig
│  │  │  ├── Kconfig.factory_reset_event
│  │  │  ├── Kconfig.force_power_down_event
│  │  │  ├── Kconfig.keep_alive_event
│  │  │  ├── Kconfig.module_state_event
│  │  │  │ Kconfig.sensor_event
│  │  ├── modules
│  │  │  ├── Kconfig.ble_adv
│  │  │  ├── Kconfig.ble_bond
│  │  │  ├── Kconfig.ble_state
│  │  │  ├── Kconfig.factory_reset_request
│  │  │  ├── Kconfig.power_manager
│  │  │  │ Kconfig.settings_loader
│  ├── debug
│  │  ├── cpu_load
│  │  │  │ Kconfig
│  │  ├── etb_trace
│  │  │  │ Kconfig
│  │  ├── ppi_trace
│  │  │  │ Kconfig
│  ├── dult
│  │  │ Kconfig
│  ├── mpsl
│  │  ├── clock_ctrl
│  │  │  │ Kconfig
│  ├── net
│  │  ├── lib
│  │  │  ├── download_client
│  │  │  │  │ Kconfig
│  │  │  ├── fota_download
│  │  │  │  │ Kconfig
│  │  │  ├── lwm2m_client_utils
│  │  │  │  │ Kconfig
│  │  │  ├── nrf70_fw_ext
│  │  │  │  │ Kconfig
│  │  │  ├── nrf_cloud
│  │  │  │  ├── Kconfig
│  │  │  │  ├── Kconfig.nrf_cloud_coap
│  │  │  │  ├── Kconfig.nrf_cloud_fota
│  │  │  │  ├── Kconfig.nrf_cloud_location
│  │  │  │  ├── Kconfig.nrf_cloud_mqtt
│  │  │  │  │ Kconfig.nrf_cloud_shadow_info
│  ├── nrf_profiler
│  │  │ Kconfig
│  ├── nrf_security
│  │  ├── Kconfig
│  │  ├── Kconfig.legacy
│  │  ├── Kconfig.psa
│  │  ├── Kconfig.tls
│  │  ├── src
│  │  │  ├── drivers
│  │  │  │  ├── Kconfig
│  │  │  │  ├── cracen
│  │  │  │  │  │ Kconfig
│  ├── sdfw_services
│  │  ├── services
│  │  │  ├── extmem
│  │  │  │  │ Kconfig
│  ├── suit
│  │  ├── Kconfig
│  │  ├── app_tools
│  │  │  ├── recovery_button
│  │  │  │  │ Kconfig
│  │  ├── cache
│  │  │  │ Kconfig
│  │  ├── envelope_info
│  │  │  │ Kconfig
│  │  ├── events
│  │  │  │ Kconfig
│  │  ├── execution_mode
│  │  │  │ Kconfig
│  │  ├── ipuc
│  │  │  │ Kconfig
│  │  ├── manifest_variables
│  │  │  │ Kconfig
│  │  ├── mci
│  │  │  │ Kconfig
│  │  ├── memptr_storage
│  │  │  │ Kconfig
│  │  ├── metadata
│  │  │  │ Kconfig
│  │  ├── orchestrator
│  │  │  │ Kconfig
│  │  ├── orchestrator_app
│  │  │  │ Kconfig
│  │  ├── platform
│  │  │  ├── Kconfig
│  │  │  ├── sdfw
│  │  │  │  │ Kconfig
│  │  │  ├── sink_selector
│  │  │  │  │ Kconfig
│  │  ├── storage
│  │  │  │ Kconfig
│  │  ├── stream
│  │  │  │ Kconfig
│  │  ├── utils
│  │  │  │ Kconfig
│  │  ├── validator
│  │  │  │ Kconfig
│  ├── uart_async_adapter
│  │  │ Kconfig
sysbuild
│  ├── Kconfig.suit
│  ├── Kconfig.wifi
│  ├── suit_provisioning
│  │  │ Kconfig.template.manifest_config
west.yml
zephyr
│  ├── module.yml
│  ├── scripts
│  │  ├── bindings_properties_allowlist.yaml
│  │  ├── ci
│  │  │  │ check_compliance.py
│  ├── zephyr
│  │  │ module.yml

Outputs:

Toolchain

Version: 684b32e022
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:684b32e022_bba2ea5f2e

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
  • ❌ Integration tests
    • ✅ test-sdk-audio
    • ✅ desktop52_verification
    • ✅ test-fw-nrfconnect-apps
    • ✅ test_ble_nrf_config
    • ✅ test-fw-nrfconnect-ble_mesh
    • ✅ test-fw-nrfconnect-ble_samples
    • ✅ test-fw-nrfconnect-chip
    • ✅ test-fw-nrfconnect-nfc
    • ✅ test-fw-nrfconnect-nrf-iot_cloud
    • ✅ test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • ✅ test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • ✅ test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • ✅ test-fw-nrfconnect-nrf-iot_samples
    • ❌ test-fw-nrfconnect-nrf-iot_lwm2m
    • ✅ doc-internal
    • ✅ test-fw-nrfconnect-nrf-iot_thingy91
    • ✅ test-fw-nrfconnect-nrf_crypto
    • ✅ test-fw-nrfconnect-rpc
    • ✅ test-fw-nrfconnect-rs
    • ✅ test-fw-nrfconnect-fem
    • ✅ test-fw-nrfconnect-tfm
    • ✅ test-fw-nrfconnect-thread-main
    • ✅ test-sdk-find-my
    • ✅ test-fw-nrfconnect-nrf_lrcs_mosh
    • ✅ test-fw-nrfconnect-nrf_lrcs_positioning
    • ✅ test-sdk-wifi
    • ✅ test-low-level
    • ✅ test-sdk-pmic-samples
    • ✅ test-sdk-mcuboot
    • ✅ test-fw-nrfconnect-ps-main
    • ✅ test-secdom-samples-public
    • ⚠️ test-fw-nrfconnect-nrf_lrcs_mosh
    • ⚠️ test-fw-nrfconnect-nrf_lrcs_positioning
    • ⚠️ test-sdk-dfu

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

@nordicjm nordicjm requested a review from a team July 1, 2025 09:54
@nordicjm nordicjm removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jul 1, 2025
@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 Jul 2, 2025
@nordicjm nordicjm removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jul 2, 2025
@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 Jul 3, 2025
Copy link
Contributor

@tejlmand tejlmand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adds a Kconfig that, when enabled, will hide the Kconfig tree of NCS

This doesn't seem to be what this PR is doing 😛

@nordicjm nordicjm force-pushed the hideoptions branch 2 times, most recently from 0625cd6 to e4d58b8 Compare July 4, 2025 10:02
@nordicjm nordicjm requested review from a team as code owners July 4, 2025 10:02
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jul 4, 2025

The following west manifest projects have changed revision in this Pull Request:

Name Old Revision New Revision Diff
zephyr nrfconnect/sdk-zephyr@f28ed0b (main) nrfconnect/sdk-zephyr#3023 nrfconnect/sdk-zephyr#3023/files

Additional metadata changed:

Name URL Submodules West cmds module.yml
zephyr

DNM label due to: 1 project with PR revision and 1 project with metadata changes

Note: This message is automatically posted and updated by the Manifest GitHub Action.

Copy link

github-actions bot commented Jul 4, 2025

You can find the documentation preview for this PR here.

Preview links for modified nRF Connect SDK documents:

https://ncsdoc.z6.web.core.windows.net/PR-23060/nrf/templates/application_README.html
https://ncsdoc.z6.web.core.windows.net/PR-23060/nrf/samples/nrf5340/extxip_smp_svr/README.html

@github-actions github-actions bot added the ble mesh Label for ble mesh PRbot. Add this if PR is related to ble mesh and you need to get review. label Jul 4, 2025
@nordicjm nordicjm force-pushed the hideoptions branch 3 times, most recently from 0e75ac4 to ae10632 Compare July 4, 2025 11:35
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jul 4, 2025

Memory footprint analysis revealed the following potential issues

applications.hpf.gpio.icmsg[nrf54l15dk/nrf54l15/cpuflpr]: High RAM usage: 9090[B] - link (cc: @nrfconnect/ncs-ll-ursus)
applications.hpf.gpio.icmsg[nrf54l15dk/nrf54l15/cpuflpr]: High ROM usage: 5846[B] - link (cc: @nrfconnect/ncs-ll-ursus)
applications.hpf.gpio.icbmsg[nrf54l15dk/nrf54l15/cpuflpr]: High RAM usage: 12430[B] - link (cc: @nrfconnect/ncs-ll-ursus)
applications.hpf.gpio.icbmsg[nrf54l15dk/nrf54l15/cpuflpr]: High ROM usage: 9178[B] - link (cc: @nrfconnect/ncs-ll-ursus)

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

@nordicjm nordicjm force-pushed the hideoptions branch 2 times, most recently from 89102df to ca46513 Compare July 7, 2025 07:12
@nordicjm nordicjm requested review from a team as code owners July 7, 2025 08:12
@nordicjm nordicjm force-pushed the hideoptions branch 3 times, most recently from 901c5e8 to 3b6fb0c Compare July 8, 2025 13:08
@nordicjm nordicjm requested a review from a team as a code owner July 8, 2025 13:08
@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label Jul 8, 2025
@nordicjm nordicjm requested a review from a team as a code owner July 8, 2025 13:14
nordicjm added 10 commits July 14, 2025 10:45
This method of selection was deprecated years ago and should have
been removed from the tree at the same time

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This text is completely superfluous and should not have been added

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Uses a name which is already in the allow list

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Adds the folders for these locations to the zephyr module file

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Includes a workaround for setting the static NRF Kconfig path

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Allows for modules to override the NCS Kconfig root

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Allows for modules to override the NCS Sysbuild Kconfig root

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
This text is completely superfluous and should not have been added

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Enables Kconfig and sysbuild Kconfig compliance checks

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Fixes a Kconfig name

Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ble mesh Label for ble mesh PRbot. Add this if PR is related to ble mesh and you need to get review. changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. DNM doc only doc-required PR must not be merged without tech writer approval. manifest manifest-zephyr
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants