# Copyright 2025 NXP
# All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause

rsource "${core_id}/Kconfig"
rsource "Kconfig.defconfig"

config MCUX_HW_BOARD_evkbmimxrt1170
    bool
    default y
    imply MCUX_HW_DEVICE_MIMXRT1176

    imply MCUX_COMPONENT_driver.clock
    imply MCUX_COMPONENT_driver.igpio
    imply MCUX_COMPONENT_driver.iomuxc
    imply MCUX_COMPONENT_driver.anatop_ai
    imply MCUX_COMPONENT_driver.memory
    imply MCUX_COMPONENT_driver.dcdc_2
    imply MCUX_COMPONENT_driver.gpc_xxx_ctrl
    imply MCUX_COMPONENT_driver.pgmc
    imply MCUX_COMPONENT_driver.anadig_pmu
    imply MCUX_COMPONENT_driver.src_2
    select MCUX_COMPONENT_component.lpuart_adapter  if MCUX_COMPONENT_component.serial_manager_uart
    select MCUX_COMPONENT_component.lpuart_adapter  if MCUX_COMPONENT_utility.debug_console_lite

# Custom board modules
config MCUX_PRJSEG_module.custom_board.boardfile
    bool "Board file"
    help
        The custom board file.

config MCUX_PRJSEG_module.custom_board.clock
    bool "Clock"
    help
        The custom board clock file.

config MCUX_PRJSEG_module.custom_board.pinmux
    bool "Pinmux"
    help
        The custom board pinmux file.

# Custom board project hardware_init.c/app.h
config MCUX_PRJSEG_project.custom_board.hw_app
    bool "App/hardware_init.c"
    help
        The custom board app/hardware_init.c file.