Skip to content

Commit 94a6c1f

Browse files
fmoessbauerkartben
authored andcommitted
boards: lilygo: ttgo_tbeam: remove not-needed kconfig opts
The boards defconfig enabled CONFIG_(MFD|REGULATOR), which are not stricly needed if the corresponding node is not enabled in the device tree. These options also enable many drivers, which are problematic on the mcuboot bootloader target. By moving them to the Kconfig, we can make them depend on !MCUBOOT which restores the sysboot target. Signed-off-by: Felix Moessbauer <felix.moessbauer@gmail.com>
1 parent cb8d6df commit 94a6c1f

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

boards/lilygo/ttgo_tbeam/Kconfig

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,9 @@ config HEAP_MEM_POOL_ADD_SIZE_BOARD
88

99
config GNSS_INIT_PRIORITY
1010
default 87
11+
12+
config MFD
13+
default y if !MCUBOOT
14+
15+
config REGULATOR
16+
default y if !MCUBOOT

boards/lilygo/ttgo_tbeam/ttgo_tbeam_esp32_procpu_defconfig

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,3 @@ CONFIG_UART_CONSOLE=y
66
CONFIG_UART_INTERRUPT_DRIVEN=y
77

88
CONFIG_GPIO=y
9-
CONFIG_MFD=y
10-
CONFIG_REGULATOR=y

0 commit comments

Comments
 (0)