mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-09 12:35:28 +00:00
soc: remove unecessary headers in dport_access.h
This commit is contained in:
@@ -11,12 +11,15 @@
|
|||||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include <sdkconfig.h>
|
#include <sdkconfig.h>
|
||||||
|
|
||||||
#ifndef _ESP_DPORT_ACCESS_H_
|
#ifndef _ESP_DPORT_ACCESS_H_
|
||||||
#define _ESP_DPORT_ACCESS_H_
|
#define _ESP_DPORT_ACCESS_H_
|
||||||
|
|
||||||
|
#include "xtensa/xtruntime.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
@@ -20,6 +20,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "esp_attr.h"
|
||||||
#include "soc/periph_defs.h"
|
#include "soc/periph_defs.h"
|
||||||
#include "soc/dport_reg.h"
|
#include "soc/dport_reg.h"
|
||||||
#include "soc/dport_access.h"
|
#include "soc/dport_access.h"
|
||||||
|
@@ -20,6 +20,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "esp_attr.h"
|
||||||
#include "soc/periph_defs.h"
|
#include "soc/periph_defs.h"
|
||||||
#include "soc/system_reg.h"
|
#include "soc/system_reg.h"
|
||||||
#include "soc/syscon_reg.h"
|
#include "soc/syscon_reg.h"
|
||||||
|
@@ -20,6 +20,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
#include "esp_attr.h"
|
||||||
#include "soc/periph_defs.h"
|
#include "soc/periph_defs.h"
|
||||||
#include "soc/system_reg.h"
|
#include "soc/system_reg.h"
|
||||||
#include "soc/syscon_reg.h"
|
#include "soc/syscon_reg.h"
|
||||||
|
@@ -16,11 +16,11 @@
|
|||||||
#define _DPORT_ACCESS_H_
|
#define _DPORT_ACCESS_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "esp_attr.h"
|
#include "esp_attr.h"
|
||||||
#include "esp32/dport_access.h"
|
#include "esp32/dport_access.h"
|
||||||
#include "soc.h"
|
|
||||||
#include "uart_reg.h"
|
#include "sdkconfig.h"
|
||||||
#include "xtensa/xtruntime.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@@ -16,11 +16,8 @@
|
|||||||
#define _DPORT_ACCESS_H_
|
#define _DPORT_ACCESS_H_
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "esp_attr.h"
|
|
||||||
#include "esp32s2/dport_access.h"
|
#include "esp32s2/dport_access.h"
|
||||||
#include "soc.h"
|
|
||||||
#include "uart_reg.h"
|
|
||||||
#include "xtensa/xtruntime.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@@ -15,12 +15,8 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include "esp_attr.h"
|
|
||||||
#include "esp_attr.h"
|
|
||||||
#include "esp32s3/dport_access.h"
|
#include "esp32s3/dport_access.h"
|
||||||
#include "soc.h"
|
|
||||||
#include "uart_reg.h"
|
|
||||||
#include "xtensa/xtruntime.h"
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
@@ -22,7 +22,7 @@ extern "C" {
|
|||||||
|
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include "soc/soc.h"
|
#include "soc/soc.h" // [refactor-todo] IDF-2297
|
||||||
|
|
||||||
#define ESP_WATCHPOINT_LOAD 0x40000000
|
#define ESP_WATCHPOINT_LOAD 0x40000000
|
||||||
#define ESP_WATCHPOINT_STORE 0x80000000
|
#define ESP_WATCHPOINT_STORE 0x80000000
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
#ifndef XTENSA_DEBUG_MODULE_H
|
#ifndef XTENSA_DEBUG_MODULE_H
|
||||||
#define XTENSA_DEBUG_MODULE_H
|
#define XTENSA_DEBUG_MODULE_H
|
||||||
#include "soc/cpu.h"
|
|
||||||
/*
|
/*
|
||||||
ERI registers / OCD offsets and field definitions
|
ERI registers / OCD offsets and field definitions
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user