Skip to content

Commit 3142c51

Browse files
nordicjmkartben
authored andcommitted
drivers: kconfig: Fix menu items
Fixes items that are not properly in menus or have Kconfig selections that make no sense Signed-off-by: Jamie McCrae <jamie.mccrae@nordicsemi.no>
1 parent 560db85 commit 3142c51

File tree

5 files changed

+9
-13
lines changed

5 files changed

+9
-13
lines changed

drivers/gnss/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ config GNSS_INIT_PRIORITY
6161
Driver initialization priority for GNSS drivers.
6262

6363
config GNSS_U_BLOX_PROTOCOL
64-
bool "GNSS U-BLOX protocol"
64+
bool
6565
select MODEM_UBX
6666
help
67-
Enable gnss u-blox protocol.
67+
Hidden option that enables gnss u-blox protocol.
6868

6969
choice GNSS_REFERENCE_FRAME
7070
bool "GNSS reference frame datum"

drivers/ptp_clock/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Copyright (c) 2018 Intel Corporation.
22
# SPDX-License-Identifier: Apache-2.0
33

4-
config PTP_CLOCK
4+
menuconfig PTP_CLOCK
55
bool "Precision Time Protocol (PTP) Clock drivers"
66
help
77
Enable options for Precision Time Protocol Clock drivers.

drivers/stepper/ti/Kconfig

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,7 @@
22
# SPDX-License-Identifier: Apache-2.0
33

44
config STEPPER_TI
5-
bool "TI Stepper Controller"
5+
bool
66
depends on STEPPER
7-
default y
8-
help
9-
Enable ti stepper controller
10-
11-
if STEPPER_TI
12-
13-
comment "TI Stepper Drivers"
147

158
rsource "Kconfig.drv8424"
16-
17-
endif # STEPPER_TI

drivers/stepper/ti/Kconfig.drv8424

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ config DRV8424
55
bool "TI DRV8424 stepper motor driver"
66
default y
77
depends on DT_HAS_TI_DRV8424_ENABLED
8+
select STEPPER_TI
89
select STEP_DIR_STEPPER
910
select STEPPER_STEP_DIR_GENERATE_ISR_SAFE_EVENTS
1011
help

drivers/usb/common/Kconfig

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Copyright (c) 2023 Nordic Semiconductor ASA
22
# SPDX-License-Identifier: Apache-2.0
33

4+
menu "USB common"
5+
46
rsource "nrf_usbd_common/Kconfig"
7+
8+
endmenu

0 commit comments

Comments
 (0)