Skip to content

Commit d58dd74

Browse files
nordicjmrlubos
authored andcommitted
scripts: ci: Add and use undef Kconfig allow list
Moves what was a noup from sdk-zephyr of undefined Kconfigs Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 83b4061 commit d58dd74

3 files changed

Lines changed: 77 additions & 2 deletions

File tree

.github/workflows/compliance.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ jobs:
7575
if: contains(github.event.pull_request.user.login, 'dependabot[bot]') != true
7676
run: |
7777
export ZEPHYR_BASE="$(dirname "$(pwd)")/zephyr"
78+
export UNDEF_KCONFIG_OUTSIDE_ALLOWLIST_FILE="$(dirname "$(pwd)")/nrf/scripts/ci/nrf_undef_kconfig_allowlist.txt"
7879
# debug
7980
ls -la
8081
git log --pretty=oneline | head -n 10

CODEOWNERS

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,9 @@
758758
/scripts/vale/ @francescoser
759759
/scripts/esb_sniffer/ @nrfconnect/ncs-si-xcake
760760
/scripts/matter/ @nrfconnect/ncs-matter
761+
/scripts/runners/nrf_common_next.py @nrfconnect/ncs-ci
762+
/scripts/runners/nrfutil_next.py @nrfconnect/ncs-ci
763+
/scripts/ci/nrf_undef_kconfig_allowlist.txt @nrfconnect/ncs-co-build-system
761764

762765
/scripts/docker/*.rst @nrfconnect/ncs-doc-leads
763766
/scripts/hid_configurator/*.rst @nrfconnect/ncs-si-xcake-doc
@@ -771,8 +774,6 @@
771774
/scripts/shell/ble_console/**/*.rst @nrfconnect/ncs-doc-leads
772775
/scripts/west_commands/sbom/*.rst @nrfconnect/ncs-co-doc @nrfconnect/ncs-doc-leads
773776
/scripts/esb_sniffer/*.rst @nrfconnect/ncs-si-xcake-doc
774-
/scripts/runners/nrf_common_next.py @nrfconnect/ncs-ci
775-
/scripts/runners/nrfutil_next.py @nrfconnect/ncs-ci
776777

777778
# Share
778779
/share/ @nrfconnect/ncs-co-build-system
Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
# zephyr-keep-sorted-start re(^\s+")
2+
APPLICATION # Example documentation
3+
BAR # Example documentation
4+
BOOT_IMAGE_ACCESS_HOOK # MCUboot setting used in documentation
5+
BT_ADV_PROV_ # Documentation
6+
BT_CTLR_TX_PWR_MINUS # CHIP documentation
7+
BT_CTLR_TX_PWR_MINUS_ # CHIP documentation
8+
BT_CTLR_TX_PWR_PLUS # CHIP documentation
9+
BT_CTLR_TX_PWR_PLUS_ # CHIP documentation
10+
BT_SDC_ADDITIONAL_MEMORY # From dragoon repo
11+
CHANNEL # NRF desktop
12+
CHANNEL_FETCHED_DATA_MAX_SIZE # NRF desktop
13+
CHANNEL_TRANSPORT_DISABLED # NRF desktop
14+
CHANNEL_TRANSPORT_IDLE # NRF desktop
15+
CHANNEL_TRANSPORT_RSP_READY # NRF desktop
16+
CHANNEL_TRANSPORT_WAIT_RSP # NRF desktop
17+
CHIP_DFU_OVER_BT_SMP # CHIP module
18+
CHIP_LAST_FABRIC_REMOVED_ACTION_DELAY # CHIP module
19+
CHIP_LAST_FABRIC_REMOVED_ERASE_AND_PAIRING_START # CHIP module
20+
CHIP_LAST_FABRIC_REMOVED_ERASE_AND_REBOOT # CHIP module
21+
CHIP_LAST_FABRIC_REMOVED_ERASE_ONLY # CHIP module
22+
CHIP_LAST_FABRIC_REMOVED_NONE # CHIP module
23+
CHIP_MEMORY_PROFILING # CHIP module
24+
CHIP_NUS # CHIP module
25+
CHIP_NUS_FIXED_PASSKEY # CHIP module
26+
CHIP_NUS_MAX_COMMANDS # CHIP module
27+
CHIP_NUS_MAX_COMMAND_LEN # CHIP module
28+
CHIP_QSPI_NOR # CHIP module
29+
CHIP_SPI_NOR # CHIP module
30+
CHIP_WIFI # CHIP module
31+
DESKTOP_DVFS_STATE_ # NRF desktop
32+
DESKTOP_DVFS_STATE_CONFIG_CHANNEL_ENABLE # NRF desktop
33+
DESKTOP_DVFS_STATE_INITIALIZING_ENABLE # NRF desktop
34+
DESKTOP_DVFS_STATE_LLPM_CONNECTED_ENABLE # NRF desktop
35+
DESKTOP_DVFS_STATE_SMP_TRANSFER_ENABLE # NRF desktop
36+
DESKTOP_DVFS_STATE_USB_CONNECTED_ENABLE # NRF desktop
37+
FACTORY_DATA_CUSTOM_BACKEND # CHIP module
38+
MEMFAULT_ # Documentation
39+
MEMFAULT_NCS # Documentation
40+
MEMFAULT_NCS_ # Documentation
41+
MY_CUSTOM_CONFIG # Example documentation
42+
MY_EXT_API_ENABLED # Example documentation
43+
MY_EXT_API_REQUIRED # Example documentation
44+
NCS_IS_VARIANT_IMAGE # Build system defined symbol
45+
NCS_MCUBOOT_UUID_CID_IMAGE_0_VALUE # MCUboot
46+
NCS_MCUBOOT_UUID_CID_IMAGE_1_VALUE # MCUboot
47+
NCS_VARIANT_MERGE_KCONFIG # Build system defined symbol
48+
NRF_MODEM_LIB_TRACE_BACKEND_MY_TRACE_BACKEND # Documentation
49+
PM_PARTITION_SIZE # Used in search link
50+
PM_PARTITION_SIZE_ # Used in documentation
51+
PM_PARTITION_SIZE_MEMFAULT_STORAGE # Created by Kconfig template
52+
PM_PARTITION_SIZE_SETTINGS # Created by Kconfig template
53+
SOC_NRF54H20_CPUSEC # Internal
54+
SSF_SERVER_PSA_CRYPTO_SERVICE_ENABLED # Internal
55+
STATUS_ # NRF desktop
56+
STATUS_COUNT # NRF desktop
57+
STATUS_DISCONNECTED # NRF desktop
58+
STATUS_FETCH # NRF desktop
59+
STATUS_GET_BOARD_NAME # NRF desktop
60+
STATUS_GET_HWID # NRF desktop
61+
STATUS_GET_MAX_MOD_ID # NRF desktop
62+
STATUS_GET_PEER # NRF desktop
63+
STATUS_GET_PEERS_CACHE # NRF desktop
64+
STATUS_INDEX_PEERS # NRF desktop
65+
STATUS_LIST # NRF desktop
66+
STATUS_PENDING # NRF desktop
67+
STATUS_POS # NRF desktop
68+
STATUS_REJECT # NRF desktop
69+
STATUS_SET # NRF desktop
70+
STATUS_SUCCESS # NRF desktop
71+
STATUS_TIMEOUT # NRF desktop
72+
STATUS_WRITE_FAIL # NRF desktop
73+
# zephyr-keep-sorted-stop

0 commit comments

Comments
 (0)