mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
driver, soc: update multichip support headers
This commit is contained in:
parent
4220752aed
commit
f676a3b190
@ -15,19 +15,19 @@
|
||||
#ifndef _DRIVER_MCPWM_H_
|
||||
#define _DRIVER_MCPWM_H_
|
||||
|
||||
#include "soc/soc_caps.h"
|
||||
#ifndef SOC_MCPWM_SUPPORTED
|
||||
#error MCPWM is not supported in this chip target
|
||||
#endif
|
||||
|
||||
#include "esp_err.h"
|
||||
#include "soc/soc.h"
|
||||
#include "driver/gpio.h"
|
||||
#include "driver/periph_ctrl.h"
|
||||
#include "esp_intr_alloc.h"
|
||||
#include "soc/soc_caps.h"
|
||||
#include "hal/mcpwm_types.h"
|
||||
#include "soc/mcpwm_caps.h"
|
||||
|
||||
#ifndef SOC_MCPWM_SUPPORTED
|
||||
#error MCPWM is not supported in this chip target
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -14,18 +14,17 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "soc/soc_caps.h"
|
||||
#ifndef SOC_SDMMC_HOST_SUPPORTED
|
||||
#error SDMMC host is not supported in this chip target
|
||||
#endif
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stddef.h>
|
||||
#include "esp_err.h"
|
||||
#include "sdmmc_types.h"
|
||||
#include "driver/gpio.h"
|
||||
|
||||
#include "soc/soc_caps.h"
|
||||
|
||||
#ifndef SOC_SDMMC_HOST_SUPPORTED
|
||||
#error SDMMC host is not supported in this chip target
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
@ -3,6 +3,9 @@
|
||||
// seperate these information into periph_caps.h for each peripheral and
|
||||
// include them here.
|
||||
|
||||
#pragma once
|
||||
|
||||
#define SOC_MCPWM_SUPPORTED 1
|
||||
#define SOC_SDMMC_HOST_SUPPORTED 1
|
||||
#define SOC_BT_SUPPORTED 1
|
||||
#define SOC_BT_SUPPORTED 1
|
||||
#define SOC_SDIO_SLAVE_SUPPORTED 1
|
@ -2,3 +2,5 @@
|
||||
// During the refactoring and multichip support development process, we
|
||||
// seperate these information into periph_caps.h for each peripheral and
|
||||
// include them here.
|
||||
|
||||
#pragma once
|
||||
|
Loading…
x
Reference in New Issue
Block a user