mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
255d499884
Merges https://github.com/espressif/esp-idf/pull/12093 fix(ll): remove FLAG_ATTR macro Such kind of operator overload will not work because C++ thinks such overload is ambiguous and it still prefer the built-in one which accepts and returns integer. Manually force type conversion seems to be unavoidable.
47 lines
696 B
C
47 lines
696 B
C
/*
|
|
* SPDX-FileCopyrightText: 2022 Espressif Systems (Shanghai) CO LTD
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "soc/soc_caps.h"
|
|
#include "hal/assert.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Copied from C3, and this LL is currently unused for ESP32-C3 */
|
|
|
|
static inline uint32_t mpu_ll_id_to_addr(unsigned id)
|
|
{
|
|
abort();
|
|
}
|
|
|
|
static inline void mpu_ll_set_region_rw(uint32_t addr)
|
|
{
|
|
abort();
|
|
}
|
|
|
|
static inline void mpu_ll_set_region_rwx(uint32_t addr)
|
|
{
|
|
abort();
|
|
}
|
|
|
|
static inline void mpu_ll_set_region_x(uint32_t addr)
|
|
{
|
|
abort();
|
|
}
|
|
|
|
|
|
static inline void mpu_ll_set_region_illegal(uint32_t addr)
|
|
{
|
|
abort();
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|