mmu: move mem_caps macro to hal/mmu_types.h as an enum type

This commit is contained in:
Armando
2022-09-23 17:28:36 +08:00
parent 8ba67dfc38
commit 16398c2d06
4 changed files with 14 additions and 11 deletions
+9
View File
@@ -6,11 +6,20 @@
#pragma once
#include "esp_bit_defs.h"
#ifdef __cplusplus
extern "C" {
#endif
typedef enum {
MMU_MEM_CAP_EXEC = BIT(0),
MMU_MEM_CAP_READ = BIT(1),
MMU_MEM_CAP_WRITE = BIT(2),
MMU_MEM_CAP_32BIT = BIT(3),
MMU_MEM_CAP_8BIT = BIT(4),
} mmu_mem_caps_t;
/**
* MMU Page size
*/