2020-06-08 12:00:44 +02:00
|
|
|
# Copyright (c) 2020 HAW Hamburg
|
|
|
|
#
|
|
|
|
# This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
# General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
# directory for more details.
|
|
|
|
|
|
|
|
config CPU_CORE_XTENSA_L106
|
|
|
|
bool
|
|
|
|
select CPU_ARCH_XTENSA
|
|
|
|
|
|
|
|
config CPU_FAM_ESP8266
|
|
|
|
bool
|
|
|
|
select CPU_COMMON_ESP
|
2021-03-04 20:04:11 +01:00
|
|
|
select CPU_CORE_XTENSA_L106
|
2021-11-18 17:17:51 +01:00
|
|
|
|
2020-06-08 12:00:44 +02:00
|
|
|
## CPU Models
|
|
|
|
config CPU_MODEL_ESP8266EX
|
|
|
|
bool
|
|
|
|
select CPU_FAM_ESP8266
|
|
|
|
|
|
|
|
config CPU_MODEL_ESP8266_ESP_12X
|
|
|
|
bool
|
|
|
|
select CPU_FAM_ESP8266
|
|
|
|
|
|
|
|
## Common CPU symbols
|
|
|
|
config CPU_CORE
|
|
|
|
default "xtensa-l106" if CPU_CORE_XTENSA_L106
|
|
|
|
|
|
|
|
config CPU_FAM
|
|
|
|
default "esp8266" if CPU_FAM_ESP8266
|
|
|
|
|
|
|
|
config CPU_MODEL
|
|
|
|
default "esp8266ex" if CPU_MODEL_ESP8266EX
|
|
|
|
default "esp8266-esp-12x" if CPU_MODEL_ESP8266_ESP_12X
|
|
|
|
|
|
|
|
config CPU
|
|
|
|
default "esp8266" if CPU_FAM_ESP8266
|
|
|
|
|
2021-12-19 12:20:34 +01:00
|
|
|
menu "ESP8266 specific configurations"
|
|
|
|
depends on HAS_ARCH_ESP8266
|
|
|
|
|
|
|
|
choice
|
|
|
|
bool "CPU clock frequency"
|
|
|
|
default ESP8266_CPU_FREQUENCY_80
|
|
|
|
|
|
|
|
config ESP8266_CPU_FREQUENCY_80
|
|
|
|
bool "80 MHz"
|
|
|
|
config ESP8266_CPU_FREQUENCY_160
|
|
|
|
bool "160 MHz"
|
|
|
|
endchoice
|
|
|
|
|
|
|
|
endmenu
|
|
|
|
|
2020-06-08 12:00:44 +02:00
|
|
|
source "$(RIOTCPU)/esp_common/Kconfig"
|