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:
Gunar Schorcht 2020-02-29 12:02:11 +01:00
parent 23c5d34284
commit ef248b392d
3 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,8 @@
#define CPU_CONF_H
#include <stdint.h>
#include "cpu_conf_common.h"
#include "esp_common_log.h"
#include "xtensa_conf.h"
#include "xtensa/xtensa_context.h"

View File

@ -22,6 +22,7 @@
#ifndef CPU_CONF_H
#define CPU_CONF_H
#include "cpu_conf_common.h"
#include "xtensa_conf.h"
#ifdef __cplusplus

View File

@ -19,8 +19,8 @@
* @author Gunar Schorcht <gunar@schorcht.net>
*/
#ifndef CPU_CONF_H
#define CPU_CONF_H
#ifndef CPU_CONF_COMMON_H
#define CPU_CONF_COMMON_H
#ifdef __cplusplus
extern "C" {
@ -30,5 +30,5 @@ extern "C" {
}
#endif
#endif /* CPU_CONF_H */
#endif /* CPU_CONF_COMMON_H */
/** @} */