This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git
The following commit(s) were added to refs/heads/master by this push:
new f6f8acafbbf arch: fix cmake error
f6f8acafbbf is described below
commit f6f8acafbbfe5a00f6613f3f418586c19ec7dbb4
Author: hujun5 <[email protected]>
AuthorDate: Thu May 15 19:40:20 2025 +0800
arch: fix cmake error
Add default values (0x0) for ARCH_TEXT_VBASE, ARCH_DATA_VBASE, and
ARCH_HEAP_VBASE to resolve cmake configuration warnings when these
values are not explicitly set during initialization.
Signed-off-by: hujun5 <[email protected]>
---
arch/Kconfig | 3 +++
1 file changed, 3 insertions(+)
diff --git a/arch/Kconfig b/arch/Kconfig
index 7e3396308ad..a1235dc623f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -786,16 +786,19 @@ if ARCH_ADDRENV && ARCH_NEED_ADDRENV_MAPPING
config ARCH_TEXT_VBASE
hex "Virtual .text base"
+ default 0x0
---help---
The virtual address of the beginning the .text region
config ARCH_DATA_VBASE
hex "Virtual .bss/.data base"
+ default 0x0
---help---
The virtual address of the beginning of the .bss/.data region.
config ARCH_HEAP_VBASE
hex "Virtual heap base"
+ default 0x0
---help---
The virtual address of the beginning of the heap region.