Skip to content

Commit 7b962e8

Browse files
committed
[nrf noup] scripts: ci: check_compliance: Add undefined Kconfigs
Adds undefined Kconfigs used in NCS to the allow list for Kconfig compliance checks Signed-off-by: Jamie McCrae <[email protected]>
1 parent a2f7e77 commit 7b962e8

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

scripts/ci/check_compliance.py

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1303,6 +1303,60 @@ def check_no_undef_outside_kconfig(self, kconf):
13031303
# documentation
13041304
"ZTEST_FAIL_TEST_", # regex in tests/ztest/fail/CMakeLists.txt
13051305
# zephyr-keep-sorted-stop
1306+
1307+
# NCS-specific allow list
1308+
# zephyr-keep-sorted-start re(^\s+")
1309+
"APPLICATION", # Example documentation
1310+
"BAR", # Example documentation
1311+
"BOOT_IMAGE_ACCESS_HOOK", # MCUboot setting used in documentation
1312+
"BT_ADV_PROV_", # Documentation
1313+
"BT_SDC_ADDITIONAL_MEMORY", # From dragoon repo
1314+
"CHANNEL", # NRF desktop
1315+
"CHANNEL_FETCHED_DATA_MAX_SIZE", # NRF desktop
1316+
"CHANNEL_TRANSPORT_DISABLED", # NRF desktop
1317+
"CHANNEL_TRANSPORT_IDLE", # NRF desktop
1318+
"CHANNEL_TRANSPORT_RSP_READY", # NRF desktop
1319+
"CHANNEL_TRANSPORT_WAIT_RSP", # NRF desktop
1320+
"DESKTOP_DVFS_STATE_", # NRF desktop
1321+
"DESKTOP_DVFS_STATE_CONFIG_CHANNEL_ENABLE", # NRF desktop
1322+
"DESKTOP_DVFS_STATE_INITIALIZING_ENABLE", # NRF desktop
1323+
"DESKTOP_DVFS_STATE_LLPM_CONNECTED_ENABLE", # NRF desktop
1324+
"DESKTOP_DVFS_STATE_SMP_TRANSFER_ENABLE", # NRF desktop
1325+
"DESKTOP_DVFS_STATE_USB_CONNECTED_ENABLE", # NRF desktop
1326+
"MEMFAULT_", # Documentation
1327+
"MEMFAULT_NCS", # Documentation
1328+
"MEMFAULT_NCS_", # Documentation
1329+
"MY_CUSTOM_CONFIG", # Example documentation
1330+
"MY_EXT_API_ENABLED", # Example documentation
1331+
"MY_EXT_API_REQUIRED", # Example documentation
1332+
"NCS_IS_VARIANT_IMAGE", # Build system defined symbol
1333+
"NCS_VARIANT_MERGE_KCONFIG", # Build system defined symbol
1334+
"NRF_MODEM_LIB_TRACE_BACKEND_MY_TRACE_BACKEND", # Documentation
1335+
"PM_PARTITION_SIZE", # Used in search link
1336+
"PM_PARTITION_SIZE_", # Used in documentation
1337+
"PM_PARTITION_SIZE_MEMFAULT_STORAGE", # Created by Kconfig template
1338+
"PM_PARTITION_SIZE_SETTINGS", # Created by Kconfig template
1339+
"SOC_NRF54H20_CPUSEC", # Internal
1340+
"SSF_SERVER_PSA_CRYPTO_SERVICE_ENABLED", # Internal
1341+
"STATUS_", # NRF desktop
1342+
"STATUS_COUNT", # NRF desktop
1343+
"STATUS_DISCONNECTED", # NRF desktop
1344+
"STATUS_FETCH", # NRF desktop
1345+
"STATUS_GET_BOARD_NAME", # NRF desktop
1346+
"STATUS_GET_HWID", # NRF desktop
1347+
"STATUS_GET_MAX_MOD_ID", # NRF desktop
1348+
"STATUS_GET_PEER", # NRF desktop
1349+
"STATUS_GET_PEERS_CACHE", # NRF desktop
1350+
"STATUS_INDEX_PEERS", # NRF desktop
1351+
"STATUS_LIST", # NRF desktop
1352+
"STATUS_PENDING", # NRF desktop
1353+
"STATUS_POS", # NRF desktop
1354+
"STATUS_REJECT", # NRF desktop
1355+
"STATUS_SET", # NRF desktop
1356+
"STATUS_SUCCESS", # NRF desktop
1357+
"STATUS_TIMEOUT", # NRF desktop
1358+
"STATUS_WRITE_FAIL", # NRF desktop
1359+
# zephyr-keep-sorted-stop
13061360
}
13071361

13081362

0 commit comments

Comments
 (0)