forked from espressif/esp-idf
ESP8684: add esp8684, esp_adc_cal, esp_common
This commit is contained in:
@@ -4,7 +4,7 @@ menu "ESP8684-Specific"
|
|||||||
choice ESP8684_DEFAULT_CPU_FREQ_MHZ
|
choice ESP8684_DEFAULT_CPU_FREQ_MHZ
|
||||||
prompt "CPU frequency"
|
prompt "CPU frequency"
|
||||||
default ESP8684_DEFAULT_CPU_FREQ_40 if IDF_ENV_FPGA
|
default ESP8684_DEFAULT_CPU_FREQ_40 if IDF_ENV_FPGA
|
||||||
default ESP8684_DEFAULT_CPU_FREQ_160 if !IDF_ENV_FPGA
|
default ESP8684_DEFAULT_CPU_FREQ_120 if !IDF_ENV_FPGA
|
||||||
help
|
help
|
||||||
CPU frequency to be set on application startup.
|
CPU frequency to be set on application startup.
|
||||||
|
|
||||||
@@ -13,6 +13,8 @@ menu "ESP8684-Specific"
|
|||||||
depends on IDF_ENV_FPGA
|
depends on IDF_ENV_FPGA
|
||||||
config ESP8684_DEFAULT_CPU_FREQ_80
|
config ESP8684_DEFAULT_CPU_FREQ_80
|
||||||
bool "80 MHz"
|
bool "80 MHz"
|
||||||
|
config ESP8684_DEFAULT_CPU_FREQ_120
|
||||||
|
bool "120 MHz"
|
||||||
config ESP8684_DEFAULT_CPU_FREQ_160
|
config ESP8684_DEFAULT_CPU_FREQ_160
|
||||||
bool "160 MHz"
|
bool "160 MHz"
|
||||||
endchoice
|
endchoice
|
||||||
@@ -21,6 +23,7 @@ menu "ESP8684-Specific"
|
|||||||
int
|
int
|
||||||
default 40 if ESP8684_DEFAULT_CPU_FREQ_40
|
default 40 if ESP8684_DEFAULT_CPU_FREQ_40
|
||||||
default 80 if ESP8684_DEFAULT_CPU_FREQ_80
|
default 80 if ESP8684_DEFAULT_CPU_FREQ_80
|
||||||
|
default 120 if ESP8684_DEFAULT_CPU_FREQ_120
|
||||||
default 160 if ESP8684_DEFAULT_CPU_FREQ_160
|
default 160 if ESP8684_DEFAULT_CPU_FREQ_160
|
||||||
|
|
||||||
menu "Cache config"
|
menu "Cache config"
|
||||||
|
@@ -3,4 +3,4 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
COMPONENT_ADD_INCLUDEDIRS := include
|
COMPONENT_ADD_INCLUDEDIRS := include
|
||||||
COMPONENT_OBJEXCLUDE += esp_adc_cal_esp32s2.o esp_adc_cal_esp32c3.o esp_adc_cal_esp32h2.o esp_adc_cal_esp32s3.o
|
COMPONENT_OBJEXCLUDE += esp_adc_cal_esp32s2.o esp_adc_cal_esp32c3.o esp_adc_cal_esp32h2.o esp_adc_cal_esp32s3.o esp_adc_cal_esp8684.o
|
||||||
|
@@ -1,17 +1,9 @@
|
|||||||
|
|
||||||
// Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD
|
/*
|
||||||
//
|
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
||||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
*
|
||||||
// you may not use this file except in compliance with the License.
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
// 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.
|
|
||||||
#ifndef __ESP_ATTR_H__
|
#ifndef __ESP_ATTR_H__
|
||||||
#define __ESP_ATTR_H__
|
#define __ESP_ATTR_H__
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user