fix: 增加MPU功能的开关宏,默认关闭

close #I3WE0S

Signed-off-by: JerryH <huangjieliang@huawei.com>
Change-Id: Id193fd555877ac0c6b5b43e5dd5ede32531b86c4
This commit is contained in:
JerryH
2021-08-10 19:27:14 +08:00
parent 11bca47b6e
commit 9709d29b87
4 changed files with 14 additions and 3 deletions

View File

@@ -765,6 +765,14 @@ extern UINT8 *m_aucSysMem0;
#define LOSCFG_SECURE_STACK_DEFAULT_SIZE 512
#endif
/**
* @ingroup los_config
* Configuration item for mpu.
*/
#ifndef LOSCFG_MPU_ENABLE
#define LOSCFG_MPU_ENABLE 0
#endif
#ifdef __cplusplus
#if __cplusplus
}