mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 21:34:07 +08:00
memory_region: add static/const for read only instance
Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
#define BUFSIZE CONFIG_LIB_GDBSTUB_PKTSIZE
|
||||
|
||||
#ifdef CONFIG_BOARD_MEMORY_RANGE
|
||||
FAR const struct memory_region_s g_memory_region[] =
|
||||
static const struct memory_region_s g_memory_region[] =
|
||||
{
|
||||
CONFIG_BOARD_MEMORY_RANGE
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user