mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ESP8684: add esp8684, esp_adc_cal, esp_common
This commit is contained in:
parent
f6da46d798
commit
742f99f7d0
@ -4,7 +4,7 @@ menu "ESP8684-Specific"
|
||||
choice ESP8684_DEFAULT_CPU_FREQ_MHZ
|
||||
prompt "CPU frequency"
|
||||
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
|
||||
CPU frequency to be set on application startup.
|
||||
|
||||
@ -13,6 +13,8 @@ menu "ESP8684-Specific"
|
||||
depends on IDF_ENV_FPGA
|
||||
config ESP8684_DEFAULT_CPU_FREQ_80
|
||||
bool "80 MHz"
|
||||
config ESP8684_DEFAULT_CPU_FREQ_120
|
||||
bool "120 MHz"
|
||||
config ESP8684_DEFAULT_CPU_FREQ_160
|
||||
bool "160 MHz"
|
||||
endchoice
|
||||
@ -21,6 +23,7 @@ menu "ESP8684-Specific"
|
||||
int
|
||||
default 40 if ESP8684_DEFAULT_CPU_FREQ_40
|
||||
default 80 if ESP8684_DEFAULT_CPU_FREQ_80
|
||||
default 120 if ESP8684_DEFAULT_CPU_FREQ_120
|
||||
default 160 if ESP8684_DEFAULT_CPU_FREQ_160
|
||||
|
||||
menu "Cache config"
|
||||
|
@ -3,4 +3,4 @@
|
||||
#
|
||||
|
||||
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
|
||||
//
|
||||
// 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.
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2015-2021 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
#ifndef __ESP_ATTR_H__
|
||||
#define __ESP_ATTR_H__
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user