zephyr/arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.series

66 lines
961 B
Plaintext

# Kconfig.defconfig.series - ST Microelectronics STM32F4 MCU line
#
# Copyright (c) 2016 Linaro Limited
#
# SPDX-License-Identifier: Apache-2.0
#
if SOC_SERIES_STM32F4X
source "arch/arm/soc/st_stm32/stm32f4/Kconfig.defconfig.stm32f4*"
config SOC_SERIES
default stm32f4
if GPIO_STM32
config GPIO_STM32_PORTD
default y
config GPIO_STM32_PORTE
default y
config GPIO_STM32_PORTH
default y
endif # GPIO_STM32
if USB
config USB_DC_STM32
def_bool y
# USB OTG FS has four endpoints including ep0
config USB_DC_STM32_EP_NUM
int
default 4
# 320 4-Byte words FIFO for USB OTG FS controller
config USB_DC_STM32_RAM_SIZE
int
default 1280
if USB_CDC_ACM
config CDC_ACM_INT_EP_ADDR
default 0x81
config CDC_ACM_IN_EP_ADDR
default 0x82
config CDC_ACM_OUT_EP_ADDR
default 0x03
endif # USB_CDC_ACM
endif #USB
if I2C && (I2C_1 || I2C_2 || I2C_3)
config I2C_STM32_V1
def_bool y
endif # I2C
endif # SOC_SERIES_STM32F4X