mirror of
https://github.com/espressif/esp-idf
synced 2025-03-31 03:41:07 -04:00
hal: include pcnt_caps.h
Some HAL files depend on x_caps.h, but didnt explicitly include it Fixes issue where only 4 PCNT (out of 8) could be used on ESP32 Closes https://github.com/espressif/esp-idf/issues/6366
This commit is contained in:
parent
474224d668
commit
5e9783f4a6
@ -14,6 +14,7 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
#include "soc/mpu_caps.h"
|
||||||
|
|
||||||
#if SOC_MPU_CONFIGURABLE_REGIONS_SUPPORTED
|
#if SOC_MPU_CONFIGURABLE_REGIONS_SUPPORTED
|
||||||
typedef void** mpu_region_table_t;
|
typedef void** mpu_region_table_t;
|
||||||
|
@ -18,6 +18,8 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "soc/pcnt_caps.h"
|
||||||
|
|
||||||
#define PCNT_PIN_NOT_USED (-1) /*!< When selected for a pin, this pin will not be used */
|
#define PCNT_PIN_NOT_USED (-1) /*!< When selected for a pin, this pin will not be used */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include "hal/spi_ll.h"
|
#include "hal/spi_ll.h"
|
||||||
#include <esp_err.h>
|
#include <esp_err.h>
|
||||||
#include "soc/lldesc.h"
|
#include "soc/lldesc.h"
|
||||||
|
#include "soc/spi_caps.h"
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Timing configuration structure that should be calculated by
|
* Timing configuration structure that should be calculated by
|
||||||
|
Loading…
x
Reference in New Issue
Block a user