2018-09-05 02:39:50 +02:00
|
|
|
/*
|
2019-09-05 13:35:58 +02:00
|
|
|
* Copyright (C) 2019 Gunar Schorcht
|
2018-09-05 02:39:50 +02:00
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU Lesser
|
|
|
|
* General Public License v2.1. See the file LICENSE in the top level
|
|
|
|
* directory for more details.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
2019-12-27 10:22:29 +01:00
|
|
|
* @ingroup cpu_esp_common
|
2018-09-05 02:39:50 +02:00
|
|
|
* @{
|
|
|
|
*
|
|
|
|
* @file
|
2019-12-27 10:22:29 +01:00
|
|
|
* @brief CPU common functions for ESP SoCs
|
2018-09-05 02:39:50 +02:00
|
|
|
*
|
|
|
|
* @author Gunar Schorcht <gunar@schorcht.net>
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef CPU_H
|
|
|
|
#define CPU_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "irq.h"
|
|
|
|
|
|
|
|
#define PROVIDES_PM_SET_LOWEST
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @brief Print the last instruction's address
|
|
|
|
*
|
|
|
|
* @todo: Not supported
|
|
|
|
*/
|
|
|
|
static inline void cpu_print_last_instruction(void)
|
|
|
|
{
|
|
|
|
/* This function must exist else RIOT won't compile */
|
|
|
|
}
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* CPU_H */
|
|
|
|
/** @} */
|