zephyr/boards/arm/nucleo_f412zg/Kconfig.defconfig

62 lines
656 B
Plaintext
Raw Normal View History

# Kconfig - NUCLEO-144 F412ZG board configuration
#
# Copyright (c) 2017 Florian Vaussard, HEIG-VD
#
# SPDX-License-Identifier: Apache-2.0
#
if BOARD_NUCLEO_F412ZG
config BOARD
default "nucleo_f412zg"
if UART_CONSOLE
config UART_STM32_PORT_3
default y
endif # UART_CONSOLE
if SERIAL
config UART_STM32_PORT_6
default y
endif # SERIAL
if I2C
config I2C_1
def_bool y
endif # I2C
if SPI
config SPI_1
def_bool y
endif # SPI
if NETWORKING
config USB
default y
config USB_DEVICE_STACK
default y
config USB_DEVICE_NETWORK_ECM
default y
endif # NETWORKING
if PWM
config PWM_STM32_2
def_bool y
endif # PWM
endif # BOARD_NUCLEO_F412ZG