Skip to content

Commit d58a5ce

Browse files
cfriedtkartben
authored andcommitted
posix: options: mmap: disable xtensa support due to linker issue
The Xtensa linker scripts seem to be injecting syntax errors when MMU is enabled. Disable the implication in Kconfig.mem for Xtensa until linker issues are resolved. Signed-off-by: Chris Friedt <[email protected]>
1 parent cee9166 commit d58a5ce

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/posix/options/Kconfig.mem

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ config POSIX_SHARED_MEMORY_OBJECTS
2727

2828
config POSIX_MAPPED_FILES
2929
bool "POSIX memory-mapped files"
30-
imply MMU
30+
# disable Xtensa for now until linker issues are resolved
31+
imply MMU if (CPU_HAS_MMU && !XTENSA)
3132
help
3233
Select 'y' here and Zephyr will provide support for mmap(), msync(), and munmap().
3334

0 commit comments

Comments
 (0)