fix(soc): fixed uart_periph.h not including reg.h issue

This will cause rom/uart.h can't compile.
This commit is contained in:
Xiao Xufeng
2023-09-22 11:56:56 +08:00
committed by Michael (XIAO Xufeng)
parent 990fb3c2e8
commit 74eb0cd4a8
2 changed files with 7 additions and 14 deletions

View File

@@ -1,16 +1,8 @@
// Copyright 2019 Espressif Systems (Shanghai) PTE LTD /*
// * SPDX-FileCopyrightText: 2019-2024 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.
#pragma once #pragma once
#include "soc/soc_caps.h" #include "soc/soc_caps.h"
@@ -20,6 +12,8 @@
#include "soc/gpio_sig_map.h" #include "soc/gpio_sig_map.h"
#include "soc/io_mux_reg.h" #include "soc/io_mux_reg.h"
#include "soc/uart_pins.h" #include "soc/uart_pins.h"
#include "soc/uart_struct.h"
#include "soc/uart_reg.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {

View File

@@ -964,7 +964,6 @@ components/soc/include/soc/ledc_periph.h
components/soc/include/soc/sdio_slave_periph.h components/soc/include/soc/sdio_slave_periph.h
components/soc/include/soc/sdmmc_periph.h components/soc/include/soc/sdmmc_periph.h
components/soc/include/soc/sens_periph.h components/soc/include/soc/sens_periph.h
components/soc/include/soc/uart_periph.h
components/soc/include/soc/uhci_periph.h components/soc/include/soc/uhci_periph.h
components/soc/lldesc.c components/soc/lldesc.c
components/soc/soc_include_legacy_warn.c components/soc/soc_include_legacy_warn.c