1 // Copyright 2020 Espressif Systems (Shanghai) PTE LTD 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #include <stdint.h> 16 17 #include "soc/soc_caps.h" 18 19 #ifdef __cplusplus 20 extern "C" { 21 #endif 22 23 /* This LL is currently unused for ESP32-C3 - cleanup is TODO ESP32-C3 IDF-2375 */ 24 mpu_ll_id_to_addr(unsigned id)25static inline uint32_t mpu_ll_id_to_addr(unsigned id) 26 { 27 abort(); 28 } 29 mpu_ll_set_region_rw(uint32_t addr)30static inline void mpu_ll_set_region_rw(uint32_t addr) 31 { 32 abort(); 33 } 34 mpu_ll_set_region_rwx(uint32_t addr)35static inline void mpu_ll_set_region_rwx(uint32_t addr) 36 { 37 abort(); 38 } 39 mpu_ll_set_region_x(uint32_t addr)40static inline void mpu_ll_set_region_x(uint32_t addr) 41 { 42 abort(); 43 } 44 45 mpu_ll_set_region_illegal(uint32_t addr)46static inline void mpu_ll_set_region_illegal(uint32_t addr) 47 { 48 abort(); 49 } 50 51 #ifdef __cplusplus 52 } 53 #endif 54