2017-05-29 22:57:42 +08:00
|
|
|
# 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
|
2018-05-26 02:56:38 +08:00
|
|
|
default "nucleo_f412zg"
|
2017-05-29 22:57:42 +08:00
|
|
|
|
2017-12-29 02:11:11 +08:00
|
|
|
if UART_CONSOLE
|
|
|
|
|
|
|
|
config UART_STM32_PORT_3
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # UART_CONSOLE
|
|
|
|
|
2018-02-21 22:37:41 +08:00
|
|
|
if I2C
|
|
|
|
|
|
|
|
config I2C_1
|
|
|
|
def_bool y
|
|
|
|
|
|
|
|
endif # I2C
|
|
|
|
|
2018-03-09 23:09:20 +08:00
|
|
|
if NETWORKING
|
|
|
|
|
|
|
|
config USB
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USB_DEVICE_STACK
|
|
|
|
default y
|
|
|
|
|
|
|
|
config USB_DEVICE_NETWORK_ECM
|
|
|
|
default y
|
|
|
|
|
|
|
|
endif # NETWORKING
|
|
|
|
|
2017-05-29 22:57:42 +08:00
|
|
|
endif # BOARD_NUCLEO_F412ZG
|