修复PSRAM 设置成16MB 时 不生效的问题。
authorSnickerSun <snickersun@163.com>
Thu, 30 May 2024 01:52:26 +0000 (09:52 +0800)
committerSnickerSun <snickersun@163.com>
Thu, 30 May 2024 06:39:30 +0000 (14:39 +0800)
code/sdk/drivers/boards/brandy_evb/memory_config/include/psram.h
code/sdk/drivers/chips/brandy/config/pmp_config.c
code/sdk/middleware/services/gui/hal/common/include/graphic_hardware_config.h

index d0bc5de..e9aa734 100755 (executable)
@@ -8,6 +8,7 @@
 #ifndef PSRAM_H
 #define PSRAM_H
 
+#include "product.h"
 #if PSRAM_DENSITY_MB == 16
 #include "psram_16.h"
 #else /* PSRAM_DENSITY_MB == 32 */
index 686ad22..4429a63 100755 (executable)
@@ -6,7 +6,7 @@
 #include "stdbool.h"
 #include "drv_pmp.h"
 #include "memory_config.h"
-
+#include "product.h"
 #define L2MEM_DSP_ADDR_START    0x60100000
 #define L2MEM_DSP_ADDR_LEN      0x100000
 
index 43bcb9d..692f6f2 100755 (executable)
@@ -17,6 +17,7 @@
 #define GRAPHIC_HARDWARE_CONFIG_H
 
 #include "memory_config_common.h"
+#include "product.h"
 #ifdef CONFIG_PSRAM_SUPPORT
 #include "psram.h"
 #endif