STM32Cube uses SoC defines made to reflect HW heterogeneity that should be taken into account by SW. Aim of this commit is to adapt values used by Zephyr to the same diversity. This will help create new SoC values only when justified by a real hardware difference that should be taken into account by software. For instance, for SoC stm32f401re following define is used: *STM32F401xE Which means: *Same SW could be used on STM32F401RE and STM32F401CE: same CONFIG_SOC could be used *Different SW should be used on STMF401RE and STM32F401RC: different CONFIG_SOC should be used This change focuses on stm32f4xx series. Change-Id: I56ff4d1815d09747cf722385532eb2dcbdf37b44 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
34 lines
822 B
Text
34 lines
822 B
Text
# Kconfig - ST STM32F401RE MCU configuration options
|
|
#
|
|
# Copyright (c) 2016 Linaro Limited.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
#
|
|
|
|
if SOC_STM32F401XE
|
|
|
|
config SOC
|
|
string
|
|
default stm32f401xe
|
|
|
|
config SRAM_SIZE
|
|
default 96
|
|
|
|
config FLASH_SIZE
|
|
default 512
|
|
|
|
config NUM_IRQS
|
|
int
|
|
default 85
|
|
|
|
endif # SOC_STM32F401XE
|