cpu/esp_comomon: rename cpu_conf.h to cpu_conf_common.h
To be able to define common configurations for all ESP CPUs, the CPU specific configuration cpu_conf.h has to include a common configuration. For that purpose cpu_conf.h in cpu/esp_common is renamed to cpu_conf_common.h and included in CPU specific configurations.
This commit is contained in:
parent
23c5d34284
commit
ef248b392d
@ -23,6 +23,8 @@
|
|||||||
#define CPU_CONF_H
|
#define CPU_CONF_H
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
|
#include "cpu_conf_common.h"
|
||||||
#include "esp_common_log.h"
|
#include "esp_common_log.h"
|
||||||
#include "xtensa_conf.h"
|
#include "xtensa_conf.h"
|
||||||
#include "xtensa/xtensa_context.h"
|
#include "xtensa/xtensa_context.h"
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
#ifndef CPU_CONF_H
|
#ifndef CPU_CONF_H
|
||||||
#define CPU_CONF_H
|
#define CPU_CONF_H
|
||||||
|
|
||||||
|
#include "cpu_conf_common.h"
|
||||||
#include "xtensa_conf.h"
|
#include "xtensa_conf.h"
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
@ -19,8 +19,8 @@
|
|||||||
* @author Gunar Schorcht <gunar@schorcht.net>
|
* @author Gunar Schorcht <gunar@schorcht.net>
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef CPU_CONF_H
|
#ifndef CPU_CONF_COMMON_H
|
||||||
#define CPU_CONF_H
|
#define CPU_CONF_COMMON_H
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
@ -30,5 +30,5 @@ extern "C" {
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* CPU_CONF_H */
|
#endif /* CPU_CONF_COMMON_H */
|
||||||
/** @} */
|
/** @} */
|
||||||
Loading…
x
Reference in New Issue
Block a user