driver, soc: update multichip support headers
This commit is contained in:
parent
4220752aed
commit
f676a3b190
|
@ -15,19 +15,19 @@
|
||||||
#ifndef _DRIVER_MCPWM_H_
|
#ifndef _DRIVER_MCPWM_H_
|
||||||
#define _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 "esp_err.h"
|
||||||
#include "soc/soc.h"
|
#include "soc/soc.h"
|
||||||
#include "driver/gpio.h"
|
#include "driver/gpio.h"
|
||||||
#include "driver/periph_ctrl.h"
|
#include "driver/periph_ctrl.h"
|
||||||
#include "esp_intr_alloc.h"
|
#include "esp_intr_alloc.h"
|
||||||
#include "soc/soc_caps.h"
|
|
||||||
#include "hal/mcpwm_types.h"
|
#include "hal/mcpwm_types.h"
|
||||||
#include "soc/mcpwm_caps.h"
|
#include "soc/mcpwm_caps.h"
|
||||||
|
|
||||||
#ifndef SOC_MCPWM_SUPPORTED
|
|
||||||
#error MCPWM is not supported in this chip target
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -14,18 +14,17 @@
|
||||||
|
|
||||||
#pragma once
|
#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 <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "esp_err.h"
|
#include "esp_err.h"
|
||||||
#include "sdmmc_types.h"
|
#include "sdmmc_types.h"
|
||||||
#include "driver/gpio.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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -3,6 +3,9 @@
|
||||||
// seperate these information into periph_caps.h for each peripheral and
|
// seperate these information into periph_caps.h for each peripheral and
|
||||||
// include them here.
|
// include them here.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
#define SOC_MCPWM_SUPPORTED 1
|
#define SOC_MCPWM_SUPPORTED 1
|
||||||
#define SOC_SDMMC_HOST_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
|
// During the refactoring and multichip support development process, we
|
||||||
// seperate these information into periph_caps.h for each peripheral and
|
// seperate these information into periph_caps.h for each peripheral and
|
||||||
// include them here.
|
// include them here.
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
Loading…
Reference in a new issue