Commit 411f9d8f authored by Henrik Brix Andersen's avatar Henrik Brix Andersen
Browse files

boards: tdk: robokit1: align driver init levels with devicetree deps

This board contains both an NTC sensor dependings on a specific SPI ADC and
a TMP116 containing both a sensor and an EEPROM.

Align these driver initialization priorities with the devicetree
dependencies to avoid build failures with CONFIG_CHECK_INIT_PRIORITIES=y.

Signed-off-by: default avatarHenrik Brix Andersen <henrik@brixandersen.dk>
parent 68c0ff4e
Loading
Loading
Loading
Loading
+18 −0
Changes for boards/tdk/robokit1/Kconfig.defconfig: 18 added lines, 0 removed lines.
Original line number Diff line number Diff line
# Copyright (c) 2024 Henrik Brix Andersen <henrik@brixandersen.dk>
# SPDX-License-Identifier: Apache-2.0

if BOARD_ROBOKIT1

config ADC_ADS7052_INIT_PRIORITY
	default 60
	depends on ADC_ADS7052

config SENSOR_INIT_PRIORITY
	default 60
	depends on SENSOR

config EEPROM_INIT_PRIORITY
	default 60
	depends on EEPROM

endif # BOARD_ROBOKIT1